#include <weatherarea.h>
Public Member Functions | |
| WeatherArea (GameMap *map, int xCenter, int yCenter, int width, int height, int duration, FalloutType fType, unsigned int seedValue, bool clustered=true) | |
| WeatherArea (GameMap *map, int xCenter, int yCenter, int radius) | |
| WeatherArea (GameMap *map) | |
| ~WeatherArea () | |
| GameMap * | getMap () const |
| Vector2D | getWindVector () const |
| void | updateMovementVector (unsigned int speed, Direction windDirection, double ratio) |
| void | setFalloutType (FalloutType fallout) |
| FalloutType | getFalloutType () const |
| FalloutType | getFalloutType (int value) const |
| int | getWidth () const |
| int | getHeight () const |
| float | getHorizontalWindAccu () const |
| float | getVerticalWindAccu () const |
| MapCoordinate | getCenterPos () const |
| const WeatherField * | getCenterField () const |
| int | getDuration () const |
| void | setDuration (int duration) |
| void | update (WeatherSystem *wSystem, FieldSet &processedFields) |
| void | placeArea () |
| void | removeArea (FieldSet &processedFields) |
| unsigned int | createRandomValue (int limit) |
| void | write (tnstream &outputStream) const |
| void | read (tnstream &inputStream) |
Definition at line 132 of file weatherarea.h.
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 55 of file weatherarea.cpp. References MapCoordinate::x, and MapCoordinate::y. |
|
||||||||||||||||||||
|
Definition at line 69 of file weatherarea.cpp. |
|
|
Definition at line 66 of file weatherarea.cpp. |
|
|
Definition at line 71 of file weatherarea.cpp. |
|
|
Definition at line 275 of file weatherarea.cpp. |
|
|
Definition at line 187 of file weatherarea.h. |
|
|
Definition at line 183 of file weatherarea.h. Referenced by WeatherAreaInformation::getInformation(), and Weathercast::paintWeatherArea(). |
|
|
Definition at line 258 of file weatherarea.cpp. |
|
|
Definition at line 108 of file weatherarea.cpp. |
|
|
Definition at line 235 of file weatherarea.cpp. Referenced by WeatherAreaInformation::getInformation(), and Weathercast::paintWeatherArea(). |
|
|
Definition at line 122 of file weatherarea.cpp. |
|
|
Definition at line 266 of file weatherarea.cpp. |
|
|
Definition at line 99 of file weatherarea.cpp. Referenced by WeatherField::WeatherField(). |
|
|
Definition at line 270 of file weatherarea.cpp. |
|
|
Definition at line 126 of file weatherarea.cpp. |
|
|
Definition at line 231 of file weatherarea.cpp. |
|
|
Definition at line 239 of file weatherarea.cpp. References WeatherField::isOnMap(), and WeatherField::update(). |
|
|
Definition at line 203 of file weatherarea.cpp. References WeatherField::read(), MapCoordinate::x, and MapCoordinate::y. Referenced by WeatherSystem::read(). |
|
|
Definition at line 249 of file weatherarea.cpp. References WeatherField::isOnMap(), and WeatherField::reset(). Referenced by WeatherSystem::update(). |
|
|
Definition at line 262 of file weatherarea.cpp. |
|
|
Definition at line 104 of file weatherarea.cpp. |
|
||||||||||||
|
Definition at line 162 of file weatherarea.cpp. References WeatherField::isOnMap(), Vector2D::isZeroVector(), WeatherField::move(), MapCoordinate::move(), WeatherField::reset(), and WeatherField::update(). |
|
||||||||||||||||
|
Definition at line 131 of file weatherarea.cpp. References N, NE, NW, S, SE, and SW. Referenced by WeatherSystem::update(). |
|
|
Definition at line 183 of file weatherarea.cpp. References Vector2D::getXComponent(), Vector2D::getYComponent(), MapCoordinate::x, and MapCoordinate::y. |
1.4.2