SCI: cleanup

svn-id: r38335
This commit is contained in:
Max Horn 2009-02-16 00:34:40 +00:00
parent ffa7f53377
commit ddaa25cf29
12 changed files with 4 additions and 24 deletions

View File

@ -25,7 +25,6 @@
***************************************************************************/
#include <stdlib.h>
#include "sci/include/aatree.h"
#include "sci/include/sci_memory.h"

View File

@ -27,7 +27,6 @@
/* Based on public domain code by Mitugu Kurizono. */
#include <stdio.h>
#include "sci/include/sci_memory.h"
#include "sci/scicore/exe_dec.h"

View File

@ -25,7 +25,6 @@
***************************************************************************/
#include <stdio.h>
#include "sci/include/sci_memory.h"
struct _exe_handle {

View File

@ -30,9 +30,6 @@
** HASH_MAX: Maximum hash value
** HASH(x): Hashes a value of type TYPE to an int from 0 to HASH_MAX
*/
#include <stdio.h>
#include <stdlib.h>
#ifdef MUST_FREE
# define CLEAR_NODE(n) free(n->name); n->name = NULL
# define FREE_PARAM(n) free(n)

View File

@ -34,12 +34,6 @@
#include "sci/include/sciresource.h"
#include "sci/include/vocabulary.h" /* For SCI version auto-detection */
#include <ctype.h>
#ifdef WIN32
#include <direct.h>
#endif
#undef SCI_REQUIRE_RESOURCE_FILES
/* #define SCI_VERBOSE_RESMGR 1 */

View File

@ -29,10 +29,6 @@
#include "sci/include/sciresource.h"
#include "sci/include/sci_memory.h"
#ifdef WIN32
#include <direct.h>
#endif
void
sci0_sprintf_patch_file_name(char *string, resource_t *res) {
sprintf(string, "%s.%03i", sci_resource_types[res->type], res->number);

View File

@ -34,6 +34,7 @@
***************************************************************************/
#include "sci/include/sci_memory.h"
#include "common/util.h"
/*#define POISON_MEMORY*/

View File

@ -29,6 +29,7 @@
#include "sci/include/sciresource.h"
#include "sci/include/engine.h"
#include "common/util.h"
/* #define SCRIPT_DEBUG */

View File

@ -25,16 +25,14 @@
***************************************************************************/
#include <stdlib.h>
#include "common/scummsys.h"
#include "common/str.h"
#ifdef UNIX
#define _GNU_SOURCE /* For FNM_CASEFOLD in fnmatch.h */
#include <fnmatch.h>
#endif
#include "common/scummsys.h"
#include "common/str.h"
#include "sci/include/engine.h"
#ifdef HAVE_SYS_TIME_H

View File

@ -22,7 +22,6 @@
#include "sci/include/versions.h"
#include "sci/include/engine.h"
#include "sci/include/resource.h"
#include <ctype.h>
#include "sci/scicore/games.h"
#include "sci/scicore/exe.h"

View File

@ -31,8 +31,6 @@
#include "sci/include/engine.h"
#include "sci/include/kernel.h"
#include <ctype.h>
int vocab_version;
#define VOCAB_RESOURCE_PARSE_TREE_BRANCHES vocab_version==1 ? \

View File

@ -3,7 +3,6 @@
*/
#include <string.h>
#include "sci/include/engine.h"
#include "sci/include/sciresource.h"