spingle/source/sbar.h

47 lines
1.4 KiB
C
Raw Normal View History

2019-11-24 20:45:15 -08:00
/*
Copyright (C) 1996-2001 Id Software, Inc.
Copyright (C) 2002-2009 John Fitzgibbons and others
Copyright (C) 2010-2014 QuakeSpasm developers
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef _QUAKE_SBAR_H
#define _QUAKE_SBAR_H
// the status bar is only redrawn if something has changed, but if anything
// does, the entire thing will be redrawn for the next vid.numpages frames.
2019-11-25 17:40:18 -08:00
extern int32_t sb_lines; // scan lines to draw
2019-11-24 20:45:15 -08:00
2019-11-25 17:40:18 -08:00
void Sbar_Init(void);
void Sbar_LoadPics(void);
2019-11-24 20:45:15 -08:00
2019-11-25 17:40:18 -08:00
void Sbar_Changed(void);
2019-11-24 20:45:15 -08:00
// call whenever any of the client stats represented on the sbar changes
2019-11-25 17:40:18 -08:00
void Sbar_Draw(void);
2019-11-24 20:45:15 -08:00
// called every frame by screen
2019-11-25 17:40:18 -08:00
void Sbar_IntermissionOverlay(void);
2019-11-24 20:45:15 -08:00
// called each frame after the level has been completed
2019-11-25 17:40:18 -08:00
void Sbar_FinaleOverlay(void);
2019-11-24 20:45:15 -08:00
2019-11-25 17:40:18 -08:00
#endif /* _QUAKE_SBAR_H */
2019-11-24 20:45:15 -08:00