Renamed debug.c and debug.h to uqmdebug.c and uqmdebug.h to help
the crippled MS dev studio cope. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1383 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -3265,16 +3265,14 @@ SOURCE=..\sc2code\credits.h
|
|||||||
|
|
||||||
SOURCE=..\sc2code\cyborg.c
|
SOURCE=..\sc2code\cyborg.c
|
||||||
# End Source File
|
# End Source File
|
||||||
!IF "$(CFG)" == "UrQuanMasters - Win32 Debug"
|
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\debug.c
|
SOURCE=..\sc2code\uqmdebug.c
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Source File
|
# End Source File
|
||||||
!ENDIF
|
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\debug.h
|
SOURCE=..\sc2code\uqmdebug.h
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\sc2code\demo.c
|
SOURCE=..\sc2code\demo.c
|
||||||
|
|||||||
@@ -11,6 +11,6 @@ uqm_CFILES="battle.c border.c build.c cleanup.c clock.c collide.c comm.c
|
|||||||
trans.c util.c velocity.c weapon.c"
|
trans.c util.c velocity.c weapon.c"
|
||||||
|
|
||||||
if [ "$DEBUG" = 1 ]; then
|
if [ "$DEBUG" = 1 ]; then
|
||||||
uqm_CFILES="$uqm_CFILES debug.c"
|
uqm_CFILES="$uqm_CFILES uqmdebug.c"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#include "bbox.h"
|
#include "bbox.h"
|
||||||
#include "port.h"
|
#include "port.h"
|
||||||
#include "libs/uio.h"
|
#include "libs/uio.h"
|
||||||
#include "debug.h"
|
#include "uqmdebug.h"
|
||||||
|
|
||||||
SDL_Surface *SDL_Video;
|
SDL_Surface *SDL_Video;
|
||||||
SDL_Surface *SDL_Screen;
|
SDL_Surface *SDL_Screen;
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include "controls.h"
|
#include "controls.h"
|
||||||
#include "libs/inplib.h"
|
#include "libs/inplib.h"
|
||||||
#include "debug.h"
|
#include "uqmdebug.h"
|
||||||
|
|
||||||
//Added by Chris
|
//Added by Chris
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
#include "starcon.h"
|
#include "starcon.h"
|
||||||
#include "libs/graphics/gfx_common.h"
|
#include "libs/graphics/gfx_common.h"
|
||||||
#include "controls.h"
|
#include "controls.h"
|
||||||
#include "debug.h"
|
#include "uqmdebug.h"
|
||||||
|
|
||||||
//#define DEBUG_SOLARSYS
|
//#define DEBUG_SOLARSYS
|
||||||
|
|
||||||
|
|||||||
@@ -14,10 +14,15 @@
|
|||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
/* This file is not even looked at in the unix debug build,
|
||||||
|
* but MSVC will compile and link it.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "starcon.h"
|
#include "starcon.h"
|
||||||
#include "debug.h"
|
#include "uqmdebug.h"
|
||||||
|
|
||||||
static void dumpEventCallback (EVENTPTR eventPtr, void *arg);
|
static void dumpEventCallback (EVENTPTR eventPtr, void *arg);
|
||||||
static void dumpStarCallback(STAR_DESC *star, void *arg);
|
static void dumpStarCallback(STAR_DESC *star, void *arg);
|
||||||
@@ -548,4 +553,6 @@ dumpPlanet(FILE *out, const PLANET_DESC *planet, UWORD flags)
|
|||||||
(void) flags;
|
(void) flags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* DEBUG */
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user