aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/surface_list.cpp
diff options
context:
space:
mode:
authorD G Turner2012-07-08 00:36:05 +0100
committerD G Turner2012-07-08 00:36:05 +0100
commit0e6ba29ede4d5d226e1d81ac5c3174dcab7a48f1 (patch)
treeec8b450ebe5274615e45b7245e25b3b8a4924e44 /engines/teenagent/surface_list.cpp
parent62c4c0922556a0ac95a60b760d2c49d3f186f85f (diff)
downloadscummvm-rg350-0e6ba29ede4d5d226e1d81ac5c3174dcab7a48f1.tar.gz
scummvm-rg350-0e6ba29ede4d5d226e1d81ac5c3174dcab7a48f1.tar.bz2
scummvm-rg350-0e6ba29ede4d5d226e1d81ac5c3174dcab7a48f1.zip
TEENAGENT: Migrate engine to using debugflags.
This required some restructuring of the header dependencies.
Diffstat (limited to 'engines/teenagent/surface_list.cpp')
-rw-r--r--engines/teenagent/surface_list.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/teenagent/surface_list.cpp b/engines/teenagent/surface_list.cpp
index 31387ac3cb..f1e021888b 100644
--- a/engines/teenagent/surface_list.cpp
+++ b/engines/teenagent/surface_list.cpp
@@ -19,9 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "teenagent/surface.h"
#include "teenagent/surface_list.h"
-#include "objects.h"
+#include "teenagent/surface.h"
+#include "teenagent/objects.h"
+#include "teenagent/teenagent.h"
namespace TeenAgent {
@@ -39,7 +40,7 @@ void SurfaceList::load(Common::SeekableReadStream &stream, Type type, int sub_ha
return;
surfaces_n = fn - sub_hack;
- debug(0, "loading %u surfaces from list (skip %d)", surfaces_n, sub_hack);
+ debugC(0, kDebugSurface, "loading %u surfaces from list (skip %d)", surfaces_n, sub_hack);
if (surfaces_n == 0)
return;