Freeciv-3.3: /fast/freeciv/nightly/main/common/scriptcore/luascript_types.h File Reference

Freeciv-3.3

Loading...
Searching...
No Matches
Macros | Typedefs
luascript_types.h File Reference
`#include "genlist.h"`
`#include "achievements.h"`
`#include "actions.h"`
`#include "counters.h"`
`#include "city.h"`
`#include "connection.h"`
`#include "events.h"`
`#include "fc_types.h"`
`#include "game.h"`
`#include "government.h"`
`#include "improvement.h"`
`#include "nation.h"`
`#include "player.h"`
`#include "tech.h"`
`#include "terrain.h"`
`#include "tile.h"`
`#include "unit.h"`
`#include "unittype.h"`
`#include "specenum_gen.h"`

Go to the source code of this file.

## Macros

#define | SPECENUM_NAME api_types
#define | SPECENUM_VALUE0 API_TYPE_INT
#define | SPECENUM_VALUE0NAME "Int"
#define | SPECENUM_VALUE1 API_TYPE_BOOL
#define | SPECENUM_VALUE1NAME "Bool"
#define | SPECENUM_VALUE2 API_TYPE_STRING
#define | SPECENUM_VALUE2NAME "String"
#define | SPECENUM_VALUE3 API_TYPE_PLAYER
#define | SPECENUM_VALUE3NAME "Player"
#define | SPECENUM_VALUE4 API_TYPE_CITY
#define | SPECENUM_VALUE4NAME "City"
#define | SPECENUM_VALUE5 API_TYPE_UNIT
#define | SPECENUM_VALUE5NAME "Unit"
#define | SPECENUM_VALUE6 API_TYPE_TILE
#define | SPECENUM_VALUE6NAME "Tile"
#define | SPECENUM_VALUE7 API_TYPE_GOVERNMENT
#define | SPECENUM_VALUE7NAME "Government"
#define | SPECENUM_VALUE8 API_TYPE_BUILDING_TYPE
#define | SPECENUM_VALUE8NAME "Building_Type"
#define | SPECENUM_VALUE9 API_TYPE_NATION_TYPE
#define | SPECENUM_VALUE9NAME "Nation_Type"
#define | SPECENUM_VALUE10 API_TYPE_UNIT_TYPE
#define | SPECENUM_VALUE10NAME "Unit_Type"
#define | SPECENUM_VALUE11 API_TYPE_TECH_TYPE
#define | SPECENUM_VALUE11NAME "Tech_Type"
#define | SPECENUM_VALUE12 API_TYPE_TERRAIN
#define | SPECENUM_VALUE12NAME "Terrain"
#define | SPECENUM_VALUE13 API_TYPE_CONNECTION
#define | SPECENUM_VALUE13NAME "Connection"
#define | SPECENUM_VALUE14 API_TYPE_DIRECTION
#define | SPECENUM_VALUE14NAME "Direction"
#define | SPECENUM_VALUE15 API_TYPE_DISASTER
#define | SPECENUM_VALUE15NAME "Disaster"
#define | SPECENUM_VALUE16 API_TYPE_ACHIEVEMENT
#define | SPECENUM_VALUE16NAME "Achievement"
#define | SPECENUM_VALUE17 API_TYPE_ACTION
#define | SPECENUM_VALUE17NAME "Action"

## Typedefs

typedef struct player | Player
typedef struct player_ai | Player_ai
typedef struct counter | Counter
typedef struct city | City
typedef struct unit | Unit
typedef struct tile | Tile
typedef struct government | Government
typedef struct nation_type | Nation_Type
typedef struct impr_type | Building_Type
typedef struct unit_type | Unit_Type
typedef struct advance | Tech_Type
typedef struct terrain | Terrain
typedef struct connection | Connection
typedef enum direction8 | Direction
typedef struct disaster_type | Disaster
typedef struct achievement | Achievement
typedef struct action | Action
typedef struct packet_game_info | Game_Info
typedef void | Nonexistent
typedef const struct unit_list_link | Unit_List_Link
typedef const struct city_list_link | City_List_Link

## Macro Definition Documentation

## ◆ SPECENUM_NAME

#define SPECENUM_NAME api_types

Definition at line 74 of file luascript_types.h.

## ◆ SPECENUM_VALUE0

#define SPECENUM_VALUE0 API_TYPE_INT

Definition at line 75 of file luascript_types.h.

## ◆ SPECENUM_VALUE0NAME

#define SPECENUM_VALUE0NAME "Int"

Definition at line 76 of file luascript_types.h.

## ◆ SPECENUM_VALUE1

#define SPECENUM_VALUE1 API_TYPE_BOOL

Definition at line 77 of file luascript_types.h.

## ◆ SPECENUM_VALUE10

#define SPECENUM_VALUE10 API_TYPE_UNIT_TYPE

Definition at line 95 of file luascript_types.h.

## ◆ SPECENUM_VALUE10NAME

#define SPECENUM_VALUE10NAME "Unit_Type"

Definition at line 96 of file luascript_types.h.

## ◆ SPECENUM_VALUE11

#define SPECENUM_VALUE11 API_TYPE_TECH_TYPE

Definition at line 97 of file luascript_types.h.

## ◆ SPECENUM_VALUE11NAME

#define SPECENUM_VALUE11NAME "Tech_Type"

Definition at line 98 of file luascript_types.h.

## ◆ SPECENUM_VALUE12

#define SPECENUM_VALUE12 API_TYPE_TERRAIN

Definition at line 99 of file luascript_types.h.

## ◆ SPECENUM_VALUE12NAME

#define SPECENUM_VALUE12NAME "Terrain"

Definition at line 100 of file luascript_types.h.

## ◆ SPECENUM_VALUE13

#define SPECENUM_VALUE13 API_TYPE_CONNECTION

Definition at line 101 of file luascript_types.h.

## ◆ SPECENUM_VALUE13NAME

#define SPECENUM_VALUE13NAME "Connection"

Definition at line 102 of file luascript_types.h.

## ◆ SPECENUM_VALUE14

#define SPECENUM_VALUE14 API_TYPE_DIRECTION

Definition at line 103 of file luascript_types.h.

## ◆ SPECENUM_VALUE14NAME

#define SPECENUM_VALUE14NAME "Direction"

Definition at line 104 of file luascript_types.h.

## ◆ SPECENUM_VALUE15

#define SPECENUM_VALUE15 API_TYPE_DISASTER

Definition at line 105 of file luascript_types.h.

## ◆ SPECENUM_VALUE15NAME

#define SPECENUM_VALUE15NAME "Disaster"

Definition at line 106 of file luascript_types.h.

## ◆ SPECENUM_VALUE16

#define SPECENUM_VALUE16 API_TYPE_ACHIEVEMENT

Definition at line 107 of file luascript_types.h.

## ◆ SPECENUM_VALUE16NAME

#define SPECENUM_VALUE16NAME "Achievement"

Definition at line 108 of file luascript_types.h.

## ◆ SPECENUM_VALUE17

#define SPECENUM_VALUE17 API_TYPE_ACTION

Definition at line 109 of file luascript_types.h.

## ◆ SPECENUM_VALUE17NAME

#define SPECENUM_VALUE17NAME "Action"

Definition at line 110 of file luascript_types.h.

## ◆ SPECENUM_VALUE1NAME

#define SPECENUM_VALUE1NAME "Bool"

Definition at line 78 of file luascript_types.h.

## ◆ SPECENUM_VALUE2

#define SPECENUM_VALUE2 API_TYPE_STRING

Definition at line 79 of file luascript_types.h.

## ◆ SPECENUM_VALUE2NAME

#define SPECENUM_VALUE2NAME "String"

Definition at line 80 of file luascript_types.h.

## ◆ SPECENUM_VALUE3

#define SPECENUM_VALUE3 API_TYPE_PLAYER

Definition at line 81 of file luascript_types.h.

## ◆ SPECENUM_VALUE3NAME

#define SPECENUM_VALUE3NAME "Player"

Definition at line 82 of file luascript_types.h.

## ◆ SPECENUM_VALUE4

#define SPECENUM_VALUE4 API_TYPE_CITY

