Freeciv-3.4
Toggle main menu visibility
Main Page
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
client
luascript
api_client_base.c
Go to the documentation of this file.
1
/*****************************************************************************
2
Freeciv - Copyright (C) 2005 - The Freeciv Project
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; either version 2, or (at your option)
6
any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
*****************************************************************************/
13
14
#ifdef HAVE_CONFIG_H
15
#include <fc_config.h>
16
#endif
17
18
/* common */
19
#include "
featured_text.h
"
20
21
/* common/scriptcore */
22
#include "
luascript.h
"
23
24
/* client */
25
#include "
chatline_common.h
"
26
27
#include "
api_client_base.h
"
28
29
/*************************************************************************/
32
void
api_client_chat_base
(
lua_State
*
L
,
const
char
*msg)
33
{
34
LUASCRIPT_CHECK_STATE
(
L
);
35
LUASCRIPT_CHECK_ARG_NIL
(
L
, msg, 2,
string
);
36
37
output_window_printf
(
ftc_chat_luaconsole
,
"%s"
, msg);
38
}
32
void
api_client_chat_base
(
lua_State
*
L
,
const
char
*msg) {
…
}
BODYGUARD_NONE
@ BODYGUARD_NONE
Definition
aiguard.c:37
api_client_chat_base
void api_client_chat_base(lua_State *L, const char *msg)
Definition
api_client_base.c:32
api_client_base.h
output_window_printf
void output_window_printf(const struct ft_color color, const char *format,...)
Definition
chatline_common.c:153
chatline_common.h
ftc_chat_luaconsole
const struct ft_color ftc_chat_luaconsole
Definition
featured_text.c:89
featured_text.h
luascript.h
LUASCRIPT_CHECK_STATE
#define LUASCRIPT_CHECK_STATE(L,...)
Definition
luascript.h:117
LUASCRIPT_CHECK_ARG_NIL
#define LUASCRIPT_CHECK_ARG_NIL(L, value, narg, type,...)
Definition
luascript.h:138
Generated on Sun Mar 9 2025 22:30:12 for Freeciv-3.4 by
1.9.8