#include <dungeon_view.h>
Public Member Functions | |
| void | draw (const Data::Dungeon &dungeon, int level, int x, int y, int facing) |
| byte | color (int x, int y) const |
Static Public Member Functions | |
| static void | loadPictures () |
| static void | setPicturesEnabled (bool enabled) |
| static bool | usesPictures () |
The first person view down the corridors of a dungeon: the walls, doors, ladders and chests in sight drawn as lines, which are all white in the original and have colors in the upgrade's EGA and VGA renderers. The VGA renderer can instead use pictures of them, which are layers of the view that are drawn over each other
|
static |
Reads the pictures that are drawn in place of lines, which any of can be missing
|
inlinestatic |
Sets whether the pictures are drawn, if they've been found and it's the VGA renderer
|
static |
Returns true if the view is made of pictures
| void Ultima::Ultima3::Gfx::DungeonView::draw | ( | const Data::Dungeon & | dungeon, |
| int | level, | ||
| int | x, | ||
| int | y, | ||
| int | facing | ||
| ) |
Draws the view from a square in a direction, for later reading back
|
inline |
Returns the color of a pixel of the picture, whose position is that on the screen, which is zero if it's not lit