From f00f020d0821bed6dcf041cc65980134487ae67b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 Feb 2009 19:04:27 +0000 Subject: SCI: Moved sci_dir_t and GTimeVal to tools.h svn-id: r38728 --- engines/sci/include/sci_memory.h | 5 ----- engines/sci/include/scitypes.h | 23 ----------------------- engines/sci/include/sfx_songlib.h | 1 + 3 files changed, 1 insertion(+), 28 deletions(-) (limited to 'engines/sci/include') diff --git a/engines/sci/include/sci_memory.h b/engines/sci/include/sci_memory.h index c39b6c86fe..85a23a1fc6 100644 --- a/engines/sci/include/sci_memory.h +++ b/engines/sci/include/sci_memory.h @@ -46,11 +46,6 @@ #include "common/scummsys.h" #include "sci/tools.h" -// FIXME: Get rid of the following #include -#ifdef _MSC_VER -# include // for chdir, rmdir, _gecwd, getcwd, mkdir -#endif - namespace Sci { /********** the memory allocation macros **********/ diff --git a/engines/sci/include/scitypes.h b/engines/sci/include/scitypes.h index cc3728be38..f7bd150d02 100644 --- a/engines/sci/include/scitypes.h +++ b/engines/sci/include/scitypes.h @@ -28,14 +28,6 @@ #include "common/scummsys.h" -// TODO: rework sci_dir_t to use common/fs.h and remove these includes -#include -#ifndef _MSC_VER -#include -#else -#include -#endif - namespace Sci { typedef int8 gint8; @@ -53,21 +45,6 @@ typedef gint8 sbyte; typedef guint8 byte; typedef guint16 word; -typedef struct { - long tv_sec; - long tv_usec; -} GTimeVal; - -typedef struct { -#ifdef WIN32 - long search; - struct _finddata_t fileinfo; -#else - DIR *dir; - char *mask_copy; -#endif -} sci_dir_t; /* used by sci_find_first and friends */ - } // End of namespace Sci #endif /* !SCI_TYPES */ diff --git a/engines/sci/include/sfx_songlib.h b/engines/sci/include/sfx_songlib.h index c5cf4ac76a..44523b27d2 100644 --- a/engines/sci/include/sfx_songlib.h +++ b/engines/sci/include/sfx_songlib.h @@ -30,6 +30,7 @@ #include "common/scummsys.h" +#include "sci/tools.h" // For GTimeVal #include "sci/include/scitypes.h" #include "sci/include/sfx_iterator.h" -- cgit v1.2.3