- fixed: A_CountdownArg used 0 based indices although all uses of it assumed

it is 1-based.
- added MF5_DONTRIP flag.
- added CheckActorFloorTexture, CheckActorCeilingTexture and
  GetActorLightLevel ACS functions.
- added IF_ADDITIVETIME flag to create powerups that add their duration
  to the one of the currently active item of the same type.
- fixed: bouncecount wasn't decreased when bouncing on walls.
- Added MF5_ALWAYSRESPAWN and MF5_NEVERRESPAWN flags that selectively
  enable or disable monster respawning regardless of skill setting.
- Prettified deprecated flag handling.


SVN r780 (trunk)
This commit is contained in:
Christoph Oelckers 2008-03-01 16:59:17 +00:00
parent b7a72e103a
commit 1a09a82355
3 changed files with 9 additions and 0 deletions

View file

@ -448,6 +448,9 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_THINGDAMAGE2",
"PCD_USEINVENTORY",
"PCD_USEACTORINVENTORY",
"PCD_CHECKACTORCEILINGTEXTURE",
"PCD_CHECKACTORFLOORTEXTURE",
"PCD_GETACTORLIGHTLEVEL",
};
// CODE --------------------------------------------------------------------

View file

@ -399,6 +399,9 @@ typedef enum
PCD_THINGDAMAGE2,
PCD_USEINVENTORY,
PCD_USEACTORINVENTORY,
PCD_CHECKACTORCEILINGTEXTURE,
PCD_CHECKACTORFLOORTEXTURE,
PCD_GETACTORLIGHTLEVEL,
PCODE_COMMAND_COUNT
} pcd_t;

View file

@ -183,6 +183,9 @@ static internFuncDef_t InternalFunctions[] =
{ "thing_damage2", PCD_NOP, PCD_THINGDAMAGE2, 3, 0, 0, YES, NO },
{ "useinventory", PCD_NOP, PCD_USEINVENTORY, 1, 0, 0, YES, NO },
{ "useactorinventory", PCD_NOP, PCD_USEACTORINVENTORY, 2, 0, 0, YES, NO },
{ "checkactorceilingtexture", PCD_NOP, PCD_CHECKACTORCEILINGTEXTURE, 2, 0, 0, YES, NO },
{ "checkactorfloortexture", PCD_NOP, PCD_CHECKACTORFLOORTEXTURE, 2, 0, 0, YES, NO },
{ "getactorlightlevel", PCD_NOP, PCD_GETACTORLIGHTLEVEL, 1, 0, 0, YES, NO },
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
};