Randy Heit
a7a7d5d6b3
Add missing prantheses for A_CustomPunch's puffFlags calculation
...
- Fixed: Need parentheses for precedence when setting puffFlags in
A_CustomPunch. Otherwise, it's completely broken.
2013-09-18 21:25:00 -05:00
Randy Heit
7143ae49e1
Fixed: CheckPlayerCamera not sync safe
...
- If a player is spying through another player, CheckPlayerCamera will
return the TID of the player you are "spying", but as coopspy isn't a
net command, this wont be reflected by all nodes. So to fix this,
CheckPlayerCamera now returns -1 if a player's camera is that of any
player at all. (thanks edward850)
2013-08-29 21:45:37 -05:00
Randy Heit
aac0de3e48
Fixed: Make A_SetTics work with weapons.
...
- When A_SetTics is called from a weapon, we need to set the tics for the
psprite instead of the actor itself.
2013-08-29 21:40:01 -05:00
Braden Obrzut
5079d6c505
- Fixed: clang 32-bit compile (I hear it still doesn't run though).
...
- Applied edward's patch to remove boolean increment.
2013-08-27 20:28:38 -04:00
Christoph Oelckers
ecfe67dd78
- removed weirdness from Powerup.Strength property that was specifically tailored to its use on PowerInvisibility and made its use problematic elsewhere.
2013-08-12 09:13:55 +02:00
Christoph Oelckers
c0174ea7cd
- Added A_DropItem for DECORATE.
2013-08-11 20:48:08 +02:00
Christoph Oelckers
211d293002
- added MF6_NOTONAUTOMAP flag to exclude things from being shown with the scanner powerup. The IDDT cheat will not be affected by this.
2013-08-10 08:53:37 +02:00
Christoph Oelckers
a78ad3188b
- added MF5_NOFORWARDFALL flag to prevent attacks from making its victim fall forward randomly.
2013-08-09 20:20:23 +02:00
Christoph Oelckers
34b71baad1
- added Player.Aircapacity property which is used as a multiplier for the level's air supply.
2013-08-09 11:57:14 +02:00
Christoph Oelckers
cbc0b70e7c
- TransferStencilColor A_SpawnItemEx patch / by Ryan Cordell.
2013-07-24 20:15:17 +02:00
Christoph Oelckers
f3d8790995
Merge branch 'maint' of https://github.com/rheit/zdoom into maint
2013-07-22 22:54:45 +02:00
Christoph Oelckers
83bd8ba1b8
- added NeuralStunner's player.userange submission, but changed it to use the value directly from the PlayerPawn data.
...
- bumped savegame version for addition of APlayerPawn::userange.
2013-07-22 22:37:50 +02:00
Christoph Oelckers
a90b49dc72
- added string table replacement for A_Print, A_PrintBold and A_Log.
2013-07-14 14:33:45 +02:00
Christoph Oelckers
94a3d92f93
Merge branch 'maint'
2013-06-24 16:49:51 +02:00
Christoph Oelckers
394f21f71e
- fixed: Draining health from a victim must check for damage reduction before awarding the health to the player. This affected Heretic's gauntlets, A_Saw and A_CustomPunch.
...
- added a DONTDRAIN flag that prevents the above attacks from draining any health at all.
2013-06-24 16:42:43 +02:00
Christoph Oelckers
7d56311152
- added Ryan Cordell's A_CheckRange submission.
2013-06-23 18:45:17 +02:00
Randy Heit
2d13a45773
- Added read access to an actor's melee range from DECORATE and ACS, via Blue Shadow.
...
SVN r4305 (trunk)
2013-06-01 02:23:27 +00:00
Christoph Oelckers
9e3c6a3cc7
- fixed parameter type for Floatbobphase property.
...
SVN r4300 (trunk)
2013-05-31 18:10:41 +00:00
Christoph Oelckers
ad12be4877
- fixed inappropriate type for FloatBobPhase property.
...
SVN r4299 (trunk)
2013-05-30 21:10:54 +00:00
Christoph Oelckers
a7c2346b32
- added a FloatBobPhase property for DECORATE. Now, if FloatBobPhase is anything but -1 it will be used directly as the initial phase, allowing to define actors that bob in sync. The allowed range of phases is 0 - 63. The main reason for this is that each actor spawn called the pr_spawnmobj RNG just to randomize this value which causes problems with non-interactive actors, in particular GZDoom's dynamic lights.
...
SVN r4296 (trunk)
2013-05-30 08:52:29 +00:00
Randy Heit
504496278b
- Fixed: FxBinaryInts that needed to cast the right-side parameter to an int resolved the left
...
side instead.
SVN r4265 (trunk)
2013-05-13 02:55:48 +00:00
Randy Heit
894c4198b0
- Fixed possible NULL pointer deref in A_FireBullets
...
SVN r4263 (trunk)
2013-05-13 02:27:39 +00:00
Randy Heit
c63273348a
- Fixed possible NULL pointer deref in A_CustomPunch
...
SVN r4255 (trunk)
2013-05-12 18:31:36 +00:00
Randy Heit
2668988870
- Switched to a genericly extensible representation for userinfo.
...
- Fixed: The playerinfo CCMD did not range check the player number.
SVN r4253 (trunk)
2013-05-12 18:27:03 +00:00
Randy Heit
9072c25e65
- Added a big-endian fix for actor flag fields that aren't four bytes wide.
...
SVN r4251 (trunk)
2013-05-05 00:01:51 +00:00
Randy Heit
40f7abb8e9
- Added bounce states. Set the BOUNCE_UseBounceState flag to use them (+USEBOUNCESTATE via
...
DECORATE). Then you can use:
* Bounce
* Bounce.Floor
* Bounce.Ceiling
* Bounce.Wall
* Bounce.Actor
* Bounce.Actor.Creature
Partial matches work just like Pain states, so if an actor bounces off a floor and you don't
have a Bounce.Floor state, but you do have a Bounce state, it will use the Bounce state.
Conversely, if you only have a Bounce.Floor state but no Bounce state, then the actor will
only enter the Bounce.Floor state when it bounces on a floor; bouncing off anything else will
not cause it to change state.
SVN r4250 (trunk)
2013-05-04 22:52:37 +00:00
Christoph Oelckers
bed47c6eff
- A_KIllSiblings and A_DamageSiblings didn't check for a valid master.
...
SVN r4242 (trunk)
2013-04-30 06:48:53 +00:00
Randy Heit
0e19a0e330
- Added a NODELAY state flag. This is only valid for a state immediately following a Spawn label.
...
When set, the actor will run this state during its first tick. This means Spawn
states may now run an action function if you set this flag. Note that this action function
is executed during the actor's first tick, which is not the same as when it is spawned.
SVN r4240 (trunk)
2013-04-30 04:20:09 +00:00
Randy Heit
5dc034c2ed
- Fixed: A_RemoveSiblings and A_KillSiblings did not check that the caller had a master to deduce siblings from.
...
SVN r4237 (trunk)
2013-04-30 02:46:47 +00:00
Randy Heit
f7aa019f85
- Stylistic changes.
...
SVN r4236 (trunk)
2013-04-30 02:45:15 +00:00
Randy Heit
e92560b4da
- Be consistent with whitespace tabs.
...
SVN r4235 (trunk)
2013-04-30 02:41:59 +00:00
Christoph Oelckers
9f71c7cb4e
- added Xaser's reactiontime for ACS and DECORATE expression patch.
...
SVN r4222 (trunk)
2013-04-20 21:32:03 +00:00
Randy Heit
cb64014494
- Added CROUCHABLEMORPH flag for the PlayerPawn class. Use this to indicate that a morphed
...
player class can crouch. (Regular players can always crouch, hence the name CROUCHABLEMORPH
and not CANMORPH or ALLOWMORPH.)
SVN r4221 (trunk)
2013-04-19 02:24:20 +00:00
Randy Heit
ec6d522a29
- Remove the requirement that only action function default parameters can accept a constant
...
expression that evaluates to the class 'None'. (I don't know why that was there to begin with.)
SVN r4210 (trunk)
2013-04-09 22:15:41 +00:00
Randy Heit
147da94e2f
- Added FDARI's CLOFF_JUMP_ON_MISS and CLOFF_AIM_VERT_NOOFFSET flags.
...
SVN r4207 (trunk)
2013-03-28 01:29:23 +00:00
Randy Heit
324b13c89b
- Added Weapon.MinSelectionAmmo1 and Weapon.MinSelectionAmmo2 to exclude weapons from autoselection
...
even if they have enough ammo to be used.
SVN r4203 (trunk)
2013-03-24 02:25:12 +00:00
Randy Heit
f9915d7cf2
- Added FDARI's A_CheckLOF, modified to use a Trace callback function.
...
SVN r4201 (trunk)
2013-03-23 02:55:59 +00:00
Randy Heit
c54ea7f6b7
- Added SXF_TRANSFERSPECIAL and SXF_CLEARCALLERSPECIAL flags for A_SpawnItemEx.
...
SVN r4199 (trunk)
2013-03-23 01:22:37 +00:00
Randy Heit
2874d927b1
- Random spawners no longer move the missile forward when spawning them, because presumably
...
whatever spawned the random spawner already took care of this.
- Added a maxdist parameter to P_CheckMissileSpawn() to help ensure that it doesn't completely
move the spawned missile outside of its shooter (and potentially beyond a wall the shooter
might happen to be standing next to).
SVN r4194 (trunk)
2013-03-21 03:06:04 +00:00
Randy Heit
53e73783e0
- Added spawnofs_z parameter to A_RailAttack and A_CustomRailgun.
...
SVN r4191 (trunk)
2013-03-20 03:36:45 +00:00
Randy Heit
277d59b2bb
- Added flags SXF_CLEARCALLERTID, SXF_MULTIPLYSPEED, and SXF_TRANSFERSCALE for A_SpawnItemEx.
...
SVN r4188 (trunk)
2013-03-20 03:07:45 +00:00
Randy Heit
de20936b13
- Allow negative force for A_RadiusThrust.
...
SVN r4187 (trunk)
2013-03-20 02:41:59 +00:00
Christoph Oelckers
b0203c9f1d
- added Xaser's SXF_USEBLOODCOLOR for A_SpawnItemEx submission
...
SVN r4181 (trunk)
2013-03-13 11:27:30 +00:00
Randy Heit
8410ac760a
- Added A_SetDamageType.
...
SVN r4180 (trunk)
2013-03-13 04:04:48 +00:00
Christoph Oelckers
c7aa7e2a4b
- missing NORANDOMPUFFZ code.
...
SVN r4177 (trunk)
2013-03-09 07:09:40 +00:00
Randy Heit
bd601a1bc8
- Added NOTRAIL flag for PowerSpeed.
...
SVN r4146 (trunk)
2013-02-19 02:44:49 +00:00
Randy Heit
ae6b0c6215
- Added IF_NOSCREENFLASH>
...
SVN r4145 (trunk)
2013-02-19 02:27:41 +00:00
Braden Obrzut
dcb1a3c8bd
- GCC warning cleanup
...
SVN r4031 (trunk)
2013-01-21 22:30:30 +00:00
Braden Obrzut
de65ae809f
- Fixed: BobStyle was assigned as if they were flags.
...
SVN r4027 (trunk)
2013-01-17 19:25:22 +00:00
Randy Heit
549712e719
- P_DamageMobj() now returns the amount of damage actually done so that the bleed functions
...
can perform based on the amount of damage actually taken after all modifications are done to
it. However, if the damage is canceled away, blood will still spawn for the original damage
amount rather than the modified amount.
SVN r4012 (trunk)
2013-01-02 04:39:59 +00:00