![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <cstdarg>#include "fcintl.h"#include "featured_text.h"#include "luaconsole_g.h"#include "luaconsole_common.h"
Include dependency graph for luaconsole_common.cpp:Go to the source code of this file.
Functions | |
| void | luaconsole_append (const struct ft_color color, const char *featured_text) |
| Add a line of text to the output ("chatline") window, like puts() would do it in the console. More... | |
| void | luaconsole_vprintf (const struct ft_color color, const char *format, va_list args) |
| Add a line of text to the output ("chatline") window. More... | |
| void | luaconsole_printf (const struct ft_color color, const char *format,...) |
| Add a line of text to the output ("chatline") window. More... | |
| void | luaconsole_event (const char *plain_text, const struct text_tag_list *tags) |
| Add a line of text to the output ("chatline") window from server event. More... | |
| void | luaconsole_welcome_message () |
| Standard welcome message. More... | |
| void luaconsole_append | ( | const struct ft_color | color, |
| const char * | featured_text | ||
| ) |
Add a line of text to the output ("chatline") window, like puts() would do it in the console.
Definition at line 29 of file luaconsole_common.cpp.
Referenced by luaconsole_vprintf(), and luaconsole_welcome_message().
| void luaconsole_event | ( | const char * | plain_text, |
| const struct text_tag_list * | tags | ||
| ) |
Add a line of text to the output ("chatline") window from server event.
Definition at line 88 of file luaconsole_common.cpp.
| void luaconsole_printf | ( | const struct ft_color | color, |
| const char * | format, | ||
| ... | |||
| ) |
Add a line of text to the output ("chatline") window.
The text is constructed in printf style.
Definition at line 76 of file luaconsole_common.cpp.
| void luaconsole_vprintf | ( | const struct ft_color | color, |
| const char * | format, | ||
| va_list | args | ||
| ) |
Add a line of text to the output ("chatline") window.
The text is constructed in printf style.
Definition at line 63 of file luaconsole_common.cpp.
Referenced by luaconsole_printf(), and script_client_output().
| void luaconsole_welcome_message | ( | ) |
Standard welcome message.
Definition at line 97 of file luaconsole_common.cpp.