Commit graph

21876 commits

Author SHA1 Message Date
Christoph Oelckers
5b1f0fdc86 bFriendly should not be set from scripts because this omits needed bookkeeping. 2024-10-04 18:32:06 +02:00
Christoph Oelckers
6aa71184f7 fixed: MBF21's flag functions did not call the special wrappers for MF_FRIENDLY. 2024-10-03 23:01:09 +02:00
Christoph Oelckers
b667b930a3 fixed logic bug with HitFriend and Refire functions.
The old code was essentially ineffective and useless, this is how MBF had it and how it was supposed to be.
2024-10-03 22:30:09 +02:00
Christoph Oelckers
3798fd815f the MISSILE(EVEN)MORE flags still need to be accessible by ZScript for backwards compatibility.
Since these do not exist anymore an internal interface to Handle/CheckDeprecatedFlags was added.
2024-10-03 12:32:09 +02:00
Christoph Oelckers
8354c4a5c3 Replaced MISSILE(EVEN)MORE with a real property and added related Dehacked options from Crispy Doom.
This also adds proper deprecation messages to the deprecated flags which were missing due to a bad definition macro.
2024-10-03 12:24:16 +02:00
Rachael Alexanderson
ad4eef3b6c
- SPAC_Walking should check for SPAC_MCross not SPAC_PCross 2024-10-01 17:38:58 -04:00
Professor Hastig
2decf10863 add missing 'author' and 'label' UMAPINFO fields. 2024-10-01 12:23:27 -04:00
Christoph Oelckers
d455f57346 remove test code. 2024-10-01 17:28:42 +02:00
Ricardo Luís Vaz Silva
896c73b1e5
Fix compilation 2024-10-01 12:05:49 -03:00
Ricardo Luís Vaz Silva
9f7a8188c5
Fix broken if statement in ParseFireTexture 2024-10-01 11:59:05 -03:00
jekyllgrim
70ec8ce711 Fixed MF9_ISPUFF overlapping with MF9_NOSECTORDAMAGE 2024-10-01 11:53:11 -03:00
jekyllgrim
1392db2f5b Made DamageSource and bIsPuff readonly 2024-10-01 11:53:11 -03:00
Ricardo Luís Vaz Silva
f8b68a6927 Serialize damagesource, fix bad character in actor.zs 2024-10-01 11:53:11 -03:00
jekyllgrim
83165dccbf Add damagesource 2024-10-01 11:53:11 -03:00
jekyllgrim
f13bc09840 Add bIsPuff flag 2024-10-01 11:53:11 -03:00
Christoph Oelckers
59b567689a make the broken ID24 levelnums work somehow so that Legacy of Rust's intermissions play. 2024-10-01 16:48:07 +02:00
Cacodemon345
e88d912892 ID24 interlevel lumps implementation 2024-10-01 16:48:07 +02:00
inkoalawetrust
2c9b8f4eec Fixed problem in CheckForShadows().
Fixed a regression in CheckForShadows() that made it always return a +SHADOW or +SHADOWBLOCK actor even when there were none. Causing monsters to always have messy aim if +DOSHADOWBLOCK is on.
2024-10-01 11:47:33 -03:00
Dileep V. Reddy
568a39d203 Removing pre-clipping of Frustum if pitch > 46 degrees and viewpoint is not allowed out of bounds. This is like old behavior. 2024-09-30 10:16:50 -04:00
Rachael Alexanderson
18c068fd1f
Revert "- fix some issues with ClearInventory() that sometimes caused script errors"
This reverts commit 41c69736b1.

