Freeciv-3.2
Loading...
Searching...
No Matches
Macros | Functions
tolua_server_gen.c File Reference
#include "tolua.h"
#include <stdlib.h>
#include <string.h>
#include "luascript_types.h"
#include "commands.h"
#include "console.h"
#include "api_server_edit.h"
#include "api_server_base.h"
#include "api_server_counters.h"
#include "api_server_luadata.h"
#include "api_server_notify.h"
#include "api_server_game_methods.h"
#include "script_server.h"

Go to the source code of this file.

Macros

#define game_server_autoupgrade_veteran_loss   (game.server.autoupgrade_veteran_loss)
 
#define game_server_upgrade_veteran_loss   (game.server.upgrade_veteran_loss)
 
#define game_server_multiresearch   (game.server.multiresearch)
 

Functions

int tolua_bnd_takeownership (lua_State *L)
 
TOLUA_API int tolua_server_open (lua_State *tolua_S)
 
LUALIB_API int luaopen_server (lua_State *tolua_S)
 
static void tolua_reg_types (lua_State *tolua_S)
 
static int tolua_server_server_save00 (lua_State *tolua_S)
 
static int tolua_server_server_started00 (lua_State *tolua_S)
 
static int tolua_server_server_civilization_score00 (lua_State *tolua_S)
 
static int tolua_server_server_play_music00 (lua_State *tolua_S)
 
static int tolua_server_server_popup_image00 (lua_State *tolua_S)
 
static int tolua_server_server_setting_get00 (lua_State *tolua_S)
 
static int tolua_server_Counter_increase00 (lua_State *tolua_S)
 
static int tolua_server_Counter_zero00 (lua_State *tolua_S)
 
static int tolua_server_notify_embassies_msg00 (lua_State *tolua_S)
 
static int tolua_server_notify_research_msg00 (lua_State *tolua_S)
 
static int tolua_server_notify_research_embassies_msg00 (lua_State *tolua_S)
 
static int tolua_server_notify_event_msg00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_unit00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_unit_full00 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_teleport00 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_kill00 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_add_hitpoints00 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_add_movepoints00 (lua_State *tolua_S)
 
static int tolua_server_edit_change_terrain00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_city00 (lua_State *tolua_S)
 
static int tolua_server_edit_transfer_city00 (lua_State *tolua_S)
 
static int tolua_server_edit_remove_city00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_building00 (lua_State *tolua_S)
 
static int tolua_server_edit_remove_building00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_owned_extra00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_extra00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_base00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_road00 (lua_State *tolua_S)
 
static int tolua_server_edit_remove_extra00 (lua_State *tolua_S)
 
static int tolua_server_edit_tile_set_label00 (lua_State *tolua_S)
 
static int tolua_server_edit_tile_show00 (lua_State *tolua_S)
 
static int tolua_server_edit_tile_hide00 (lua_State *tolua_S)
 
static int tolua_server_edit_create_player00 (lua_State *tolua_S)
 
static int tolua_server_edit_change_gold00 (lua_State *tolua_S)
 
static int tolua_server_edit_change_infrapoints00 (lua_State *tolua_S)
 
static int tolua_server_edit_give_tech00 (lua_State *tolua_S)
 
static int tolua_server_edit_trait_mod00 (lua_State *tolua_S)
 
static int tolua_server_edit_unleash_barbarians00 (lua_State *tolua_S)
 
static int tolua_server_edit_place_partisans00 (lua_State *tolua_S)
 
static int tolua_server_edit_climate_change00 (lua_State *tolua_S)
 
static int tolua_server_edit_civil_war00 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_turn00 (lua_State *tolua_S)
 
static int tolua_server_edit_player_victory00 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_move00 (lua_State *tolua_S)
 
static int tolua_server_edit_movement_disallow00 (lua_State *tolua_S)
 
static int tolua_server_edit_movement_allow00 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action00 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action01 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action02 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action03 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action04 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action05 (lua_State *tolua_S)
 
static int tolua_server_edit_perform_action06 (lua_State *tolua_S)
 
static int tolua_server_edit_add_city_history00 (lua_State *tolua_S)
 
