Patch by Thomas Rast: Include string.h against warnings

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@821 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2006-11-06 14:40:07 +00:00
parent b5c7fc5bd3
commit fb74a1f8dc
92 changed files with 125 additions and 4 deletions

View File

@ -3,6 +3,8 @@
#include "configfile.h" #include "configfile.h"
#include <physfs.h> #include <physfs.h>
#include <stdio.h>
#include <string.h>
#define REGISTRY_HASH_SIZE 32 #define REGISTRY_HASH_SIZE 32
#define MAXLINESIZE 255 #define MAXLINESIZE 255

View File

@ -5,11 +5,13 @@
* *
*/ */
#include <string.h>
#include <stdio.h>
#ifdef WIN32 #ifdef WIN32
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#define WIN32_EXTRA_LEAN #define WIN32_EXTRA_LEAN
#include <windows.h> #include <windows.h>
#include <stdio.h>
#endif #endif
#include "frame.h" #include "frame.h"

View File

@ -13,6 +13,7 @@
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include <string.h>
#include <SDL/SDL.h> #include <SDL/SDL.h>
#include <physfs.h> #include <physfs.h>

View File

@ -6,6 +6,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <SDL/SDL.h> #include <SDL/SDL.h>
/* Allow frame header files to be singly included */ /* Allow frame header files to be singly included */

View File

@ -2,6 +2,7 @@
#include <limits.h> #include <limits.h>
#include <memory.h> #include <memory.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -1,5 +1,7 @@
#include <png.h> #include <png.h>
#include <setjmp.h> #include <setjmp.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "ivisdef.h" #include "ivisdef.h"
#include "bug.h" #include "bug.h"

View File

@ -15,6 +15,7 @@
*/ */
#include <physfs.h> #include <physfs.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "netplay.h" #include "netplay.h"

View File

@ -7,6 +7,7 @@
#include <time.h> #include <time.h>
#include <stdio.h> #include <stdio.h>
#include <physfs.h> #include <physfs.h>
#include <string.h>
// //////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////////
// Logging for degug only // Logging for degug only

View File

@ -11,6 +11,7 @@
#include <SDL/SDL_thread.h> #include <SDL/SDL_thread.h>
#include <SDL/SDL_net.h> #include <SDL/SDL_net.h>
#include <physfs.h> #include <physfs.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "netplay.h" #include "netplay.h"

View File

@ -5,6 +5,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
// event tracing printf's // event tracing printf's
#define DEBUG_GROUP0 #define DEBUG_GROUP0

View File

@ -4,6 +4,7 @@
* Save the state of the event system. * Save the state of the event system.
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -5,6 +5,8 @@
*/ */
#include <stdarg.h> #include <stdarg.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "interp.h" #include "interp.h"

View File

@ -1,6 +1,7 @@
//* //*
// //
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"
#include "lib/gamelib/gtime.h" #include "lib/gamelib/gtime.h"

View File

@ -1,3 +1,4 @@
#include <string.h>
#include <physfs.h> #include <physfs.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -23,6 +23,7 @@
#endif #endif
#include <physfs.h> #include <physfs.h>
#include <string.h>
#include "tracklib.h" #include "tracklib.h"
#include "audio.h" #include "audio.h"

View File

@ -1,5 +1,6 @@
#include <stdio.h> #include <stdio.h>
#include <physfs.h> #include <physfs.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -1,5 +1,6 @@
//* //*
// //
#include <string.h>
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
#endif #endif

View File

@ -4,6 +4,8 @@
* Functions for the edit box widget. * Functions for the edit box widget.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "widget.h" #include "widget.h"
#include "widgint.h" #include "widgint.h"

View File

@ -3,6 +3,7 @@
* *
* Functionality for the form widget. * Functionality for the form widget.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "widget.h" #include "widget.h"

View File

@ -4,6 +4,7 @@
* The main interface functions to the widget library * The main interface functions to the widget library
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameint.h" #include "lib/framework/frameint.h"

View File

@ -4,6 +4,7 @@
* Functions for setting the action of a droid * Functions for setting the action of a droid
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/trig.h" #include "lib/framework/trig.h"

View File

@ -1,5 +1,7 @@
//aiexperience.c //aiexperience.c
#include <physfs.h> #include <physfs.h>
#include <string.h>
#include "objmem.h" #include "objmem.h"
#include "objectdef.h" #include "objectdef.h"
#include "map.h" #include "map.h"

