Advanced Strategic Command
Variables
objects.cpp File Reference

Mine and Objects which can be placed on a map field. More...

#include <algorithm>
#include <ctime>
#include <cmath>
#include "global.h"
#include "misc.h"
#include "typen.h"
#include "vehicletype.h"
#include "buildingtype.h"
#include "itemrepository.h"
#include "graphics/blitter.h"
#include "iconrepository.h"
#include "objects.h"
Include dependency graph for objects.cpp:

Go to the source code of this file.

Variables

const char * MineNames [cminenum] = {"antipersonnel mine", "antitank mine", "antisub mine", "antiship mine"}
 
const int MineBasePunch [cminenum] = { 60, 120, 180, 180 }
 
const int objectVersion = 1
 

Detailed Description

Mine and Objects which can be placed on a map field.

Definition in file objects.cpp.

Variable Documentation

const int MineBasePunch[cminenum] = { 60, 120, 180, 180 }

Definition at line 39 of file objects.cpp.

Referenced by PutMineCommand::go(), and MineItem::place().

const char* MineNames[cminenum] = {"antipersonnel mine", "antitank mine", "antisub mine", "antiship mine"}

Definition at line 38 of file objects.cpp.

Referenced by MineType::getName(), and viewterraininfo().

const int objectVersion = 1

Definition at line 119 of file objects.cpp.

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