Commit Graph

20846 Commits

Author SHA1 Message Date
Major Cooke 4247d97908 Merged https://github.com/ZDoom/gzdoom/pull/1967 (Map function fixes) 2023-01-22 19:14:17 -06:00
Major Cooke 1bdc77d00e Merged https://github.com/ZDoom/gzdoom/pull/1924 (Damage/Thrust QuakeEx Changes) 2023-01-22 19:12:38 -06:00
Major Cooke b37c9828f6 Merge remote-tracking branch 'gzdoom/master' into qz-master-2023-01-20 2023-01-22 19:07:44 -06:00
Christoph Oelckers 33fd8270b1 - text update 2023-01-22 20:19:21 +01:00
Christoph Oelckers e268a4195c - cleanup of the Chex Quest small font.
This no longer bases its diacritcal characters on Doom's font, it also fills in all characters already present in Doom's small font.
2023-01-21 21:30:19 +01:00
Ricardo Luís Vaz Silva ee8016ad0b Make dynarray function parameters' types consistent with their zscript declarations 2023-01-21 12:22:24 -06:00
Ricardo Luís Vaz Silva a7ab18de29 Add missing returns for untagged lines/sectors 2023-01-21 12:07:48 -06:00
Major Cooke 3d7e8bf7af Merged https://github.com/ZDoom/gzdoom/pull/1927 (Host/Join CCMDs) 2023-01-21 12:05:50 -06:00
Major Cooke 050f982fe2 Merged https://github.com/ZDoom/gzdoom/pull/1964 (OnEngineInitialize()) 2023-01-21 11:37:49 -06:00
Major Cooke 93bc2a3caf Merged https://github.com/ZDoom/gzdoom/pull/1960 (Bounce virtual) 2023-01-21 11:35:07 -06:00
Major Cooke bf803ce2e9 Merged https://github.com/ZDoom/gzdoom/pull/1959 (BlockingLine fix) 2023-01-21 11:32:54 -06:00
Major Cooke 9535d12982 Merged https://github.com/ZDoom/gzdoom/pull/1957 (Array::Delete fix) 2023-01-21 11:30:59 -06:00
Major Cooke 8ef36836c2 Merged https://github.com/ZDoom/gzdoom/pull/1953 (Sector/Line Tag Getters) 2023-01-21 11:29:00 -06:00
Major Cooke 0d330a6bb7 Merged https://github.com/ZDoom/gzdoom/pull/1950 (Reflection export) 2023-01-21 11:27:39 -06:00
Major Cooke afea6ff51f Merged https://github.com/ZDoom/gzdoom/pull/1949 (Shadow Aiming) 2023-01-21 11:25:42 -06:00
Major Cooke 35ef7daf56 https://github.com/ZDoom/gzdoom/pull/1920 (A_Explode flags) 2023-01-21 11:15:21 -06:00
Major Cooke a87b3a0e55 Merged https://github.com/ZDoom/gzdoom/pull/1902 (Custom Message Box) 2023-01-21 11:13:10 -06:00
Major Cooke b5a95b47c1 Merged https://github.com/ZDoom/gzdoom/pull/1894 (Individual Joystick Toggles) 2023-01-21 11:10:18 -06:00
Major Cooke 0a2fc5651c Merged https://github.com/ZDoom/gzdoom/pull/1878 (ZScript Custom Cvars) 2023-01-21 11:08:05 -06:00
Major Cooke 3039e3e7c8 Merged https://github.com/ZDoom/gzdoom/pull/1541 (poll external file for console commands). 2023-01-21 11:06:36 -06:00
Major Cooke 07349dcc70 Merged https://github.com/ZDoom/gzdoom/pull/1394 (CVars to fade sprite shadows) 2023-01-21 11:04:50 -06:00
Major Cooke 3b46327493 Merged https://github.com/ZDoom/gzdoom/pull/633 ("is" operator fix with readonly) 2023-01-21 11:02:35 -06:00
Rachael Alexanderson 64d4136699 Merge branch 'master' of https://github.com/zdoom/gzdoom into qz-master-2023-01-20 2023-01-21 11:53:37 -05:00
Hugo Locurcio 2fa88aa5a7 Implement antialiasing for automap lines
This implements a bruteforce approach for 2D line antialiasing.
It's not perfect by any means, but it seems to do its job well enough.
Since it draws 9 lines instead of 1 line per segment, it's significantly
more expensive but should still be usable on modern hardware (except
on very complex maps).

Automap line antialiasing is disabled by default and can be enabled
with the `am_lineantialiasing 1` cvar.
2023-01-21 11:40:25 -05:00
Ricardo Luís Vaz Silva a397a93c25 Add Missing Read Barriers to Map Get Functions 2023-01-21 16:40:47 +01:00
Ricardo Luís Vaz Silva fed2d11be5 Fix iterator invalidation for Map::Get 2023-01-21 16:40:47 +01:00
Ricardo Luís Vaz Silva 698bd251ea Mark non-modifying map functions as const 2023-01-21 16:40:47 +01:00
Ricardo Luís Vaz Silva decba68225 Map::GetIfExists and Map::CheckValue 2023-01-21 16:40:47 +01:00
Christoph Oelckers 0b9fdf2d99 - convert characters to Doom patch format. 2023-01-20 23:25:25 +01:00
Ricardo Luís Vaz Silva ed6384edc6 Add `internal` variable support to files outside gzdoom.pk3 2023-01-20 22:34:26 +01:00
Ricardo Luís Vaz Silva d4e9438273 rename CheckWritable to IsWritable, and invert its output since it's always negated 2023-01-20 22:34:26 +01:00
Ricardo Luís Vaz Silva da06212134 Add mDefFileNo to Fields 2023-01-20 22:34:26 +01:00
Ricardo Luís Vaz Silva 5ba1e96d29 Add mDefFileNo to Classes/Structs 2023-01-20 22:34:26 +01:00
Boondorl f6128f0e9e Fixed global TerrainDef array not being exported correctly 2023-01-20 22:33:12 +01:00
Christoph Oelckers 04fc19c32d - 4 non-letter characters for Chex. 2023-01-20 21:03:21 +01:00
Christoph Oelckers bdd2281760 - new characters for Doom's SmallFont and BigFont.
This covers all somewhat relevant languages using the Latin alphabet for these two fonts.
2023-01-20 19:43:53 +01:00
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