ScummVM API documentation
Ultima::Ultima4::DungeonView Class Reference

#include <dungeonview.h>

Inheritance diagram for Ultima::Ultima4::DungeonView:
Ultima::Ultima4::TileView Ultima::Ultima4::View

Public Member Functions

void drawInDungeon (Tile *tile, int x_offset, int distance, Direction orientation, bool tiled)
 
int graphicIndex (int xoffset, int distance, Direction orientation, DungeonGraphicType type)
 
void drawTile (Tile *tile, int x_offset, int distance, Direction orientation)
 
void drawWall (int xoffset, int distance, Direction orientation, DungeonGraphicType type)
 
void display (Context *c, TileView *view)
 
DungeonGraphicType tilesToGraphic (const Std::vector< MapTile > &tiles)
 
bool toggle3DDungeonView ()
 
Std::vector< MapTilegetTiles (int fwd, int side)
 
- Public Member Functions inherited from Ultima::Ultima4::TileView
 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 ()
 

Static Public Member Functions

static DungeonViewgetInstance ()
 

Static Public Attributes

static DungeonView_instance
 

Additional Inherited Members

- Protected Member Functions inherited from Ultima::Ultima4::View
void drawHighlighted ()
 
- Protected Attributes inherited from Ultima::Ultima4::TileView
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
 
- Static Protected Attributes inherited from Ultima::Ultima4::View
static Image_screen
 

Detailed Description

  • move the rest of the dungeon drawing logic here from screen_sdl

The documentation for this class was generated from the following file: