Difference between revisions of "Tech Description Enums"
From FreeOrionWiki
(added UniverseObjectType) |
|||
Line 86: | Line 86: | ||
OBJ_PROD_CENTER | OBJ_PROD_CENTER | ||
OBJ_SYSTEM | OBJ_SYSTEM | ||
+ | |||
+ | ==TechType== | ||
+ | |||
+ | TT_THEORY | ||
+ | TT_APPLICATION | ||
+ | TT_REFINEMENT |
Revision as of 12:57, 14 December 2004
This is a list of enumerated values that will hopefully be helpful for writing XML tech and building descriptions. These were extracted form the code on Dec. 14, 2004, and will almost surely change at some point. For the most up to date listing, check the code. This list is only a convenience, and is not a reflection of design or offical code documentation.
The enumerated type in each heading is followed by the values that may be entered in tech or building descriptions for field of the enumerated type. Comments are indicated by // on a line, and are not part of the acceptable values.
Contents
StarType
STAR_BLUE STAR_WHITE STAR_YELLOW STAR_ORANGE STAR_RED STAR_NEUTRON STAR_BLACK
PlanetType
PT_SWAMP PT_TOXIC PT_INFERNO PT_RADIATED PT_BARREN PT_TUNDRA PT_DESERT PT_TERRAN PT_OCEAN PT_GAIA PT_ASTEROIDS PT_GASGIANT
PlanetSize
SZ_NOWORLD // used to designate an empty planet slot SZ_TINY SZ_SMALL SZ_MEDIUM SZ_LARGE SZ_HUGE SZ_ASTEROIDS SZ_GASGIANT
PlanetEnvironment
PE_UNINHABITABLE //for gas giants and asteroids PE_TERRIBLE PE_ADEQUATE PE_SUPERB PE_OPTIMAL
FocusType
FOCUS_UNKNOWN // not sure what this is? -Geoff FOCUS_BALANCED FOCUS_FARMING FOCUS_INDUSTRY FOCUS_MINING FOCUS_RESEARCH FOCUS_TRADE
MeterType
METER_POPULATION METER_FARMING METER_INDUSTRY METER_RESEARCH METER_TRADE METER_MINING METER_CONSTRUCTION METER_HEALTH
EmpireAffiliationType
AFFIL_SELF // indicates the given empire AFFIL_ENEMY // allies of the given empire AFFIL_ALLY
UnlockableItemType
UIT_BUILDING UIT_SHIP_COMPONENT
BuildType
BT_NOT_BUILDING // no building is taking place BT_BUILDING BT_SHIP BT_ORBITAL
UniverseObjectType
OBJ_BUILDING OBJ_SHIP OBJ_FLEET OBJ_PLANET OBJ_POP_CENTER OBJ_PROD_CENTER OBJ_SYSTEM
TechType
TT_THEORY TT_APPLICATION TT_REFINEMENT