Skip to content

Commit

Permalink
Fixed up FTBFS with WolfTC.
Browse files Browse the repository at this point in the history
  • Loading branch information
danij committed Aug 9, 2006
1 parent d8a130e commit 5d955f3
Show file tree
Hide file tree
Showing 71 changed files with 383 additions and 308 deletions.
2 changes: 1 addition & 1 deletion doomsday/build/win32/vcbuild.bat
Expand Up @@ -225,7 +225,7 @@ GOTO Done
:WolfTC
ECHO Compiling WolfTC.dll (WolfTC Game Library)...
md %OBJ_DIR%\WolfTC
cl /O2 /Ob1 %INCS_PLUGIN_COMMON% %INCS_ENGINE_API% %INCS_LZSS_PORTABLE% /I "./../../plugins/wolftc/include" /D "__WOLFTC__" /D "__JDOOM__" %DLLDEFINES% /D "WOLFTC_EXPORTS" /GF /FD /EHsc /MT /Gy /Fo"./%OBJ_DIR%/WolfTC/" /Fd"./%OBJ_DIR%/WolfTC/" /W3 /Gz @wolftc_cl.rsp /link /OUT:"./%BIN_DIR%/WolfTC.dll" %LFLAGS% /LIBPATH:"./Lib" /DLL /DEF:"./../../plugins/jdoom/api/wolftc.def" /IMPLIB:"./%BIN_DIR%/WolfTC.lib" ./%BIN_DIR%/doomsday.lib %EXTERNAL%/lzss/win32/lzss.lib
cl /O2 /Ob1 %INCS_PLUGIN_COMMON% %INCS_ENGINE_API% %INCS_LZSS_PORTABLE% /I "./../../plugins/wolftc/include" /D "__WOLFTC__" /D "__JDOOM__" %DLLDEFINES% /D "WOLFTC_EXPORTS" /GF /FD /EHsc /MT /Gy /Fo"./%OBJ_DIR%/WolfTC/" /Fd"./%OBJ_DIR%/WolfTC/" /W3 /Gz @wolftc_cl.rsp /link /OUT:"./%BIN_DIR%/WolfTC.dll" %LFLAGS% /LIBPATH:"./Lib" /DLL /DEF:"./../../plugins/wolftc/api/wolftc.def" /IMPLIB:"./%BIN_DIR%/WolfTC.lib" ./%BIN_DIR%/doomsday.lib %EXTERNAL%/lzss/win32/lzss.lib
GOTO Done


Expand Down
1 change: 0 additions & 1 deletion doomsday/build/win32/wolftc_cl.rsp
Expand Up @@ -3,7 +3,6 @@
./../../plugins/common/src/d_net.c
./../../plugins/common/src/dmu_lib.c
./../../plugins/common/src/m_multi.c
./../../plugins/common/src/mn_main.c
./../../plugins/common/src/mn_menu.c
./../../plugins/wolftc/src/g_ctrl.c
./../../plugins/common/src/m_ctrl.c
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/include/d_netsv.h
@@ -1,7 +1,9 @@
#ifndef __NETSV_H__
#define __NETSV_H__

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/include/g_common.h
Expand Up @@ -3,7 +3,9 @@

#include "dd_share.h"

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/include/hu_msg.h
@@ -1,7 +1,9 @@
#ifndef __HUD_MESSAGES_H__
#define __HUD_MESSAGES_H__

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/include/p_player.h
Expand Up @@ -20,7 +20,9 @@
* p_player.h: Common playsim routines relating to players.
*/

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/am_map.c
Expand Up @@ -25,7 +25,9 @@
#include <math.h>
#include <ctype.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/d_net.c
Expand Up @@ -24,7 +24,9 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/d_netcl.c
Expand Up @@ -21,7 +21,9 @@

// HEADER FILES ------------------------------------------------------------

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/d_netsv.c
Expand Up @@ -23,7 +23,9 @@

#include <ctype.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/dmu_lib.c
Expand Up @@ -21,7 +21,9 @@

// HEADER FILES ------------------------------------------------------------

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/f_infine.c
Expand Up @@ -23,7 +23,9 @@

#include <ctype.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/g_controls.c
Expand Up @@ -20,7 +20,9 @@

#include <math.h> // required for sqrt, fabs

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
8 changes: 7 additions & 1 deletion doomsday/plugins/common/src/g_game.c
Expand Up @@ -21,7 +21,13 @@
// HEADER FILES ------------------------------------------------------------
#include <ctype.h>