static int tolua_server_edit_add_player_history00 (lua_State *tolua_S)
 
static int tolua_server_edit_give_bulbs00 (lua_State *tolua_S)
 
static int tolua_server_luadata_get_str00 (lua_State *tolua_S)
 
static int tolua_server_Player_properties_free_bulbs00 (lua_State *tolua_S)
 
static int tolua_server_Player_trait00 (lua_State *tolua_S)
 
static int tolua_server_Player_trait_base00 (lua_State *tolua_S)
 
static int tolua_server_Player_trait_current_mod00 (lua_State *tolua_S)
 
static int tolua_server_Player_lose00 (lua_State *tolua_S)
 
static int tolua_server_Player_bulbs_saved00 (lua_State *tolua_S)
 
static int tolua_get_game_game_server_autoupgrade_veteran_loss (lua_State *tolua_S)
 
static int tolua_get_game_game_server_upgrade_veteran_loss (lua_State *tolua_S)
 
static int tolua_get_game_game_server_multiresearch (lua_State *tolua_S)
 
static int tolua_server_Nation_Type_trait_min00 (lua_State *tolua_S)
 
static int tolua_server_Nation_Type_trait_max00 (lua_State *tolua_S)
 
static int tolua_server_Nation_Type_trait_default00 (lua_State *tolua_S)
 
static int tolua_server_Unit_upgrade00 (lua_State *tolua_S)
 
static int tolua_server_Unit_transform00 (lua_State *tolua_S)
 

Macro Definition Documentation

◆ game_server_autoupgrade_veteran_loss

#define game_server_autoupgrade_veteran_loss   (game.server.autoupgrade_veteran_loss)

Definition at line 34 of file tolua_server_gen.c.

◆ game_server_multiresearch

#define game_server_multiresearch   (game.server.multiresearch)

Definition at line 36 of file tolua_server_gen.c.

◆ game_server_upgrade_veteran_loss

#define game_server_upgrade_veteran_loss   (game.server.upgrade_veteran_loss)

Definition at line 35 of file tolua_server_gen.c.

Function Documentation

◆ luaopen_server()

LUALIB_API int luaopen_server ( lua_State tolua_S)

Definition at line 2141 of file tolua_server_gen.c.

Referenced by tolua_server_open().

◆ tolua_bnd_takeownership()

int tolua_bnd_takeownership ( lua_State L)

◆ tolua_get_game_game_server_autoupgrade_veteran_loss()

static int tolua_get_game_game_server_autoupgrade_veteran_loss ( lua_State tolua_S)
static

Definition at line 1968 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_get_game_game_server_multiresearch()

static int tolua_get_game_game_server_multiresearch ( lua_State tolua_S)
static

Definition at line 1982 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_get_game_game_server_upgrade_veteran_loss()

static int tolua_get_game_game_server_upgrade_veteran_loss ( lua_State tolua_S)
static

Definition at line 1975 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_reg_types()

static void tolua_reg_types ( lua_State tolua_S)
static

Definition at line 39 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Counter_increase00()

static int tolua_server_Counter_increase00 ( lua_State tolua_S)
static

Definition at line 226 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Counter_zero00()

static int tolua_server_Counter_zero00 ( lua_State tolua_S)
static

Definition at line 255 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_add_city_history00()

static int tolua_server_edit_add_city_history00 ( lua_State tolua_S)
static

Definition at line 1674 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_add_player_history00()

static int tolua_server_edit_add_player_history00 ( lua_State tolua_S)
static

Definition at line 1703 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_change_gold00()

static int tolua_server_edit_change_gold00 ( lua_State tolua_S)
static

Definition at line 1076 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_change_infrapoints00()

static int tolua_server_edit_change_infrapoints00 ( lua_State tolua_S)
static

Definition at line 1105 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_change_terrain00()

static int tolua_server_edit_change_terrain00 ( lua_State tolua_S)
static

Definition at line 630 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_civil_war00()

static int tolua_server_edit_civil_war00 ( lua_State tolua_S)
static

Definition at line 1292 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_climate_change00()

static int tolua_server_edit_climate_change00 ( lua_State tolua_S)
static

Definition at line 1263 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_base00()

