mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-05 00:36:57 +00:00
SCI: cleanup
svn-id: r38335
This commit is contained in:
parent
ffa7f53377
commit
ddaa25cf29
@ -25,7 +25,6 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "sci/include/aatree.h"
|
||||
|
||||
#include "sci/include/sci_memory.h"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "sci/include/sci_memory.h"
|
||||
|
||||
struct _exe_handle {
|
||||
|
@ -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)
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -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);
|
||||
|
@ -34,6 +34,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
#include "sci/include/sci_memory.h"
|
||||
#include "common/util.h"
|
||||
|
||||
/*#define POISON_MEMORY*/
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
|
||||
#include "sci/include/sciresource.h"
|
||||
#include "sci/include/engine.h"
|
||||
#include "common/util.h"
|
||||
|
||||
/* #define SCRIPT_DEBUG */
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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 ? \
|
||||
|
@ -3,7 +3,6 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
#include "sci/include/engine.h"
|
||||
#include "sci/include/sciresource.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user