Redo menu a little
This commit is contained in:
parent
23c63d101a
commit
4b6fcdb1a4
4 changed files with 7 additions and 8 deletions
2
TODO.txt
2
TODO.txt
|
@ -2,7 +2,6 @@ fuck issue trackers :D
|
||||||
|
|
||||||
=========== GENERAL ==============
|
=========== GENERAL ==============
|
||||||
|
|
||||||
- redo the menu effect somehow
|
|
||||||
- check again the target times for maps
|
- check again the target times for maps
|
||||||
- frontends:
|
- frontends:
|
||||||
- auto test frontend, with no I/O, that will just internally run a series of
|
- auto test frontend, with no I/O, that will just internally run a series of
|
||||||
|
@ -44,6 +43,7 @@ fuck issue trackers :D
|
||||||
=========== HANDLED ==============
|
=========== HANDLED ==============
|
||||||
|
|
||||||
- should drifting make a sound? NO NEED
|
- should drifting make a sound? NO NEED
|
||||||
|
- redo the menu effect somehow
|
||||||
- press forward map??? :-D only when physics is frozen
|
- press forward map??? :-D only when physics is frozen
|
||||||
- devtest map, internal camera: reversing at start makes the car face completely
|
- devtest map, internal camera: reversing at start makes the car face completely
|
||||||
downwards which bugs the camera rotation! the shadow model too
|
downwards which bugs the camera rotation! the shadow model too
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "frontend_helper.h"
|
#include "frontend_helper.h"
|
||||||
|
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
|
|
||||||
SDL_Window *window;
|
SDL_Window *window;
|
||||||
|
|
2
make.sh
2
make.sh
|
@ -1,4 +1,4 @@
|
||||||
#/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Make script for Licar, just help run the compile command. Usage:
|
# Make script for Licar, just help run the compile command. Usage:
|
||||||
#
|
#
|
||||||
|
|
10
renderer.h
10
renderer.h
|
@ -1980,10 +1980,8 @@ void LCR_rendererDrawMenu(const char *tabName,const char **items,
|
||||||
unsigned char itemCount,char selectedItem, char scroll)
|
unsigned char itemCount,char selectedItem, char scroll)
|
||||||
{
|
{
|
||||||
#if !LCR_ANT_RESOLUTION
|
#if !LCR_ANT_RESOLUTION
|
||||||
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
|
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
|
||||||
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
||||||
// int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 7;
|
|
||||||
// int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 9;
|
|
||||||
#else
|
#else
|
||||||
int stripHeight = 6;
|
int stripHeight = 6;
|
||||||
int stripHeight2 = 0;
|
int stripHeight2 = 0;
|
||||||
|
@ -1991,7 +1989,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
#if !(LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR)
|
#if !(LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR)
|
||||||
uint16_t effect = LCR_renderer.frame >> 1;
|
uint16_t effect = LCR_renderer.frame >> 2;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
LCR_LOG2("drawing menu");
|
LCR_LOG2("drawing menu");
|
||||||
|
@ -2002,7 +2000,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
|
||||||
#if LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR
|
#if LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
^ (effect & 0x41c3));
|
^ (effect & 0x1863) ^ (i & 0x1863));
|
||||||
|
|
||||||
effect += 5 + i % 4;
|
effect += 5 + i % 4;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue