mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-22 03:21:07 +00:00
added m32_autoexec.cfg execution on startup of mapster32 (like autoexec.cfg for the game); in 3d mode: shift-pgup/pgdn -> alt-pgup/pgdn for 2-sided walls
git-svn-id: https://svn.eduke32.com/eduke32@1682 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d9092fcd2b
commit
fff9bbadd9
3 changed files with 4 additions and 2 deletions
|
@ -486,6 +486,8 @@ int32_t app_main(int32_t argc, const char **argv)
|
||||||
|
|
||||||
totalclock = 0;
|
totalclock = 0;
|
||||||
|
|
||||||
|
OSD_Exec("m32_autoexec.cfg");
|
||||||
|
|
||||||
updatesector(pos.x,pos.y,&cursectnum);
|
updatesector(pos.x,pos.y,&cursectnum);
|
||||||
|
|
||||||
if (cursectnum == -1)
|
if (cursectnum == -1)
|
||||||
|
|
|
@ -661,7 +661,6 @@ onevent EVENT_ANALYZESPRITES
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
// switch sprite[j].picnum
|
// switch sprite[j].picnum
|
||||||
// case LIZTROOP spritepal 1 break
|
// case LIZTROOP spritepal 1 break
|
||||||
|
@ -669,6 +668,7 @@ onevent EVENT_ANALYZESPRITES
|
||||||
// case BOSS1 spritepal 6 break
|
// case BOSS1 spritepal 6 break
|
||||||
// endswitch
|
// endswitch
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
endevent
|
endevent
|
||||||
|
|
||||||
onevent EVENT_KEYS3D
|
onevent EVENT_KEYS3D
|
||||||
|
|
|
@ -4797,7 +4797,7 @@ static void Keys3d(void)
|
||||||
if (AIMING_AT_WALL || AIMING_AT_CEILING)
|
if (AIMING_AT_WALL || AIMING_AT_CEILING)
|
||||||
{
|
{
|
||||||
int16_t sect = k ? highlightsector[0] :
|
int16_t sect = k ? highlightsector[0] :
|
||||||
((AIMING_AT_WALL && eitherSHIFT && wall[searchwall].nextsector>=0) ?
|
((AIMING_AT_WALL && wall[searchwall].nextsector>=0 && (eitherALT && !(bstatus&1))) ?
|
||||||
wall[searchwall].nextsector : searchsector);
|
wall[searchwall].nextsector : searchsector);
|
||||||
|
|
||||||
for (j=0; j<(k?k:1); j++, sect=highlightsector[j])
|
for (j=0; j<(k?k:1); j++, sect=highlightsector[j])
|
||||||
|
|
Loading…
Reference in a new issue