![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include "luaconsole.h"#include <QFileDialog>#include <QString>#include "shared.h"#include "featured_text.h"#include "luaconsole_g.h"#include "chatline.h"#include "fc_client.h"#include "script_client.h"
Include dependency graph for luaconsole.cpp: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 (void) |
| Return true if the lua console is open. More... | |
| void | real_luaconsole_dialog_update (void) |
| 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... | |
| void | qload_lua_script () |
| Load and execute lua script. More... | |
| void | qreload_lua_script () |
| Reload last lua script. More... | |
Variables | |
| QString | qlua_filename |
| bool luaconsole_dialog_is_open | ( | void | ) |
Return true if the lua console is open.
Definition at line 37 of file luaconsole.cpp.
| 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.
| void qload_lua_script | ( | ) |
Load and execute lua script.
Definition at line 57 of file luaconsole.cpp.
Referenced by map_view::shortcut_pressed().
| void qreload_lua_script | ( | ) |
Reload last lua script.
Definition at line 72 of file luaconsole.cpp.
Referenced by map_view::shortcut_pressed().
| 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().
| void real_luaconsole_dialog_update | ( | void | ) |
Update the lua console.
Definition at line 42 of file luaconsole.cpp.
| QString qlua_filename |
Definition at line 25 of file luaconsole.cpp.
Referenced by qload_lua_script(), and qreload_lua_script().