static int tolua_server_edit_create_base00 ( lua_State tolua_S)
static

Definition at line 867 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_building00()

static int tolua_server_edit_create_building00 ( lua_State tolua_S)
static

Definition at line 749 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_city00()

static int tolua_server_edit_create_city00 ( lua_State tolua_S)
static

Definition at line 660 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_extra00()

static int tolua_server_edit_create_extra00 ( lua_State tolua_S)
static

Definition at line 838 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_owned_extra00()

static int tolua_server_edit_create_owned_extra00 ( lua_State tolua_S)
static

Definition at line 807 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_player00()

static int tolua_server_edit_create_player00 ( lua_State tolua_S)
static

Definition at line 1044 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_road00()

static int tolua_server_edit_create_road00 ( lua_State tolua_S)
static

Definition at line 898 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_unit00()

static int tolua_server_edit_create_unit00 ( lua_State tolua_S)
static

Definition at line 414 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_create_unit_full00()

static int tolua_server_edit_create_unit_full00 ( lua_State tolua_S)
static

Definition at line 452 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_give_bulbs00()

static int tolua_server_edit_give_bulbs00 ( lua_State tolua_S)
static

Definition at line 1732 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_give_tech00()

static int tolua_server_edit_give_tech00 ( lua_State tolua_S)
static

Definition at line 1134 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_movement_allow00()

static int tolua_server_edit_movement_allow00 ( lua_State tolua_S)
static

Definition at line 1449 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_movement_disallow00()

static int tolua_server_edit_movement_disallow00 ( lua_State tolua_S)
static

Definition at line 1422 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_perform_action00()

static int tolua_server_edit_perform_action00 ( lua_State tolua_S)
static

Definition at line 1476 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_perform_action01().

◆ tolua_server_edit_perform_action01()

static int tolua_server_edit_perform_action01 ( lua_State tolua_S)
static

Definition at line 1508 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_perform_action02().

◆ tolua_server_edit_perform_action02()

static int tolua_server_edit_perform_action02 ( lua_State tolua_S)
static

Definition at line 1537 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_perform_action03().

◆ tolua_server_edit_perform_action03()

static int tolua_server_edit_perform_action03 ( lua_State tolua_S)
static

Definition at line 1566 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_perform_action04().

◆ tolua_server_edit_perform_action04()

static int tolua_server_edit_perform_action04 ( lua_State tolua_S)
static

Definition at line 1593 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_perform_action05().

◆ tolua_server_edit_perform_action05()

static int tolua_server_edit_perform_action05 ( lua_State tolua_S)
static

Definition at line 1620 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_perform_action06().

◆ tolua_server_edit_perform_action06()

static int tolua_server_edit_perform_action06 ( lua_State tolua_S)
static

Definition at line 1649 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_place_partisans00()

static int tolua_server_edit_place_partisans00 ( lua_State tolua_S)
static

Definition at line 1230 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_player_victory00()

static int tolua_server_edit_player_victory00 ( lua_State tolua_S)
static

Definition at line 1351 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_remove_building00()

static int tolua_server_edit_remove_building00 ( lua_State tolua_S)
static

Definition at line 778 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_remove_city00()

static int tolua_server_edit_remove_city00 ( lua_State tolua_S)
static

Definition at line 722 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_remove_extra00()

static int tolua_server_edit_remove_extra00 ( lua_State tolua_S)
static

Definition at line 927 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_tile_hide00()

static int tolua_server_edit_tile_hide00 ( lua_State tolua_S)
static

Definition at line 1014 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_tile_set_label00()

static int tolua_server_edit_tile_set_label00 ( lua_State tolua_S)
static

Definition at line 956 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_tile_show00()

static int tolua_server_edit_tile_show00 ( lua_State tolua_S)
static

Definition at line 985 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_trait_mod00()

static int tolua_server_edit_trait_mod00 ( lua_State tolua_S)
static

Definition at line 1170 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_transfer_city00()

static int tolua_server_edit_transfer_city00 ( lua_State tolua_S)
static

Definition at line 692 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unit_add_hitpoints00()

static int tolua_server_edit_unit_add_hitpoints00 ( lua_State tolua_S)
static

