From 641920ee4422525864d2bcf7a0caa60739a0be43 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 4 Sep 2016 20:03:50 +0200 Subject: FULLPIPE: Added debug inventory to scene05 --- engines/fullpipe/scenes/scene05.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines/fullpipe/scenes/scene05.cpp') 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); -- cgit v1.2.3