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 
20 struct lua_State;
21 
22 /* Additional methods on the server. */
23 int api_server_player_civilization_score(lua_State *L, Player *pplayer);
24 
25 bool api_server_was_started(lua_State *L);
26 
27 bool api_server_save(lua_State *L, const char *filename);
28 
29 const char *api_server_setting_get(lua_State *L, const char *sett_name);
30 
31 bool api_play_music(lua_State *L, Player *pplayer, const char *tag);
32 
33 #endif /* FC__API_SERVER_BASE_H */
34