Definition at line 567 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unit_add_movepoints00()

static int tolua_server_edit_unit_add_movepoints00 ( lua_State tolua_S)
static

Definition at line 601 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unit_kill00()

static int tolua_server_edit_unit_kill00 ( lua_State tolua_S)
static

Definition at line 536 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unit_move00()

static int tolua_server_edit_unit_move00 ( lua_State tolua_S)
static

Definition at line 1378 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unit_teleport00()

static int tolua_server_edit_unit_teleport00 ( lua_State tolua_S)
static

Definition at line 494 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unit_turn00()

static int tolua_server_edit_unit_turn00 ( lua_State tolua_S)
static

Definition at line 1322 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_edit_unleash_barbarians00()

static int tolua_server_edit_unleash_barbarians00 ( lua_State tolua_S)
static

Definition at line 1202 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_luadata_get_str00()

static int tolua_server_luadata_get_str00 ( lua_State tolua_S)
static

Definition at line 1763 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Nation_Type_trait_default00()

static int tolua_server_Nation_Type_trait_default00 ( lua_State tolua_S)
static

Definition at line 2049 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Nation_Type_trait_max00()

static int tolua_server_Nation_Type_trait_max00 ( lua_State tolua_S)
static

Definition at line 2019 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Nation_Type_trait_min00()

static int tolua_server_Nation_Type_trait_min00 ( lua_State tolua_S)
static

Definition at line 1989 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_notify_embassies_msg00()

static int tolua_server_notify_embassies_msg00 ( lua_State tolua_S)
static

Definition at line 284 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_notify_event_msg00()

static int tolua_server_notify_event_msg00 ( lua_State tolua_S)
static

Definition at line 381 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_notify_research_embassies_msg00()

static int tolua_server_notify_research_embassies_msg00 ( lua_State tolua_S)
static

Definition at line 350 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_notify_research_msg00()

static int tolua_server_notify_research_msg00 ( lua_State tolua_S)
static

Definition at line 317 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_open()

TOLUA_API int tolua_server_open ( lua_State tolua_S)

Definition at line 2748 of file tolua_server_gen.c.

Referenced by script_server_init().

◆ tolua_server_Player_bulbs_saved00()

static int tolua_server_Player_bulbs_saved00 ( lua_State tolua_S)
static

Definition at line 1938 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Player_lose00()

static int tolua_server_Player_lose00 ( lua_State tolua_S)
static

Definition at line 1909 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Player_properties_free_bulbs00()

static int tolua_server_Player_properties_free_bulbs00 ( lua_State tolua_S)
static

Definition at line 1791 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Player_trait00()

static int tolua_server_Player_trait00 ( lua_State tolua_S)
static

Definition at line 1819 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Player_trait_base00()

static int tolua_server_Player_trait_base00 ( lua_State tolua_S)
static

Definition at line 1849 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Player_trait_current_mod00()

static int tolua_server_Player_trait_current_mod00 ( lua_State tolua_S)
static

Definition at line 1879 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_server_civilization_score00()

static int tolua_server_server_civilization_score00 ( lua_State tolua_S)
static

Definition at line 110 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_server_play_music00()

static int tolua_server_server_play_music00 ( lua_State tolua_S)
static

Definition at line 138 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_server_popup_image00()

static int tolua_server_server_popup_image00 ( lua_State tolua_S)
static

Definition at line 168 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_server_save00()

static int tolua_server_server_save00 ( lua_State tolua_S)
static

Definition at line 56 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_server_setting_get00()

static int tolua_server_server_setting_get00 ( lua_State tolua_S)
static

Definition at line 198 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_server_started00()

static int tolua_server_server_started00 ( lua_State tolua_S)
static

Definition at line 84 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Unit_transform00()

static int tolua_server_Unit_transform00 ( lua_State tolua_S)
static

Definition at line 2109 of file tolua_server_gen.c.

Referenced by luaopen_server().

◆ tolua_server_Unit_upgrade00()

static int tolua_server_Unit_upgrade00 ( lua_State tolua_S)
static

Definition at line 2079 of file tolua_server_gen.c.

Referenced by luaopen_server().