diff options
author | Simon Howard | 2008-10-08 19:34:09 +0000 |
---|---|---|
committer | Simon Howard | 2008-10-08 19:34:09 +0000 |
commit | 1670801dba930b9fa9d6a2b4a953091970dc180a (patch) | |
tree | fc3966d3831c509c55aa8320eb87229878925cde /src/hexen/h2def.h | |
parent | 65404cbe64c2a708cd761befa1d828f6fbbee9bf (diff) | |
download | chocolate-doom-1670801dba930b9fa9d6a2b4a953091970dc180a.tar.gz chocolate-doom-1670801dba930b9fa9d6a2b4a953091970dc180a.tar.bz2 chocolate-doom-1670801dba930b9fa9d6a2b4a953091970dc180a.zip |
Replace hexen "shareware" variable with gamemode/gamemission. Use
d_iwad.c code to find the IWAD file. Remove AddWADFile and use the
w_wad.c API directly.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1343
Diffstat (limited to 'src/hexen/h2def.h')
-rw-r--r-- | src/hexen/h2def.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/hexen/h2def.h b/src/hexen/h2def.h index 61ca87b9..a00d90bd 100644 --- a/src/hexen/h2def.h +++ b/src/hexen/h2def.h @@ -44,6 +44,10 @@ #include "d_event.h" +// gamemode/mission + +#include "d_mode.h" + // for fixed_t: #include "m_fixed.h" @@ -104,15 +108,6 @@ typedef unsigned int uint; -typedef enum -{ - sk_baby, - sk_easy, - sk_medium, - sk_hard, - sk_nightmare -} skill_t; - #define BT_ATTACK 1 #define BT_USE 2 #define BT_CHANGE 4 // if true, the next 3 bits hold weapon num @@ -654,12 +649,13 @@ void NET_SendFrags(player_t * player); #define TELEFOGHEIGHT (32*FRACUNIT) +extern GameMode_t gamemode; // Always commercial +extern GameMission_t gamemission; // Always hexen + extern gameaction_t gameaction; extern boolean paused; -extern boolean shareware; // true if other episodes not present - extern boolean DevMaps; // true = map development mode extern char *DevMapsDir; // development maps directory |