View File

@ -12,6 +12,7 @@
// summary info printf's // summary info printf's
//#define DEBUG_GROUP2 //#define DEBUG_GROUP2
#include <assert.h> #include <assert.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -4,6 +4,8 @@
* Parse command line arguments * Parse command line arguments
* *
*/ */
#include <string.h>
#ifndef _MSC_VER #ifndef _MSC_VER
#include <unistd.h> #include <unistd.h>
#endif // not for .net I should say.. --Qamly #endif // not for .net I should say.. --Qamly

View File

@ -4,6 +4,7 @@
* Form droids and structures into clusters * Form droids and structures into clusters
* *
*/ */
#include <string.h>
// cluster empty printf's // cluster empty printf's
//#define DEBUG_GROUP0 //#define DEBUG_GROUP0

View File

@ -4,6 +4,7 @@
* Code for command droids * Code for command droids
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "objects.h" #include "objects.h"

View File

@ -4,6 +4,7 @@
Alex M, Pumpkin Studios, EIDOS Interactive, 1997. Alex M, Pumpkin Studios, EIDOS Interactive, 1997.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "base.h" #include "base.h"

View File

@ -2,6 +2,7 @@
*Config.c saves your favourite options to the Registry. *Config.c saves your favourite options to the Registry.
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -1,3 +1,5 @@
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/input.h" #include "lib/framework/input.h"
#include "lib/gamelib/gtime.h" #include "lib/gamelib/gtime.h"

View File

@ -4,6 +4,8 @@
* Data loading functions used by the framework resource module * Data loading functions used by the framework resource module
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
//render library //render library

View File

@ -4,6 +4,7 @@
* Functions for design screen. * Functions for design screen.
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -6,6 +6,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
/* Droid damage printf's */ /* Droid damage printf's */
//#define DEBUG_GROUP1 //#define DEBUG_GROUP1

View File

@ -6,6 +6,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
/* Grab box printf's */ /* Grab box printf's */
//#define DEBUG_GROUP2 //#define DEBUG_GROUP2

View File

@ -19,6 +19,8 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"
#include "lib/framework/input.h" #include "lib/framework/input.h"

View File

@ -6,6 +6,7 @@
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -5,6 +5,7 @@
* *
*/ */
#include <string.h>
//#define DEBUG_GROUP0 //#define DEBUG_GROUP0
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -11,6 +11,7 @@
} = Square } = Square
~ = Triangle ~ = Triangle
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -5,6 +5,7 @@
* *
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -4,6 +4,7 @@
/* Standard library headers */ /* Standard library headers */
#include <physfs.h> #include <physfs.h>
#include <string.h>
/* Warzone src and library headers */ /* Warzone src and library headers */
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -5,12 +5,13 @@
* *
*/ */
#ifdef EDITORWORLD
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <malloc.h> #include <malloc.h>
#include <math.h> #include <math.h>
#include <string.h>
#ifdef EDITORWORLD
#include "typedefs.h" #include "typedefs.h"

View File

@ -17,6 +17,7 @@
#ifdef EDITORWORLD #ifdef EDITORWORLD
#include <malloc.h> #include <malloc.h>
#include <string.h>
#define MALLOC(a) malloc(a) #define MALLOC(a) malloc(a)
#define FREE(a) free(a); a = NULL; #define FREE(a) free(a); a = NULL;
@ -37,6 +38,7 @@
#endif #endif
#include <assert.h> #include <assert.h>
#include <string.h>
#include "gateway.h" #include "gateway.h"
// Structures and defines for SeedFill(). // Structures and defines for SeedFill().

View File

@ -4,6 +4,7 @@
* Link droids together into a group for AI etc. * Link droids together into a group for AI etc.
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "objects.h" #include "objects.h"

View File

@ -8,6 +8,7 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -4,6 +4,8 @@
* Pumpkin Studios. 98 * Pumpkin Studios. 98
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/widget/widget.h" #include "lib/widget/widget.h"

View File

@ -6,6 +6,7 @@
*/ */
#include <physfs.h> #include <physfs.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -4,6 +4,8 @@
* Functions for the display of the Intelligence Map * Functions for the display of the Intelligence Map
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/widget/widget.h" #include "lib/widget/widget.h"

