Freeciv-3.3
Loading...
Searching...
No Matches
Functions
luaconsole.c File Reference
#include "shared.h"
#include "featured_text.h"
#include "luaconsole.h"

Go to the source code of this file.

Functions

void luaconsole_dialog_popup (bool raise)
 
bool luaconsole_dialog_is_open (void)
 
void real_luaconsole_dialog_update (void)
 
void real_luaconsole_append (const char *astring, const struct text_tag_list *tags)
 

Function Documentation

◆ luaconsole_dialog_is_open()

bool luaconsole_dialog_is_open ( void  )

Return TRUE iff the lua console is open.

Definition at line 37 of file luaconsole.c.

◆ luaconsole_dialog_popup()

void luaconsole_dialog_popup ( bool  raise)

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

Definition at line 29 of file luaconsole.c.

◆ 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 56 of file luaconsole.c.

◆ real_luaconsole_dialog_update()

void real_luaconsole_dialog_update ( void  )

Update the lua console.

Definition at line 47 of file luaconsole.c.