mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-10-13 08:24:23 -05:00
New healthbar working
This commit is contained in:
@@ -17,5 +17,7 @@ namespace diablo2 {
|
||||
static int32_t adjust_perspective_coords(int32_t x, int32_t y, int32_t* adjustX, int32_t* adjustY);
|
||||
static int32_t get_resolution_mode();
|
||||
static void draw_image(structures::gfxdata* data, uint32_t x, uint32_t y, int32_t gamma, int32_t drawType, void* palette);
|
||||
static void draw_filled_rect(int left, int top, int right, int bottom, ULONG color, ULONG transTbl);
|
||||
|
||||
};
|
||||
}
|
@@ -48,6 +48,8 @@ namespace diablo2 {
|
||||
static int32_t get_text_pixel_width(wchar_t* str);
|
||||
static void draw_text(wchar_t* str, uint32_t x, uint32_t y, ui_color_t color, int32_t transTbl);
|
||||
static void draw_boxed_text(wchar_t* str, uint32_t x, uint32_t y, int32_t paletteIndex, int32_t transTbl, ui_color_t color);
|
||||
|
||||
|
||||
static void set_popup_properties(wchar_t* str, uint32_t x, uint32_t y, ui_color_t color, int32_t align);
|
||||
static void draw_popup();
|
||||
|
||||
|
Reference in New Issue
Block a user