Commit graph

20 commits

Author SHA1 Message Date
80db58b0d0 Bump zscript ver to 4.14.1, plus a whole lot of stuff.
- Try to get rid of all implicit casts from string to name, color or class.
 - Use FindClass where needed.
 - Used a map in a case where a dictionary was unneeded.
 - Use new bounce flags where needed.
 - Replace Legacy of Rust weapons/ammo.
2025-03-13 14:50:58 +01:00
8ea3b3a621 How did I NOT notice this massive oopsie? 2025-01-25 14:25:21 +01:00
acc4341206 Revert "We should not manipulate the FRIENDLY flag directly, apparently."
This reverts commit 68704316e7.

Turns out this wasn't really necessary here, as I was already doing the "bookkeeping" myself.
2024-10-04 23:00:50 +02:00
68704316e7 We should not manipulate the FRIENDLY flag directly, apparently. 2024-10-04 19:24:59 +02:00
3c2b083aa1 Possibly fix an esoteric bug with the Lämp? 2024-07-18 15:38:19 +02:00
77b1ad89a9 Begin VisualThinker migration. Some effects still pending. 2024-06-21 19:32:13 +02:00
38cd7df826 Small scorenum/damnum refactor. 2024-01-16 10:17:28 +01:00
e5e6ce619c Fix severe performance issues in large maps.
So... Remember that one decision I made about avoiding BlockThingsIterator as
much as possible? Turns out that was a stupid idea. There ARE situations where
it's better to iterate sector thinglists, yes, especially for things that are
NOT part of the blockmap, but in other cases, the excess allocations of new
iterators are a reasonable price to pay for the lower perf impact in extreme
cases, such as maps that have a gazillion sectors with gazillions of things in
them (I'm looking at you, UDMF mappers).
As a compromise, at least, in situations where the thinglists are needed, I did
add a sort of micro-optimization by implementing code to check if a bounding
box is inside a sector (would be nice if this was part of GZDoom itself, tho).
2023-12-19 11:46:29 +01:00
aae213fd1c Fix moths getting stuck to befriended cacos. 2023-10-16 20:11:18 +02:00
f78b747ff7 Add secret difficulty for a dragon.
Remove 2x speed mult from hardest skill(s) (causes glitches).
Allow moths to still attack while following the lamp.
(Still do not know what causes moths to print "asin domain error" to terminal).
2023-10-16 14:00:46 +02:00
b014a26965 Hide Lämp after 10 seconds of inactivity. 2023-08-21 11:23:32 +02:00
d4043c2353 Reimplement reverted commit but with some important safety checks. 2023-07-29 14:02:52 +02:00
3b10e684b6 Revert "Replace usage of ThinkerIterator and BlockThingsIterator in various places where we can instead loop through sector thing lists."
This reverts commit 2bd1cb0657.
2023-07-29 13:48:33 +02:00
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
e35f78035e Make items drop in "Unreal style" from the player. 2023-07-01 14:12:36 +02:00
9ef480adfd Stuff I missed. 2023-03-18 22:20:21 +01:00
d4cbbd15b5 Merge branch 'devel' into experimental 2023-01-13 19:23:12 +01:00
06e2e2c55c Deprecate use of ROTATING. Fix rotation of many items. 2023-01-11 20:05:53 +01:00
d0fddbf8a3 Testing changes for GZDoom 4.11/5.0. 2023-01-08 14:58:06 +01:00
1fe50b5c32 Split item code. 2022-12-15 14:31:43 +01:00