mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Draw remaining assets, GP restriction
This commit is contained in:
parent
582b76f168
commit
b20c16f3fd
1 changed files with 85 additions and 63 deletions
|
|
@ -594,6 +594,15 @@ skiptallydrawer:
|
||||||
M_DrawMenuForeground();
|
M_DrawMenuForeground();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// INFO SEGMENT
|
||||||
|
// Numbers are V_DrawRightAlignedThinString WITH v_6widthspace as flags
|
||||||
|
// TAILS GOT THROUGH ROUND, V_DrawTitleCardString, V_6WIDTHSPACE, T is 13x32, try (51,7) origin
|
||||||
|
// TT_RND lumps for round numbers 74x74, origin (204,2)
|
||||||
|
// resbar 1 (48,82) 5 (176, 82)
|
||||||
|
// 2 (48, 96)
|
||||||
|
|
||||||
|
//player icon 1 (55,79) 2 (55,93) 5 (183,79)
|
||||||
|
|
||||||
// Patches
|
// Patches
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -696,6 +705,15 @@ skiptallydrawer:
|
||||||
// Draw "GOT THROUGH ROUND"
|
// Draw "GOT THROUGH ROUND"
|
||||||
V_DrawMappedPatch(50, 42, 0, gthro, 0);
|
V_DrawMappedPatch(50, 42, 0, gthro, 0);
|
||||||
|
|
||||||
|
// Draw round numbers (in GP)
|
||||||
|
if (grandprixinfo.roundnum > 0)
|
||||||
|
{
|
||||||
|
char buf[9];
|
||||||
|
sprintf(buf, "TT_RND%d", grandprixinfo.roundnum);
|
||||||
|
patch_t *roundpatch = W_CachePatchName(buf, PU_PATCH);
|
||||||
|
V_DrawMappedPatch(204, 2, 0, roundpatch, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO: Clean this bullshit up
|
// TODO: Clean this bullshit up
|
||||||
// Draw resbars
|
// Draw resbars
|
||||||
|
|
@ -710,6 +728,8 @@ skiptallydrawer:
|
||||||
V_DrawMappedPatch(169, 126, 0, resbar, 0);
|
V_DrawMappedPatch(169, 126, 0, resbar, 0);
|
||||||
|
|
||||||
// Draw bottom pieces
|
// Draw bottom pieces
|
||||||
|
if (grandprixinfo.gp)
|
||||||
|
{
|
||||||
V_DrawMappedPatch(0, 167, 0, rmbg1, greymap);
|
V_DrawMappedPatch(0, 167, 0, rmbg1, greymap);
|
||||||
V_DrawMappedPatch(24, 167, 0, rmbg2, greymap);
|
V_DrawMappedPatch(24, 167, 0, rmbg2, greymap);
|
||||||
V_DrawMappedPatch(48, 167, 0, rmbg3, greymap);
|
V_DrawMappedPatch(48, 167, 0, rmbg3, greymap);
|
||||||
|
|
@ -775,6 +795,8 @@ skiptallydrawer:
|
||||||
{
|
{
|
||||||
UINT8 *colormap = R_GetTranslationColormap(*data.character[i], *data.color[i], GTC_CACHE);
|
UINT8 *colormap = R_GetTranslationColormap(*data.character[i], *data.color[i], GTC_CACHE);
|
||||||
V_DrawMappedPatch(15, 166, 0, faceprefix[*data.character[i]][FACE_RANK], colormap); // get an icon in there for now
|
V_DrawMappedPatch(15, 166, 0, faceprefix[*data.character[i]][FACE_RANK], colormap); // get an icon in there for now
|
||||||
|
V_DrawTitleCardString(51, 7, data.name[i], V_6WIDTHSPACE, false, 0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue