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

vehicletype.cpp File Reference

The Vehicletype class. More...

#include <algorithm>
#include "global.h"
#include "vehicletype.h"
#include "sgstream.h"
#include "graphicset.h"
#include "terraintype.h"
#include "objecttype.h"
#include "textfileparser.h"
#include "textfiletags.h"
#include "textfile_evaluation.h"
#include "graphics/blitter.h"
#include "graphics/ColorTransform_PlayerColor.h"

Include dependency graph for vehicletype.cpp:

Go to the source code of this file.

Variables

const char * cwaffentypen [cwaffentypennum]
const int cwaffenproduktionskosten [cwaffentypennum][3]
const bool weaponAmmo [cwaffentypennum]
const int vehicle_version = 29
const int vehicleHeightChangeMethodVersion = 1


Detailed Description

The Vehicletype class.

Definition in file vehicletype.cpp.


Variable Documentation

const int cwaffenproduktionskosten[cwaffentypennum][3]
 

Initial value:

   { {
        1500,1500,1500
     }
     ,  
     {10, 10, 10},     
     {40, 40, 40},     
     {200, 200, 200},     
     {50, 50, 50},     
     {20, 30, 40},     
     {1, 1, 1},     
     {5, 5, 1},     
     {0, 0, 0},     
     {0, 0, 0},     
     {0, 0, 0},     
     {0, 0, 0},     
     {0, 0, 0}
   }

Definition at line 74 of file vehicletype.cpp.

Referenced by ContainerControls::ammoProducable(), VehicleService::FieldSearch::checkBuilding2Vehicle(), VehicleProduction_SelectionItemFactory::getCost(), and ContainerControls::produceAmmo().

const char* cwaffentypen[cwaffentypennum]
 

Initial value:

   {"cruise missile", "mine",    "bomb",       "large missile", "small missile", "torpedo", "machine gun",
    "cannon",         "service", "ammunition refuel", "laser", "shootable", "object placement"
   }

Definition at line 69 of file vehicletype.cpp.

Referenced by SingleWeapon::getName(), AmmoTransferrable::getName(), GuiFunctions::AttackGui::getName(), BuildingValues::init(), tnetworkloaders::loadnwgame(), and showCargoSummary().

const int vehicle_version = 29
 

Definition at line 148 of file vehicletype.cpp.

Referenced by Vehicletype::read(), and Vehicletype::write().

const int vehicleHeightChangeMethodVersion = 1
 

Definition at line 1274 of file vehicletype.cpp.

Referenced by Vehicletype::HeightChangeMethod::read(), and Vehicletype::HeightChangeMethod::write().

const bool weaponAmmo[cwaffentypennum]
 

Initial value:

 {
      true, true, true, true, true, true, true, true, false, false, false, false, false 
   }

Definition at line 95 of file vehicletype.cpp.

Referenced by ammoCounter(), ServiceChecker::check(), and showCargoSummary().


Generated on Tue Jun 24 02:14:36 2008 for Advanced Strategic Command by  doxygen 1.4.2