Advanced Strategic Command
textfiletags.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  textfiletags.cpp - description
3  -------------------
4  begin : Fri Jul 27 2001
5  copyright : (C) 2001 by Martin Bickel
6  email : bickel@asc-hq.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #include "textfiletags.h"
19 #include "typen.h"
20 #include "vehicletype.h"
21 #include "buildingtype.h"
22 #include "containerbasetype.h"
23 
24 const char* weatherTags[cwettertypennum]
25  = { "dry",
26  "light_rain",
27  "heavy_rain",
28  "few_snow",
29  "much_snow",
30  "snow_and_ice" };
31 
33  = { "Shallow_water",
34  "Lowland",
35  "Swamp",
36  "Forest",
37  "High_mountains",
38  "Road",
39  "Railroad",
40  "Building_entry_dont_use_it" ,
41  "Harbour",
42  "Runway" ,
43  "Pipeline",
44  "Buried_pipeline",
45  "Water",
46  "Deep_water",
47  "Hard_sand",
48  "Soft_sand",
49  "Track_possible",
50  "Small_rocks",
51  "Mud",
52  "Snow",
53  "Deep_snow",
54  "Mountains",
55  "Very_shallow_water",
56  "Large_rocks",
57  "Lava",
58  "Ditch",
59  "Hillside",
60  "Turret_foundation",
61  "Morass",
62  "Installation",
63  "Pack_ice",
64  "River",
65  "Frozen_water",
66  "bridge",
67  "lava_barrier",
68  "spaceport",
69  "beacon",
70  "fire",
71  "concrete" };
72 
73  const char* heightTags[choehenstufennum]
74  = { "deep_submerged",
75  "submerged",
76  "floating",
77  "ground_level",
78  "low_level_flight",
79  "medium_level_flight",
80  "high_level_flight",
81  "orbit" };
82 
84  = { "sonar",
85  "paratrooper",
86  "mine_layer",
87  "cruiserlanding",
88  "repair_vehicle",
89  "conquer_buildings",
90  "move_after_attack",
91  "satelliteview",
92  "construct_ALL_buildings",
93  "view_mines",
94  "construct_vehicles",
95  "construct_specific_buildings",
96  "fuel_transfer",
97  "icebreaker",
98  "no_midair_refuel",
99  "material_transfer",
100  "__UNUSED1__",
101  "leaves_tracks",
102  "manual_resource_drilling",
103  "no_reactionfire",
104  "self_repairing",
105  "resource_converter",
106  "automatic_resource_searching",
107  "Kamikaze_only",
108  "immune_to_mines",
109  "energy_transfer",
110  "jam_only_own_field",
111  "MoveDuringReactionFire",
112  "onlyTransMove" };
113 
114 
115 
116 const char* weaponTags[weaponTypeNum]
117  = { "cruise_missile",
118  "mine",
119  "bomb",
120  "air_missile",
121  "ground_missile",
122  "torpedo",
123  "machinegun",
124  "cannon",
125  "service",
126  "ammo_transfer",
127  "laser",
128  "shootable",
129  "objectPlacement" };
130 
132  { "default",
133  "light_tracked_vehicle",
134  "medium_tracked_vehicle",
135  "heavy_tracked_vehicle",
136  "light_wheeled_vehicle",
137  "medium_wheeled_vehicle",
138  "heavy_wheeled_vehicle",
139  "trooper",
140  "rail_vehicle",
141  "medium_aircraft",
142  "medium_ship",
143  "building|turret|object",
144  "light_aircraft",
145  "heavy_aircraft",
146  "light_ship",
147  "heavy_ship",
148  "helicopter",
149  "hoovercraft"
150  };
151 
152 const char* buildingFunctionTags[24] =
153  { "HeadQuarters",
154  "Training_Facility",
155  "__unused__",
156  "Vehicle_Production",
157  "Ammo_Production",
158  "__unused__",
159  "__unused__",
160  "__unused__",
161  "Repair_Facility",
162  "Recycling",
163  "Research",
164  "Sonar",
165  "Wind_Power_Plant",
166  "Solar_Power_Plant",
167  "Matter_Converter",
168  "Mining_Station",
169  "External_loading",
170  "Produce_Units_that_cannot_leave",
171  "ResourceSink",
172  "ExternalResourceTransfer",
173  "ExternalAmmoTransfer",
174  "NoObjectChaining",
175  "Selfdestruct_at_conquer",
176  "satelliteview" };
177 
178 
180  {"Training_Facility",
181  "Vehicle_Production",
182  "Ammo_Production",
183  "Repair_Facility",
184  "Recycling",
185  "Research",
186  "Sonar",
187  "satelliteview",
188  "mineview",
189  "Wind_Power_Plant",
190  "Solar_Power_Plant",
191  "Matter_Converter",
192  "Mining_Station",
193  "Produce_Units_that_cannot_leave",
194  "ResourceSink",
195  "ExternalEnergyTransfer",
196  "ExternalMaterialTransfer",
197  "ExternalFuelTransfer",
198  "ExternalAmmoTransfer",
199  "ExternalRepair",
200  "NoObjectChaining",
201  "Selfdestruct_at_conquer",
202  "paratrooper",
203  "mine_layer",
204  "cruiserlanding",
205  "conquer_buildings",
206  "move_after_attack",
207  "construct_vehicles",
208  "construct_specific_buildings",
209  "icebreaker",
210  "no_midair_refuel",
211  "leaves_tracks",
212  "automatic_resource_searching",
213  "no_reactionfire",
214  "self_repairing",
215  "Kamikaze_only",
216  "immune_to_mines",
217  "jam_only_own_field",
218  "MoveDuringReactionFire",
219  "onlyTransMove",
220  "AutoHarvestObjects",
221  "NoProductionCustomization",
222  "ManualSelfDestruct",
223  "NoMineRemoval",
224  "NoImageRotation"
225  };
226 
227 
228 
229  const char* weatherAbbrev[cwettertypennum]
230  = { "_dry",
231  "_lr",
232  "_hr",
233  "_fs",
234  "_ms",
235  "_si" };
236 
238  = { "none",
239  "snow",
240  "snow_const"};
241 
242 
244  = { "Normal",
245  "Shadow",
246  "Translation",
247  "MapEditorOnly",
248  "halftransparent" };
249 
251  = { "NetToBuilding",
252  "NetToBuildingEntry",
253  "NetToSelf",
254  "NetToBorder",
255  "SpecialBiForest",
256  "AutoBorder",
257  "KeepOrientation" };
258 
260  = { "manual", "auto", "add" };
261 
262 const char* AItasks[AiParameter::taskNum] = { "nothing",
263  "tactics",
264  "tactwait",
265  "stratwait",
266  "wait",
267  "strategy",
268  "serviceRetreat",
269  "move" };
270 
271 const char* AIjobs[AiParameter::jobNum] = { "undefined",
272  "fight",
273  "supply",
274  "conquer",
275  "build",
276  "recon",
277  "guard",
278  "script" };
279 
281  = { "In",
282  "Out",
283  "Docking" };
284 
285 
const char * graphicOperations[graphicOperationNum]
const char * AItasks[AiParameter::taskNum]
const int objectDisplayingMethodNum
Definition: objecttype.h:205
const int choehenstufennum
The number of levels of height.
Definition: typen.h:67
const char * AIjobs[AiParameter::jobNum]
#define weaponTypeNum
Definition: vehicletype.h:63
const char * objectNetMethod[ObjectType::netBehaviourNum]
static const int taskNum
const int graphicOperationNum
Definition: textfiletags.h:36
static const int legacyVehicleFunctionNum
Definition: vehicletype.h:187
const char * weatherAbbrev[cwettertypennum]
static const int functionNum
const char * terrainProperties[terrainPropertyNum]
const int productionCostCalculationMethodNum
Definition: textfiletags.h:33
const int terrainPropertyNum
the number of bits that specify the terrain of a field
Definition: terraintype.h:28
const char * objectDisplayingMethodTags[objectDisplayingMethodNum]
const char * entranceModes[ContainerBaseType::TransportationIO::entranceModeNum]
const char * weaponTags[weaponTypeNum]
const int cmovemalitypenum
The number of vehicle categories; Each category has its own move malus.
Definition: typen.h:384
const char * buildingFunctionTags[24]
deprecated
const char * productionCostCalculationMethod[productionCostCalculationMethodNum]
The interface for the buildingtype class.
const char * heightTags[choehenstufennum]
static const int jobNum
const char * unitCategoryTags[cmovemalitypenum]
const char * weatherTags[cwettertypennum]
const char * containerFunctionTags[ContainerBaseType::functionNum]
const int cwettertypennum
The number of different weather.
Definition: typen.h:61
const char * vehicleAbilities[VehicleType::legacyVehicleFunctionNum]
deprecated
static const int netBehaviourNum
Definition: objecttype.h:134