Freeciv-3.1
|
#include "luascript_types.h"
Go to the source code of this file.
Functions | |
int | api_server_player_civilization_score (lua_State *L, Player *pplayer) |
bool | api_server_was_started (lua_State *L) |
bool | api_server_save (lua_State *L, const char *filename) |
const char * | api_server_setting_get (lua_State *L, const char *sett_name) |
bool | api_play_music (lua_State *L, Player *pplayer, const char *tag) |
Play music track for player
Definition at line 75 of file api_server_base.c.
Referenced by tolua_server_server_play_music00().
int api_server_player_civilization_score | ( | lua_State * | L, |
Player * | pplayer | ||
) |
Return the civilization score (total) for player
Definition at line 37 of file api_server_base.c.
Referenced by tolua_server_server_civilization_score00().
bool api_server_save | ( | lua_State * | L, |
const char * | filename | ||
) |
Save the game (a manual save is triggered).
Definition at line 58 of file api_server_base.c.
Referenced by tolua_server_server_save00().
const char * api_server_setting_get | ( | lua_State * | L, |
const char * | sett_name | ||
) |
Return the formatted value of the setting or NULL if no such setting exists.
Definition at line 94 of file api_server_base.c.
Referenced by tolua_server_server_setting_get00().
bool api_server_was_started | ( | lua_State * | L | ) |
Returns TRUE if the game was started.
Definition at line 48 of file api_server_base.c.
Referenced by tolua_server_server_started00().