aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/animation.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-02-27 16:11:19 +0000
committerTorbjörn Andersson2005-02-27 16:11:19 +0000
commita5356edb369de3dad0966b6308bb693e4f857069 (patch)
tree27c347a1390cfea4530e6e5876eda3f9c1131ab5 /sword2/driver/animation.cpp
parent0d8a49de37f62eb1906896e0f6d761ef18a8b342 (diff)
downloadscummvm-rg350-a5356edb369de3dad0966b6308bb693e4f857069.tar.gz
scummvm-rg350-a5356edb369de3dad0966b6308bb693e4f857069.tar.bz2
scummvm-rg350-a5356edb369de3dad0966b6308bb693e4f857069.zip
Got rid of all the .h files but one in the 'driver' directory. They were
either very small or, in the case of driver96.h, a disorganized jumbles. svn-id: r16952
Diffstat (limited to 'sword2/driver/animation.cpp')
-rw-r--r--sword2/driver/animation.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/sword2/driver/animation.cpp b/sword2/driver/animation.cpp
index 260d42f454..6efa697c4d 100644
--- a/sword2/driver/animation.cpp
+++ b/sword2/driver/animation.cpp
@@ -27,12 +27,11 @@
#include "sound/mp3.h"
#include "sword2/sword2.h"
+#include "sword2/defs.h"
#include "sword2/maketext.h"
#include "sword2/resman.h"
#include "sword2/sound.h"
#include "sword2/driver/animation.h"
-#include "sword2/driver/menu.h"
-#include "sword2/driver/render.h"
namespace Sword2 {
@@ -415,7 +414,7 @@ void MoviePlayer::playDummy(const char *filename, MovieTextObject *text[], byte
byte *msgSurface;
msgSprite.x = _vm->_screen->getScreenWide() / 2 - frame->width / 2;
- msgSprite.y = RDMENU_MENUDEEP / 2 - frame->height / 2;
+ msgSprite.y = MENUDEEP / 2 - frame->height / 2;
msgSprite.w = frame->width;
msgSprite.h = frame->height;
msgSprite.type = RDSPR_NOCOMPRESSION;