aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include
diff options
context:
space:
mode:
authorMax Horn2009-02-22 20:48:42 +0000
committerMax Horn2009-02-22 20:48:42 +0000
commit4a6d6e8988da69ea992c7305f91906a8cae363d8 (patch)
tree2374a5a54da4c5ddb8b2329269b2ede341c51d45 /engines/sci/include
parentfa16c9d3868f488d544f5b888006f85474984c6d (diff)
downloadscummvm-rg350-4a6d6e8988da69ea992c7305f91906a8cae363d8.tar.gz
scummvm-rg350-4a6d6e8988da69ea992c7305f91906a8cae363d8.tar.bz2
scummvm-rg350-4a6d6e8988da69ea992c7305f91906a8cae363d8.zip
SCI: Moved the code which iterates over the current dir into a small class
svn-id: r38793
Diffstat (limited to 'engines/sci/include')
-rw-r--r--engines/sci/include/engine.h5
1 files changed, 3 insertions, 2 deletions
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 */