Commit graph

19,153 commits

Author SHA1 Message Date
dileepvr
131ce183db
Missed a line in RenderOrthoNoFog
Tying up the fov fix.
2024-10-18 03:35:28 -04:00
dileepvr
ee16e47b11
FOV scales ortho up to 180 degrees
One line change in r_utility.cpp affecting a custom field.

Orthographic projection sees "more" of the sceen as fov increases, but only up to 180 degrees, after which it will have no effect.
Orthographic projection has no meaning for fov since there is no Frustum. But since this is fundamental to the engine, I am reinterpreting it. Cherno wanted this too.
I'll update the wiki if this gets in.
2024-10-18 03:35:28 -04:00
Rachael Alexanderson
48b23bdfae
- readd canvas check 2024-10-17 23:45:22 -04:00
Rachael Alexanderson
7a4a7146f5
Revert "- Actor.GetSpecies() is a non-destructive function"
This reverts commit ee5442c06b.
2024-10-17 21:29:07 -04:00
Ricardo Luís Vaz Silva
7baa25e993
allow getting checksum for current map 2024-10-17 17:01:30 -04:00
Christoph Oelckers
bf84d8152b
do not set console mode from an uninitialized variable. 2024-10-16 17:30:21 -04:00
Rachael Alexanderson
3af3b2e742
- keep ENABLE_VIRTUAL_TERMINAL_PROCESSING mode in isolated console mode 2024-10-16 06:05:05 -04:00
Rachael Alexanderson
e242330c96
- we don't need these includes anymore 2024-10-16 06:02:05 -04:00
Rachael Alexanderson
86cd212d7f
- fix isolated console mode (i.e. launching from explorer.exe) 2024-10-16 05:59:40 -04:00
Rachael Alexanderson
9a9440a6f7
- enable console subsystem processing for Windows, enable runtime detection 2024-10-15 10:56:57 -04:00
Rachael Alexanderson
ffcce790de
- Actor.GetSpecies() is a non-destructive function 2024-10-15 10:56:50 -04:00
Major Cooke
cca1946201
Added (SPF_)STRETCHPIXELS.
This counteracts the squaring implied by rolling sprites.
2024-10-15 10:56:43 -04:00
Rachael Alexanderson
2f30f720a4
- simplify and deconstruct logic for applying sector damage - also fixes voodoo doll sector damage in TNT MAP30 2024-10-15 10:56:27 -04:00
Jan Engelhardt
0785038120
Resolve compiler warning about destructor syntax
gcc-14 warns:

tarray.h:927:9: warning: template-id not allowed for destructor in C++20 [-Wtemplate-id-cdtor]
  927 |         ~TDeletingArray<T, TT> ()
2024-10-15 10:56:13 -04:00
Rachael Alexanderson
1a699c08af
- this is version 4.13.0
Some checks failed
Continuous Integration / Linux Clang 12 | AppImage (push) Has been cancelled
Continuous Integration / macOS | Debug (push) Has been cancelled
Continuous Integration / Linux Clang 11 | Debug (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Debug (push) Has been cancelled
Continuous Integration / Linux GCC 12 | MinSizeRel (push) Has been cancelled
Continuous Integration / Linux GCC 9 | RelWithDebInfo (push) Has been cancelled
Continuous Integration / macOS | Release (push) Has been cancelled
Continuous Integration / Linux Clang 15 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2019 | Release (push) Has been cancelled
Continuous Integration / Visual Studio 2022 | Release (push) Has been cancelled
2024-10-12 01:28:09 -04:00
Rachael Alexanderson
e562111a51
- don't show iwad box if priority iwad has been located for the currently loaded mods gameinfo 2024-10-12 01:25:21 -04:00
Rachael Alexanderson
24792913ca
- don't spam the console log if there's math errors - mostly affects Linux/MacOS because there is no distinction from console apps or GUI apps so they put all the data in the console which can cause lag 2024-10-10 07:28:29 -04:00
inkoalawetrust
61bd3a739a Added MF9_FORCESECTORDAMAGE.
This flag forces non-player actors to take  damage from hurt floors even if SECMF_HURTMONSTERS isn't true.
2024-10-09 13:51:48 -03:00
Christoph Oelckers
d90de3a8a1
avoid floats in integer math. 2024-10-09 09:15:29 -04:00
Dileep V. Reddy
f9a59a989b Orthographic projection Widescreen aspect ratio horizontal clipping fixed. This one-line change only affects ortho viewpoints. Easy to verify in windowed mode. 2024-10-08 12:36:00 -04:00
nashmuhandes
f5c06551e4 Use a light_ prefix for custom ZDRay stuff, and actually parse light_softshadowradius for map things 2024-10-06 11:24:04 -03:00
Ricardo Luís Vaz Silva
19e1d400e4 Add bounds checking to GetMidTexturePosition, add assert to P_GetMidTexturePosition 2024-10-05 23:03:05 -03:00
Christoph Oelckers
413aefb0ab added CVAR to select the preferred MOD player and SNDINFO option to set it per song. 2024-10-05 12:37:55 +02:00
Christoph Oelckers
f0676cdf01 fixed a few memory leaks 2024-10-05 10:22:05 +02:00
Christoph Oelckers
2b2e85005c fix MBF21 ClearCountItem 2024-10-04 18:34:32 +02:00
Christoph Oelckers
ccbebfcf34 fix kill count management in CopyFriendliness when used on corpses. 2024-10-04 18:33:53 +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
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
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
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