Advanced Strategic Command
Classes | Enumerations | Variables
gamemap.h File Reference

Definition of THE central asc class: GameMap. More...

#include <vector>
#include <time.h>
#include "typen.h"
#include "baseaiinterface.h"
#include "vehicle.h"
#include "buildings.h"
#include "basestrm.h"
#include "messages.h"
#include "research.h"
#include "password.h"
#include "objects.h"
#include "mapfield.h"
#include "networkinterface.h"
#include "player.h"
#include "actions/actioncontainer.h"
Include dependency graph for gamemap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RandomGenerator
 
class  ActionRecorder
 
struct  GameParameterSettings
 
class  LoadNextMap
 
class  OverviewMapHolder
 
class  GameMap
 The map. THE central structure of ASC, which holds everything not globally available together. More...
 
struct  GameMap::Campaign
 
struct  GameMap::Weather
 
class  GameMap::IDManager
 
class  GameMap::ResourceTribute
 The tribute can not only be used to demand resources from enemies but also to transfer resources to allies. More...
 
class  GameMap::ReplayInfo
 
struct  GameMap::PreferredFilenames
 
class  GameMap::ArchivalInformation
 
class  GameMap::UnitProduction
 specifies which vehicle types can be constructed by construction units More...
 

Enumerations

enum  GameParameter {
  cgp_fahrspur, cgp_eis, cgp_movefrominvalidfields, cgp_building_material_factor,
  cgp_building_fuel_factor, cgp_forbid_building_construction, cgp_forbid_unitunit_construction, cgp_bi3_training,
  cgp_maxminesonfield, cgp_antipersonnelmine_lifetime, cgp_antitankmine_lifetime, cgp_mooredmine_lifetime,
  cgp_floatingmine_lifetime, cgp_buildingarmor, cgp_maxbuildingrepair, cgp_buildingrepairfactor,
  cgp_globalfuel, cgp_maxtrainingexperience, cgp_initialMapVisibility, cgp_attackPower,
  cgp_jammingAmplifier, cgp_jammingSlope, cgp_superVisorCanSaveMap, cgp_objectsDestroyedByTerrain,
  cgp_trainingIncrement, cgp_experienceDivisorAttack, cgp_disableDirectView, cgp_disableUnitTransfer,
  cgp_experienceDivisorDefense, cgp_debugEvents, cgp_objectGrowthMultiplier, cgp_objectGrowOnOtherObjects,
  cgp_researchOutputMultiplier, cgp_produceOnlyResearchedStuffInternally, cgp_produceOnlyResearchedStuffExternally, cgp_experienceAt90percentbonus,
  cgp_maxAttackExperienceBonus, cgp_maxDefenseExperienceBonus
}
 

Variables

const int gameparameternum = 38
 The number of game paramters that can be specified for each map. More...
 
GameParameterSettings gameParameterSettings [gameparameternum]
 

Detailed Description

Definition of THE central asc class: GameMap.

Definition in file gamemap.h.

Enumeration Type Documentation

Enumerator
cgp_fahrspur 
cgp_eis 
cgp_movefrominvalidfields 
cgp_building_material_factor 
cgp_building_fuel_factor 
cgp_forbid_building_construction 
cgp_forbid_unitunit_construction 
cgp_bi3_training 
cgp_maxminesonfield 
cgp_antipersonnelmine_lifetime 
cgp_antitankmine_lifetime 
cgp_mooredmine_lifetime 
cgp_floatingmine_lifetime 
cgp_buildingarmor 
cgp_maxbuildingrepair 
cgp_buildingrepairfactor 
cgp_globalfuel 
cgp_maxtrainingexperience 
cgp_initialMapVisibility 
cgp_attackPower 
cgp_jammingAmplifier 
cgp_jammingSlope 
cgp_superVisorCanSaveMap 
cgp_objectsDestroyedByTerrain 
cgp_trainingIncrement 
cgp_experienceDivisorAttack 
cgp_disableDirectView 
cgp_disableUnitTransfer 
cgp_experienceDivisorDefense 
cgp_debugEvents 
cgp_objectGrowthMultiplier 
cgp_objectGrowOnOtherObjects 
cgp_researchOutputMultiplier 
cgp_produceOnlyResearchedStuffInternally 
cgp_produceOnlyResearchedStuffExternally 
cgp_experienceAt90percentbonus 
cgp_maxAttackExperienceBonus 
cgp_maxDefenseExperienceBonus 

Definition at line 77 of file gamemap.h.

Variable Documentation

const int gameparameternum = 38
GameParameterSettings gameParameterSettings[gameparameternum]