aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/gfx.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-26 22:35:29 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit9d7cfe5cd8cc5ba12b544c0da2e8d3d1f84133fa (patch)
treea0325987a546a2b4e442302eda5d067921249142 /engines/dm/gfx.h
parent204853952295bf6504921979db32d6c10909131a (diff)
downloadscummvm-rg350-9d7cfe5cd8cc5ba12b544c0da2e8d3d1f84133fa.tar.gz
scummvm-rg350-9d7cfe5cd8cc5ba12b544c0da2e8d3d1f84133fa.tar.bz2
scummvm-rg350-9d7cfe5cd8cc5ba12b544c0da2e8d3d1f84133fa.zip
DM: Add several functions realted to text display
Add F0290_CHAMPION_DrawHealthStaminaManaValues, F0289_CHAMPION_DrawHealthOrStaminaOrManaValue, F0288_CHAMPION_GetStringFromInteger, F0052_TEXT_PrintToViewport, swap warning for real code, expand viewport fields with width, height, remove self-inclusion in dungeonman.h, remove extra black line when loading fonts, fix alignment error in TextMan::printTextToBitmap
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r--engines/dm/gfx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h
index e2f30f339c..ed246de912 100644
--- a/engines/dm/gfx.h
+++ b/engines/dm/gfx.h
@@ -7,6 +7,7 @@
namespace DM {
+
enum ViewCell {
kViewCellFronLeft = 0, // @ C00_VIEW_CELL_FRONT_LEFT
kViewCellFrontRight = 1, // @ C01_VIEW_CELL_FRONT_RIGHT
@@ -144,9 +145,10 @@ enum Color {
kColorWhite = 15
};
+
struct Viewport {
- // TODO: should probably add width and height, seems redundant right meow
uint16 _posX, _posY;
+ uint16 _width, _height;
};
struct CreatureAspect {