Debian Codegraph @

prboom2/src/dsda/pause.h

raw
1 //
2 // Copyright(C) 2022 by Ryan Krafnick
3 //
4 // This program is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU General Public License
6 // as published by the Free Software Foundation; either version 2
7 // of the License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // DESCRIPTION:
15 // DSDA Pause Mode
16 //
17
18 #include "doomtype.h"
19
20 #define PAUSE_COMMAND 1
21 #define PAUSE_PLAYBACK 2
22 #define PAUSE_BUILDMODE 4
23
24 dboolean dsda_Paused(void);
25 dboolean dsda_PausedViaMenu(void);
26 dboolean dsda_PausedOutsideDemo(void);
27 dboolean dsda_CameraPaused(void);
28 dboolean dsda_PauseMode(int mode);
29 void dsda_RemovePauseMode(int mode);
30 void dsda_ApplyPauseMode(int mode);
31 void dsda_TogglePauseMode(int mode);
32 void dsda_ResetPauseMode(void);
33 int dsda_MaskPause(void);
34 void dsda_UnmaskPause(int mask);