From fe2d8549f09a0efa458dfffeb8139a6713ba78f5 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 26 Oct 2000 14:56:27 +0000 Subject: [PATCH] --- source/system/except.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/source/system/except.cpp b/source/system/except.cpp index 45d3e1954..6b2e34e0d 100644 --- a/source/system/except.cpp +++ b/source/system/except.cpp @@ -37,6 +37,10 @@ #include "system\lnkopt.h" #endif +#ifndef __SYSTEM_GSTATE_H__ +#include "system\gstate.h" +#endif + /* Std Lib ------- */ @@ -466,6 +470,7 @@ static void displayDump() static void displayValues() { char textBuf[256]; + CScene *scene; excFont->setColour(255,255,255); @@ -474,6 +479,14 @@ static void displayValues() print(textBuf); sprintf(textBuf," %dk ram size set in link options\n",(int)(OPT_LinkerOpts.RamSize/1024)); print(textBuf); + + print("Scene:\n"); + scene=GameState::getCurrentScene(); + sprintf(textBuf," Current scene: %s\n",scene->getSceneName()); + print(textBuf); + scene=GameState::getPendingScene(); + sprintf(textBuf," Pending scene: %s\n",scene?scene->getSceneName():"None"); + print(textBuf); }