Advanced Strategic Command
Public Member Functions | List of all members
ForestCalculation::Smoothing Class Reference

Public Member Functions

 Smoothing (GameMap *gamemap)
 
MapFieldgetfield (int x, int y)
 
int IsInSetOfWord (int Wert, int *A)
 
int GetNeighbourMask (int x, int y, int *Arr, ObjectType *o)
 
int GetNeighbourMask (int x, int y, int *Arr)
 
int SearchAndGetInt (int Wert, int *Arr, int *Res)
 
int SmoothIt (ObjectType *TerObj, int *SmoothData)
 
void smooth (int what, ObjectType *woodObj)
 

Detailed Description

Definition at line 401 of file objecttype.cpp.

Constructor & Destructor Documentation

ForestCalculation::Smoothing::Smoothing ( GameMap gamemap)
inline

Definition at line 404 of file objecttype.cpp.

Member Function Documentation

MapField* ForestCalculation::Smoothing::getfield ( int  x,
int  y 
)
inline

Definition at line 405 of file objecttype.cpp.

References GameMap::getField().

Referenced by GetNeighbourMask(), and SmoothIt().

int ForestCalculation::Smoothing::GetNeighbourMask ( int  x,
int  y,
int *  Arr,
ObjectType o 
)
inline
int ForestCalculation::Smoothing::GetNeighbourMask ( int  x,
int  y,
int *  Arr 
)
inline
int ForestCalculation::Smoothing::IsInSetOfWord ( int  Wert,
int *  A 
)
inline

Definition at line 410 of file objecttype.cpp.

Referenced by GetNeighbourMask(), and SmoothIt().

int ForestCalculation::Smoothing::SearchAndGetInt ( int  Wert,
int *  Arr,
int *  Res 
)
inline

Definition at line 505 of file objecttype.cpp.

Referenced by SmoothIt().

void ForestCalculation::Smoothing::smooth ( int  what,
ObjectType woodObj 
)
inline
int ForestCalculation::Smoothing::SmoothIt ( ObjectType TerObj,
int *  SmoothData 
)
inline

The documentation for this class was generated from the following file: