diff --git a/TODO.txt b/TODO.txt index 9bf9b9b..768ffae 100644 --- a/TODO.txt +++ b/TODO.txt @@ -44,6 +44,9 @@ =========== BUGS ================= +- the pinch collision test seems to sometimes stop the car e.g. after falling + from bigger height or when running into ramp at high speed - FIX + =========== HANDLED ============== - allow stopping car rotation in air like in Trackmania diff --git a/game.h b/game.h index 362b7cb..fc729a1 100644 --- a/game.h +++ b/game.h @@ -1464,6 +1464,13 @@ LCR_replayOutputStr(_LCR_gameDataCharWrite); { // show the "loading" screen + LCR_rendererDrawRect( + LCR_EFFECTIVE_RESOLUTION_X / 8 - 2, + LCR_EFFECTIVE_RESOLUTION_Y / 3 - 2, + LCR_EFFECTIVE_RESOLUTION_X - LCR_EFFECTIVE_RESOLUTION_X / 4 + 4, + LCR_EFFECTIVE_RESOLUTION_Y - 2 * LCR_EFFECTIVE_RESOLUTION_Y / 3 + 4, + 0x0000,0); + LCR_rendererDrawRect( LCR_EFFECTIVE_RESOLUTION_X / 8, LCR_EFFECTIVE_RESOLUTION_Y / 3, diff --git a/renderer.h b/renderer.h index 6d2a17d..de0a552 100644 --- a/renderer.h +++ b/renderer.h @@ -33,13 +33,12 @@ #define S3L_NEAR_CROSS_STRATEGY 1 #define S3L_FLAT 1 #endif - + +#define S3L_NEAR (S3L_F / 2) #include "small3dlib.h" /// Renderer specific unit, length of one map square. -#define LCR_RENDERER_UNIT (S3L_F / 2) - // NOTE: ^ S3L_F sometimes makes some triangles bug, S3L_F/2 seems to fix it - // but it's more jerky, maybe try to apply anti-overflow in S3L? +#define LCR_RENDERER_UNIT (S3L_F) #define LCR_RENDERER_CHUNK_RESOLUTION 4 // do not change #define LCR_RENDERER_LOD_BLOCKS 64 // do not change