Advanced Strategic Command
Classes | Namespaces | Functions | Variables
objecttype.cpp File Reference
#include <algorithm>
#include <set>
#include "objecttype.h"
#include "graphicset.h"
#include "textfileparser.h"
#include "textfiletags.h"
#include "sgstream.h"
#include "textfile_evaluation.h"
#include "mapalgorithms.h"
#include "graphics/blitter.h"
#include "graphics/drawing.h"
#include "fieldimageloader.h"
#include "memsize_interface.h"
#include "iconrepository.h"
#include "gamemap.h"
Include dependency graph for objecttype.cpp:

Go to the source code of this file.

Classes

class  ColorConverter_PassThrough< BytesPerSourcePixel, BytesPerTargetPixel >
 
class  ForestCalculation::Smoothing
 

Namespaces

 ForestCalculation
 

Functions

void ForestCalculation::smooth (int what, GameMap *gamemap, ObjectType *woodObj)
 automatically adjusting the pictures of woods and coasts to form coherent structures More...
 
void ForestCalculation::calculateforest (GameMap *actmap, ObjectType *woodObj)
 

Variables

const int ForestCalculation::woodformnum = 28
 
int ForestCalculation::woodform [woodformnum] = { 63,30,60,39,51,28,35,48,6,57,15,14,56,7,49,47,59,31,61,60,55, -1,-1,-1,-1,-1,-1,-1 }
 
int ForestCalculation::SmoothTreesData0 []
 
int ForestCalculation::SmoothTreesData []
 
int ForestCalculation::UnSmoothTreesData []
 
int ForestCalculation::SmoothBanksData []
 
int ForestCalculation::UnSmoothBanksData []
 
int ForestCalculation::SmoothDarkBanksData []
 
int ForestCalculation::UnSmoothDarkBanksData []
 
const int object_version = 22
 

Variable Documentation

const int object_version = 22

Definition at line 841 of file objecttype.cpp.

Referenced by ObjectType::read().