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_GAME_EFFECTS_H 15 #define FC__API_GAME_EFFECTS_H 16 17 #ifdef __cplusplus 18 extern "C" { 19 #endif /* __cplusplus */ 20 21 /* common/scriptcore */ 22 #include "luascript_types.h" 23 24 struct lua_State; 25 26 int api_effects_world_bonus(lua_State *L, const char *effect_type); 27 int api_effects_player_bonus(lua_State *L, Player *pplayer, 28 const char *effect_type); 29 int api_effects_city_bonus(lua_State *L, City *pcity, 30 const char *effect_type); 31 32 #ifdef __cplusplus 33 } 34 #endif /* __cplusplus */ 35 36 #endif /* API_GAME_EFFECTS */ 37