mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
//
|
|
// Definitions of common game-only data structures/functions
|
|
// (and declarations of data appearing in both)
|
|
// for EDuke32 and Mapster32
|
|
//
|
|
|
|
#ifndef EDUKE32_COMMON_GAME_H_
|
|
#define EDUKE32_COMMON_GAME_H_
|
|
|
|
#include "gamecontrol.h"
|
|
|
|
BEGIN_DUKERR_NS
|
|
|
|
|
|
#define DUKE (g_gameType & GAMEFLAG_DUKE)
|
|
#define RR (g_gameType & GAMEFLAG_RRALL)
|
|
#define RRRA (g_gameType & GAMEFLAG_RRRA)
|
|
#define NAM (g_gameType & GAMEFLAG_NAM)
|
|
#define NAPALM (g_gameType & GAMEFLAG_NAPALM)
|
|
#define WW2GI (g_gameType & GAMEFLAG_WW2GI)
|
|
#define NAM_WW2GI (g_gameType & (GAMEFLAG_NAM|GAMEFLAG_WW2GI))
|
|
#define SHAREWARE (g_gameType & GAMEFLAG_SHAREWARE)
|
|
#define DEER (g_gameType & GAMEFLAG_DEER)
|
|
#define DUKEBETA ((g_gameType & GAMEFLAG_DUKEBETA) == GAMEFLAG_DUKEBETA)
|
|
#define FURY (g_gameType & GAMEFLAG_FURY)
|
|
|
|
typedef enum basepal_ {
|
|
BASEPAL = 0,
|
|
WATERPAL,
|
|
SLIMEPAL,
|
|
DREALMSPAL,
|
|
TITLEPAL,
|
|
ENDINGPAL, // 5
|
|
ANIMPAL,
|
|
DRUGPAL,
|
|
BASEPALCOUNT
|
|
} basepal_t;
|
|
|
|
#include "v_text.h"
|
|
|
|
|
|
//////////
|
|
|
|
END_RR_NS
|
|
|
|
#endif
|