Freeciv21
Develop your civilization from humble roots to a global empire
api_client_base.cpp
Go to the documentation of this file.
1 /*
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  part of Freeciv21. Freeciv21 is free software: you can redistribute it
4  and/or modify it under the terms of the GNU General Public License as
5  published by the Free Software Foundation, either version 3 of the
6  License, or (at your option) any later version. You should have received
7  a copy of the GNU General Public License along with Freeciv21. If not,
8  see https://www.gnu.org/licenses/.
9  */
10 
11 // common
12 #include "featured_text.h"
13 
14 /* common/scriptcore */
15 #include "luascript.h"
16 
17 // client
18 #include "chatline_common.h"
19 
20 #include "api_client_base.h"
21 
25 void api_client_chat_base(lua_State *L, const char *msg)
26 {
28  LUASCRIPT_CHECK_ARG_NIL(L, msg, 2, string);
29 
31 }
void api_client_chat_base(lua_State *L, const char *msg)
Print a message in the chat window.
void output_window_printf(const struct ft_color color, const char *format,...)
Add a line of text to the output ("chatline") window.
const struct ft_color ftc_chat_luaconsole
#define LUASCRIPT_CHECK_STATE(L,...)
Definition: luascript.h:110
#define LUASCRIPT_CHECK_ARG_NIL(L, value, narg, type,...)
Definition: luascript.h:131