mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Add shade flash highlight for currently selected Load Game name
This commit is contained in:
parent
f56dd9a3e1
commit
2dddf19ce7
1 changed files with 2 additions and 3 deletions
|
@ -1047,7 +1047,6 @@ int menu_NewGameMenu()
|
|||
// Loop #3
|
||||
for (int i = 0; i < 5; i++)
|
||||
{
|
||||
// CHECKME
|
||||
int8_t shade = ((Sin((int)totalclock << 4) >> 9) * (i == nSlot)) + ((i != nSlot) * 31);
|
||||
|
||||
overwritesprite(55, arg_4A, kMenuBlankTitleTile, shade, 2, kPalNormal);
|
||||
|
@ -1306,8 +1305,8 @@ int menu_LoadGameMenu()
|
|||
|
||||
for (int i = 0; i < kMaxSaveSlots; i++)
|
||||
{
|
||||
// TODO - shade flashing
|
||||
overwritesprite(55, spriteY, kMenuBlankTitleTile, 0, 2, kPalNormal);
|
||||
int8_t shade = ((Sin((int)totalclock << 4) >> 9)* (i == nSlot)) + ((i != nSlot) * 31);
|
||||
overwritesprite(55, spriteY, kMenuBlankTitleTile, shade, 2, kPalNormal);
|
||||
|
||||
myprintext(63, textY, nameList[i], 0);
|
||||
textY += 22;
|
||||
|
|
Loading…
Reference in a new issue