Freeciv-3.2
|
Go to the source code of this file.
Achievement * api_find_achievement | ( | lua_State * | L, |
int | achievement_id | ||
) |
Return the achievement with the given achievement_id index.
Definition at line 303 of file api_game_find.c.
Referenced by tolua_game_find_achievement01().
Achievement * api_find_achievement_by_name | ( | lua_State * | L, |
const char * | name_orig | ||
) |
Return the achievement with the given name_orig.
Definition at line 313 of file api_game_find.c.
Referenced by tolua_game_find_achievement00().
Return the action type with the given action_id number.
Definition at line 196 of file api_game_find.c.
Referenced by tolua_game_find_action01().
Return the action with the given name_orig.
Definition at line 206 of file api_game_find.c.
Referenced by tolua_game_find_action00().
Returns the action with the specified id.
Definition at line 355 of file api_game_find.c.
Referenced by tolua_game_find_action03().
Returns the action with the specified name.
Definition at line 365 of file api_game_find.c.
Referenced by tolua_game_find_action02().
Building_Type * api_find_building_type | ( | lua_State * | L, |
int | building_type_id | ||
) |
Return the improvement type with the given impr_type_id index.
Definition at line 218 of file api_game_find.c.
Referenced by tolua_game_find_building_type01().
Building_Type * api_find_building_type_by_name | ( | lua_State * | L, |
const char * | name_orig | ||
) |
Return the improvement type with the given name_orig.
Definition at line 228 of file api_game_find.c.
Referenced by tolua_game_find_building_type00().
Return a player city with the given city_id.
Definition at line 52 of file api_game_find.c.
Referenced by tolua_game_find_city00().
Returns the counter specified by id.
Definition at line 376 of file api_game_find.c.
Referenced by tolua_game_find_counter01().
Returns the counter specified by name.
Definition at line 386 of file api_game_find.c.
Referenced by tolua_game_find_counter00().
Return the direction with the given id
Definition at line 345 of file api_game_find.c.
Referenced by tolua_game_find_direction01().
Return the disaster with the given disaster_id index.
Definition at line 324 of file api_game_find.c.
Referenced by tolua_game_find_disaster00().
Return the disaster with the given name_orig.
Definition at line 334 of file api_game_find.c.
Referenced by tolua_game_find_achievement02().
Government * api_find_government | ( | lua_State * | L, |
int | government_id | ||
) |
Return the government with the given Government_type_id index.
Definition at line 152 of file api_game_find.c.
Referenced by tolua_game_find_government01().
Government * api_find_government_by_name | ( | lua_State * | L, |
const char * | name_orig | ||
) |
Return the governmet with the given name_orig.
Definition at line 162 of file api_game_find.c.
Referenced by tolua_game_find_government00().
Nation_Type * api_find_nation_type | ( | lua_State * | L, |
int | nation_type_id | ||
) |
Return the nation type with the given nation_type_id index.
Definition at line 174 of file api_game_find.c.
Referenced by tolua_game_find_nation_type01().
Nation_Type * api_find_nation_type_by_name | ( | lua_State * | L, |
const char * | name_orig | ||
) |
Return the nation type with the given name_orig.
Definition at line 184 of file api_game_find.c.
Referenced by tolua_game_find_nation_type00().
Nonexistent * api_find_nonexistent | ( | lua_State * | L | ) |
Return a dummy pointer.
Definition at line 397 of file api_game_find.c.
Referenced by tolua_game_find_nonexistent00().
Return a player with the given player_id.
Definition at line 42 of file api_game_find.c.
Referenced by tolua_game_find_player01().
Return a player with the given name
Definition at line 32 of file api_game_find.c.
Referenced by tolua_game_find_player00().
Return a unit type for given role or flag. (Prior to 2.6.0, this worked only for roles.)
Definition at line 103 of file api_game_find.c.
Referenced by tolua_game_find_role_unit_type00().
Return the tech type with the given tech_type_id index.
Definition at line 261 of file api_game_find.c.
Referenced by tolua_game_find_tech_type01().
Return the tech type with the given name_orig.
Definition at line 271 of file api_game_find.c.
Referenced by tolua_game_find_tech_type00().
Return the terrain with the given terrain_id index.
Definition at line 282 of file api_game_find.c.
Referenced by tolua_game_find_terrain01().
Return the terrain with the given name_orig.
Definition at line 292 of file api_game_find.c.
Referenced by tolua_game_find_terrain00().
Return the tile at the given native coordinates.
Definition at line 132 of file api_game_find.c.
Referenced by tolua_game_find_tile00().
Return the tile at the given index.
Definition at line 142 of file api_game_find.c.
Referenced by tolua_game_find_tile01().
Return a unit that can transport ptype at a given ptile.
Definition at line 80 of file api_game_find.c.
Referenced by tolua_game_find_transport_unit00().
Return a player unit with the given unit_id.
Definition at line 66 of file api_game_find.c.
Referenced by tolua_game_find_unit00().
Return the unit type with the given unit_type_id index.
Definition at line 240 of file api_game_find.c.
Referenced by tolua_game_find_unit_type01().
Return the unit type with the given name_orig.
Definition at line 250 of file api_game_find.c.
Referenced by tolua_game_find_unit_type00().