mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-03 15:31:08 +00:00
- Fixed: In the Doom2 cast finale it was impossible to toggle the console.
- Added APROP_Friendly actor property for ACS. - Added a new flag, MF2_DONTREFLECT that prevents missiles from being reflected. - Fixed: ALoreShot::DoSpecialDamage must check whether the shooter is still present. If it had been removed before the projectile hits its target a crash could occur. - Fixed: GetPlayerInfo was missing breaks and always returned 0 as a result. - Added Grubber's submission for printing key bindings in ACS. SVN r491 (trunk)
This commit is contained in:
parent
6f494c535b
commit
1e12f4404d
4 changed files with 7 additions and 0 deletions
3
parse.c
3
parse.c
|
@ -2045,6 +2045,9 @@ static void BuildPrintString(void)
|
|||
case 'f': // [RH] fixed point
|
||||
printCmd = PCD_PRINTFIXED;
|
||||
break;
|
||||
case 'k': // [GRB] key binding
|
||||
printCmd = PCD_PRINTBIND;
|
||||
break;
|
||||
default:
|
||||
printCmd = PCD_PRINTSTRING;
|
||||
ERR_Error(ERR_UNKNOWN_PRTYPE, YES);
|
||||
|
|
1
pcode.c
1
pcode.c
|
@ -443,6 +443,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_NEGATEBINARY",
|
||||
"PCD_GETACTORPITCH",
|
||||
"PCD_SETACTORPITCH",
|
||||
"PCD_PRINTBIND",
|
||||
};
|
||||
|
||||
// CODE --------------------------------------------------------------------
|
||||
|
|
1
pcode.h
1
pcode.h
|
@ -393,6 +393,7 @@ typedef enum
|
|||
PCD_NEGATEBINARY,
|
||||
PCD_GETACTORPITCH,
|
||||
PCD_SETACTORPITCH,
|
||||
PCD_PRINTBIND,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
|
@ -172,6 +172,8 @@
|
|||
#define APROP_JumpZ 12
|
||||
#define APROP_ChaseGoal 13
|
||||
#define APROP_Frightened 14
|
||||
#define APROP_Gravity 15
|
||||
#define APROP_Friendly 16
|
||||
#define APROP_SeeSound 5 // Sounds can only be set, not gotten
|
||||
#define APROP_AttackSound 6
|
||||
#define APROP_PainSound 7
|
||||
|
|
Loading…
Reference in a new issue