Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

Constant Definitions used in X²

To identify Objects in the game their definitions are split in maintype and subtype. A maintype has serval subtypes. For splitting/joining types see Macros Macro definitions. Both - maintype and subtype - are also split to distinct between the case that the object is used in an actual sector (the "sector case") or in another sector (the "galaxy case"). (see also General Information )

Maintypes

galaxy case , sector case

SGTYPE_SECTOR , SSTYPE_SPACE
SGTYPE_DOCK , SSTYPE_DOCK
SGTYPE_FACTORY , SSTYPE_FACTORY
SGTYPE_SHIP , SSTYPE_SHIP
SGTYPE_W_LASER , SSTYPE_W_LASER
SGTYPE_W_SHIELD , SSTYPE_W_SHIELD
SGTYPE_W_ROCKET , SSTYPE_W_ROCKET
SGTYPE_W_ENERGY , SSTYPE_W_ENERGY
SGTYPE_W_NATURAL , SSTYPE_W_NATURAL
SGTYPE_W_BIO , SSTYPE_W_BIO
SGTYPE_W_FOOD , SSTYPE_W_FOOD
SGTYPE_W_MINERALS , SSTYPE_W_MINERALS
SGTYPE_W_TECH , SSTYPE_W_TECH
SGTYPE_ASTEROID , SSTYPE_ASTEROID
SGTYPE_WARPGATE , SSTYPE_WARPGATE

*_DOCK subtype constants-definitions

galaxy subtypes
SG_DOCK
SG_DOCK_GONER
SG_DOCK_PIRATES
sector subtypes
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_DOCK_S_TRADE 1
#define SS_DOCK_P_TRADE 2
#define SS_DOCK_B_TRADE 3
#define SS_DOCK_T_TRADE 4
#define SS_DOCK_X_TRADE 5
#define SS_DOCK_A_EQUIP 6
#define SS_DOCK_S_EQUIP 7
#define SS_DOCK_P_EQUIP 8
#define SS_DOCK_B_EQUIP 9
#define SS_DOCK_T_EQUIP 10
#define SS_DOCK_X_EQUIP 11
#define SS_DOCK_UNUSED1 12
#define SS_DOCK_GONER 13
#define SS_DOCK_PIRATES 14
#define SS_DOCK_MUSEUM 15
#define SS_DOCK_K 16
#define SS_DOCK_A_TRADE 18
#define MAX_SS_DOCKS 19

*_FACTORY subtype constants-definitions

