#include <map.h>

| enum Map::ChangeDirection |
| Map::Map | ( | const char * | id | ) |
Constructor.
| Map::~Map | ( | ) | [virtual] |
Destructor.
| void Map::SetActive | ( | bool | active | ) | [virtual] |
| void Map::Render | ( | ) |
| Scheme * Map::GetScheme | ( | ) | [inline] |
| const MapSize & Map::GetSize | ( | ) | [inline] |
| void Map::SetMoveSpeed | ( | float | move_speed | ) | [inline] |
| void Map::SetZoomSpeed | ( | float | zoom_speed | ) | [inline] |
| void Map::ChangeView | ( | byte_t | direction | ) | [inline] |
| void Map::SetVisibleSegment | ( | MapEnums::Segment | segment | ) | [inline] |
| MapEnums::Segment Map::GetVisibleSegment | ( | ) | [inline] |
| const MapArea & Map::GetVisibleArea | ( | ) | [inline] |
| void Map::SetWarfogEnabled | ( | bool | enabled | ) | [inline] |
| bool Map::IsWarfogEnabled | ( | ) | [inline] |
| void Map::AddUnit | ( | Unit * | unit | ) |
| void Map::RemoveUnit | ( | Unit * | unit | ) |
| void Map::AddSceneObject | ( | MapEnums::Segment | segment_id, | |
| SceneObject * | scene_object | |||
| ) |
| void Map::RemoveSceneObject | ( | MapEnums::Segment | segment_id, | |
| SceneObject * | scene_object | |||
| ) |
| bool Map::IsInMap | ( | const MapPosition2D & | position | ) | const [inline] |
| bool Map::IsInMap | ( | const MapPosition2D & | position, | |
| const MapSize & | size | |||
| ) | const [inline] |
| void Map::ScreenToMap | ( | MapEnums::Segment | segment, | |
| const vector2 & | screen_position, | |||
| vector2 & | map_position | |||
| ) | const [inline] |
| void Map::MapToScreen | ( | MapEnums::Segment | segment, | |
| const vector2 & | map_position, | |||
| vector2 & | screen_position | |||
| ) | const [inline] |
| bool Map::FindUnitsInRectangle | ( | const vector2 & | corner1, | |
| const vector2 & | corner2, | |||
| list< Unit * > & | units | |||
| ) | const |
| byte_t Map::GetSurface | ( | const MapPosition2D & | position | ) | const [inline] |
| Map::Field * Map::GetField | ( | const MapPosition3D & | position | ) | const [inline] |
| void Map::ClearHeader | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
| void Map::ClearBody | ( | ) | [protected, virtual] |
Reimplemented from Preloaded.
| bool Map::ReadHeader | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
| bool Map::ReadBody | ( | Serializer & | serializer | ) | [protected, virtual] |
Reimplemented from Preloaded.
| bool Map::WriteHeader | ( | Serializer & | serializer | ) | [protected, virtual] |
| bool Map::WriteBody | ( | Serializer & | serializer | ) | [protected, virtual] |
| bool Map::ReadFragments | ( | Serializer & | serializer | ) | [protected] |
| bool Map::ReadFragment | ( | Serializer & | serializer, | |
| Fragment & | fragment | |||
| ) | [protected] |
| bool Map::OnAction | ( | const string & | action, | |
| int | position, | |||
| void * | data | |||
| ) | [static, protected] |
| void Map::UpdateProjection | ( | ) | [protected] |
| void Map::UpdateView | ( | ) | [protected] |
| void Map::UpdateVisibleArea | ( | ) | [protected] |
| bool Map::UpdateSurface | ( | const MapPosition2D & | position, | |
| const Scheme::Fragment & | fragment | |||
| ) | [protected] |
| Unit * Map::FindPickUnit | ( | MapEnums::Segment | segment, | |
| ushort_t | screen_x, | |||
| ushort_t | screen_y | |||
| ) | const [protected] |
string Map::name [protected] |
Full map name.
string Map::author_name [protected] |
string Map::author_contact [protected] |
Segment Map::segments[MapEnums::SEG_COUNT] [protected] |
vector<Fragment> Map::fragments [protected] |
byte_t** Map::surface [protected] |
Ref<Scheme> Map::scheme [protected] |
Projection Map::projection [protected] |
Viewport Map::viewport [protected] |
float Map::projection_coef_h [protected] |
float Map::projection_coef_v [protected] |
float Map::move_speed [protected] |
<0.0, 1.0>
float Map::zoom_speed [protected] |
<0.0, 1.0>
vector2 Map::position [protected] |
float Map::zoom [protected] |
bool Map::view_changed [protected] |
byte_t Map::change_direction [protected] |
MapEnums::Segment Map::visible_segment [protected] |
MapArea Map::visible_area [protected] |
bool Map::warfog_enabled [protected] |
bool Map::catched [protected] |
bool Map::frame_moving [protected] |
1.5.3