From 17a08870869059f4cbbcb20810cff674cc120ffc Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 5 Feb 2011 17:16:15 +0000 Subject: [PATCH] make [ and ] keys cycle search matches and Alt-[ and Alt-] cycle corrupt places; make Alt behave the same as Shift when panning/resizing textures in 3D mode to work around dead Shift+KP5+KP2/8 combination. git-svn-id: https://svn.eduke32.com/eduke32@1788 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 59559627e..8c19ac977 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -4939,7 +4939,7 @@ static void Keys3d(void) } smooshyalign = keystatus[KEYSC_gKP5]; - repeatpanalign = eitherSHIFT || (bstatus&2); + repeatpanalign = eitherSHIFT || eitherALT || (bstatus&2); if (mlook == 2) mlook = 0; @@ -5969,7 +5969,7 @@ static void Keys3d(void) smooshyalign = keystatus[KEYSC_gKP5]; - repeatpanalign = eitherSHIFT; + repeatpanalign = eitherSHIFT || eitherALT; //////////////////// updownunits=1; @@ -7046,7 +7046,7 @@ static void Keys2d(void) if (tsign) { - if (numcorruptthings>0) + if (eitherALT && numcorruptthings>0) { int32_t wrap=0, x, y, z; @@ -10400,7 +10400,7 @@ static void EditSectorData(int16_t sectnum) break; case 5: for (i=Bsprintf(disptext,"Floor heinum: %d",sector[sectnum].floorheinum); i < dispwidth; i++) disptext[i] = ' '; - Bsprintf(edittext,"Sector %d Flooring Heinum: ",sectnum); + Bsprintf(edittext,"Sector %d Floor Heinum: ",sectnum); if (editval) { printmessage16("%s", edittext); @@ -10964,11 +10964,11 @@ static void GenericSpriteSearch() k=Bsprintf(disptext, "%s: %d", labels[j][i], gs_spriteTagValue[i][j]); else k=Bsprintf(disptext, "%s: ^7any", labels[j][i]); - for (; k