galaxy subtypes
SG_FAC_SHIP
SG_FAC_TECH
SG_FAC_BIO
SG_FAC_FOOD
SG_FAC_POWER
SG_FAC_MINE
SG_FAC_STORAGE
SG_FAC_FAC
sector subtypes
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_FAC_A_SHIP 0
#define SS_FAC_S_SHIP 1
#define SS_FAC_P_SHIP 2
#define SS_FAC_B_SHIP 3
#define SS_FAC_T_SHIP 4
#define SS_FAC_A_TECH204 5
#define SS_FAC_A_TECH205 6
#define SS_FAC_A_TECH206 7
#define SS_FAC_A_TECH207 8
#define SS_FAC_A_TECH208 9
#define SS_FAC_S_TECH204 10
#define SS_FAC_S_TECH205 11
#define SS_FAC_S_TECH206 12
#define SS_FAC_S_TECH207 13
#define SS_FAC_S_TECH208 14
#define SS_FAC_P_TECH204 15
#define SS_FAC_P_TECH205 16
#define SS_FAC_P_TECH206 17
#define SS_FAC_P_TECH207 18
#define SS_FAC_P_TECH208 19
#define SS_FAC_B_TECH204 20
#define SS_FAC_B_TECH205 21
#define SS_FAC_B_TECH206 22
#define SS_FAC_B_TECH207 23
#define SS_FAC_B_TECH208 24
#define SS_FAC_T_TECH204 25
#define SS_FAC_T_TECH205 26
#define SS_FAC_T_TECH206 27
#define SS_FAC_T_TECH207 28
#define SS_FAC_T_TECH208 29
#define SS_FAC_A_SHIELD_A 30
#define SS_FAC_A_SHIELD_B 31
#define SS_FAC_A_SHIELD_C 32
#define SS_FAC_A_SHIELD_D 33
#define SS_FAC_S_SHIELD_A 34
#define SS_FAC_S_SHIELD_B 35
#define SS_FAC_S_SHIELD_C 36
#define SS_FAC_S_SHIELD_D 37
#define SS_FAC_P_SHIELD_A 38
#define SS_FAC_P_SHIELD_B 39
#define SS_FAC_P_SHIELD_C 40
#define SS_FAC_P_SHIELD_D 41
#define SS_FAC_B_SHIELD_A 42
#define SS_FAC_B_SHIELD_B 43
#define SS_FAC_B_SHIELD_C 44
#define SS_FAC_B_SHIELD_D 45
#define SS_FAC_T_SHIELD_A 46
#define SS_FAC_T_SHIELD_B 47
#define SS_FAC_T_SHIELD_C 48
#define SS_FAC_T_SHIELD_D 49
#define SS_FAC_A_ROCKET_A 50
#define SS_FAC_A_ROCKET_B 51
#define SS_FAC_A_ROCKET_C 52
#define SS_FAC_A_ROCKET_D 53
#define SS_FAC_A_ROCKET_E 54
#define SS_FAC_S_ROCKET_A 55
#define SS_FAC_S_ROCKET_B 56
#define SS_FAC_S_ROCKET_C 57
#define SS_FAC_S_ROCKET_D 58
#define SS_FAC_S_ROCKET_E 59
#define SS_FAC_P_ROCKET_A 60
#define SS_FAC_P_ROCKET_B 61
#define SS_FAC_P_ROCKET_C 62
#define SS_FAC_P_ROCKET_D 63
#define SS_FAC_P_ROCKET_E 64
#define SS_FAC_B_ROCKET_A 65
#define SS_FAC_B_ROCKET_B 66
#define SS_FAC_B_ROCKET_C 67
#define SS_FAC_B_ROCKET_D 68
#define SS_FAC_B_ROCKET_E 69
#define SS_FAC_T_ROCKET_A 70
#define SS_FAC_T_ROCKET_B 71
#define SS_FAC_T_ROCKET_C 72
#define SS_FAC_T_ROCKET_D 73
#define SS_FAC_T_ROCKET_E 74
#define SS_FAC_A_LS_ALPHA 75
#define SS_FAC_A_LS_BETA 76
#define SS_FAC_A_LS_GAMMA 77
#define SS_FAC_A_PR_ALPHA 78
#define SS_FAC_A_PR_BETA 79
#define SS_FAC_A_PR_GAMMA 80
#define SS_FAC_A_PL_ALPHA 81
#define SS_FAC_A_PL_BETA 82
#define SS_FAC_A_PL_GAMMA 83
#define SS_FAC_S_LS_ALPHA 84
#define SS_FAC_S_LS_BETA 85
#define SS_FAC_S_LS_GAMMA 86
#define SS_FAC_S_PR_ALPHA 87
#define SS_FAC_S_PR_BETA 88
#define SS_FAC_S_PR_GAMMA 89
#define SS_FAC_S_PL_ALPHA 90
#define SS_FAC_S_PL_BETA 91
#define SS_FAC_S_PL_GAMMA 92
#define SS_FAC_P_LS_ALPHA 93
#define SS_FAC_P_LS_BETA 94
#define SS_FAC_P_LS_GAMMA 95
#define SS_FAC_P_PR_ALPHA 96
#define SS_FAC_P_PR_BETA 97
#define SS_FAC_P_PR_GAMMA 98
#define SS_FAC_P_PL_ALPHA 99
#define SS_FAC_P_PL_BETA 100
#define SS_FAC_P_PL_GAMMA 101
#define SS_FAC_B_LS_ALPHA 102
#define SS_FAC_B_LS_BETA 103
#define SS_FAC_B_LS_GAMMA 104
#define SS_FAC_B_PR_ALPHA 105
#define SS_FAC_B_PR_BETA 106
#define SS_FAC_B_PR_GAMMA 107
#define SS_FAC_B_PL_ALPHA 108
#define SS_FAC_B_PL_BETA 109
#define SS_FAC_B_PL_GAMMA 110
#define SS_FAC_T_LS_ALPHA 111
#define SS_FAC_T_LS_BETA 112
#define SS_FAC_T_LS_GAMMA 113
#define SS_FAC_T_PR_ALPHA 114
#define SS_FAC_T_PR_BETA 115
#define SS_FAC_T_PR_GAMMA 116
#define SS_FAC_T_PL_ALPHA 117
#define SS_FAC_T_PL_BETA 118
#define SS_FAC_T_PL_GAMMA 119
#define SS_FAC_A_ORE 120
#define SS_FAC_S_ORE 121
#define SS_FAC_P_ORE 122
#define SS_FAC_B_ORE 123
#define SS_FAC_T_ORE 124
#define SS_FAC_A_SIL 125
#define SS_FAC_S_SIL 126
#define SS_FAC_P_SIL 127
#define SS_FAC_B_SIL 128
#define SS_FAC_T_SIL 129
#define SS_FAC_A_POWER 130
#define SS_FAC_S_POWER 131
#define SS_FAC_P_POWER 132
#define SS_FAC_B_POWER 133
#define SS_FAC_T_POWER 134
#define SS_FAC_R214 135
#define SS_FAC_R215 136
#define SS_FAC_R224 137
#define SS_FAC_R225 138
#define SS_FAC_R234 139
#define SS_FAC_R235 140
#define SS_FAC_R244 141
#define SS_FAC_R245 142
#define SS_FAC_R254 143
#define SS_FAC_R255 144
#define SS_FAC_R256 145
#define SS_FAC_F217 146
#define SS_FAC_F218 147
#define SS_FAC_F219 148
#define SS_FAC_F227 149
#define SS_FAC_F228 150
#define SS_FAC_F237 151
#define SS_FAC_F238 152
#define SS_FAC_F247 153
#define SS_FAC_F248 154
#define SS_FAC_F257 155
#define SS_FAC_F258 156
#define SS_FAC_X_POWER 157
#define SS_FAC_X_SHIP 158
#define SS_FAC_A_SAT 159
#define SS_FAC_S_SAT 160
#define SS_FAC_P_SAT 161
#define SS_FAC_B_SAT 162
#define SS_FAC_T_SAT 163
#define SS_FAC_A_MINE 164
#define SS_FAC_S_MINE 165
#define SS_FAC_P_MINE 166
#define SS_FAC_B_MINE 167
#define SS_FAC_T_MINE 168
#define SS_FAC_A_OLASER 169
#define SS_FAC_S_OLASER 170
#define SS_FAC_P_OLASER 171
#define SS_FAC_B_OLASER 172
#define SS_FAC_T_OLASER 173
#define SS_FAC_A_DRONE 174
#define SS_FAC_S_DRONE 175
#define SS_FAC_P_DRONE 176
#define SS_FAC_B_DRONE 177
#define SS_FAC_T_DRONE 178
#define SS_FAC_A_SHIP2 179
#define SS_FAC_S_SHIP2 180
#define SS_FAC_P_SHIP2 181
#define SS_FAC_B_SHIP2 182
#define SS_FAC_T_SHIP2 183
#define MAX_SS_FACTORIES 184

*_SHIP subtype constants-definitions

galaxy subtypes
SG_SH_TL
SG_SH_TS
SG_SH_M0
SG_SH_M1
SG_SH_M2
SG_SH_M3
SG_SH_M4
SG_SH_M5
SG_SH_TL_P
SG_SH_TS_P
SG_SH_GO
SG_SH_M6
SG_SH_TP
sector subtypes
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_SH_A_TL 0
#define SS_SH_A_TS 1
#define SS_SH_A_M1 2
#define SS_SH_A_M2 3
#define SS_SH_A_M3 4
#define SS_SH_A_M4 5
#define SS_SH_A_M5 6
#define SS_SH_X_TL 7
#define SS_SH_X_TS 8
#define SS_SH_X_M0 9
#define SS_SH_X_M1 10
#define SS_SH_X_M2 11
#define SS_SH_X_M3 12
#define SS_SH_X_M4 13
#define SS_SH_X_M5 14
#define SS_SH_S_TL 15
#define SS_SH_S_TS 16
#define SS_SH_S_M1 17
#define SS_SH_S_M2 18
#define SS_SH_S_M3 19
#define SS_SH_S_M4 20
#define SS_SH_S_M5 21
#define SS_SH_P_TL 22
#define SS_SH_P_TS 23
#define SS_SH_P_M1 24
#define SS_SH_P_M2 25
#define SS_SH_P_M3 26
#define SS_SH_P_M4 27
#define SS_SH_P_M5 28
#define SS_SH_B_TL 29
#define SS_SH_B_TS 30
#define SS_SH_B_M1 31
#define SS_SH_B_M2 32
#define SS_SH_B_M3 33
#define SS_SH_B_M4 34
#define SS_SH_B_M5 35
#define SS_SH_T_TL 36
#define SS_SH_T_TS 37
#define SS_SH_T_M1 38
#define SS_SH_T_M2 39
#define SS_SH_T_M3 40
#define SS_SH_T_M4 41
#define SS_SH_T_M5 42
#define SS_SH_A_TS_P 43
#define SS_SH_X_TS_P 44
#define SS_SH_S_TS_P 45
#define SS_SH_P_TS_P 46
#define SS_SH_B_TS_P 47
#define SS_SH_T_TS_P 48
#define SS_SH_XP 49
#define SS_SH_ASTRON 50
#define SS_SH_ROBOT 51
#define SS_SH_GONER 52
#define SS_SH_LOGBOOK 53
#define SS_SH_E_TS 54
#define SS_SH_E_M1 55
#define SS_SH_E_DRONE 56
#define SS_SH_E_SPACESHUTTLE 57
#define SS_SH_E_CARRIER 58
#define SS_SH_GATE 59
#define SS_SH_M0_GUN 60
#define SS_SH_M3_P 61
#define SS_SH_M4_P 62
#define SS_SH_M5_P 63
#define SS_SH_SAT 64
#define SS_SH_MINE_1 65
#define SS_SH_FIGHTDRONE 66
#define SS_SH_ORBITALLASER 67
#define SS_SH_UFO 68
#define SS_SH_P_M3_2 69
#define SS_SH_SPACEFLY 70
#define SS_SH_K_M3 71
#define SS_SH_K_M4 72
#define SS_SH_K_M5 73
#define SS_SH_K_M1 74
#define SS_SH_K_M2 75
#define SS_SH_A_M6 76
#define SS_SH_A_M3A 77
#define SS_SH_A_TSA 78
#define SS_SH_A_TP 79
#define SS_SH_T_M6 80
#define SS_SH_T_M4A 81
#define SS_SH_T_M5A 82
#define SS_SH_T_TP 83
#define SS_SH_S_M6 84
#define SS_SH_S_M5A 85
#define SS_SH_S_TSA 86
#define SS_SH_S_TP 87
#define SS_SH_B_M6 88
#define SS_SH_B_M3A 89
#define SS_SH_B_M4A 90
#define SS_SH_B_TP 91
#define SS_SH_P_M6 92
#define SS_SH_P_M4A 93
#define SS_SH_P_M5A 94
#define SS_SH_P_TP 95
#define SS_SH_PULLER 96
#define SS_SH_R1 97
#define SS_SH_R2 98
#define SS_SH_CAMERADRONE 99
#define SS_SH_SAT2 100
#define SS_SH_APGUNNER 101
#define MAX_SS_SHIPS 102

*_W_LASER subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_LASER_LS_ALPHA 0
#define SG_WR_LS_ALPHA 0
#define SS_LASER_LS_BETA 1
#define SG_WR_LS_BETA 1
#define SS_LASER_LS_GAMMA 2
#define SG_WR_LS_GAMMA 2
#define SS_LASER_PR_ALPHA 3
#define SG_WR_PR_ALPHA 3
#define SS_LASER_PR_BETA 4
#define SG_WR_PR_BETA 4
#define SS_LASER_PR_GAMMA 5
#define SG_WR_PR_GAMMA 5
#define SS_LASER_PL_ALPHA 6
#define SG_WR_PL_ALPHA 6
#define SS_LASER_PL_BETA 7
#define SG_WR_PL_BETA 7
#define SS_LASER_PL_GAMMA 8
#define SG_WR_PL_GAMMA 8
#define SS_LASER_WIDE_ALPHA 9
#define SG_WR_WIDE_ALPHA 9
#define SS_LASER_WIDE_BETA 10
#define SG_WR_WIDE_BETA 10
#define SS_LASER_WIDE_GAMMA 11
#define SG_WR_WIDE_GAMMA 11
#define SS_LASER_MINING 12
#define SG_WR_MINING 12
#define SS_LASER_KH_ALPHA 13
#define SG_WR_KH_ALPHA 13
#define SS_LASER_KH_BETA 14
#define SG_WR_KH_BETA 14
#define SS_LASER_KH_GAMMA 15
#define SG_WR_KH_GAMMA 15
#define SS_LASER_DUMMY 16
#define SG_WR_DUMMY 16
#define SS_LASER_FLASH 17
#define SG_WR_FLASH 17
#define SS_LASER_CAPITAL_ALPHA 18
#define SG_WR_CAPITAL_ALPHA 18
#define SS_LASER_CAPITAL_BETA 19
#define SG_WR_CAPITAL_BETA 19
#define SS_LASER_CAPITAL_GAMMA 20
#define SG_WR_CAPITAL_GAMMA 20
#define MAX_SS_LASERS 21

*_W_SHIELD subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_SHIELD_A 0
#define SG_WR_SHIELD_A 0
#define SS_SHIELD_B 1
#define SG_WR_SHIELD_B 1
#define SS_SHIELD_C 2
#define SG_WR_SHIELD_C 2
#define SS_SHIELD_D 3
#define SG_WR_SHIELD_D 3
#define MAX_SS_SHIELDS 4

*_W_ROCKET subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_ROCKET_A 0
#define SG_WR_ROCKET_A 0
#define SS_ROCKET_B 1
#define SG_WR_ROCKET_B 1
#define SS_ROCKET_C 2
#define SG_WR_ROCKET_C 2
#define SS_ROCKET_D 3
#define SG_WR_ROCKET_D 3
#define SS_ROCKET_E 4
#define SG_WR_ROCKET_E 4
#define SS_ROCKET_1 5
#define SG_WR_ROCKET_1 5
#define SS_ROCKET_2 6
#define SG_WR_ROCKET_2 6
#define SS_ROCKET_3 7
#define SG_WR_ROCKET_3 7
#define MAX_SS_ROCKETS 8

*_W_ENERGY subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WARE_ENERGY 0
#define SG_WR_ENERGY 0
#define MAX_SS_WARES_ENERGY 1

*_W_NATURAL subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WARE_WATER 0
#define SG_WR_WATER 0
#define MAX_SS_WARES_NATURAL 1

*_W_BIO subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WARE_R214 0
#define SG_WR_R214 0
#define SS_WARE_R215 1
#define SG_WR_R215 1
#define SS_WARE_R224 2
#define SG_WR_R224 2
#define SS_WARE_R225 3
#define SG_WR_R225 3
#define SS_WARE_R234 4
#define SG_WR_R234 4
#define SS_WARE_R235 5
#define SG_WR_R235 5
#define SS_WARE_R244 6
#define SG_WR_R244 6
#define SS_WARE_R245 7
#define SG_WR_R245 7
#define SS_WARE_R254 8
#define SG_WR_R254 8
#define SS_WARE_R255 9
#define SG_WR_R255 9
#define SS_WARE_R256 10
#define SG_WR_R256 10
#define MAX_SS_WARES_BIO 11

*_W_FOOD subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WARE_F217 0
#define SG_WR_F217 0
#define SS_WARE_F218 1
#define SG_WR_F218 1
#define SS_WARE_F219 2
#define SG_WR_F219 2
#define SS_WARE_F227 3
#define SG_WR_F227 3
#define SS_WARE_F228 4
#define SG_WR_F228 4
#define SS_WARE_F237 5
#define SG_WR_F237 5
#define SS_WARE_F238 6
#define SG_WR_F238 6
#define SS_WARE_F247 7
#define SG_WR_F247 7
#define SS_WARE_F248 8
#define SG_WR_F248 8
#define SS_WARE_F257 9
#define SG_WR_F257 9
#define SS_WARE_F258 10
#define SG_WR_F258 10
#define MAX_SS_WARES_FOOD 11

*_W_MINERALS subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WARE_ORE 0
#define SG_WR_ORE 0
#define SS_WARE_SILICON 1
#define SG_WR_SILICON 1
#define MAX_SS_WARES_MINERALS 2