View File

@ -1,3 +1,5 @@
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/widget/widget.h" #include "lib/widget/widget.h"

View File

@ -1,3 +1,5 @@
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "objects.h" #include "objects.h"

View File

@ -6,6 +6,7 @@
// //////////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////////////
// includes // includes
#include <string.h>
#include <SDL/SDL.h> #include <SDL/SDL.h>
#include <physfs.h> #include <physfs.h>

View File

@ -1,3 +1,5 @@
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/input.h" #include "lib/framework/input.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -6,6 +6,7 @@
*/ */
#include <ctype.h> #include <ctype.h>
#include <string.h>
// levLoadData printf's // levLoadData printf's
#define DEBUG_GROUP0 #define DEBUG_GROUP0

View File

@ -6,6 +6,7 @@
* return a filename to use for the ops. * return a filename to use for the ops.
*/ */
#include <string.h>
#include <physfs.h> #include <physfs.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -6,6 +6,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
/* loop position printf's */ /* loop position printf's */
//#define DEBUG_GROUP1 //#define DEBUG_GROUP1

View File

@ -10,6 +10,7 @@
# include <shlobj.h> # include <shlobj.h>
#endif // WIN32 #endif // WIN32
#include <string.h>
#include <SDL/SDL_main.h> #include <SDL/SDL_main.h>
#include <physfs.h> #include <physfs.h>

View File

@ -5,6 +5,7 @@
* *
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
/* map line printf's */ /* map line printf's */
//#define DEBUG_GROUP1 //#define DEBUG_GROUP1

View File

@ -11,6 +11,7 @@
/* ----------------------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------------------- */
/* Included files */ /* Included files */
#include <stdio.h> #include <stdio.h>
#include <string.h>
/* Includes direct access to render library */ /* Includes direct access to render library */
#include "lib/ivis_common/ivisdef.h" #include "lib/ivis_common/ivisdef.h"

View File

@ -6,6 +6,7 @@
* have some influence. * have some influence.
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "objects.h" #include "objects.h"

View File

@ -4,6 +4,7 @@
* Functions for the messages shown in the Intelligence Map * Functions for the messages shown in the Intelligence Map
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -1,5 +1,6 @@
#include <assert.h> #include <assert.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"
#include "effects.h" #include "effects.h"

View File

@ -4,6 +4,7 @@
* all the stuff relevant to a mission * all the stuff relevant to a mission
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -20,6 +20,8 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/trig.h" #include "lib/framework/trig.h"

View File

@ -4,6 +4,8 @@
* Alex Lee , 97/98 Pumpkin Studios, Bath * Alex Lee , 97/98 Pumpkin Studios, Bath
* Multiplay stuff relevant to droids only. * Multiplay stuff relevant to droids only.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "droid.h" // for droid sending and ordering. #include "droid.h" // for droid sending and ordering.

View File

@ -4,6 +4,8 @@
* Also home to Deathmatch hardcoded RULES. * Also home to Deathmatch hardcoded RULES.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/widget/widget.h" #include "lib/widget/widget.h"

View File

@ -7,6 +7,7 @@
*/ */
#include <stdio.h> // get rid of a couple of warnings. #include <stdio.h> // get rid of a couple of warnings.
#include <string.h>
#ifdef WIN32 #ifdef WIN32
#include <windows.h> #include <windows.h>
#endif #endif

View File

@ -7,6 +7,7 @@
*/ */
#include <stdio.h> // for sprintf #include <stdio.h> // for sprintf
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -3,6 +3,7 @@
* *
* interface for setting limits to the game, bots, structlimits etc... * interface for setting limits to the game, bots, structlimits etc...
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -3,6 +3,8 @@
* Handles the In Game MultiPlayer Screen, alliances etc... * Handles the In Game MultiPlayer Screen, alliances etc...
* Also the selection of disk files.. * Also the selection of disk files..
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/widget/widget.h" #include "lib/widget/widget.h"

View File

@ -5,6 +5,7 @@
* *
* Routines for setting the game options and starting the init process. * Routines for setting the game options and starting the init process.
*/ */
#include <string.h>
#include "lib/framework/frame.h" // for everything #include "lib/framework/frame.h" // for everything
#include "map.h" #include "map.h"

View File

