enum GotUrAddresses
{
R_RegisterFont = 0x004C7228,
Material_RegisterHandle = 0x004C6D28,
R_AddCmdDrawText = 0x004C7248,
R_AddCmdDrawStretchPic = 0x00097D60,
};
opd_s R_RegisterFont_s = { R_RegisterFont, TOC };
void*(*R_RegisterFont)(const char * font, int imageTrac) = (void*(*)(const char *, int))&R_RegisterFont_s;
opd_s Material_RegisterHandle = { Material_RegisterHandle, TOC };
void*(*R_RegisterMaterial)(const char* font, int imageTrac) = (void*(*)(const char*, int))&Material_RegisterHandle;
opd_s R_AddCmdDrawStretchPic_s = { R_AddCmdDrawStretchPic, TOC };
void(*R_AddCmdDrawStretchPic)(float x, float y, float width, float height, float xScale, float yScale, float xay, float yay, const float *color, void *material) = (void(*)(float x, float y, float width, float height, float xScale, float yScale, float xay, float yay, const float *color, void *material))&R_AddCmdDrawStretchPic_s;
opd_s R_AddCmdDrawText_s = { R_AddCmdDrawText, TOC };
void(*R_AddCmdDrawText)(const char *text, int maxChars, void *font, float x, float y, float xScale, float yScale, float rotation, const float *color, int style) = (void(*)(const char *, int, void *, float, float, float, float, float, const float *color, int))&R_AddCmdDrawText_s;
void R_AddCmdDrawStretchPicInternal(float x, float y, float width, float height, const float * color, const char * material)
{
R_AddCmdDrawStretchPic(x, y, width, height, 1, 1, 1, 1, color, R_RegisterMaterial(material, 0));
}
void R_AddCmdDrawTextInternal(const char *xtext, int ItemIndex, float xx, float xy, const char *xfont, float xfontSize, const float* colour)
{
R_AddCmdDrawText(xtext, 0x7FFFFFFF, R_RegisterFont(xfont, 0), xx, xy, xfontSize, xfontSize, 0, colour, 0);
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.