#include <mapdisplay.h>
Inheritance diagram for MapRenderer:

Protected Member Functions | |
| MapRenderer () | |
| int | getFieldPosX (int x, int y) |
| int | getFieldPosY (int x, int y) |
| SPoint | getFieldPos (int x, int y) |
| SPoint | getFieldPos2 (const MapCoordinate &pos) |
| void | paintSingleField (const MapRenderer::FieldRenderInfo &fieldInfo, int layer, const SPoint &pos) |
| void | paintTerrain (Surface &surf, GameMap *actmap, int playerView, const ViewPort &viewPort, const MapCoordinate &offset) |
| void | paintBackground (Surface &surf, const ViewPort &viewPort) |
| void | paintBackgroundField (Surface &surf, SPoint pos) |
| int | bitmappedHeight2pass (int height) |
| void | addMapLayer (MapLayer *mapLayer) |
Protected Attributes | |
| SigC::Signal2< void, Surface &, int > | additionalItemDisplayHook |
Static Protected Attributes | |
| static const int | surfaceBorder = 90 |
Classes | |
| class | FieldRenderInfo |
| struct | Icons |
| struct | ViewPort |
|
|
Definition at line 284 of file mapdisplay.cpp. |
|
|
Definition at line 102 of file mapdisplay.h. Referenced by MapDisplayPG::addMapLayer(). |
|
|
Definition at line 325 of file mapdisplay.cpp. References log2(). Referenced by MapDisplayPG::displayAddons(). |
|
||||||||||||
|
Definition at line 86 of file mapdisplay.h. References getFieldPosX(), and getFieldPosY(). Referenced by MapDisplayPG::mapGlobalPos2internalPos(), MapDisplayPG::mapViewPos2internalPos(), paintBackground(), paintTerrain(), and WholeMapRenderer::renderVisibility(). |
|
|
Definition at line 89 of file mapdisplay.h. References getFieldPosX(), getFieldPosY(), MapCoordinate::x, and MapCoordinate::y. Referenced by MapDisplayPG::initMovementStructure(). |
|
||||||||||||
|
Definition at line 74 of file mapdisplay.h. References fielddisthalfx, fielddistx, and surfaceBorder. Referenced by MapDisplayPG::displayMovementStep(), getFieldPos(), getFieldPos2(), MapDisplayPG::MapDisplayPG(), and MapDisplayPG::widgetPos2mapPos(). |
|
||||||||||||
|
Definition at line 82 of file mapdisplay.h. References fielddisty, and surfaceBorder. Referenced by MapDisplayPG::displayMovementStep(), getFieldPos(), getFieldPos2(), MapDisplayPG::MapDisplayPG(), and MapDisplayPG::widgetPos2mapPos(). |
|
||||||||||||
|
Definition at line 437 of file mapdisplay.cpp. References getFieldPos(), paintBackgroundField(), MapRenderer::ViewPort::x1, MapRenderer::ViewPort::x2, MapRenderer::ViewPort::y1, and MapRenderer::ViewPort::y2. Referenced by MapDisplayPG::paintBackground(). |
|
||||||||||||
|
Definition at line 444 of file mapdisplay.cpp. Referenced by paintBackground(), and paintTerrain(). |
|
||||||||||||||||
|
||||||||||||||||||||||||
|
|
Definition at line 100 of file mapdisplay.h. Referenced by MapDisplayPG::MapDisplayPG(), and paintTerrain(). |
|
|
Definition at line 65 of file mapdisplay.h. Referenced by MapDisplayPG::createMovementBufferSurface(), getFieldPosX(), getFieldPosY(), MapDisplayPG::internal2widget(), MapDisplayPG::setNewZoom(), MapDisplayPG::widgetPos2mapPos(), WholeMapRenderer::writePCX(), and WholeMapRenderer::writePNG(). |
1.4.2