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-09-30 17:16:36 +00:00
|
|
|
|
|
|
|
// orientation bits for hud_drawsprite.
|
|
|
|
enum {
|
|
|
|
RS_TRANS1 = 1,
|
|
|
|
RS_YFLIP = 4,
|
|
|
|
RS_TOPLEFT = 16,
|
|
|
|
RS_TRANS2 = 32,
|
|
|
|
RS_NOMASK = 64,
|
|
|
|
|
|
|
|
RS_ALIGN_L = 256,
|
|
|
|
RS_ALIGN_R = 512,
|
|
|
|
RS_ALIGN_MASK = 768,
|
|
|
|
RS_STRETCH = 1024,
|
|
|
|
|
|
|
|
RS_XFLIPHUD = RS_YFLIP,
|
|
|
|
RS_YFLIPHUD = 16384, // this is for hud_drawsprite which uses RS_YFLIP for x-flipping but needs both flags
|
|
|
|
|
|
|
|
RS_CENTER = (1 << 29), // proper center align.
|
|
|
|
};
|
|
|
|
|