Freeciv-3.3: /fast/freeciv/nightly/main/server/scripting/api_server_counters.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
api_server_counters.h
Go to the documentation of this file.
1/*****************************************************************************
2 Freeciv - Copyright (C) 2023 - 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_COUNTERS_H
15#define FC__API_GAME_COUNTERS_H
16
17/* common/scriptcore */
18#include "luascript_types.h"
19
20struct lua_State;
21
22void api_counter_increase(lua_State *L, Counter *c, City *city);
23void api_counter_zero(lua_State *L, Counter *c, City *city);
24#endif /* FCAPI_GAME_COUNTERS_H */
api_counter_increase
void api_counter_increase(lua_State *L, Counter *c, City *city)
Definition api_server_counters.c:38
api_counter_zero
void api_counter_zero(lua_State *L, Counter *c, City *city)
Definition api_server_counters.c:55
incite_cost
char * incite_cost
Definition comments.c:74
luascript_types.h
city
Definition city.h:320
counter
Definition counters.h:27