mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-02 09:02:35 +00:00
8d2d36457f
Fixes #275
32 lines
629 B
C++
32 lines
629 B
C++
#pragma once
|
|
|
|
#include <array>
|
|
#include "statusbar.h"
|
|
#include "duke3d.h"
|
|
|
|
BEGIN_DUKE_NS
|
|
|
|
|
|
class DDukeCommonStatusBar : public DBaseStatusBar
|
|
{
|
|
protected:
|
|
DHUDFont numberFont;
|
|
DHUDFont indexFont;
|
|
DHUDFont miniFont;
|
|
DHUDFont digiFont;
|
|
double scale = 1;
|
|
std::array<int, MAX_WEAPONS> ammo_sprites;
|
|
std::array<int, 8> item_icons;
|
|
|
|
DDukeCommonStatusBar();
|
|
std::pair<const char*, EColorRange> ontext(struct player_struct *p);
|
|
void DrawInventory(const struct player_struct* p, double x, double y, int align);
|
|
PalEntry LightForShade(int shade);
|
|
public:
|
|
void PrintLevelStats(int bottomy);
|
|
|
|
};
|
|
|
|
void DrawBorder();
|
|
|
|
END_DUKE_NS
|