aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-04 20:03:50 +0200
committerEugene Sandulenko2016-09-04 21:20:29 +0200
commit641920ee4422525864d2bcf7a0caa60739a0be43 (patch)
tree0656d103c79d68dac1801614a07574aa2829ff0c /engines/fullpipe/scenes
parentfa0ca192aade225b08a68875f5eb05e69c971f68 (diff)
downloadscummvm-rg350-641920ee4422525864d2bcf7a0caa60739a0be43.tar.gz
scummvm-rg350-641920ee4422525864d2bcf7a0caa60739a0be43.tar.bz2
scummvm-rg350-641920ee4422525864d2bcf7a0caa60739a0be43.zip
FULLPIPE: Added debug inventory to scene05
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene05.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/fullpipe/scenes/scene05.cpp b/engines/fullpipe/scenes/scene05.cpp
index b2efd29dda..f3c94d1a78 100644
--- a/engines/fullpipe/scenes/scene05.cpp
+++ b/engines/fullpipe/scenes/scene05.cpp
@@ -22,6 +22,7 @@
#include "fullpipe/fullpipe.h"
+#include "fullpipe/gameloader.h"
#include "fullpipe/objects.h"
#include "fullpipe/objectnames.h"
#include "fullpipe/constants.h"
@@ -36,6 +37,13 @@
namespace Fullpipe {
void scene05_initScene(Scene *sc) {
+
+#if 0
+ Inventory2 *inv = getGameLoaderInventory();
+ inv->addItem(ANI_INV_BOX, 1);
+ inv->rebuildItemRects();
+#endif
+
g_vars->scene05_handle = sc->getStaticANIObject1ById(ANI_HANDLE, -1);
g_vars->scene05_wacko = sc->getStaticANIObject1ById(ANI_OTMOROZ, -1);
g_vars->scene05_bigHatch = sc->getStaticANIObject1ById(ANI_BIGLUK, -1);