*_W_TECH subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WARE_TECH204 0
#define SG_WR_TECH204 0
#define SS_WARE_TECH205 1
#define SG_WR_TECH205 1
#define SS_WARE_TECH206 2
#define SG_WR_TECH206 2
#define SS_WARE_TECH207 3
#define SG_WR_TECH207 3
#define SS_WARE_TECH208 4
#define SG_WR_TECH208 4
#define SS_WARE_TECH239 5
#define SG_WR_TECH239 5
#define SS_WARE_SLAVE 6
#define SG_WR_SLAVE 6
#define SS_WARE_SATELLITE 7
#define SG_WR_SATELLITE 7
#define SS_WARE_MINE_1 8
#define SG_WR_MINE_1 8
#define SS_WARE_ORBITALLASER 9
#define SG_WR_ORBITALLASER 9
#define SS_WARE_FIGHTDRONE 10
#define SG_WR_FIGHTDRONE 10
#define SS_WARE_TECH209 11
#define SG_WR_TECH209 11
#define SS_WARE_TECH275 12
#define SG_WR_TECH275 12
#define SS_WARE_TECH276 13
#define SG_WR_TECH276 13
#define SS_WARE_TECH277 14
#define SG_WR_TECH277 14
#define SS_WARE_TECH278 15
#define SG_WR_TECH278 15
#define SS_WARE_TECH251 16
#define SG_WR_TECH251 16
#define SS_WARE_TECH213 17
#define SG_WR_TECH213 17
#define SS_WARE_TECH246 18
#define SG_WR_TECH246 18
#define SS_WARE_TECH241 19
#define SG_WR_TECH241 19
#define SS_WARE_TECH221 20
#define SG_WR_TECH221 20
#define SS_WARE_TECH200 21
#define SG_WR_TECH200 21
#define SS_WARE_TECH242 22
#define SG_WR_TECH242 22
#define SS_WARE_TECH231 23
#define SG_WR_TECH231 23
#define SS_WARE_TECH226 24
#define SG_WR_TECH226 24
#define SS_WARE_TECH216 25
#define SG_WR_TECH216 25
#define SS_WARE_L_A 26
#define SG_WR_L_A 26
#define SS_WARE_L_B 27
#define SG_WR_L_B 27
#define SS_WARE_L_S 28
#define SG_WR_L_S 28
#define SS_WARE_L_P 29
#define SG_WR_L_P 29
#define SS_WARE_L_T 30
#define SG_WR_L_T 30
#define SS_WARE_LOGBOOK 31
#define SG_WR_LOGBOOK 31
#define SS_WARE_BESTBUY 32
#define SG_WR_BESTBUY 32
#define SS_WARE_BESTSELL 33
#define SG_WR_BESTSELL 33
#define SS_WARE_BEAMING 34
#define SG_WR_BEAMING 34
#define SS_WARE_WARPING 35
#define SG_WR_WARPING 35
#define SS_WARE_NEW2 36
#define SG_WR_NEW2 36
#define SS_WARE_NEW3 37
#define SG_WR_NEW3 37
#define SS_WARE_NEW4 38
#define SG_WR_NEW4 38
#define SS_WARE_LIFESUPPORT 39
#define SG_WR_LIFESUPPORT 39
#define SS_WARE_BOOST 40
#define SG_WR_BOOST 40
#define SS_WARE_STRAFE 41
#define SG_WR_STRAFE 41
#define SS_WARE_LID 42
#define SG_WR_LID 42
#define SS_WARE_CAMERADRONE 43
#define SG_WR_CAMERADRONE 43
#define SS_WARE_SATELLITE2 44
#define SG_WR_SATELLITE2 44
#define SS_WARE_ORECOLLECTOR 45
#define SG_WR_ORECOLLECTOR 45
#define SS_WARE_CAMOUFLAGE 46
#define SG_WR_CAMOUFLAGE 46
#define SS_WARE_LFLSCANNER 47
#define SG_WR_LFLSCANNER 47
#define SS_WARE_GATELESSJUMP 48
#define SG_WR_GATELESSJUMP 48
#define SS_WARE_SPACEFLYCOLLECTOR 49
#define SG_WR_SPACEFLYCOLLECTOR 49
#define MAX_SS_WARES_TECH 50

*_ASTEROID subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_ASTEROID_1 0
#define SG_AS_1 0
#define SS_ASTEROID_2 1
#define SG_AS_2 1
#define SS_ASTEROID_3 2
#define SG_AS_3 2
#define SS_ASTEROID_4 3
#define SG_AS_4 3
#define SS_ASTEROID_5 4
#define SG_AS_5 4
#define SS_ASTEROID_6 5
#define SG_AS_6 5
#define SS_ASTEROID_7 6
#define SG_AS_7 6
#define MAX_SS_ASTEROIDS 7

