2020-06-11 07:22:16 +00:00
|
|
|
#pragma once
|
|
|
|
|
2020-07-02 18:17:29 +00:00
|
|
|
#include <array>
|
|
|
|
#include "statusbar.h"
|
|
|
|
#include "duke3d.h"
|
|
|
|
|
2020-06-11 07:22:16 +00:00
|
|
|
BEGIN_DUKE_NS
|
|
|
|
|
|
|
|
|
2020-07-02 18:17:29 +00:00
|
|
|
class DDukeCommonStatusBar : public DBaseStatusBar
|
2020-06-11 07:22:16 +00:00
|
|
|
{
|
2020-07-02 18:17:29 +00:00
|
|
|
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(DukePlayer_t *p);
|
|
|
|
void DrawInventory(const DukePlayer_t* p, double x, double y, int align);
|
|
|
|
PalEntry LightForShade(int shade);
|
2020-07-02 21:56:22 +00:00
|
|
|
public:
|
|
|
|
void PrintLevelStats(int bottomy);
|
|
|
|
|
2020-07-02 18:17:29 +00:00
|
|
|
};
|
|
|
|
|
2020-07-06 01:00:52 +00:00
|
|
|
extern int levelTextTime;
|
|
|
|
|
2020-06-11 07:22:16 +00:00
|
|
|
END_DUKE_NS
|