Redo menu a little

This commit is contained in:
Miloslav Ciz 2025-06-09 20:57:17 +02:00
parent 23c63d101a
commit 4b6fcdb1a4
4 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,6 @@ fuck issue trackers :D
=========== GENERAL ==============
- redo the menu effect somehow
- check again the target times for maps
- frontends:
- auto test frontend, with no I/O, that will just internally run a series of
@ -44,6 +43,7 @@ fuck issue trackers :D
=========== HANDLED ==============
- should drifting make a sound? NO NEED
- redo the menu effect somehow
- press forward map??? :-D only when physics is frozen
- devtest map, internal camera: reversing at start makes the car face completely
downwards which bugs the camera rotation! the shadow model too

View file

@ -24,6 +24,7 @@
#endif
#include "frontend_helper.h"
#include "game.h"
SDL_Window *window;

View file

@ -1,4 +1,4 @@
#/bin/sh
#!/bin/sh
# Make script for Licar, just help run the compile command. Usage:
#

View file

@ -1982,8 +1982,6 @@ void LCR_rendererDrawMenu(const char *tabName,const char **items,
#if !LCR_ANT_RESOLUTION
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
// int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 7;
// int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 9;
#else
int stripHeight = 6;
int stripHeight2 = 0;
@ -1991,7 +1989,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
int i = 0;
#if !(LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR)
uint16_t effect = LCR_renderer.frame >> 1;
uint16_t effect = LCR_renderer.frame >> 2;
#endif
LCR_LOG2("drawing menu");
@ -2002,7 +2000,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
#if LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR
);
#else
^ (effect & 0x41c3));
^ (effect & 0x1863) ^ (i & 0x1863));
effect += 5 + i % 4;
#endif