Christoph Oelckers
cd74e70739
- fixed: Inventory items that are terminated by GoAwayAndDie must be removed from the blockmap and sector lists.
...
Since they were just scheduled for delayed deletion any map related action they can trigger is unwanted.
2020-06-19 11:54:05 +02:00
Christoph Oelckers
b731a0e2c4
- fixed use of Powerup.Strength in PowerInvisibility.
...
An integer division made the feature useless.
2020-05-26 00:30:09 +02:00
Major Cooke
36bf930575
Enforce the reflective flag as well.
2020-05-17 02:10:14 +02:00
Major Cooke
ac015c4bb9
Fixed an issue where multiple invulnerability powerups could cancel each other out from just one expiring.
2020-05-17 02:10:12 +02:00
nashmuhandes
315efb2b97
Add help messages for most of the deprecated stuff in ZScript.
...
# Conflicts:
# wadsrc/static/zscript/actors/actor.zs
# wadsrc/static/zscript/base.zs
# wadsrc/static/zscript/destructible.zs
# wadsrc/static/zscript/mapdata.zs
# Conflicts:
# wadsrc/static/zscript/base.zs
2020-03-16 11:07:29 +01:00
Christoph Oelckers
4e40c4dfa9
- fixed: player_t::GetPSprite cannot guarantee success
...
As a consequence it must return null in the failure case instead of asserting and all calls to this function must check for the failure case.
2020-03-11 20:18:43 +01:00
Major Cooke
3e77f9a6bd
Added A_StopAllSounds.
2020-02-29 20:02:17 +01:00
Major Cooke
116a935b71
Added source, inflictor and damage flags to AbsorbDamage.
2020-02-11 00:55:21 +01:00
alexey.lysiuk
b8395e5b59
- fixed wrong arguments of a few A_StartSound() calls
...
https://forum.zdoom.org/viewtopic.php?t=67074
2020-01-24 15:20:35 +01:00
Christoph Oelckers
5229a84047
- deprecated A_PlaySound for real and transitoned the internal scripts to A_StartSound
...
# Conflicts:
# wadsrc_extra/static/filter/harmony/decorate.txt
2020-01-07 19:36:57 +01:00
Christoph Oelckers
ce1f4427cc
- cleaned up the parameters of A_StartSound.
...
There were two booleans that could be merged into the flag word.
This also fixes a bug with CHAN_NOSTOP not working for local sounds because it checked the wrong sound source for the playing sound.
2020-01-07 19:36:52 +01:00
Christoph Oelckers
7919c86f3e
- elimintated all cases from the ZScript code where channel indices and flags were combined into one parameter and removed all remnants of CHAN_PICKUP.
2020-01-06 19:49:18 +01:00
alexey.lysiuk
0b16eb2cbb
- fixed: pickup flash didn't fade out if player was killed by pickup
...
https://forum.zdoom.org/viewtopic.php?t=66135
2019-10-16 20:56:41 +02:00
Christoph Oelckers
358718de05
- removed the playernum parameter from CheckLocalView
...
This was always used with 'consoleplayer' which really is the only thing making sense here. But this is a part of the global state which should be avoided in play code.
In particular, this makes no real sense in case of secondary maps where it should always return false.
# Conflicts:
# src/fragglescript/t_func.cpp
# src/g_inventory/a_keys.cpp
# src/p_acs.cpp
# src/p_mobj.cpp
# src/p_user.cpp
# src/r_data/r_interpolate.cpp
# src/r_data/r_interpolate.h
2019-09-02 21:17:19 +02:00
Blue Shadow
b9a9e3f8b7
- moved GetSaveAmount() from the base armor class
2019-08-05 13:29:02 +02:00
Blue Shadow
80c561a056
- fixed buggy ArmorFactor behavior when set to a value other than 1.0
2019-08-05 13:29:01 +02:00
Christoph Oelckers
aafb781d76
- removed the leftovers of the removed savedamount variable.
2019-05-02 19:56:24 +02:00
Christoph Oelckers
d599e2738d
- removed the MaxAmount fudging from MaxHealth.
2019-05-02 19:55:35 +02:00
Sterling Parker
c2bdeb7da1
Add LookScale property
...
As requested by @coelckers.
2019-04-28 23:02:01 +02:00
Sterling Parker
8ce7da0a5e
Add LookScale variable on weapon
...
This variable allows a weapon to set a custom look sensitivity multiplier without fiddling with FOVScale / DesiredFOV hacks.
2019-04-28 23:01:57 +02:00
Major Cooke
fc510a7d89
Added CanTouchItem virtual.
...
- Allows an actor with +PICKUP flag to determine if it can pick up specific items or not.
2019-04-28 22:57:40 +02:00
Christoph Oelckers
961a6fe211
- reorganized the ZScript content in gzdoom.pk3 and changed the files' extensions to something unique for easier syntax highlighting.
...
# Conflicts:
# wadsrc/static/zscript.txt
2019-04-28 22:14:34 +02:00