aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/modules
diff options
context:
space:
mode:
authorFilippos Karapetis2013-06-09 17:13:23 +0300
committerFilippos Karapetis2013-06-09 17:13:23 +0300
commitd00f5c0aa739a7a61618f14b47be137f517d92d7 (patch)
tree4be63a798ff77c90aa2ac628bb512ca6e3cfef61 /engines/neverhood/modules
parent9e0c843c9f41239a878e8d2772c27507196428b6 (diff)
downloadscummvm-rg350-d00f5c0aa739a7a61618f14b47be137f517d92d7.tar.gz
scummvm-rg350-d00f5c0aa739a7a61618f14b47be137f517d92d7.tar.bz2
scummvm-rg350-d00f5c0aa739a7a61618f14b47be137f517d92d7.zip
NEVERHOOD: Add a console command to display the current surfaces
Diffstat (limited to 'engines/neverhood/modules')
-rw-r--r--engines/neverhood/modules/module2200.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/neverhood/modules/module2200.cpp b/engines/neverhood/modules/module2200.cpp
index 4f2d9e8fd2..d382cd6bba 100644
--- a/engines/neverhood/modules/module2200.cpp
+++ b/engines/neverhood/modules/module2200.cpp
@@ -2142,17 +2142,17 @@ Scene2208::Scene2208(NeverhoodEngine *vm, Module *parentModule, int which)
_fontSurface = FontSurface::createFontSurface(_vm, 0x0800090C);
- _backgroundSurface = new BaseSurface(_vm, 0, 640, 480);
+ _backgroundSurface = new BaseSurface(_vm, 0, 640, 480, "background");
spriteResource.load(0x08100289, true);
_backgroundSurface->drawSpriteResourceEx(spriteResource, false, false, 0, 0);
- _topBackgroundSurface = new BaseSurface(_vm, 0, 640, 192);
+ _topBackgroundSurface = new BaseSurface(_vm, 0, 640, 192, "top background");
spriteResource.load(!getGlobalVar(V_COLUMN_BACK_NAME)
? kScene2208FileHashes1[getGlobalVar(V_CLICKED_COLUMN_INDEX) % 6]
: getGlobalVar(V_COLUMN_BACK_NAME), true);
_topBackgroundSurface->drawSpriteResourceEx(spriteResource, false, false, 0, 0);
- _bottomBackgroundSurface = new BaseSurface(_vm, 0, 640, 192);
+ _bottomBackgroundSurface = new BaseSurface(_vm, 0, 640, 192, "bottom background");
spriteResource.load(kScene2208FileHashes2[getGlobalVar(V_CLICKED_COLUMN_INDEX) % 6], true);
_bottomBackgroundSurface->drawSpriteResourceEx(spriteResource, false, false, 0, 0);