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)
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 *****************************************************************************/
14 #ifndef FC__LUACONSOLE_COMMON_H
15 #define FC__LUACONSOLE_COMMON_H
19 #endif /* __cplusplus */
22 #include "support.h" /* bool type */
27 void luaconsole_append(const struct ft_color color
,
28 const char *featured_text
);
29 void 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)));
34 void luaconsole_event(const char *plain_text
,
35 const struct text_tag_list
*tags
);
36 void luaconsole_welcome_message(void);
40 #endif /* __cplusplus */
42 #endif /* FC__LUACONSOLE_COMMON_H */