diff options
author | Torbjörn Andersson | 2003-10-15 06:40:31 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-10-15 06:40:31 +0000 |
commit | 8b42d65a7e922a9b9241ebe509968331fe958fb6 (patch) | |
tree | 5dcef554baa412cf676beb11c453d54957ecaa8c /sword2/sword2.h | |
parent | f74a0c18aa2ef244f987c31d3d146207c72e81ee (diff) | |
download | scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.tar.gz scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.tar.bz2 scummvm-rg350-8b42d65a7e922a9b9241ebe509968331fe958fb6.zip |
Dumped most of the remaining "driver" code into a new "Display" class. This
touches a lot of the code, of course, and adds yet another global variable
(temporarily, I hope), but everything still seems to work.
Knock on wood.
svn-id: r10806
Diffstat (limited to 'sword2/sword2.h')
-rw-r--r-- | sword2/sword2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sword2/sword2.h b/sword2/sword2.h index a8a7354491..08147152a2 100644 --- a/sword2/sword2.h +++ b/sword2/sword2.h @@ -26,6 +26,7 @@ #include "common/rect.h" #include "common/str.h" #include "bs2/driver/d_sound.h" +#include "bs2/driver/d_draw.h" enum BSGameId { GID_SWORD2 = GID_SWORD2_FIRST, @@ -77,6 +78,7 @@ public: byte _gameId; char *_targetName; // target name for saves Sound *_sound; + Display *_display; Common::RandomSource _rnd; uint32 _speechFontId; @@ -90,6 +92,7 @@ public: extern Sword2Engine *g_sword2; extern Sound *g_sound; +extern Display *g_display; } // End of namespace Sword2 |