summaryrefslogtreecommitdiff
path: root/src/hexen/h2_main.c
diff options
context:
space:
mode:
authorSimon Howard2008-11-02 23:36:10 +0000
committerSimon Howard2008-11-02 23:36:10 +0000
commit046f9226b6b912cdb12dc3b35953aee7666f4b63 (patch)
tree2e7ef6c68b21e7e25099477f9f5fb1ffc90549ac /src/hexen/h2_main.c
parent96879d84140634a23050157c8899dbc1616c7b54 (diff)
downloadchocolate-doom-046f9226b6b912cdb12dc3b35953aee7666f4b63.tar.gz
chocolate-doom-046f9226b6b912cdb12dc3b35953aee7666f4b63.tar.bz2
chocolate-doom-046f9226b6b912cdb12dc3b35953aee7666f4b63.zip
Remove Hexen TIMEBOMB code.
Subversion-branch: /branches/raven-branch Subversion-revision: 1374
Diffstat (limited to 'src/hexen/h2_main.c')
-rw-r--r--src/hexen/h2_main.c43
1 files changed, 0 insertions, 43 deletions
diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c
index 15b6b1b6..ecc9832a 100644
--- a/src/hexen/h2_main.c
+++ b/src/hexen/h2_main.c
@@ -96,10 +96,6 @@ static void ExecOptionPLAYDEMO(char **args, int tag);
static void CreateSavePath(void);
static void WarpCheck(void);
-#ifdef TIMEBOMB
-static void DoTimeBomb(void);
-#endif
-
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
extern boolean automapactive;
@@ -260,10 +256,6 @@ void D_DoomMain(void)
// Now that the savedir is loaded from .CFG, make sure it exists
CreateSavePath();
-#ifdef TIMEBOMB
- DoTimeBomb();
-#endif
-
ST_Message("Z_Init: Init zone memory allocation daemon.\n");
Z_Init();
@@ -856,38 +848,3 @@ static void CreateSavePath(void)
M_MakeDirectory(SavePath);
}
-#ifdef TIMEBOMB
-//==========================================================================
-//
-// DoTimeBomb
-//
-//==========================================================================
-
-static void DoTimeBomb(void)
-{
-#ifdef __WATCOMC__
- time_t timeOfDay;
- struct tm timeBuffer;
-
- timeOfDay = time(NULL);
- _localtime(&timeOfDay, &timeBuffer);
- if (timeBuffer.tm_year != TIMEBOMB_YEAR
- || timeBuffer.tm_yday < TIMEBOMB_STARTDATE
- || timeBuffer.tm_yday > TIMEBOMB_ENDDATE)
- {
- I_Error("W_InitWadfiles: Wad file doesn't have IWAD or PWAD id\n");
- }
-
- printf
- ("\n===============================================================================\n");
- printf(" Hexen: Beyond Heretic\n\n");
- printf(" Beta -- Do Not Distribute!\n");
- printf(" Press any key to continue.\n");
- printf
- ("===============================================================================\n");
-
- getch();
- printf("\n");
-#endif
-}
-#endif