Definition at line 83 of file luascript_types.h.

## ◆ SPECENUM_VALUE4NAME

#define SPECENUM_VALUE4NAME "City"

Definition at line 84 of file luascript_types.h.

## ◆ SPECENUM_VALUE5

#define SPECENUM_VALUE5 API_TYPE_UNIT

Definition at line 85 of file luascript_types.h.

## ◆ SPECENUM_VALUE5NAME

#define SPECENUM_VALUE5NAME "Unit"

Definition at line 86 of file luascript_types.h.

## ◆ SPECENUM_VALUE6

#define SPECENUM_VALUE6 API_TYPE_TILE

Definition at line 87 of file luascript_types.h.

## ◆ SPECENUM_VALUE6NAME

#define SPECENUM_VALUE6NAME "Tile"

Definition at line 88 of file luascript_types.h.

## ◆ SPECENUM_VALUE7

#define SPECENUM_VALUE7 API_TYPE_GOVERNMENT

Definition at line 89 of file luascript_types.h.

## ◆ SPECENUM_VALUE7NAME

#define SPECENUM_VALUE7NAME "Government"

Definition at line 90 of file luascript_types.h.

## ◆ SPECENUM_VALUE8

#define SPECENUM_VALUE8 API_TYPE_BUILDING_TYPE

Definition at line 91 of file luascript_types.h.

## ◆ SPECENUM_VALUE8NAME

#define SPECENUM_VALUE8NAME "Building_Type"

Definition at line 92 of file luascript_types.h.

## ◆ SPECENUM_VALUE9

#define SPECENUM_VALUE9 API_TYPE_NATION_TYPE

Definition at line 93 of file luascript_types.h.

## ◆ SPECENUM_VALUE9NAME

#define SPECENUM_VALUE9NAME "Nation_Type"

Definition at line 94 of file luascript_types.h.

## Typedef Documentation

## ◆ Achievement

typedef struct achievement Achievement

Definition at line 61 of file luascript_types.h.

## ◆ Action

typedef struct action Action

Definition at line 62 of file luascript_types.h.

## ◆ Building_Type

typedef struct impr_type Building_Type

Definition at line 54 of file luascript_types.h.

## ◆ City

typedef struct city City

Definition at line 49 of file luascript_types.h.

## ◆ City_List_Link

typedef const struct city_list_link City_List_Link

Definition at line 72 of file luascript_types.h.

## ◆ Connection

typedef struct connection Connection

Definition at line 58 of file luascript_types.h.

## ◆ Counter

typedef struct counter Counter

Definition at line 48 of file luascript_types.h.

## ◆ Direction

typedef enum direction8 Direction

Definition at line 59 of file luascript_types.h.

## ◆ Disaster

typedef struct disaster_type Disaster

Definition at line 60 of file luascript_types.h.

## ◆ Game_Info

typedef struct packet_game_info Game_Info

Definition at line 63 of file luascript_types.h.

## ◆ Government

typedef struct government Government

Definition at line 52 of file luascript_types.h.

## ◆ Nation_Type

typedef struct nation_type Nation_Type

Definition at line 53 of file luascript_types.h.

## ◆ Nonexistent

typedef void Nonexistent

Definition at line 65 of file luascript_types.h.

## ◆ Player

typedef struct player Player

Definition at line 46 of file luascript_types.h.

## ◆ Player_ai

typedef struct player_ai Player_ai

Definition at line 47 of file luascript_types.h.

## ◆ Tech_Type

typedef struct advance Tech_Type

Definition at line 56 of file luascript_types.h.

## ◆ Terrain

typedef struct terrain Terrain

Definition at line 57 of file luascript_types.h.

## ◆ Tile

typedef struct tile Tile

Definition at line 51 of file luascript_types.h.

## ◆ Unit

typedef struct unit Unit

Definition at line 50 of file luascript_types.h.

## ◆ Unit_List_Link

typedef const struct unit_list_link Unit_List_Link

Definition at line 71 of file luascript_types.h.

## ◆ Unit_Type

typedef struct unit_type Unit_Type

Definition at line 55 of file luascript_types.h.