Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/luaconsole_common.h Source File

Freeciv-3.2

Loading...
Searching...
No Matches
luaconsole_common.h
Go to the documentation of this file.
1/*****************************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12*****************************************************************************/
13
14#ifndef FC__LUACONSOLE_COMMON_H
15#define FC__LUACONSOLE_COMMON_H
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21/* utility */
22#include "support.h" /* bool type */
23
24struct ft_color;
25struct text_tag_list;
26
27void luaconsole_append(const struct ft_color color,
28 const char *featured_text);
29void luaconsole_vprintf(const struct ft_color color,
30 const char *format, va_list args);
31 void luaconsole_printf(const struct ft_color color,
32 const char *format, ...)
33 fc__attribute((__format__ (__printf__, 2, 3)));
34void luaconsole_event(const char *plain_text,
35 const struct text_tag_list *tags);
36void luaconsole_welcome_message(void);
37
38#ifdef __cplusplus
39}
40#endif /* __cplusplus */
41
42#endif /* FC__LUACONSOLE_COMMON_H */
incite_cost
char * incite_cost
Definition comments.c:74
luaconsole_vprintf
void luaconsole_vprintf(const struct ft_color color, const char *format, va_list args)
Definition luaconsole_common.c:73
luaconsole_welcome_message
void luaconsole_welcome_message(void)
Definition luaconsole_common.c:109
luaconsole_printf
void luaconsole_printf(const struct ft_color color, const char *format,...) fc__attribute((__format__(__printf__
luaconsole_append
void luaconsole_append(const struct ft_color color, const char *featured_text)
Definition luaconsole_common.c:40
luaconsole_event
void void luaconsole_event(const char *plain_text, const struct text_tag_list *tags)
Definition luaconsole_common.c:100
color
Definition colors.h:21
ft_color
Definition featured_text.h:141
support.h
fc__attribute
#define fc__attribute(x)
Definition support.h:99