#include <tileview.h>
Public Member Functions | |
| TileView (int x, int y, int columns, int rows) | |
| TileView (int x, int y, int columns, int rows, const Common::String &tileset) | |
| void | reinit () |
| void | drawTile (MapTile &mapTile, bool focus, int x, int y) |
| void | drawTile (Std::vector< MapTile > &tiles, bool focus, int x, int y) |
| void | drawFocus (int x, int y) |
| void | loadTile (MapTile &mapTile) |
| void | setTileset (Tileset *tileset) |
| void | setDest (Image *dest) |
Public Member Functions inherited from Ultima::Ultima4::View | |
| View (int x, int y, int width, int height) | |
| virtual void | clear () |
| virtual void | update () |
| virtual void | update (int x, int y, int width, int height) |
| virtual void | highlight (int x, int y, int width, int height) |
| virtual void | unhighlight () |
Protected Attributes | |
| int | _columns |
| int | _rows |
| int | _tileWidth |
| int | _tileHeight |
| Tileset * | _tileSet |
| Image * | _animated |
| Image * | _dest |
Protected Attributes inherited from Ultima::Ultima4::View | |
| Common::Rect | _bounds |
| Common::Rect | _highlightBounds |
| bool | _highlighted |
Additional Inherited Members | |
Protected Member Functions inherited from Ultima::Ultima4::View | |
| void | drawHighlighted () |
Static Protected Attributes inherited from Ultima::Ultima4::View | |
| static Image * | _screen |
A view of a grid of tiles. Used to draw Maps.
|
virtual |
Hook for reinitializing when graphics reloaded.
Reimplemented from Ultima::Ultima4::View.
| void Ultima::Ultima4::TileView::drawFocus | ( | int | x, |
| int | y | ||
| ) |
Draw a focus rectangle around the tile
|
protected |
a scratchpad image for drawing animations