2019-09-18 22:27:46 +00:00
|
|
|
//
|
|
|
|
// 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_
|
|
|
|
|
2019-10-30 17:09:00 +00:00
|
|
|
#include "gamecontrol.h"
|
2019-09-18 22:27:46 +00:00
|
|
|
|
2020-03-06 18:29:13 +00:00
|
|
|
BEGIN_DUKERR_NS
|
2019-09-21 22:10:48 +00:00
|
|
|
|
|
|
|
|
2019-09-18 22:27:46 +00:00
|
|
|
#define DUKE (g_gameType & GAMEFLAG_DUKE)
|
2020-02-26 19:16:27 +00:00
|
|
|
#define RR (g_gameType & GAMEFLAG_RRALL)
|
2019-09-18 22:27:46 +00:00
|
|
|
#define RRRA (g_gameType & GAMEFLAG_RRRA)
|
2019-06-08 15:29:30 +00:00
|
|
|
#define NAM (g_gameType & GAMEFLAG_NAM)
|
|
|
|
#define NAPALM (g_gameType & GAMEFLAG_NAPALM)
|
2020-02-07 19:57:20 +00:00
|
|
|
#define WW2GI (g_gameType & GAMEFLAG_WW2GI)
|
|
|
|
#define NAM_WW2GI (g_gameType & (GAMEFLAG_NAM|GAMEFLAG_WW2GI))
|
2019-09-18 22:27:46 +00:00
|
|
|
#define SHAREWARE (g_gameType & GAMEFLAG_SHAREWARE)
|
2020-02-23 15:39:03 +00:00
|
|
|
#define DEER (g_gameType & GAMEFLAG_DEER)
|
2020-03-06 18:29:13 +00:00
|
|
|
#define DUKEBETA ((g_gameType & GAMEFLAG_DUKEBETA) == GAMEFLAG_DUKEBETA)
|
|
|
|
#define FURY (g_gameType & GAMEFLAG_FURY)
|
2019-09-18 22:27:46 +00:00
|
|
|
|
|
|
|
typedef enum basepal_ {
|
|
|
|
BASEPAL = 0,
|
|
|
|
WATERPAL,
|
|
|
|
SLIMEPAL,
|
|
|
|
DREALMSPAL,
|
|
|
|
TITLEPAL,
|
|
|
|
ENDINGPAL, // 5
|
|
|
|
ANIMPAL,
|
|
|
|
DRUGPAL,
|
|
|
|
BASEPALCOUNT
|
|
|
|
} basepal_t;
|
|
|
|
|
2019-11-05 19:16:53 +00:00
|
|
|
#include "v_text.h"
|
2019-09-18 22:27:46 +00:00
|
|
|
|
|
|
|
|
|
|
|
//////////
|
|
|
|
|
2019-09-21 22:10:48 +00:00
|
|
|
END_RR_NS
|
|
|
|
|
2019-09-18 22:27:46 +00:00
|
|
|
#endif
|