From 4a6d6e8988da69ea992c7305f91906a8cae363d8 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 22 Feb 2009 20:48:42 +0000 Subject: SCI: Moved the code which iterates over the current dir into a small class svn-id: r38793 --- engines/sci/include/engine.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/sci/include') diff --git a/engines/sci/include/engine.h b/engines/sci/include/engine.h index 8265088b89..ec1f49b07e 100644 --- a/engines/sci/include/engine.h +++ b/engines/sci/include/engine.h @@ -48,6 +48,8 @@ namespace Sci { struct menubar_t; +class DirSeeker; + #define FREESCI_CURRENT_SAVEGAME_VERSION 8 #define FREESCI_MINIMUM_SAVEGAME_VERSION 8 @@ -172,8 +174,7 @@ struct EngineState { int file_handles_nr; /* maximum numer of allowed file handles */ FILE **file_handles; /* Array of file handles. Dynamically increased if required. */ - reg_t dirseeker_outbuffer; - sci_dir_t dirseeker; + DirSeeker *dirseeker; /* VM Information */ -- cgit v1.2.3