Updated Scottish Gaelic localisation from Michael Bauer
[freeciv.git] / client / luaconsole_common.h
blob7c8afb5862d393bd328c2ac909732c40ad3b2b79
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.
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
17 #ifdef __cplusplus
18 extern "C" {
19 #endif /* __cplusplus */
21 /* utility */
22 #include "support.h" /* bool type */
24 struct ft_color;
25 struct text_tag_list;
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);
38 #ifdef __cplusplus
40 #endif /* __cplusplus */
42 #endif /* FC__LUACONSOLE_COMMON_H */