*_WARPGATE subtype constants-definitions

All defines beginning with SS_* are the sector-subtypes and SG_* the galaxy-subtypes.
/* Sector type definition as reference to the types included in sector.h
 * this file is included from sect_def.h
 */
#define SS_WG_NORTH 0
#define SG_WG_NORTH 0
#define SS_WG_SOUTH 1
#define SG_WG_SOUTH 1
#define SS_WG_WEST 2
#define SG_WG_WEST 2
#define SS_WG_EAST 3
#define SG_WG_EAST 3
#define SS_WG_XENON 4
#define SG_WG_XENON 4
#define MAX_SS_WARPGATES 5

Commands

define COMMAND_NONE 0 // no command
define COMMAND_RETURN_HOME 1 // back to homestation
define COMMAND_ATTACK_NEAREST 2 // next enemy
define COMMAND_ATTACK_TARGET 3 // attack Target of player
define COMMAND_PROTECT 4 // attack attacker of player
define COMMAND_FOLLOW 5 // just follow
define COMMAND_STAY 6 // stand still at momentary position
define COMMAND_DOCKAT 7
define COMMAND_MOVE_STATION COMMAND_DOCKAT // Move to destination station
define COMMAND_ATTACK_SAME 8 // Attack same target as leader (sh_CommandTarget)
define COMMAND_GET_WARE 9 // Get ware type from destination
define COMMAND_GET_WARE_BEST 10 // Automatically get ware from cheapest source
define COMMAND_SET_HOME 11 // Assign a home station to the ship
define COMMAND_MOVE_SECTOR 12 // Move to a specific sector
define COMMAND_ATTACK 13 // Attack specific target
define COMMAND_KILL_ENEMIES_AND_LAND 14 // Kill all enemy ships and land in station
define COMMAND_KILL_ENEMIES 15 // Kill All Enemies
define COMMAND_COMBAT 16 // General purpose command (Combat(), overwritten by specific class)
define COMMAND_IDLE 17 // Do nothing, but check for collisions, forever
define COMMAND_INVASION 18 // Ship flies to a certain sector and kills enemies StartInvasion()
define COMMAND_MOVE_POS 19 // Fly to a certain position within a certain sector (TL.ReturnToHome())
define COMMAND_ACTION 20 // Default Action (started on initial galaxy build) (StartAction(), Action())
define COMMAND_TRADE 21 // Trade with current station
define COMMAND_ATTACK_RETURN 23 // Kill specific ship, kill all enemies and return to station
define COMMAND_COLLECT_WARE 24 // Collect ware which is flying around in current sector
define COMMAND_PATROL 25 // Scan ships for illegal goods
define COMMAND_KILL_ENEMIES_RANGE 26 // Kill All Enemies in a certain radius
define COMMAND_PREACH 27 // Command for Goner ships: Fly randomly through sectors
define COMMAND_SELL_WARE 28
define COMMAND_SELL_WARE_BEST 29
define COMMAND_COLLECT_FLYINGWARES 30 // Collect wares flying around in a sector
define COMMAND_PIRATE_PLUNDERSHIPS 31

Race IDs

define RACE_ARGON 1
define RACE_BORON 2
define RACE_SPLIT 3
define RACE_PARANID 4
define RACE_TELADI 5
define RACE_XENON 6
define RACE_KHAAK 7
define RACE_PIRATE 8
define RACE_GONER 9
define RACE_PLAYER 10

Actions

define ACTION_NONE 0 // No action
define ACTION_START_IN_STATION 1 // Start from a station
define ACTION_LAND_IN_STATION 2 // Fly to a station and land
define ACTION_ENTER_GATE 3 // Fly to a gate and enter hyperspace
define ACTION_LEAVE_GATE 4 // Leave a gate
define ACTION_KILL 5 // Kill specific object (Kill(), BigShipKill())
define ACTION_FOLLOW_LEADER 6 // Follow another ship (FollowLeader())
define ACTION_KILL_ALL_ENEMIES 7 // Kill all enemies (KillAllEnemies(), BigShipKillAllEnemies())
define ACTION_IDLE 8 // Fly around for a certain time
define ACTION_FLY_TO_SECTOR 9 // Fly to a different sector
define ACTION_FLY_TO_POSITION 10 // Fly to a certain position within sector
define ACTION_SCAN 11 // Scan a suspect ship
define ACTION_AVOID 12 // Avoid other objects
define ACTION_LEAVE_HYPERSPACE 13
define ACTION_ESCORT 14
define ACTION_COLLECT 15