This introduced more bugs and so the fix was not valid.
2024-09-30 03:28:15 -04:00
Boondorl
8e1b25803e Fix for NoLocalRender not snapshotting between hub levels 2024-09-30 02:21:52 -04:00
Rachael Alexanderson
0b3ee04025
- bail out if shape is null in F2DDrawer::AddShape 2024-09-30 02:09:52 -04:00
Rachael Alexanderson
41c69736b1
- fix some issues with ClearInventory() that sometimes caused script errors 2024-09-30 01:52:51 -04:00
Jon Heard
4c27b55eb9 SetSkin and GetSkinCount added to PlayerInfo class 2024-09-29 18:14:52 -04:00
inkoalawetrust
9b8c79d182 Added check for hurt floors in P_IsUnderDamage(). 2024-09-29 18:12:30 -04:00
inkoalawetrust
391f496512 Added SECMF_HURTMONSTERS, SECMF_HARMINAIR and NOSECTORDAMAGE.
- Added SECMF_HURTMONSTERS, which allows monsters in the flagged sector to be hurt with the same behavior as players (i.e damage leaking).
- Added SECMF_HARMINAIR, which allows players (And monsters with SECMF_HURTMONSTERS) to be hurt when they're inside the sector in general, instead of only when they're walking on it. Replicates the behavior of the DAMAGE_IN_AIR flag that SectorDamage() uses.
- Added NOSECTORDAMAGE, which makes actors with the flag immune to any harmful floors.
2024-09-29 18:12:30 -04:00
Rachael Alexanderson
bbeaea1ea7
- implement anamorphesis proof-of-concept (#2431)
Co-authored-by: Rachael Alexanderson <madame-rachelle@users.noreply.github.com>
2024-09-29 18:09:07 -04:00
Hexadec
5cc718ec77
Search more paths in SHARE_DIR (#2610)
* Search more paths in SHARE_DIR

Makes it more compatible with more exotic systems such as Guix or NixOS. (one day we'll have a gzdoom without patches)

* Make more places search in SHARE_DIR.

---------

Co-authored-by: Rachael Alexanderson <18584402+madame-rachelle@users.noreply.github.com>
2024-09-29 18:06:49 -04:00
RaveYard
a4c98d8dd9 Add RADF_CIRCULARTHRUST and matching XF_/RTF_ flags 2024-09-29 17:56:41 -04:00
Boondorl
1e96ed31aa Exported DPrintf
Allows for custom debug message handling using the built-in
2024-09-29 17:56:16 -04:00
HHonzik
96ec9b9dbd Add another soundfonts search directory for *nix
This adds another soundfont search directory for the convenience of the user.
2024-09-29 16:08:51 -04:00
jekyllgrim
994078feae Added FloatBobFactor
This adds a new actor property: `FloatBobFactor` (default 1.0). This will be a multiplier for level.time in `AActor::GetBobOffset`, which finally allows to control not only the range of float bobbing (which is FloatBobStrength) but also the frequency of bobbing.
2024-09-29 16:08:02 -04:00
Rachael Alexanderson
89ce70fd0b - implement SPAC_Walking, mostly useful for teleports or for line crossings that should not happen when the player is falling or flying
- update UDMF spec entry
2024-09-29 16:06:36 -04:00
Rachael Alexanderson
ca9ab7bd5b
- rename 'restart' ccmd to 'debug_restart' since it is in a broken state right now 2024-09-29 16:04:00 -04:00
Rachael Alexanderson
85ae8f8194
- flat sprites are already square, no need to adjust them 2024-09-29 10:05:43 -04:00
Rachael Alexanderson
2c25cc1d9b
- well ... this was a lil redundant 2024-09-28 15:56:42 -04:00
Ricardo Luís Vaz Silva
326480cb31 Fix typo 2024-09-25 18:57:05 -03:00
Boondorl
8c10ac6f38 Added GetDecalName() 2024-09-24 23:38:43 -04:00
Rachael Alexanderson
3524d06813 - export FFont::GetChar() to ZScript 2024-09-20 20:00:01 +02:00
Gene
de87493c41
Fix incorrect boolean logic for drawBillboardFacingCamera 2024-09-20 08:38:45 -04:00
Gene
5347cdf569
Fix billboard facing camera only taking effect when used with XY billboarding 2024-09-19 10:56:24 -04:00
Ricardo Luís Vaz Silva
712dd1133d Fix typo 2024-09-17 14:14:23 -03:00
nashmuhandes
0c3ebf451f Fix missing serialization for skyspeed1 and skyspeed2 2024-09-16 19:02:09 -03:00
Chris Cowan
c8fbe43dc0 Fix load/save menus not starting scrolled to the selected entry
Fixes https://github.com/ZDoom/gzdoom/issues/2645
2024-09-16 17:25:19 -04:00
Chris Cowan
faead1c733 Fix bug where down arrow does nothing after clicking the main menu
This issue was previously fixed in 0c2ed71cdd, but that change added a bug that would trigger an infinite loop on scrolling in a list without any selectable items. Then 4fdbe81a13 restored the old behavior, reintroducing the issue.

This new fix does handle lists without any selectable items correctly.
2024-09-16 16:40:43 -04:00
Dileep V. Reddy
b79deabab1 Prevent console from laying open when intro cutscene plays on some systems. 2024-09-16 13:43:34 -04:00
Ricardo Luís Vaz Silva
79dacdf1b7 Properly fix double interpolation for IQM models 2024-09-13 17:05:22 -03:00
Ricardo Luís Vaz Silva
1429e22441 rework interpolation to allow for precalculated frames 2024-09-13 17:05:22 -03:00
Ricardo Luís Vaz Silva
b1318e4b22 quick fix for interpolation, TODO better fix 2024-09-13 12:17:09 -03:00
Ricardo Luís Vaz Silva
17d7006d72 replace naive interpolation logic with more exact logic 2024-09-13 12:17:09 -03:00