Abort on big map

This commit is contained in:
Miloslav Ciz 2025-06-12 20:49:10 +02:00
parent 74013219e5
commit c317f84582
4 changed files with 20 additions and 15 deletions

4
game.h
View file

@ -1282,6 +1282,7 @@ void LCR_gameDraw3DView(void)
LCR_physicsDebugDraw(camTr,camTr + 3,camTr[6],_LCR_physicdDebugDrawPixel);
#endif
#if LCR_SETTING_DISPLAY_HUD
// GUI/HUD:
char str[10];
@ -1302,7 +1303,6 @@ void LCR_gameDraw3DView(void)
LCR_EFFECTIVE_RESOLUTION_Y - LCR_rendererComputeTextHeight(_FONT_SIZE) -
LCR_GUI_GAP,0,_FONT_SIZE);
#if LCR_SETTING_DISPLAY_INPUTS
str[0] = (LCR_racing.currentInputs & LCR_RACING_INPUT_LEFT) ? 'L' : '.';
str[1] = (LCR_racing.currentInputs & LCR_RACING_INPUT_BACK) ? 'D' : '.';
str[2] = (LCR_racing.currentInputs & LCR_RACING_INPUT_FORW) ? 'U' : '.';
@ -1313,7 +1313,6 @@ void LCR_gameDraw3DView(void)
LCR_rendererComputeTextWidth(str,_FONT_SIZE) - LCR_GUI_GAP,
LCR_EFFECTIVE_RESOLUTION_Y - 2 *
(LCR_rendererComputeTextHeight(_FONT_SIZE) + LCR_GUI_GAP),0,_FONT_SIZE);
#endif
LCR_gameTimeToStr(LCR_game.runTime * LCR_RACING_TICK_MS,str);
@ -1333,6 +1332,7 @@ void LCR_gameDraw3DView(void)
LCR_rendererComputeTextHeight(_FONT_SIZE) - LCR_GUI_GAP,
LCR_CONVERT_COLOR(0x4208),_FONT_SIZE);
#undef _FONT_SIZE
#endif
}
void LCR_gameSaveReplay(void)