Public Member Functions | |
| Smoothing (GameMap *gamemap) | |
| MapField * | getfield (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) |
Definition at line 401 of file objecttype.cpp.
| ForestCalculation::Smoothing::Smoothing | ( | GameMap * | gamemap | ) | [inline] |
Definition at line 404 of file objecttype.cpp.
| 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::IsInSetOfWord | ( | int | Wert, | |
| int * | A | |||
| ) | [inline] |
| int ForestCalculation::Smoothing::GetNeighbourMask | ( | int | x, | |
| int | y, | |||
| int * | Arr, | |||
| ObjectType * | o | |||
| ) | [inline] |
Definition at line 442 of file objecttype.cpp.
References ObjectType::WeatherPicture::bi3pic, MapField::checkForObject(), Object::dir, getfield(), getnextfield(), IsInSetOfWord(), sidenum, Object::typ, ObjectType::weather, and ObjectType::weatherPicture.
Referenced by SmoothIt().
| int ForestCalculation::Smoothing::GetNeighbourMask | ( | int | x, | |
| int | y, | |||
| int * | Arr | |||
| ) | [inline] |
Definition at line 467 of file objecttype.cpp.
References TerrainType::Weather::bi_pict, getfield(), getnextfield(), IsInSetOfWord(), sidenum, and MapField::typ.
| int ForestCalculation::Smoothing::SearchAndGetInt | ( | int | Wert, | |
| int * | Arr, | |||
| int * | Res | |||
| ) | [inline] |
| int ForestCalculation::Smoothing::SmoothIt | ( | ObjectType * | TerObj, | |
| int * | SmoothData | |||
| ) | [inline] |
Definition at line 519 of file objecttype.cpp.
References TerrainType::Weather::bi_pict, getfield(), GetNeighbourMask(), IsInSetOfWord(), SearchAndGetInt(), MapField::typ, GameMap::xsize, and GameMap::ysize.
Referenced by smooth().
| void ForestCalculation::Smoothing::smooth | ( | int | what, | |
| ObjectType * | woodObj | |||
| ) | [inline] |
Definition at line 594 of file objecttype.cpp.
References ForestCalculation::SmoothBanksData, ForestCalculation::SmoothDarkBanksData, SmoothIt(), ForestCalculation::SmoothTreesData, ForestCalculation::SmoothTreesData0, ForestCalculation::UnSmoothBanksData, and ForestCalculation::UnSmoothDarkBanksData.
Referenced by ForestCalculation::calculateforest(), and ForestCalculation::smooth().
1.5.1