2016-02-07 02:38:16 +00:00
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
/*
|
|
|
|
Copyright (C) 2016 EDuke32 developers and contributors
|
|
|
|
|
|
|
|
This file is part of EDuke32.
|
|
|
|
|
|
|
|
EDuke32 is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License version 2
|
|
|
|
as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
//-------------------------------------------------------------------------
|
2016-02-07 02:38:23 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-09-21 20:53:00 +00:00
|
|
|
BEGIN_DUKE_NS
|
|
|
|
|
2016-02-07 02:38:23 +00:00
|
|
|
extern int32_t althud_flashing;
|
|
|
|
extern int32_t althud_numberpal;
|
|
|
|
extern int32_t althud_numbertile;
|
|
|
|
extern int32_t althud_shadows;
|
|
|
|
|
2017-02-25 08:15:53 +00:00
|
|
|
static FORCE_INLINE int32_t sbarsc(int32_t sc)
|
2016-06-21 04:29:06 +00:00
|
|
|
{
|
|
|
|
return scale(sc, ud.statusbarscale, 100);
|
|
|
|
}
|
|
|
|
|
2016-02-07 02:38:16 +00:00
|
|
|
int32_t sbarx16(int32_t x);
|
|
|
|
int32_t sbary16(int32_t y);
|
|
|
|
void G_DrawInventory(const DukePlayer_t *p);
|
2016-03-28 05:15:27 +00:00
|
|
|
void G_DrawStatusBar(int32_t snum);
|
2019-09-21 20:53:00 +00:00
|
|
|
|
|
|
|
END_DUKE_NS
|