2bd1cb0657
Replace usage of ThinkerIterator and BlockThingsIterator in various places where we can instead loop through sector thing lists.
...
While in the latter case this may result in longer loops, it also reduces GC thrashing by not needing to allocate an iterator every time.
This also simplifies the DoBlast code as there is no longer a need to manually traverse portals vertically.
2023-07-29 13:15:34 +02:00
b643167bb1
Fix potential division by zero in DoExplosion.
...
(It has never happened in practice, but just in case)
2023-06-26 23:54:48 +02:00
a2f245b189
More stuff I missed.
2023-03-17 13:31:10 +01:00
35b8b986db
Cleaning up.
2023-02-11 17:03:43 +01:00
525b9e33eb
Use new let syntax for multiple returns.
2023-01-14 19:14:39 +01:00
d0fddbf8a3
Testing changes for GZDoom 4.11/5.0.
2023-01-08 14:58:06 +01:00
eff2a9a69b
Add MapRange utility function (currently unused).
2022-12-30 23:16:36 +01:00
116bca4b0b
Show "all keys" doors as multicolor in the minimap.
...
Deprecate IsValidLockNum and GetLockColor utility functions.
2022-12-23 18:26:12 +01:00
dd7070b453
UseLinePos doesn't need to be play scoped.
2022-12-18 21:42:00 +01:00
e5cb32bc02
Remove redundant "clearscope" from utility functions.
2022-12-18 20:12:17 +01:00
b1683dae8e
Generalized hitnormal functions (where possible).
2022-12-18 20:03:36 +01:00
44f39d1024
Split player and utility code.
2022-12-15 17:12:53 +01:00
8e952f412f
4.10 support update (unfinished and untested).
2022-12-05 02:10:56 +01:00
eb624f15e3
Fix zero-damage hits spawning blood.
...
(Can't apply to Spreadgun/Wallbuster due to Damage Accumulator use)
2022-12-03 15:05:09 +01:00
9ce5ee591f
Fix very wrong™ fract() implementation.
2022-11-28 17:54:45 +01:00
c5f9e3b5a7
Fix incorrect YBeam math.
2022-11-25 20:55:19 +01:00
7f6b66b149
The Silver Bullet is an AMR, not a sniper rifle.
...
Unify YBeam size/orientation math into one utility function.
2022-11-22 23:05:20 +01:00
4bb3a1e85a
Several optimizations on non-interactive actors.
2022-10-14 21:45:21 +02:00
c7d741853e
Missed a lil' thing.
2022-10-08 17:50:05 +02:00
92f59e4449
Revert "Pistol start tweaks."
...
This reverts commit 564c99782a .
This actually doesn't work that well, so return to the original method.
2022-10-08 17:47:35 +02:00
0fbbb91b8e
Revert "Remove ZPolyobject due to licensing concerns."
...
This reverts commit f134375f7e .
Library is now MIT licensed and can be included.
2022-10-08 15:55:42 +02:00
564c99782a
Pistol start tweaks.
2022-10-08 15:45:19 +02:00
c0dccaf870
Reimplement Hellblazer. Everything's working again.
2022-10-08 01:51:06 +02:00
146531003e
Trim excess ammo types. Some guns not reimplemented yet.
2022-10-07 19:12:41 +02:00
f134375f7e
Remove ZPolyobject due to licensing concerns.
2022-10-07 00:55:20 +02:00
dbd887e8db
Remove redundant second argument in various TexMan.CheckForTexture calls.
2022-09-30 12:53:56 +02:00
e571fccc4d
Mortal Rifle fully implemented (oh my).
2022-09-28 21:00:24 +02:00
fbf6b3b82a
Add TraceExit. Determines trace exit point for actors.
2022-09-28 13:49:54 +02:00
6928249118
Fix rare case where chainsaw spawns before players exist.
2022-09-24 02:11:07 +02:00
5c19c6fe50
Clean up and streamline thousands separator function.
2022-09-20 16:01:57 +02:00
6baa8b8215
Allow embiggener to give mag ammo like in the sidemods.
2022-09-15 13:46:46 +02:00
2c0c1df7f3
Mortal Rifle grenades now implemented.
2022-09-14 19:25:48 +02:00
e99ea75808
The Mortal Rifle is becoming good.
2022-09-14 00:21:28 +02:00
398955bda2
Oops
2022-08-30 17:44:34 +02:00
c5457f9747
Small code cleanup
2022-08-25 20:39:32 +02:00
c77504b9a2
Quadravol charge level 5 point blank fix.
...
Add DE_NONEXPLOSIVE flag to DoExplosion. Treats damage as "not explosive" (This makes detecting what is or isn't an explosive damage source easier).
2022-08-25 20:03:54 +02:00
514c1a8a1f
Adjust Quadravol splash damage.
2022-08-21 22:40:27 +02:00
99eb2d8861
More Quadravol progress (fire at charge level 1 functional).
2022-08-19 00:59:11 +02:00
4230b3b062
Vector/Trig math refactor into utility functions.
2022-08-18 16:18:22 +02:00
b6138aa396
Itamex Hammer fully implemented.
2022-08-12 14:48:33 +02:00
c41e9c4615
Somehow forgot to bump zscript ver to 4.9.
...
Now there's a shitload of warnings about signed/unsigned comparisons, but those are a gzdoom oversight, they'll be fixed soon.
2022-08-05 21:02:09 +02:00
c0691f4930
Implement "FindLumpByFullName" helper function.
...
Remove days display from playtime counter (most people expect hours).
2022-08-05 11:08:47 +02:00
fa6c8f68d6
Enemies only drop ammo for owned weapons.
2022-08-04 18:17:21 +02:00
c66ded4cf9
Ability to pet LEGION Cacodemons.
2022-07-29 12:05:06 +02:00
b876515745
Removal of various configurable settings.
2022-07-28 21:01:08 +02:00
dff690c46d
Weapon slot spawn order cvars (not in menus yet)
2022-07-27 17:07:27 +02:00
82c6be5cdc
Sheen kill taunts + some fixes.
2022-07-23 17:54:41 +02:00
6cfde41bc7
Replace excessive exponentiation with simple x*x squaring in SphereIntersect.
2022-07-17 12:42:31 +02:00
1969eff7d9
Service caching.
2022-07-15 09:32:16 +02:00
3f20acc56e
Unimplemented weapon messages.
2022-07-06 13:31:23 +02:00