Freeciv-3.2
|
#include <string.h>
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
#include "support.h"
#include "events.h"
#include "fc_types.h"
#include "api_specenum.h"
#include "api_game_specenum.h"
Go to the source code of this file.
Functions | |
API_SPECENUM_DEFINE_INDEX_REV (tech_cost_style) | |
API_SPECENUM_DEFINE_INDEX_REV (tech_leakage_style) | |
int | api_game_specenum_open (lua_State *L) |
Load the specenum modules into Lua state L.
Definition at line 48 of file api_game_specenum.c.
Referenced by script_client_init(), and script_server_init().
API_SPECENUM_DEFINE_INDEX_REV | ( | tech_cost_style | ) |
Define the __index function for each exported specenum type.
API_SPECENUM_DEFINE_INDEX_REV | ( | tech_leakage_style | ) |