Reason for death

define T_WARPED
define T_SHOOTED, shot by laser
define T_COLL, object collided
define T_TIMEOVER
define T_MISSILE, death by missile
define T_AUFTRAGVORBEI
define T_NOTEXISTING
define T_PRISON
define T_ONPLANET
define T_INHANGARSTART
define T_ENVDESTROYED
define T_NOTURBOSHIELD
define T_NOOWNER
define T_COLLECTED, collected by player
define T_BOARDED

Shipformations

define SHIP_FORMATION_DELTA 0
define SHIP_FORMATION_LINE 1
define SHIP_FORMATION_X 2
define SHIP_FORMATION_BIGSHIPESCORT 3
define SHIP_FORMATION_RANDOM 4

Notoriety and Ranking System

The following table shows important values in the three different ranking systems in X-tension.

Race specific notoriety ranking
R_MAX 1000000
TITLE_0_NOTO Hero of the Federation 100000
R_ALLY 100000
TITLE_1_NOTO Hero 10000
R_HERO 5000
TITLE_2_NOTO Trusted Friend 1000
R_FRIEND 100
TITLE_3_NOTO Accepted friend 100
TITLE_4_NOTO Accepted member 10
R_NEUTRAL 0
TITLE_5_NOTO Neutral trader 0
TITLE_6_NOTO Suspected Foe -10
R_FOE docking not possible -100
TITLE_7_NOTO Foe -100
TITLE_8_NOTO Suspected Enemy -1000
TITLE_9_NOTO Enemy -10000
R_ENEMY ships turn red -5000
TITLE_10_NOTO Enemy of the Federation -100000
R_MIN -1000000
Trading title
TITLE_0_TRADE

Destitute

0
TITLE_1_TRADE

Beggar

3
TITLE_2_TRADE

Miserable

10
TITLE_3_TRADE

Impouerished

33
TITLE_4_TRADE

Poor

100
TITLE_5_TRADE

Bread Line

333
TITLE_6_TRADE

Average

1000
TITLE_7_TRADE

Well off

3333
TITLE_8_TRADE

Wealthy

10000
TITLE_9_TRADE

Rich

33333
TITLE_10_TRADE

Tycoon

100000
Fighting title
TITLE_0_FIGHT

Sitting duck

0
TITLE_1_FIGHT

Lucky

5
TITLE_2_FIGHT

Nuisance

10
TITLE_3_FIGHT

Merchant

20
TITLE_4_FIGHT

Explorer

50
TITLE_5_FIGHT

Rookie

100
TITLE_6_FIGHT

Enlisted

200
TITLE_7_FIGHT

Captain

500
TITLE_8_FIGHT

Commander

1000
TITLE_9_FIGHT

Instructor

2000
TITLE_10_FIGHT

Veteran

5000
TITLE_11_FIGHT

Marksman

10000
TITLE_12_FIGHT

Sharpshooter

20000
TITLE_13_FIGHT

Ace

50000
TITLE_14_FIGHT

Ace of Aces

100000

 

 

Monitor Modes

define MONITORMODE_NONE
define MONITORMODE_COCKPITVIEW
define MONITORMODE_EXTERNALVIEW
define MONITORMODE_EXTERNALRELVIEW
define MONITORMODE_TARGETVIEW
define MONITORMODE_TARGETRELVIEW
define MONITORMODE_AUTOTARGETVIEW
define MONITORMODE_AUTOTARGETRELVIEW
define MONITORMODE_AUTOMISSILEVIEW
define MONITORMODE_AUTOMISSILERELVIEW

Monitorsystem Layouts

define MONITORLAYOUT_ONLYMAIN
define MONITORLAYOUT_TOPLEFT
define MONITORLAYOUT_TOPRIGHT
define MONITORLAYOUT_TOP2
define MONITORLAYOUT_TOPBAR
define MONITORLAYOUT_RIGHTBAR
define MONITORLAYOUT_PROBAR

Miscellaneous defines

M_TO_UNITS is used when transfering meter range to units the game uses. E.g. for placing an object 100 m in X axis from the origin use 100 * M_TO_UNITS


Generated on Mon Aug 26 18:26:35 2002 for X² KC by doxygen1.2.17