diff options
author | Walter van Niftrik | 2016-03-14 10:04:51 +0100 |
---|---|---|
committer | Walter van Niftrik | 2016-06-06 20:35:49 +0200 |
commit | 148814b2a6c3dffb53b8d902eb7fcfb68110bea3 (patch) | |
tree | f424a5964b9d8d8800bf4051685a91e88e0aeda3 /engines/adl/hires1.h | |
parent | 60892c91a5455f1c490c1c1016a9149b6d3a2db2 (diff) | |
download | scummvm-rg350-148814b2a6c3dffb53b8d902eb7fcfb68110bea3.tar.gz scummvm-rg350-148814b2a6c3dffb53b8d902eb7fcfb68110bea3.tar.bz2 scummvm-rg350-148814b2a6c3dffb53b8d902eb7fcfb68110bea3.zip |
ADL: Move hires1 drawing functions into class
Diffstat (limited to 'engines/adl/hires1.h')
-rw-r--r-- | engines/adl/hires1.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/engines/adl/hires1.h b/engines/adl/hires1.h index 02cec0137a..96e2fd0122 100644 --- a/engines/adl/hires1.h +++ b/engines/adl/hires1.h @@ -26,6 +26,7 @@ #include "common/str.h" #include "adl/adl.h" +#include "adl/graphics.h" namespace Common { class ReadStream; @@ -82,7 +83,7 @@ namespace Adl { #define IDI_HR1_OFS_CMDS_1 0x3d00 #define IDI_HR1_OFS_ITEM_OFFSETS 0x68ff -#define IDI_HR1_OFS_LINE_ART 0x4f00 +#define IDI_HR1_OFS_CORNERS 0x4f00 #define IDI_HR1_OFS_VERBS 0x3800 #define IDI_HR1_OFS_NOUNS 0x0f00 @@ -94,16 +95,16 @@ public: private: // AdlEngine void runIntro() const; - void loadData(); + void init(); void initState(); void restartGame(); void drawPic(byte pic, Common::Point pos = Common::Point()) const; void printMessage(uint idx, bool wait = true) const; + void drawItem(const Item &item, const Common::Point &pos) const; void showRoom() const; - void drawLine(const Common::Point &p1, const Common::Point &p2, byte color) const; - void drawPic(Common::ReadStream &stream, const Common::Point &pos) const; - + Common::File _exe; + Common::Array<uint> _corners; Common::Array<byte> _roomDesc; }; |