Freeciv21
Develop your civilization from humble roots to a global empire
luaconsole_common.h File Reference
+ This graph shows which files directly or indirectly include this file:

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,...) fc__attribute((__format__(__printf__
 
void 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...
 

Function Documentation

◆ luaconsole_append()

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().

◆ luaconsole_event()

void 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.

◆ luaconsole_printf()

void luaconsole_printf ( const struct ft_color  color,
const char *  format,
  ... 
)

◆ luaconsole_vprintf()

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().

◆ luaconsole_welcome_message()

void luaconsole_welcome_message ( )

Standard welcome message.

Definition at line 97 of file luaconsole_common.cpp.