2021-04-11 06:40:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "v_2ddrawer.h"
|
|
|
|
|
|
|
|
extern F2DDrawer twodpsp;
|
|
|
|
|
|
|
|
void DrawRateStuff();
|
2021-07-29 05:14:21 +00:00
|
|
|
void hud_drawsprite(double sx, double sy, double sz, double a, int picnum, int dashade, int dapalnum, int dastat, double alpha = 1);
|
2022-12-31 18:34:46 +00:00
|
|
|
void hud_drawsprite(double sx, double sy, double sz, double a, FTextureID texid, int dashade, int dapalnum, int dastat, double alpha = 1);
|
2022-09-30 17:16:36 +00:00
|
|
|
|
|
|
|
// orientation bits for hud_drawsprite.
|
|
|
|
enum {
|
|
|
|
RS_TRANS1 = 1,
|
|
|
|
RS_TOPLEFT = 16,
|
|
|
|
RS_TRANS2 = 32,
|
|
|
|
RS_NOMASK = 64,
|
|
|
|
|
|
|
|
RS_ALIGN_L = 256,
|
|
|
|
RS_ALIGN_R = 512,
|
|
|
|
RS_ALIGN_MASK = 768,
|
|
|
|
RS_STRETCH = 1024,
|
|
|
|
|
2023-01-01 09:38:27 +00:00
|
|
|
RS_XFLIPHUD = 4,
|
|
|
|
RS_YFLIPHUD = 16384,
|
2022-09-30 17:16:36 +00:00
|
|
|
|
|
|
|
RS_CENTER = (1 << 29), // proper center align.
|
|
|
|
};
|
|
|
|
|