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

Go to the source code of this file.

Functions

void luaconsole_dialog_popup (bool raise)
 Popup the lua console inside the main-window, and optionally raise it. More...
 
bool luaconsole_dialog_is_open ()
 Return true if the lua console is open. More...
 
void real_luaconsole_dialog_update ()
 Update the lua console. More...
 
void real_luaconsole_append (const char *astring, const struct text_tag_list *tags)
 Appends the string to the chat output window. More...
 

Function Documentation

◆ luaconsole_dialog_is_open()

bool luaconsole_dialog_is_open ( )

Return true if the lua console is open.

Definition at line 37 of file luaconsole.cpp.

◆ luaconsole_dialog_popup()

void luaconsole_dialog_popup ( bool  raise)

Popup the lua console inside the main-window, and optionally raise it.

Definition at line 30 of file luaconsole.cpp.

◆ real_luaconsole_append()

void real_luaconsole_append ( const char *  astring,
const struct text_tag_list *  tags 
)

Appends the string to the chat output window.

The string should be inserted on its own line, although it will have no newline.

Definition at line 48 of file luaconsole.cpp.

Referenced by luaconsole_append(), and luaconsole_event().

◆ real_luaconsole_dialog_update()

void real_luaconsole_dialog_update ( )

Update the lua console.

Definition at line 42 of file luaconsole.cpp.