mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-03 07:21:03 +00:00
- 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:
parent
b7a72e103a
commit
1a09a82355
3 changed files with 9 additions and 0 deletions
3
pcode.c
3
pcode.c
|
@ -448,6 +448,9 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_THINGDAMAGE2",
|
||||
"PCD_USEINVENTORY",
|
||||
"PCD_USEACTORINVENTORY",
|
||||
"PCD_CHECKACTORCEILINGTEXTURE",
|
||||
"PCD_CHECKACTORFLOORTEXTURE",
|
||||
"PCD_GETACTORLIGHTLEVEL",
|
||||
};
|
||||
|
||||
// CODE --------------------------------------------------------------------
|
||||
|
|
3
pcode.h
3
pcode.h
|
@ -399,6 +399,9 @@ typedef enum
|
|||
PCD_THINGDAMAGE2,
|
||||
PCD_USEINVENTORY,
|
||||
PCD_USEACTORINVENTORY,
|
||||
PCD_CHECKACTORCEILINGTEXTURE,
|
||||
PCD_CHECKACTORFLOORTEXTURE,
|
||||
PCD_GETACTORLIGHTLEVEL,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
3
symbol.c
3
symbol.c
|
@ -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 }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue