diff options
author | Max Horn | 2009-02-15 08:11:58 +0000 |
---|---|---|
committer | Max Horn | 2009-02-15 08:11:58 +0000 |
commit | 75f4c44fd0644e10ceb556b2fbeaa7737d521a85 (patch) | |
tree | f7f4da025114c4fd6e03a20ee39e163e8310e566 /engines/sci/include | |
parent | 79f7b51c1630b77d95bcf6e46f06cfd85f8e5b3d (diff) | |
download | scummvm-rg350-75f4c44fd0644e10ceb556b2fbeaa7737d521a85.tar.gz scummvm-rg350-75f4c44fd0644e10ceb556b2fbeaa7737d521a85.tar.bz2 scummvm-rg350-75f4c44fd0644e10ceb556b2fbeaa7737d521a85.zip |
Removing various unused files (backups remain in vendor/sci/, of course)
svn-id: r38197
Diffstat (limited to 'engines/sci/include')
-rw-r--r-- | engines/sci/include/Makefile.am | 19 | ||||
-rw-r--r-- | engines/sci/include/beos/Makefile.am | 1 | ||||
-rw-r--r-- | engines/sci/include/beos/collsyms.h | 129 | ||||
-rw-r--r-- | engines/sci/include/beos/fnmatch.h | 49 | ||||
-rw-r--r-- | engines/sci/include/win32/Makefile.am | 1 | ||||
-rw-r--r-- | engines/sci/include/win32/getopt.h | 127 | ||||
-rw-r--r-- | engines/sci/include/win32/sci_win32.h | 37 | ||||
-rw-r--r-- | engines/sci/include/win32/usleep.h | 2 |
8 files changed, 0 insertions, 365 deletions
diff --git a/engines/sci/include/Makefile.am b/engines/sci/include/Makefile.am deleted file mode 100644 index 316690244c..0000000000 --- a/engines/sci/include/Makefile.am +++ /dev/null @@ -1,19 +0,0 @@ -SUBDIRS = win32 beos -EXTRA_DIST = old_objects.h kernel.h event.h \ - kdebug.h sci_conf.h resource.h script.h \ - vocabulary.h uinput.h console.h script.h vm.h \ - engine.h util.h menubar.h versions.h sci_dos.h \ - gfx_driver.h gfx_operations.h gfx_options.h \ - gfx_resmgr.h gfx_resource.h gfx_widgets.h \ - gfx_state_internal.h gfx_system.h gfx_tools.h \ - sci_widgets.h scitypes.h sbtree.h \ - sciresource.h modules.h sci_memory.h \ - hashmap.h int_hashmap.h sys_strings.h heapmgr.h \ - sfx_iterator.h sfx_songlib.h \ - sfx_engine.h vm_types.h seg_manager.h \ - sfx_timer.h sfx_player.h gfx_res_options.h \ - sfx_time.h sci_midi.h \ - sfx_core.h sfx_pcm.h listener.h \ - sfx_iterator_internal.h game_select.h \ - reg_t_hashmap.h list.h aatree.h - diff --git a/engines/sci/include/beos/Makefile.am b/engines/sci/include/beos/Makefile.am deleted file mode 100644 index d449e08e0a..0000000000 --- a/engines/sci/include/beos/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = collsyms.h fnmatch.h
\ No newline at end of file diff --git a/engines/sci/include/beos/collsyms.h b/engines/sci/include/beos/collsyms.h deleted file mode 100644 index 7ef0906879..0000000000 --- a/engines/sci/include/beos/collsyms.h +++ /dev/null @@ -1,129 +0,0 @@ -/* collsyms.h -- collating symbol names and their corresponding characters - (in ascii) as given by POSIX.2 in table 2.8. */ - -/* Copyright (C) 1997 Free Software Foundation, Inc. - - This file is part of GNU Bash, the Bourne Again SHell. - - Bash is free software; you can redistribute it and/or modify it under - the terms of the GNU General Public License as published by the Free - Software Foundation; either version 2, or (at your option) any later - version. - - Bash is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License - for more details. - - You should have received a copy of the GNU General Public License along - with Bash; see the file COPYING. If not, write to the Free Software - Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ - -#ifndef _COLLSYMS_H_ -# define _COLLSYSMS_H_ - -/* The upper-case letters, lower-case letters, and digits are omitted from - this table. The digits are not included in the table in the POSIX.2 - spec. The upper and lower case letters are translated by the code - in fnmatch.c:collsym(). */ - -typedef struct _collsym { - char *name; - char code; -} COLLSYM; - -static COLLSYM posix_collsyms[] = -{ - "NUL", '\0', - "SOH", '\001', - "STX", '\002', - "ETX", '\003', - "EOT", '\004', - "ENQ", '\005', - "ACK", '\006', -#ifdef __STDC__ - "alert", '\a', -#else - "alert", '\007', -#endif - "backspace", '\b', - "tab", '\t', - "newline", '\n', - "vertical-tab", '\v', - "form-feed", '\f', - "carriage-return", '\r', - "SO", '\016', - "SI", '\017', - "DLE", '\020', - "DC1", '\021', - "DC2", '\022', - "DC3", '\023', - "DC4", '\024', - "NAK", '\025', - "SYN", '\026', - "ETB", '\027', - "CAN", '\030', - "EM", '\031', - "SUB", '\032', - "ESC", '\033', - "IS4", '\034', - "IS3", '\035', - "IS2", '\036', - "IS1", '\037', - "space", ' ', - "exclamation-mark", '!', - "quotation-mark", '"', - "number-sign", '#', - "dollar-sign", '$', - "percent-sign", '%', - "ampersand", '&', - "apostrophe", '\'', - "left-parenthesis", '(', - "right-parenthesis", ')', - "asterisk", '*', - "plus-sign", '+', - "comma", ',', - "hyphen", '-', - "minus", '-', /* extension from POSIX.2 */ - "dash", '-', /* extension from POSIX.2 */ - "period", '.', - "slash", '/', - "solidus", '/', /* extension from POSIX.2 */ - "zero", '0', - "one", '1', - "two", '2', - "three", '3', - "four", '4', - "five", '5', - "six", '6', - "seven", '7', - "eight", '8', - "nine", '9', - "colon", ':', - "semicolon", ';', - "less-than-sign", '<', - "equals-sign", '=', - "greater-than-sign", '>', - "question-mark", '?', - "commercial-at", '@', - /* upper-case letters omitted */ - "left-square-bracket",'[', - "backslash", '\\', - "reverse-solidus", '\\', - "right-square-bracket", ']', - "circumflex", '^', - "circumflex-accent", '^', /* extension from POSIX.2 */ - "underscore", '_', - "grave-accent", '`', - /* lower-case letters omitted */ - "left-brace", '{', /* extension from POSIX.2 */ - "left-curly-bracket", '{', - "vertical-line", '|', - "right-brace", '}', /* extension from POSIX.2 */ - "right-curly-bracket", '}', - "tilde", '~', - "DEL", '\177', - 0, 0, -}; - -#endif diff --git a/engines/sci/include/beos/fnmatch.h b/engines/sci/include/beos/fnmatch.h deleted file mode 100644 index 7aa1164236..0000000000 --- a/engines/sci/include/beos/fnmatch.h +++ /dev/null @@ -1,49 +0,0 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. -This file is part of the GNU C Library. - -The GNU C Library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -The GNU C Library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., -59 Temple Place, Suite 330, Boston, MA 02111 USA. */ - -#ifndef _FNMATCH_H -#define _FNMATCH_H 1 - -/* #include "stdc.h" */ - -/* We #undef these before defining them because some losing systems - (HP-UX A.08.07 for example) define these in <unistd.h>. */ -#undef FNM_PATHNAME -#undef FNM_NOESCAPE -#undef FNM_PERIOD - -/* Bits set in the FLAGS argument to `fnmatch'. */ -/* standard flags */ -#define FNM_PATHNAME (1 << 0) /* No wildcard can ever match `/'. */ -#define FNM_NOESCAPE (1 << 1) /* Backslashes don't quote special chars. */ -#define FNM_PERIOD (1 << 2) /* Leading `.' is matched only explicitly. */ - -/* extended flags */ -#define FNM_LEADING_DIR (1 << 3) /* Ignore `/...' after a match. */ -#define FNM_CASEFOLD (1 << 4) /* Compare without regard to case. */ -#define FNM_EXTMATCH (1 << 5) /* Use ksh-like extended matching. */ - -/* Value returned by `fnmatch' if STRING does not match PATTERN. */ -#define FNM_NOMATCH 1 - -/* Match STRING against the filename pattern PATTERN, - returning zero if it matches, FNM_NOMATCH if not. */ -/* extern int fnmatch __P((char *, char *, int)); */ -extern int fnmatch (char *, char *, int); - -#endif /* _FNMATCH_H */ diff --git a/engines/sci/include/win32/Makefile.am b/engines/sci/include/win32/Makefile.am deleted file mode 100644 index 89551871e5..0000000000 --- a/engines/sci/include/win32/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -EXTRA_DIST = getopt.h sci_win32.h usleep.h diff --git a/engines/sci/include/win32/getopt.h b/engines/sci/include/win32/getopt.h deleted file mode 100644 index 0abce6e921..0000000000 --- a/engines/sci/include/win32/getopt.h +++ /dev/null @@ -1,127 +0,0 @@ -/* Declarations for getopt. - Copyright (C) 1989, 1990, 1991, 1992, 1993 Free Software Foundation, Inc. - - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the - Free Software Foundation; either version 2, or (at your option) any - later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ - -#ifndef _GETOPT_H -#define _GETOPT_H 1 - -#ifdef __cplusplus -extern "C" { -#endif - -/* For communication from `getopt' to the caller. - When `getopt' finds an option that takes an argument, - the argument value is returned here. - Also, when `ordering' is RETURN_IN_ORDER, - each non-option ARGV-element is returned here. */ - -extern char *optarg; - -/* Index in ARGV of the next element to be scanned. - This is used for communication to and from the caller - and for communication between successive calls to `getopt'. - - On entry to `getopt', zero means this is the first call; initialize. - - When `getopt' returns EOF, this is the index of the first of the - non-option elements that the caller should itself scan. - - Otherwise, `optind' communicates from one call to the next - how much of ARGV has been scanned so far. */ - -extern int optind; - -/* Callers store zero here to inhibit the error message `getopt' prints - for unrecognized options. */ - -extern int opterr; - -/* Set to an option character which was unrecognized. */ - -extern int optopt; - -/* Describe the long-named options requested by the application. - The LONG_OPTIONS argument to getopt_long or getopt_long_only is a vector - of `struct option' terminated by an element containing a name which is - zero. - - The field `has_arg' is: - no_argument (or 0) if the option does not take an argument, - required_argument (or 1) if the option requires an argument, - optional_argument (or 2) if the option takes an optional argument. - - If the field `flag' is not NULL, it points to a variable that is set - to the value given in the field `val' when the option is found, but - left unchanged if the option is not found. - - To have a long-named option do something other than set an `int' to - a compiled-in constant, such as set a value from `optarg', set the - option's `flag' field to zero and its `val' field to a nonzero - value (the equivalent single-letter option character, if there is - one). For long options that have a zero `flag' field, `getopt' - returns the contents of the `val' field. */ - -struct option -{ -#if __STDC__ - const char *name; -#else - char *name; -#endif - /* has_arg can't be an enum because some compilers complain about - type mismatches in all the code that assumes it is an int. */ - int has_arg; - int *flag; - int val; -}; - -/* Names for the values of the `has_arg' field of `struct option'. */ - -#define no_argument 0 -#define required_argument 1 -#define optional_argument 2 - -#if __STDC__ || defined(PROTO) -#if defined(__GNU_LIBRARY__) -/* Many other libraries have conflicting prototypes for getopt, with - differences in the consts, in stdlib.h. To avoid compilation - errors, only prototype getopt for the GNU C library. */ -extern int getopt (int argc, char *const *argv, const char *shortopts); -#endif /* not __GNU_LIBRARY__ */ -extern int getopt_long (int argc, char *const *argv, const char *shortopts, - const struct option *longopts, int *longind); -extern int getopt_long_only (int argc, char *const *argv, - const char *shortopts, - const struct option *longopts, int *longind); - -/* Internal only. Users should not call this directly. */ -extern int _getopt_internal (int argc, char *const *argv, - const char *shortopts, - const struct option *longopts, int *longind, - int long_only); -#else /* not __STDC__ */ -extern int getopt (); -extern int getopt_long (); -extern int getopt_long_only (); - -extern int _getopt_internal (); -#endif /* not __STDC__ */ - -#ifdef __cplusplus -} -#endif - -#endif /* _GETOPT_H */ diff --git a/engines/sci/include/win32/sci_win32.h b/engines/sci/include/win32/sci_win32.h deleted file mode 100644 index 5174fd101c..0000000000 --- a/engines/sci/include/win32/sci_win32.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifdef _MSC_VER -// inline keyword only supported in C++ -# undef inline /* just to be sure it is not defined */ -# define inline __inline -# define strcasecmp _stricmp -# define strncasecmp _strnicmp -# define snprintf _snprintf - -# if _MSC_VER < 1500 -# define vsnprintf _vsnprintf -# endif -#endif - -#ifdef _WIN32 - -# ifdef sleep -# undef sleep -# endif - -# define sleep(x) \ - do { \ - if (x == 0) { \ - Sleep(0); \ - } else { \ - if (timeBeginPeriod(1) != TIMERR_NOERROR) \ - fprintf(stderr, "timeBeginPeriod(1) failed\n"); \ - Sleep(x); \ - if (timeEndPeriod(1) != TIMERR_NOERROR) \ - fprintf(stderr, "timeEndPeriod(1) failed\n"); \ - } \ - } while (0); - -# define RECT_T_TO_RECT(rect_t) \ - { (rect_t).x, (rect_t).y, (rect_t).x + (rect_t).xl, (rect_t).y + (rect_t).yl } - -#endif - diff --git a/engines/sci/include/win32/usleep.h b/engines/sci/include/win32/usleep.h deleted file mode 100644 index dd85d3cd87..0000000000 --- a/engines/sci/include/win32/usleep.h +++ /dev/null @@ -1,2 +0,0 @@ -void -usleep (long usec); |