Freeciv-3.2
Loading...
Searching...
No Matches
api_server_base.h
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#ifndef FC__API_SERVER_BASE_H
15#define FC__API_SERVER_BASE_H
16
17/* common/scriptcore */
18#include "luascript_types.h"
19
20struct lua_State;
21
22/* Additional methods on the server. */
24
26
27bool api_server_save(lua_State *L, const char *filename);
28
29const char *api_server_setting_get(lua_State *L, const char *sett_name);
30
31bool api_play_music(lua_State *L, Player *pplayer, const char *tag);
32bool api_popup_image(lua_State *L, Player *pplayer, const char *tag);
33
34#endif /* FC__API_SERVER_BASE_H */
const char * api_server_setting_get(lua_State *L, const char *sett_name)
bool api_server_was_started(lua_State *L)
bool api_popup_image(lua_State *L, Player *pplayer, const char *tag)
int api_server_player_civilization_score(lua_State *L, Player *pplayer)
bool api_play_music(lua_State *L, Player *pplayer, const char *tag)
bool api_server_save(lua_State *L, const char *filename)
char * incite_cost
Definition comments.c:75