#if __JDOOM__
#if __WOLFTC__
# include <string.h>
# include <stdlib.h>
# include <math.h>
# include "wolftc.h"
# include "p_saveg.h"
#elif __JDOOM__
# include <string.h>
# include <stdlib.h>
# include <math.h>
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/g_update.c
Expand Up @@ -22,7 +22,9 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/hu_lib.c
Expand Up @@ -21,7 +21,9 @@

#include <ctype.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/hu_msg.c
Expand Up @@ -22,7 +22,9 @@

#include <ctype.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/hu_pspr.c
Expand Up @@ -18,7 +18,9 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/hu_stuff.c
Expand Up @@ -26,7 +26,9 @@
#include <ctype.h>
#include <math.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/m_ctrl.c
Expand Up @@ -21,7 +21,9 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/m_multi.c
Expand Up @@ -24,7 +24,9 @@
#include <stdlib.h>
#include <stdarg.h>

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
5 changes: 4 additions & 1 deletion doomsday/plugins/common/src/mn_menu.c
Expand Up @@ -34,7 +34,10 @@
# include <lzss.h>
#endif

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
# include "p_saveg.h"
#elif __JDOOM__
# include "jdoom.h"
# include "p_saveg.h"
#elif __JHERETIC__
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/p_actor.c
Expand Up @@ -22,7 +22,9 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/p_mapsetup.c
Expand Up @@ -29,7 +29,9 @@
# endif
#endif

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/p_player.c
Expand Up @@ -26,7 +26,9 @@

#include "dd_share.h"

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
6 changes: 4 additions & 2 deletions doomsday/plugins/common/src/p_saveg.c
Expand Up @@ -21,13 +21,15 @@
* Compiles for jDoom and jHeretic
*/

#if __JDOOM__ || __JHERETIC__
#if __JDOOM__ || __WOLFTC__ || __JHERETIC__

// HEADER FILES ------------------------------------------------------------

#include <lzss.h>

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
6 changes: 5 additions & 1 deletion doomsday/plugins/common/src/p_start.c
Expand Up @@ -20,7 +20,11 @@

#include <math.h>

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
# include "r_common.h"
# include "hu_stuff.h"
#elif __JDOOM__
# include "jdoom.h"
# include "r_common.h"
# include "hu_stuff.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/p_svtexarc.c
Expand Up @@ -17,7 +17,9 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
4 changes: 3 additions & 1 deletion doomsday/plugins/common/src/p_tick.c
Expand Up @@ -21,7 +21,9 @@

// HEADER FILES ------------------------------------------------------------

#ifdef __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
5 changes: 4 additions & 1 deletion doomsday/plugins/common/src/p_user.c
Expand Up @@ -33,7 +33,10 @@
# include <math.h>
#endif

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
# include "g_common.h"
#elif __JDOOM__
# include "jdoom.h"
# include "g_common.h"
#elif __JHERETIC__
Expand Down
5 changes: 4 additions & 1 deletion doomsday/plugins/common/src/p_view.c
Expand Up @@ -17,7 +17,10 @@

// HEADER FILES ------------------------------------------------------------

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
# include "g_common.h"
#elif __JDOOM__
# include "jdoom.h"
# include "g_common.h"
#elif __JHERETIC__
Expand Down
6 changes: 4 additions & 2 deletions doomsday/plugins/common/src/p_xgfile.c
Expand Up @@ -22,13 +22,15 @@
* Compiles for jDoom and jHeretic
*/

#if __JDOOM__ || __JHERETIC__
#if __JDOOM__ || __WOLFTC__ || __JHERETIC__

// HEADER FILES ------------------------------------------------------------

#include <stdio.h>

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down
6 changes: 4 additions & 2 deletions doomsday/plugins/common/src/p_xgline.c
Expand Up @@ -22,7 +22,7 @@
* Compiles for jDoom and jHeretic
*/

#if __JDOOM__ || __JHERETIC__
#if __JDOOM__ || __WOLFTC__|| __JHERETIC__

// HEADER FILES ------------------------------------------------------------

Expand All @@ -31,7 +31,9 @@
#include <stdarg.h>
#include <stdio.h>

#if __JDOOM__
#if __WOLFTC__
# include "wolftc.h"
#elif __JDOOM__
# include "jdoom.h"
#elif __JHERETIC__
# include "jheretic.h"
Expand Down

0 comments on commit 5d955f3

Please sign in to comment.