}\r
}\r
\r
-void menu_darken_bg(void *dst, int pixels, int darker)\r
-{\r
- unsigned int *screen = dst;\r
- pixels /= 2;\r
- if (darker)\r
- {\r
- while (pixels--)\r
- {\r
- unsigned int p = *screen;\r
- *screen++ = ((p&0xf79ef79e)>>1) - ((p&0xc618c618)>>3);\r
- }\r
- }\r
- else\r
- {\r
- while (pixels--)\r
- {\r
- unsigned int p = *screen;\r
- *screen++ = (p&0xf79ef79e)>>1;\r
- }\r
- }\r
-}\r
-\r
static void menu_prepare_bg(int use_game_bg)\r
{\r
if (use_game_bg)\r
}\r
\r
\r
-void menu_loop(void)\r
+void menu_loop_old(void)\r
{\r
in_set_blocking(1);\r
menu_gfx_prepare();\r