Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

textfiletags.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           textfiletags.cpp  -  description
00003                              -------------------
00004     begin                : Fri Jul 27 2001
00005     copyright            : (C) 2001 by Martin Bickel
00006     email                : bickel@asc-hq.org
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "textfiletags.h"
00019 #include "typen.h"
00020 #include "vehicletype.h"
00021 #include "buildingtype.h"
00022 #include "containerbasetype.h"
00023 
00024 const char* weatherTags[cwettertypennum]
00025     = { "dry",
00026         "light_rain",
00027         "heavy_rain",
00028         "few_snow",
00029         "much_snow",
00030         "snow_and_ice" };
00031 
00032 const char*  terrainProperties[terrainPropertyNum]
00033     = { "Shallow_water",
00034         "Lowland",
00035         "Swamp",
00036         "Forest",
00037         "High_mountains",
00038         "Road",
00039         "Railroad",
00040         "Building_entry_dont_use_it" ,
00041         "Harbour",
00042         "Runway"  ,
00043         "Pipeline",
00044         "Buried_pipeline",
00045         "Water",
00046         "Deep_water",
00047         "Hard_sand",
00048         "Soft_sand",
00049         "Track_possible",
00050         "Small_rocks",
00051         "Mud",
00052         "Snow",
00053         "Deep_snow",
00054         "Mountains",
00055         "Very_shallow_water",
00056         "Large_rocks",
00057         "Lava",
00058         "Ditch",
00059         "Hillside",
00060         "Turret_foundation",
00061         "Morass",
00062         "Installation",
00063         "Pack_ice",
00064         "River",
00065         "Frozen_water",
00066         "bridge",
00067         "lava_barrier",
00068         "spaceport",
00069         "beacon",
00070         "fire"};
00071 
00072  const char* heightTags[choehenstufennum]
00073     = { "deep_submerged",
00074         "submerged",
00075         "floating",
00076         "ground_level",
00077         "low_level_flight",
00078         "medium_level_flight",
00079         "high_level_flight",
00080         "orbit" };
00081         
00082  const char* vehicleAbilities[Vehicletype::legacyVehicleFunctionNum]
00083      = {           "sonar",
00084                    "paratrooper",
00085                    "mine_layer",
00086                    "cruiserlanding", 
00087                    "repair_vehicle",
00088                    "conquer_buildings",
00089                    "move_after_attack",
00090                    "satelliteview",
00091                    "construct_ALL_buildings",
00092                    "view_mines",
00093                    "construct_vehicles",
00094                    "construct_specific_buildings",
00095                    "fuel_transfer",
00096                    "icebreaker",
00097                    "no_midair_refuel",
00098                    "material_transfer",
00099                    "__UNUSED1__",
00100                    "leaves_tracks",
00101                    "manual_resource_drilling",
00102                    "no_reactionfire",
00103                    "self_repairing",
00104                    "resource_converter",
00105                    "automatic_resource_searching",
00106                    "Kamikaze_only",
00107                    "immune_to_mines",
00108                    "energy_transfer",
00109                    "jam_only_own_field",
00110                    "MoveDuringReactionFire",
00111                    "onlyTransMove" };
00112         
00113 
00114         
00115 const char*  weaponTags[cwaffentypennum]
00116    = {  "cruise_missile",
00117         "mine",
00118         "bomb",
00119         "air_missile",
00120         "ground_missile",
00121         "torpedo",
00122         "machinegun",
00123         "cannon",
00124         "service",
00125         "ammo_transfer",
00126         "laser",
00127         "shootable",
00128         "objectPlacement" };
00129 
00130 const char*  unitCategoryTags[cmovemalitypenum] =
00131    { "default",
00132      "light_tracked_vehicle",
00133      "medium_tracked_vehicle",
00134      "heavy_tracked_vehicle",
00135      "light_wheeled_vehicle",
00136      "medium_wheeled_vehicle",
00137      "heavy_wheeled_vehicle",
00138      "trooper",
00139      "rail_vehicle",
00140      "medium_aircraft",
00141      "medium_ship",
00142      "building|turret|object",
00143      "light_aircraft",
00144      "heavy_aircraft",
00145      "light_ship",
00146      "heavy_ship",
00147      "helicopter",
00148      "hoovercraft"
00149    };
00150    
00151 const char*  buildingFunctionTags[24]  =
00152               { "HeadQuarters",
00153                 "Training_Facility",
00154                 "__unused__",
00155                 "Vehicle_Production",
00156                 "Ammo_Production",
00157                 "__unused__",
00158                 "__unused__",
00159                 "__unused__",
00160                 "Repair_Facility",
00161                 "Recycling",
00162                 "Research",
00163                 "Sonar",
00164                 "Wind_Power_Plant",
00165                 "Solar_Power_Plant",
00166                 "Matter_Converter",
00167                 "Mining_Station",
00168                 "External_loading",
00169                 "Produce_Units_that_cannot_leave",
00170                 "ResourceSink",
00171                 "ExternalResourceTransfer",
00172                 "ExternalAmmoTransfer",
00173                 "NoObjectChaining",
00174                 "Selfdestruct_at_conquer",
00175                 "satelliteview" };
00176    
00177 
00178   const char*  containerFunctionTags[ContainerBaseType::functionNum]  =
00179   {"Training_Facility",
00180    "Vehicle_Production",
00181    "Ammo_Production",
00182    "Repair_Facility",
00183    "Recycling",
00184    "Research",
00185    "Sonar",
00186    "satelliteview",
00187    "mineview",
00188    "Wind_Power_Plant",
00189    "Solar_Power_Plant",
00190    "Matter_Converter",
00191    "Mining_Station",
00192    "Produce_Units_that_cannot_leave",
00193    "ResourceSink",
00194    "ExternalEnergyTransfer",
00195    "ExternalMaterialTransfer",
00196    "ExternalFuelTransfer",
00197    "ExternalAmmoTransfer",
00198    "ExternalRepair",
00199    "NoObjectChaining",
00200    "Selfdestruct_at_conquer",
00201    "paratrooper",
00202    "mine_layer",
00203    "cruiserlanding",
00204    "conquer_buildings",
00205    "move_after_attack",
00206    "construct_vehicles",
00207    "construct_specific_buildings",
00208    "icebreaker",
00209    "no_midair_refuel",
00210    "leaves_tracks",
00211    "automatic_resource_searching",
00212    "no_reactionfire",
00213    "self_repairing",
00214    "Kamikaze_only",
00215    "immune_to_mines",
00216    "jam_only_own_field",
00217    "MoveDuringReactionFire",
00218    "onlyTransMove",
00219    "AutoHarvestObjects",
00220    "NoProductionCustomization",
00221    "ManualSelfDestruct"
00222    };
00223    
00224    
00225 
00226  const char* weatherAbbrev[cwettertypennum]
00227     = { "_dry",
00228         "_lr",
00229         "_hr",
00230         "_fs",
00231         "_ms",
00232         "_si" };
00233 
00234  const char* graphicOperations[graphicOperationNum]
00235     = { "none",
00236         "snow",
00237         "snow_const"};
00238 
00239 
00240  const char* objectDisplayingMethodTags[objectDisplayingMethodNum]
00241     = { "Normal",
00242         "Shadow",
00243         "Translation",
00244         "MapEditorOnly",
00245         "halftransparent" };
00246 
00247  const char* objectNetMethod[ObjectType::netBehaviourNum]
00248     = { "NetToBuilding",
00249         "NetToBuildingEntry",
00250         "NetToSelf",
00251         "NetToBorder",
00252         "SpecialBiForest",
00253         "AutoBorder",
00254         "KeepOrientation" };
00255 
00256   const char* productionCostCalculationMethod[productionCostCalculationMethodNum] 
00257     = { "manual", "auto", "add" };
00258 
00259 const char* AItasks[AiParameter::taskNum] = { "nothing",
00260                          "tactics",
00261                          "tactwait",
00262                          "stratwait",
00263                          "wait",
00264                          "strategy",
00265                          "serviceRetreat",
00266                          "move" };
00267 
00268 const char* AIjobs[AiParameter::jobNum] = { "undefined",
00269                        "fight",
00270                        "supply",
00271                        "conquer",
00272                        "build",
00273                        "recon",
00274                        "guard",
00275                        "script" };
00276 
00277 const char* entranceModes[ContainerBaseType::TransportationIO::entranceModeNum]
00278                  = { "In",
00279                      "Out",
00280                      "Docking" };
00281 
00282 

Generated on Tue Jun 24 01:27:53 2008 for Advanced Strategic Command by  doxygen 1.4.2