mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
M_DrawCursorHand, M_DrawUnderline: extern in k_menu.h
This commit is contained in:
parent
41155fd81b
commit
a7db45c73b
2 changed files with 5 additions and 2 deletions
|
|
@ -1205,6 +1205,9 @@ void M_HandleImageDef(INT32 choice);
|
||||||
|
|
||||||
#define M_ALTCOLOR V_ORANGEMAP
|
#define M_ALTCOLOR V_ORANGEMAP
|
||||||
|
|
||||||
|
void M_DrawCursorHand(INT32 x, INT32 y);
|
||||||
|
void M_DrawUnderline(INT32 left, INT32 right, INT32 y);
|
||||||
|
|
||||||
// For some menu highlights
|
// For some menu highlights
|
||||||
UINT16 M_GetCvPlayerColor(UINT8 pnum);
|
UINT16 M_GetCvPlayerColor(UINT8 pnum);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -156,12 +156,12 @@ static void M_DrawSlider(INT32 x, INT32 y, const consvar_t *cv, boolean ontop)
|
||||||
V_DrawFill(px, y, 2, 8, aquamap[0]);
|
V_DrawFill(px, y, 2, 8, aquamap[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void M_DrawCursorHand(INT32 x, INT32 y)
|
void M_DrawCursorHand(INT32 x, INT32 y)
|
||||||
{
|
{
|
||||||
V_DrawScaledPatch(x - 24 - (I_GetTime() % 16 < 8), y, 0, W_CachePatchName("M_CURSOR", PU_CACHE));
|
V_DrawScaledPatch(x - 24 - (I_GetTime() % 16 < 8), y, 0, W_CachePatchName("M_CURSOR", PU_CACHE));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void M_DrawUnderline(INT32 left, INT32 right, INT32 y)
|
void M_DrawUnderline(INT32 left, INT32 right, INT32 y)
|
||||||
{
|
{
|
||||||
if (menutransition.tics == menutransition.dest)
|
if (menutransition.tics == menutransition.dest)
|
||||||
V_DrawFill(left - 1, y + 5, (right - left) + 11, 2, 31);
|
V_DrawFill(left - 1, y + 5, (right - left) + 11, 2, 31);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue