Minor crap

git-svn-id: https://svn.eduke32.com/eduke32@474 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2007-01-26 21:12:05 +00:00
parent 1b5284aee0
commit c21558f2a3
3 changed files with 19 additions and 15 deletions

View file

@ -424,7 +424,11 @@ int OSD_HandleKey(int sc, int press)
{
tabc = findsymbol(osdedittmp, NULL);
if (tabc->next && findsymbol(osdedittmp, tabc->next))
if (tabc)
{
if (tabc->next)
{
if (findsymbol(osdedittmp, tabc->next))
{
symbol_t *symb=tabc;
@ -437,6 +441,8 @@ int OSD_HandleKey(int sc, int press)
}
}
}
}
}
} else {
tabc = findsymbol(osdedittmp, lastmatch->next);
if (!tabc && lastmatch)

View file

@ -117,7 +117,7 @@ static struct glfiltermodes {
long glanisotropy = 1; // 0 = maximum supported by card
long glusetexcompr = 1;
long gltexfiltermode = 0; // GL_NEAREST
long gltexfiltermode = 2; // GL_NEAREST_MIPMAP_NEAREST
long glusetexcache = 0;
long glusetexcachecompression = 1;
long glmultisample = 0, glnvmultisamplehint = 0;

View file

@ -724,7 +724,7 @@ void menus(void)
"-",
"-",
"-",
"Taunt macro setup...",
"Multiplayer macros",
NULL
};
@ -959,7 +959,7 @@ void menus(void)
case 20004:
case 20005:
rotatesprite(160<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1);
menutext(160,24,0,0,"TAUNT MACRO SETUP");
menutext(160,24,0,0,"MULTIPLAYER MACROS");
if (current_menu == 20004)
{
@ -2676,7 +2676,7 @@ cheat_for_port_credits:
{
int io, ii, yy, d=c+160+40, enabled;
char *opts[] = {
"Parental lock...",
"Parental lock",
"-",
"Game messages",
"HUD weapon",
@ -3226,13 +3226,11 @@ cheat_for_port_credits:
// menutext(c+154,50+62+16+16,MENUHIGHLIGHT(5),bpp==8,tempbuf);
gametextpal(c+154,50+62+16+16-8,tempbuf,MENUHIGHLIGHT(5),bpp==8);
menutext(c,50+62+16+16+16,MENUHIGHLIGHT(6),bpp==8,"ANISOTROPY");
if (glanisotropy == 1) strcpy(tempbuf,"NONE");
else sprintf(tempbuf,"%ld-tap",glanisotropy);
menutext(c+154,50+62+16+16+16,MENUHIGHLIGHT(6),bpp==8,tempbuf);
menutext(c,50+62+16+16+16+16,MENUHIGHLIGHT(7),bpp==8,"ADVANCED...");
menutext(c,50+62+16+16+16+16,MENUHIGHLIGHT(7),bpp==8,"ADVANCED VIDEO");
#endif
break;