-
Notifications
You must be signed in to change notification settings - Fork 0
/
G_STATE.H
58 lines (48 loc) · 1.1 KB
/
G_STATE.H
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// g_state.h : Doom/Hexen game states
#ifndef __G_STATE__
#define __G_STATE__
#include "doomtype.h"
// skill levels
typedef enum
{
sk_baby,
sk_easy,
sk_medium,
sk_hard,
sk_nightmare
} skill_t;
// the current state of the game
typedef enum
{
GS_LEVEL, // we are playing
GS_INTERMISSION, // gazing at the intermission screen
GS_FINALE, // game final animation
GS_DEMOSCREEN, // looking at a demo
//legacy
GS_DEDICATEDSERVER, // added 27-4-98 : new state for dedicated server
GS_WAITINGPLAYERS // added 3-9-98 : waiting player in net game
} gamestate_t;
typedef enum
{
ga_nothing,
ga_loadlevel,
ga_playdemo,
ga_completed,
ga_victory,
ga_worlddone,
ga_screenshot,
//HeXen
/*
ga_initnew,
ga_newgame,
ga_loadgame,
ga_savegame,
ga_leavemap,
ga_singlereborn
*/
} gameaction_t;
extern gamestate_t gamestate;
extern gameaction_t gameaction;
extern skill_t gameskill;
extern boolean demoplayback;
#endif //__G_STATE__