mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 05:00:41 +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;
|
||||
|
||||
OSD_Exec("m32_autoexec.cfg");
|
||||
|
||||
updatesector(pos.x,pos.y,&cursectnum);
|
||||
|
||||
if (cursectnum == -1)
|
||||
|
|
|
@ -661,7 +661,6 @@ onevent EVENT_ANALYZESPRITES
|
|||
break
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
// switch sprite[j].picnum
|
||||
// case LIZTROOP spritepal 1 break
|
||||
|
@ -669,6 +668,7 @@ onevent EVENT_ANALYZESPRITES
|
|||
// case BOSS1 spritepal 6 break
|
||||
// endswitch
|
||||
}
|
||||
*/
|
||||
endevent
|
||||
|
||||
onevent EVENT_KEYS3D
|
||||
|
|
|
@ -4797,7 +4797,7 @@ static void Keys3d(void)
|
|||
if (AIMING_AT_WALL || AIMING_AT_CEILING)
|
||||
{
|
||||
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);
|
||||
|
||||
for (j=0; j<(k?k:1); j++, sect=highlightsector[j])
|
||||
|
|
Loading…
Reference in a new issue