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,16 +424,22 @@ int OSD_HandleKey(int sc, int press)
{ {
tabc = findsymbol(osdedittmp, NULL); tabc = findsymbol(osdedittmp, NULL);
if (tabc->next && findsymbol(osdedittmp, tabc->next)) if (tabc)
{ {
symbol_t *symb=tabc; if (tabc->next)
OSD_Printf("Matching symbols:\n");
while (symb && symb != lastmatch)
{ {
OSD_Printf(" %s\n", symb->name); if (findsymbol(osdedittmp, tabc->next))
lastmatch = symb; {
symb=findsymbol(osdedittmp, lastmatch->next); symbol_t *symb=tabc;
OSD_Printf("Matching symbols:\n");
while (symb && symb != lastmatch)
{
OSD_Printf(" %s\n", symb->name);
lastmatch = symb;
symb=findsymbol(osdedittmp, lastmatch->next);
}
}
} }
} }
} }

View file

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

View file

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