Freeciv21
Develop your civilization from humble roots to a global empire
luaconsole_g.h
Go to the documentation of this file.
1 /***********************************************************************
2 _ ._ Copyright (c) 1996-2021 Freeciv21 and Freeciv contributors.
3  \ | This file is part of Freeciv21. Freeciv21 is free software: you
4  \_| can redistribute it and/or modify it under the terms of the
5  .' '. GNU General Public License as published by the Free
6  :O O: Software Foundation, either version 3 of the License,
7  '/ \' or (at your option) any later version. You should have
8  :X: received a copy of the GNU General Public License along with
9  :X: Freeciv21. If not, see https://www.gnu.org/licenses/.
10 ***********************************************************************/
11 #pragma once
12 
13 #include "packets.h"
14 
15 #include "luaconsole_common.h"
16 
17 void luaconsole_dialog_popup(bool raise);
20 
21 void real_luaconsole_append(const char *astring,
22  const struct text_tag_list *tags);
void real_luaconsole_dialog_update()
Update the lua console.
Definition: luaconsole.cpp:42
void real_luaconsole_append(const char *astring, const struct text_tag_list *tags)
Appends the string to the chat output window.
Definition: luaconsole.cpp:48
void luaconsole_dialog_popup(bool raise)
Popup the lua console inside the main-window, and optionally raise it.
Definition: luaconsole.cpp:30
bool luaconsole_dialog_is_open()
Return true if the lua console is open.
Definition: luaconsole.cpp:37