Freeciv-3.1
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_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)
 

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_setting_get00 (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_teleport01 (lua_State *tolua_S)
 
static int tolua_server_edit_unit_kill00 (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_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_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_unit_move01 (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_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_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_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 33 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 34 of file tolua_server_gen.c.

Function Documentation

◆ luaopen_server()

LUALIB_API int luaopen_server ( lua_State *  tolua_S)

Definition at line 1884 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 1718 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 1725 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 37 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 1513 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 1542 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 917 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 501 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 1104 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 1075 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 708 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 590 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 531 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 679 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 648 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 885 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 739 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 323 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 361 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 1571 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 946 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 1288 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 1261 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 1315 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 1347 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 1376 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 1405 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 1432 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 1459 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 1488 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 1042 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 1163 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 619 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 563 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 768 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 855 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 797 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 826 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 982 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 470 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 1190 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_unit_move01().

◆ tolua_server_edit_unit_move01()

static int tolua_server_edit_unit_move01 ( lua_State *  tolua_S)
static

Definition at line 1222 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 403 of file tolua_server_gen.c.

Referenced by luaopen_server(), and tolua_server_edit_unit_teleport01().

◆ tolua_server_edit_unit_teleport01()

static int tolua_server_edit_unit_teleport01 ( lua_State *  tolua_S)
static

Definition at line 433 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 1134 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 1014 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 1600 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 1792 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 1762 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 1732 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 193 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 290 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 259 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 226 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 2448 of file tolua_server_gen.c.

Referenced by script_server_init().

◆ tolua_server_Player_trait00()

static int tolua_server_Player_trait00 ( lua_State *  tolua_S)
static

Definition at line 1628 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 1658 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 1688 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 107 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 135 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 53 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 165 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 81 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 1852 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 1822 of file tolua_server_gen.c.

Referenced by luaopen_server().