Subversion Repositories eduke32

Rev

Rev 3654 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3654 Rev 3803
Line 10... Line 10...
10
#define GAMEFLAG_DUKE       0x00000001
10
#define GAMEFLAG_DUKE       0x00000001
11
#define GAMEFLAG_NAM        0x00000002
11
#define GAMEFLAG_NAM        0x00000002
12
#define GAMEFLAG_NAPALM     0x00000004
12
#define GAMEFLAG_NAPALM     0x00000004
13
#define GAMEFLAG_WW2GI      0x00000008
13
#define GAMEFLAG_WW2GI      0x00000008
14
#define GAMEFLAG_ADDON      0x00000010
14
#define GAMEFLAG_ADDON      0x00000010
-
 
15
#define GAMEFLAG_SHAREWARE  0x00000020
-
 
16
#define GAMEFLAG_DUKEBETA   0x00000060 // includes 0x20 since it's a shareware beta
15
17
16
extern int32_t g_gameType;
18
extern int32_t g_gameType;
17
19
18
#define DUKE                (g_gameType & GAMEFLAG_DUKE)
20
#define DUKE                (g_gameType & GAMEFLAG_DUKE)
19
#define NAM                 (g_gameType & GAMEFLAG_NAM)
21
#define NAM                 (g_gameType & GAMEFLAG_NAM)
20
#define NAPALM              (g_gameType & GAMEFLAG_NAPALM)
22
#define NAPALM              (g_gameType & GAMEFLAG_NAPALM)
21
#define WW2GI               (g_gameType & GAMEFLAG_WW2GI)
23
#define WW2GI               (g_gameType & GAMEFLAG_WW2GI)
-
 
24
#define SHAREWARE           (g_gameType & GAMEFLAG_SHAREWARE)
-
 
25
#define DUKEBETA            (g_gameType & GAMEFLAG_DUKEBETA)
22
26
23
enum Games_t {
27
enum Games_t {
24
    GAME_DUKE = 0,
28
    GAME_DUKE = 0,
25
    GAME_NAM,
29
    GAME_NAM,
26
    GAME_NAPALM,
30
    GAME_NAPALM,