mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-02 00:11:59 +00:00
f5421491ec
The idea is, when status bars are moved to ZScript that only this small wrapper class needs to be dealt with and the implementation can be left alone. SBARINFO is far too complex to be scriptified, but having it inherit directly from DBaseStatusBar and access its member variables severely limits the options of dealing with the status bar code. This way, it only accesses some globally visible functions in DBaseStatusBar and no variables. - renamed the global ST_X and ST_Y variables because it is far too confusing and error-prone to have the same names inside and outside DBaseStatusBar.
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
// Emacs style mode select -*- C++ -*-
|
|
//-----------------------------------------------------------------------------
|
|
//
|
|
// $Id:$
|
|
//
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
//
|
|
// This source is available for distribution and/or modification
|
|
// only under the terms of the DOOM Source Code License as
|
|
// published by id Software. All rights reserved.
|
|
//
|
|
// The source is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
// for more details.
|
|
//
|
|
// DESCRIPTION:
|
|
// Status bar code.
|
|
// Does the face/direction indicator animatin.
|
|
// Does palette indicators as well (red pain/berserk, bright pickup)
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef __STSTUFF_H__
|
|
#define __STSTUFF_H__
|
|
|
|
struct event_t;
|
|
|
|
extern int gST_X;
|
|
extern int gST_Y;
|
|
|
|
bool ST_Responder(event_t* ev);
|
|
|
|
// [RH] Base blending values (for e.g. underwater)
|
|
extern int BaseBlendR, BaseBlendG, BaseBlendB;
|
|
extern float BaseBlendA;
|
|
|
|
#endif
|