diff options
author | Bendegúz Nagy | 2016-06-23 03:16:36 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 94bd6db7a61af0d5552f86eac06c785a027041bc (patch) | |
tree | cd7bf5d525ac34189a68fe631f43074d04c004ea /engines/dm/gfx.h | |
parent | 2f6e8a8e64ac2e5bc641532f0dd2ff10915cc469 (diff) | |
download | scummvm-rg350-94bd6db7a61af0d5552f86eac06c785a027041bc.tar.gz scummvm-rg350-94bd6db7a61af0d5552f86eac06c785a027041bc.tar.bz2 scummvm-rg350-94bd6db7a61af0d5552f86eac06c785a027041bc.zip |
DM: Add F0291_CHAMPION_DrawSlot, G0425_aT_ChestSlots and constructor to Viewport, swap some warnings for code
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r-- | engines/dm/gfx.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h index ed246de912..5e0307e7df 100644 --- a/engines/dm/gfx.h +++ b/engines/dm/gfx.h @@ -42,7 +42,8 @@ enum GraphicIndice { kSlotBoxNormalIndice = 33, // @ C033_GRAPHIC_SLOT_BOX_NORMAL kSlotBoxWoundedIndice = 34, // @ C034_GRAPHIC_SLOT_BOX_WOUNDED kChampionIcons = 28, // @ C028_GRAPHIC_CHAMPION_ICONS - kFontGraphicIndice = 557 // @ C557_GRAPHIC_FONT + kFontGraphicIndice = 557, // @ C557_GRAPHIC_FONT + kSlotBoxActingHandIndice = 35 // @ C035_GRAPHIC_SLOT_BOX_ACTING_HAND }; extern uint16 gPalSwoosh[16]; @@ -146,9 +147,13 @@ enum Color { }; -struct Viewport { +class Viewport { +public: uint16 _posX, _posY; uint16 _width, _height; + Viewport() {} + Viewport(uint16 posX, uint16 posY, uint16 width, uint16 height) + :_posX(posX), _posY(posY), _width(width), _height(height) {} }; struct CreatureAspect { |