22 #ifndef ULTIMA_SHARED_GFX_DUNGEON_H 23 #define ULTIMA_SHARED_GFX_DUNGEON_H 25 #include "ultima/shared/gfx/visual_surface.h" 43 DrawWidgetFn _widgetFn;
53 void drawLine(
int x0,
int y0,
int x1,
int y1, uint32 color) {
55 _penPos =
Point(x1, y1);
63 _penPos =
Point(x, y);
69 void hLine(
int x,
int y,
int x2, uint32 color) {
71 _penPos =
Point(x2, y);
77 void vLine(
int x,
int y,
int y2, uint32 color) {
79 _penPos =
Point(x, y2);
113 void drawWidget(uint widgetId, uint distance, byte color);
Definition: managed_surface.h:51
void drawDoorway(uint distance)
void hLine(int x, int y, int x2, uint32 color)
Definition: dungeon_surface.h:69
void drawLadderUpSideOn(uint distance)
Definition: visual_surface.h:39
int16 right
Definition: rect.h:146
void drawRightBlank(uint distance)
void drawLine(int x0, int y0, int x1, int y1, uint32 color)
Definition: managed_surface.h:722
DungeonSurface(const Graphics::ManagedSurface &src, const Rect &bounds, Game *game, DrawWidgetFn widgetFn)
Definition: dungeon_surface.h:37
void vLine(int x, int y, int y2, uint32 color)
Definition: managed_surface.h:746
void drawLadderUpFaceOn(uint distance)
Definition: detection.h:27
void drawBeams(uint distance)
void drawLeftEdge(uint distance)
void drawLadderDownFaceOn(uint distance)
void drawLine(int x0, int y0, int x1, int y1, uint32 color)
Definition: dungeon_surface.h:53
int16 left
Definition: rect.h:145
void drawLeftBlank(uint distance)
void drawLeftDoor(uint distance)
void drawRightWall(uint distance)
int16 x
Definition: rect.h:46
void frameRect(const Common::Rect &r, uint32 color)
Definition: managed_surface.h:762
int16 y
Definition: rect.h:47
void drawLeftWall(uint distance)
void drawRightDoor(uint distance)
void frameRect(const Common::Rect &r, uint32 color)
Definition: dungeon_surface.h:85
void vLine(int x, int y, int y2, uint32 color)
Definition: dungeon_surface.h:77
void hLine(int x, int y, int x2, uint32 color)
Definition: managed_surface.h:738
void drawWidget(uint widgetId, uint distance, byte color)
void drawLadderDownSideOn(uint distance)
void drawLineTo(int x, int y, uint32 color)
Definition: dungeon_surface.h:61
void drawRightEdge(uint distance)
void drawWall(uint distance)