Commit Graph

20908 Commits

Author SHA1 Message Date
Blue Shadow 4c0b5cbb32 - alt HUD: use `NewSmallFont` for drawing player's coordinates if `ui_generic` is enabled 2023-01-18 18:18:13 +01:00
Rachael Alexanderson 20eb821acb - indicate in the startup window title when GZDoom is compiled for ARM64 Windows 2023-01-17 02:36:21 -05:00
Rachael Alexanderson c382fd9f74
Update README.md 2023-01-17 00:55:32 -05:00
Sally Coolatta 45796505de Fix two different portable names
M_GetConfigPath uses GAMENAMELOWERCASE_portable.ini, but IsPortable() checks for GAMENAME_portable.ini. Doesn't have much of an impact on base GZDoom since it's case-insensitive, but can matter for engine forks -- IMO it should just be consistent either way.
2023-01-16 23:22:36 -05:00
Hugo Locurcio bf39002515 Increase slider precision for mouse sensitivity settings
On mice with high DPI settings, low values such as 0.1-0.3 typically
need to be used to get a comfortable effective mouse sensitivity.
2023-01-16 16:54:25 +01:00
Hugo Locurcio 1c45890c5a Use a slider to allow specifying max FPS with more precision
The minimum value was increased from 30 to 35 to reflect the lowest
value you can actually use in `vid_maxfps`. Values lower than 35
are silently clamped to 35.

The maximum value is chosen to cater to the fastest commercially
available display as of writing (500 Hz).

Being able to specify maximum FPS with a more precise slider has
several benefits:

- This adds support for monitors with less common refresh rates
  (138 Hz, 165 Hz, ...).
- This adds support for monitors with very high refresh rates
  (240 Hz or more).
- This allows catering to variable refresh rate setups with a FPS cap
  chosen to avoid V-Sync input lag, while also avoiding tearing.
  For example, choosing a FPS cap of 117 on a 120 Hz display will prevent
  the display from reaching its maximum refresh rate.
  More information: https://blurbusters.com/howto-low-lag-vsync-on/
- The value no longer displays a "Unknown" if customized in the console
  using the `vid_maxfps` cvar.
2023-01-16 16:53:59 +01:00
Marisa Heit 258f4b6786 Check all ACS functions for minimum number of arguments.
Also fixes SpawnForced not respecting the minimum declared in zspecial.acs. (https://forum.zdoom.org/viewtopic.php?t=77027)
2023-01-16 16:53:10 +01:00
Boondorl dd7cb8649f Exported LinePortals
Added helper functions for lines related to portals
2023-01-15 22:01:37 +01:00
Christoph Oelckers 3ea49a66d1 - cleaned up the pitch management in the sound backend.
This now treats all pitch methods equally instead of the preferential treatment of Doom's original pitch hack. Most importantly, the sound channel now stores the pitch as a floating point value instead of 9.7 fixed point.
snd_pitched now also gets checked in the sound engine, not the low level interface.
2023-01-15 14:01:37 +01:00
Christoph Oelckers 5b7826f68b - set lightblendmode to 0 when setting up a 2D viewpoint.
2D never uses dynamic lights so this should always be 0 - and eliminates another place in the backend referencing game data.
2023-01-15 09:21:01 +01:00
Christoph Oelckers 34e2e77f9e - tab cleanup in shader code. 2023-01-15 08:54:54 +01:00
Christoph Oelckers 1561616498 - pass colormap to MakeGoodRemap as parameter.
Removes a Doom dependency and avoids double reading of the COLORMAP lump.
2023-01-15 08:34:32 +01:00
Christoph Oelckers bafd6be342 - removed backend dependencies on game data. 2023-01-15 08:23:26 +01:00
Christoph Oelckers c8b3d95d6f - backend update from Raze. 2023-01-15 08:23:26 +01:00
Kevin Caccamo 26518f8660 Fix Y position of characters in monospace fonts
The issue was either a typo, or a false assumption that all monospace font characters would be in squares on the sheet. Fixes #1937
2023-01-15 07:41:54 +01:00
Ricardo Luís Vaz Silva 5e464d3e93 expose WallMask and ignore actor, allow disabling Actor Tracing for LineTracer::Trace 2023-01-14 11:33:22 -05:00
inkoalawetrust 458142eb8b Added flags to SetPlayerProperty.
Added all of the missing player cheats to the SetPlayerProperty special.
2023-01-14 11:32:21 -05:00
inkoalawetrust 6f4a29b5e5 Added APROP_WaterDepth. 2023-01-14 11:31:22 -05:00
Major Cooke aed72f58f3 Converted A_Quake(Ex) intensity parameters from ints to doubles. 2023-01-14 11:30:00 -05:00
Ricardo Luís Vaz Silva 9468ff85a2 Add missing error for mapinfo tonemap 2023-01-14 11:29:12 -05:00
Ricardo Luís Vaz Silva 1ebd4f0d41 Add Tonemap support for Unclamped lighting mode 2023-01-14 11:29:12 -05:00
Ricardo Luís Vaz Silva 8e7897233e Add Alternate Light Blending Options 2023-01-14 11:29:12 -05:00
Rachael Alexanderson aa061562cd - manually reimplement pull request #1850 2023-01-14 11:23:10 -05:00
mc776 bdffcedc03 gldefs: update Freedoom definitions.
Armor was missing ARM2B0 light - reusing GREENARMOR2 since both of them have the blinky red thing.

Armor bonus shouldn't have "dontlightself" because it's not coming out from under an opaque helmet anymore.

Burning barrel has a yellow flame again.

Mega, invulnerability and blur spheres now match their respective colours.

Column is yellow now rather than green.

Tall tech lamp should be red, at least if you consider the light source to be the big red thing on top.

Blue keys now get their own definition instead of relying on the id blue health potion.

Serpentipede balls are less red before exploding and more red after.

Hatchlings have a distinct brighter glow when attacking.
2023-01-14 08:00:14 +01:00
yqco e0275df931 CCMD listmaps: Colorize maps loaded from pwads in blue text
Colorize maps added from pwads differently so they stand out better
2023-01-14 07:58:16 +01:00
Ricardo Luís Vaz Silva 80d1c61714 Fix MapIterator<X, String>::GetValue 2023-01-14 00:30:43 +01:00
alexey.lysiuk 7b2d54da35 - updated zlib to 1.2.13
https://zlib.net/zlib-1.2.13.tar.gz
2023-01-13 09:51:29 +02:00
Boondorl 3dce874621 Exported bounce functions 2023-01-12 17:44:28 +01:00
CandiceJoy 955a841884 Fixed a bug where static events would fail to halt propagation.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-01-12 17:43:09 +01:00
Marisa the Magician 81e7d77b44 Fix diffuse-only material shaders not applying. 2023-01-12 17:01:59 +01:00
Kevin Caccamo f9de0d5c11 Impel people to include demo mods in bug reports
Since small demo mods are the preferred way for GZDoom developers to reproduce bugs
2023-01-11 23:56:43 -05:00
Rachael Alexanderson cb3662dc24 - fix nullptr crash 2023-01-11 13:33:02 -05:00
Boondorl 769796800d Minor tweaks to no player clipping 2023-01-09 12:31:08 -05:00
Rachael Alexanderson af0f84183a - fix a few errors in last commit 2023-01-09 12:02:41 -05:00
Rachael Alexanderson 5aba0c144c - optimize P_ShouldPassThroughPlayer checks - move down in the check list, move thing->player check out of the function 2023-01-09 11:53:24 -05:00
Rachael Alexanderson 9777cfd500 - change P_ShouldPassThroughPlayer to static inline to improve performance on repeated calls 2023-01-08 22:12:37 -05:00
nashmuhandes 2fa2533982 - enable DM support for sv_noplayerclip
- fixed voodoo dolls with sv_noplayerclip
- fixed autoaim working incorrectly with sv_noplayerclip
2023-01-08 22:55:10 +08:00
nashmuhandes 3d6cc47dc1 Add sv_noplayerclip to allow players to walk through and shoot each other (only in coop) 2023-01-08 19:10:49 +08:00
Christoph Oelckers aceafecce6 - optimized sheet font texture generation.
Instead of reloading the base image over and over again, let's cache it so that less time is needed for each single character.
2023-01-07 19:12:19 +01:00
Christoph Oelckers 4c751db489 - silence some warnings. 2023-01-07 18:35:30 +01:00
Christoph Oelckers 1a0aa95ff4 - changed return value of CreatePalettedPixels.
The new struct will allpw return of static pixel data without reallocation and copying.
2023-01-07 17:55:55 +01:00
Christoph Oelckers 4e4642d0ed - fixed buffer size checks for raw textures. 2023-01-07 16:15:32 +01:00
Marisa the Magician 0e5c6e37b1 Prevent important messages from being accidentally filtered. 2023-01-04 17:54:09 +01:00
Wohlstand 79a4e4a0e3 Updated the WOPN banks collection 2023-01-02 08:19:11 +01:00
Boondorl 0d23816179 Added FlyBob Multiplier for Player 2023-01-02 08:14:24 +01:00
Boondorl 73159dac3e Added WaterClimbSpeed Property to Players 2023-01-02 08:13:13 +01:00
CandiceJoy b61be581d9 Fixed custom height and width not saving.
Signed-off-by: CandiceJoy <candice@candicejoy.com>
2023-01-01 22:52:55 -05:00
Magnus Norddahl 8bcdbc230d Adds soft shadows to vk_raytrace 2022-12-31 03:51:33 -05:00
CandiceJoy 269431575b Fixed implicit cast from bool to double. 2022-12-26 16:45:54 -05:00
Marisa the Magician 6f8901ea87 Rename ValidLock to IsLockDefined (more descriptive). 2022-12-23 22:48:01 +01:00