@ -5,6 +5,7 @@
* *
* Contains the day to day networking stuff, and received message handler. * Contains the day to day networking stuff, and received message handler.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/input.h" #include "lib/framework/input.h"

View File

@ -8,6 +8,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <physfs.h> #include <physfs.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -6,6 +6,8 @@
* files to cope with multiplayer structure related stuff.. * files to cope with multiplayer structure related stuff..
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "droid.h" #include "droid.h"
#include "droiddef.h" #include "droiddef.h"

View File

@ -10,6 +10,8 @@
* Alex Lee, pumpkin Studios, bath. * Alex Lee, pumpkin Studios, bath.
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/input.h" #include "lib/framework/input.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -4,6 +4,7 @@
* Object memory management functions. * Object memory management functions.
* *
*/ */
#include <string.h>
//#define DEBUG_GROUP1 //#define DEBUG_GROUP1
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -4,6 +4,7 @@
* Functions for setting the orders of a droid or group of droids * Functions for setting the orders of a droid or group of droids
* *
*/ */
#include <string.h>
// moral check printf's // moral check printf's
//#define DEBUG_GROUP0 //#define DEBUG_GROUP0

View File

@ -5,6 +5,7 @@
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "objects.h" #include "objects.h"

View File

@ -4,6 +4,7 @@
* Store PlayerPower and other power related stuff! * Store PlayerPower and other power related stuff!
* *
*/ */
#include <string.h>
#include "objectdef.h" #include "objectdef.h"
#include "power.h" #include "power.h"
#include "hci.h" #include "hci.h"

View File

@ -5,6 +5,8 @@
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "powercrypt.h" #include "powercrypt.h"
#include "deliverance.h" #include "deliverance.h"

View File

@ -6,6 +6,7 @@
* *
*/ */
/***************************************************************************/ /***************************************************************************/
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/trig.h" #include "lib/framework/trig.h"

View File

@ -1,3 +1,5 @@
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/ivis_common/piedef.h" #include "lib/ivis_common/piedef.h"
#include "lib/ivis_common/rendmode.h" #include "lib/ivis_common/rendmode.h"

View File

@ -4,6 +4,8 @@
* Research tree and functions! * Research tree and functions!
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -4,6 +4,8 @@
Alex W. McLean Alex W. McLean
*/ */
#include <string.h>
// -------------------------------------------------------------------- // --------------------------------------------------------------------
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -5,6 +5,7 @@
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "objects.h" #include "objects.h"

View File

@ -6,6 +6,7 @@
*/ */
#include <time.h> #include <time.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -4,6 +4,7 @@
* Object access functions for the script library * Object access functions for the script library
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -5,6 +5,7 @@
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -7,6 +7,7 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -4,7 +4,8 @@
* Functions for the display of the Escape Sequences * Functions for the display of the Escape Sequences
* *
*/ */
#include "SDL/SDL_timer.h" #include <string.h>
#include <SDL/SDL_timer.h>
#include <physfs.h> #include <physfs.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"

View File

@ -4,6 +4,8 @@
* Store common stats for weapons, components, brains, etc. * Store common stats for weapons, components, brains, etc.
* *
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/framework/frameresource.h" #include "lib/framework/frameresource.h"

View File

@ -5,6 +5,7 @@
* WARNING!!!!!! * WARNING!!!!!!
* Something wicked this way comes. This file is almost as evil as HCI.c * Something wicked this way comes. This file is almost as evil as HCI.c
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"

View File

@ -1,4 +1,5 @@
/* Texture stuff. Alex McLean, Pumpkin Studios, EIDOS Interactive, 1997 */ /* Texture stuff. Alex McLean, Pumpkin Studios, EIDOS Interactive, 1997 */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/ivis_common/pietypes.h" #include "lib/ivis_common/pietypes.h"

View File

@ -3,6 +3,8 @@
* *
* code to deal with loading/unloading, interface and flight * code to deal with loading/unloading, interface and flight
*/ */
#include <string.h>
#include "lib/framework/frame.h" #include "lib/framework/frame.h"
#include "lib/framework/strres.h" #include "lib/framework/strres.h"
#include "lib/widget/widget.h" #include "lib/widget/widget.h"

View File

@ -2,6 +2,8 @@
#include <math.h> #include <math.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include "objects.h" #include "objects.h"
#include "map.h" #include "map.h"
#include "loop.h" #include "loop.h"