Add replay loading
This commit is contained in:
parent
9485a7cd95
commit
8040d6755f
3 changed files with 85 additions and 13 deletions
14
game.h
14
game.h
|
@ -666,6 +666,11 @@ void LCR_gameDraw3DView(void)
|
|||
}
|
||||
}
|
||||
|
||||
void _LCR_gameResourceCharWrite(char c)
|
||||
{ // TODO
|
||||
printf("%c",c);
|
||||
}
|
||||
|
||||
/**
|
||||
Helper subroutine, handles user input during main loop frame, EXCEPT for the
|
||||
driving input (that is handled in the loop itself).
|
||||
|
@ -791,8 +796,8 @@ void LCR_gameHandleInput(void)
|
|||
|
||||
case LCR_GAME_STATE_RUN_FINISHED:
|
||||
if (LCR_game.keyStates[LCR_KEY_A] == 1)
|
||||
//LCR_gameResetRun(LCR_racing.playingReplay);
|
||||
LCR_gameResetRun(1);
|
||||
// LCR_gameResetRun(LCR_racing.playingReplay);
|
||||
LCR_gameResetRun(1);
|
||||
|
||||
break;
|
||||
|
||||
|
@ -858,11 +863,6 @@ void LCR_gameHandleInput(void)
|
|||
LCR_game.menu.selectedTab == 1 ? 'M' : 'R');
|
||||
}
|
||||
|
||||
void _LCR_gameResourceCharWrite(char c)
|
||||
{
|
||||
printf("%c",c);
|
||||
}
|
||||
|
||||
uint8_t LCR_gameStep(uint32_t time)
|
||||
{
|
||||
uint32_t sleep = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue