XenevaOS
Loading...
Searching...
No Matches
st_stuff.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Status bar code.
17// Does the face/direction indicator animatin.
18// Does palette indicators as well (red pain/berserk, bright pickup)
19//
20
21#ifndef __STSTUFF_H__
22#define __STSTUFF_H__
23
24#include "doomtype.h"
25#include "d_event.h"
26#include "m_cheat.h"
27
28// Size of statusbar.
29// Now sensitive for scaling.
30#define ST_HEIGHT 32
31#define ST_WIDTH SCREENWIDTH
32#define ST_Y (SCREENHEIGHT - ST_HEIGHT)
33
34
35//
36// STATUS BAR
37//
38
39// Called by main loop.
40boolean ST_Responder (event_t* ev);
41
42// Called by main loop.
43void ST_Ticker (void);
44
45// Called by main loop.
46void ST_Drawer (boolean fullscreen, boolean refresh);
47
48// Called when the console player is spawned on each level.
49void ST_Start (void);
50
51// Called by startup code.
52void ST_Init (void);
53
54
55
56// States for status bar code.
63
64
65// States for the chat code.
73
74
75
76extern byte *st_backing_screen;
87
88
89#endif
int fullscreen
cheatseq_t cheat_god
Definition st_stuff.c:389
boolean ST_Responder(event_t *ev)
Definition st_stuff.c:439
cheatseq_t cheat_clev
Definition st_stuff.c:407
st_chatstateenum_t
Definition st_stuff.h:67
@ WaitDestState
Definition st_stuff.h:69
@ GetChatState
Definition st_stuff.h:70
@ StartChatState
Definition st_stuff.h:68
cheatseq_t cheat_ammo
Definition st_stuff.c:390
cheatseq_t cheat_mus
Definition st_stuff.c:388
st_stateenum_t
Definition st_stuff.h:58
@ FirstPersonState
Definition st_stuff.h:60
@ AutomapState
Definition st_stuff.h:59
void ST_Ticker(void)
Definition st_stuff.c:924
byte * st_backing_screen
Definition st_stuff.c:263
cheatseq_t cheat_choppers
Definition st_stuff.c:406
cheatseq_t cheat_noclip
Definition st_stuff.c:392
cheatseq_t cheat_ammonokey
Definition st_stuff.c:391
cheatseq_t cheat_commercial_noclip
Definition st_stuff.c:393
void ST_Init(void)
Definition st_stuff.c:1411
cheatseq_t cheat_mypos
Definition st_stuff.c:408
void ST_Start(void)
Definition st_stuff.c:1389
void ST_Drawer(boolean fullscreen, boolean refresh)
Definition st_stuff.c:1055
cheatseq_t cheat_powerup[7]
Definition st_stuff.c:395
Definition m_cheat.h:36
Definition d_event.h:43