Commit graph

19698 commits

Author SHA1 Message Date
Magnus Norddahl
796890bb98 Limit texture upload transfer buffers to roughly 64 MB 2021-09-13 23:56:15 +02:00
Christoph Oelckers
9aeb78ae97 - marked several invisible controller things to not show on the automap with the scanner powerup.
am_cheat will still show them.
2021-09-12 13:18:40 +02:00
Christoph Oelckers
f783a94835 - treat 'vid_adapter 0' as what Windows considers the primary monitor.
Courtesy of https://devblogs.microsoft.com/oldnewthing/20070809-00/?p=25643
2021-09-12 10:02:30 +02:00
Christoph Oelckers
b550f57ce3 - fixed: Brightmap application for horizons was undefined..
This depended on the state of the previously rendered portal which could have switched it off.
2021-09-12 08:37:19 +02:00
Christoph Oelckers
78566c0d52 - replaces "BS" and "ED" on the on-screen keyboards with the symbols normally found on the keyboard for these actions. 2021-09-09 14:00:00 +02:00
Christoph Oelckers
43c38a2097 Merge branch 'master' of https://github.com/coelckers/gzdoom 2021-09-09 13:58:23 +02:00
Rachael Alexanderson
f56ad02716 - enable cvar blacklisting for defcvars for certain platform variables 2021-09-05 10:27:06 -04:00
Rachael Alexanderson
42d948f2fe - demote unknown/invalid defcvars to warnings 2021-09-05 09:47:05 -04:00
Rachael Alexanderson
79cbaf5d4f - split defcvars parser into its own file 2021-09-05 08:21:34 -04:00
Alexander Kromm
3102640210 fix options search when menus are defined recursively 2021-09-03 19:40:55 +02:00
arrowgent
355e367a08 move game loc 2021-08-31 14:38:36 +02:00
arrowgent
5e5f727ba5 move game loc 2021-08-31 14:38:36 +02:00
arrowgent
a6afcdac94 raze.ini - gzdoom.ini 2021-08-31 14:38:36 +02:00
arrowgent
e0164ccad4 Create feature_request.yml 2021-08-31 14:38:36 +02:00
arrowgent
027676fb4d raze - gzdoom 2021-08-31 14:38:36 +02:00
arrowgent
1ee689fd38 Update and rename bug_report.md to bug_report.yml 2021-08-31 14:38:36 +02:00
arrowgent
21f93f3923 Update issue templates 2021-08-31 14:38:36 +02:00
Christoph Oelckers
b5294e9e90 - backend update from Raze. 2021-08-31 07:59:37 +02:00
alexey.lysiuk
fe1514ce04 - updated continuous integration workflow
* Switch from macOS 10.15 to 11, Xcode 12.4 to 12.5
* Switch from Clang 11 to 12
* Remove no longer needed workaround for Clang 6 with GCC 11 deinstallation
2021-08-25 10:04:44 +03:00
Christoph Oelckers
78fd7aa090 - fixed bad file in last commit. 2021-08-24 16:03:53 +02:00
Christoph Oelckers
c2a2e08f05 - exported STAYONLIFT flag. 2021-08-24 15:50:30 +02:00
Christoph Oelckers
196a4c0b36 - added a modified version of MBF's stay-on-lift feature.
The reason this was never added was the hard dependency on the line trigger types. This implements some modified logic that does not try to find all potential lifts in the map.
Also moving the MBF flags to compatflags so that they are easier to control by the user as these must be part of compatibility presets.
2021-08-24 11:48:07 +02:00
alexey.lysiuk
4bd617187b - fixed crash on getting location description without a level
Run `bench` CCMD in fullscreen console, i.e. with no level loaded, wait five seconds, open menu

https://forum.zdoom.org/viewtopic.php?t=73109&start=15#p1198234
2021-08-24 11:34:28 +03:00
Christoph Oelckers
03c8fd9956 - block user overrides for the logic module of core fragment shaders. 2021-08-24 10:24:23 +02:00
Christoph Oelckers
dfd51ec6d5 - added missing MBF21 Dehacked keys "blood color" and "dropped item". 2021-08-22 16:36:10 +02:00
Christoph Oelckers
854e11a9de - made CheckMeleeRange a normal function again.
This way it can be directly used as a native ZScript export.
Like SuggestMissileAttack the change to a method was for virtual overrides that have been turned into flags since then.
2021-08-21 12:44:36 +02:00
Christoph Oelckers
ac48518abc - merged SuggestMissileAttack back into P_CheckMissileRange.
This was once a virtual function to handle the various monster specific modifiers but this had been changed into properties a long time ago.
2021-08-21 12:37:23 +02:00
Christoph Oelckers
d15f450fef - implemented MBF's monsters_avoid_hazards feature.
Both as a map flag for MBF21 support and as an actor flag for better control.
2021-08-21 12:29:24 +02:00
Christoph Oelckers
5382e7c17b - fixed compilation 2021-08-21 12:22:53 +02:00
Christoph Oelckers
8bdd4befbf - replaced deprecated throw() with noexcept in TObjPtr 2021-08-21 12:22:15 +02:00
Christoph Oelckers
b1de11dce8 - added a map flag to disable MF6_JUMPDOWN.
Not really useful but since MBF has this we may need it if we support the OPTIONS lump for MBF21 later.
This is intentionally not exposed to MAPINFO.
2021-08-21 11:37:57 +02:00
Christoph Oelckers
ff497996a3 - added a per-level AVOIDMELEE flag.
This already existed as a per-actor flag, but for proper MBF support it needs to be settable on a per-map basis as well.
2021-08-21 10:55:22 +02:00
Christoph Oelckers
4614ce41cd - allow passing a remap table to BestColor. 2021-08-21 10:55:21 +02:00
Marisa Kirisame
13bdd324e1 hud models: add nullptr check for psprites without caller. 2021-08-15 08:47:04 +02:00
Christoph Oelckers
109069f718 - removed the unused palette parameter from the V_GetColor family of functions. 2021-08-14 09:57:23 +02:00
nashmuhandes
d64dd1f631 Add FOV slider to the display options menu 2021-08-14 09:04:02 +02:00
Christoph Oelckers
73f73cdf7c - added a null check to CheckWeaponChange. 2021-08-12 20:28:04 +02:00
Christoph Oelckers
f9f48c4a95 - replaced the alt HUD's index font with a sheet based variant.
Mainly to correct an error in the '1' glyph.
2021-08-12 20:07:04 +02:00
Christoph Oelckers
c3772fe203 - changed FString API to use ptrdiff_t instead of long for signed size arguments. 2021-08-12 00:45:59 +02:00
Marisa Kirisame
1d96b68e1a Fixed IsHUDModelForPlayerAvailable limitation. 2021-08-11 20:09:25 +02:00
Marisa Kirisame
888eab3063 HUD model tweaks:
- Look up HUD models by referencing the psprite's caller, rather than player's ReadyWeapon.
- Allow Strife hands psprite to be a model.
2021-08-11 20:09:25 +02:00
Christoph Oelckers
f34258281f - fixed: crushing stairs must use HexenCrush mode.
This was the default for floors even in Doom, so it must also apply to the stairs.
2021-08-11 19:58:57 +02:00
alexey.lysiuk
ed606b8ed3 - extended 2D buffer lifetime to the end of the frame 2021-08-11 19:50:49 +02:00
alexey.lysiuk
387aef27ad - use RefCountedPtr to manage 2D shape buffer infos 2021-08-11 19:50:49 +02:00
alexey.lysiuk
76ecf44549 - added RefCountedBase without virtual destructor 2021-08-11 19:50:49 +02:00
alexey.lysiuk
bbcd522052 - made RefCountedPtr follow rule of five 2021-08-11 19:50:49 +02:00
Gutawer
67e7d1a6f5 - make RenderCommands able to use Shape2D vertex buffers past the Shape2D's lifetime without crashing 2021-08-11 19:50:49 +02:00
Christoph Oelckers
ccf46281df - fixed line color handling in V_BreakLines.
This cannot use the last color found while reading ahead - it must pick the last color of the string part that just got broken out into its own line when starting the next one.
2021-08-11 16:01:40 +02:00
Christoph Oelckers
139f501ec5 - run the dynamic light recreation loop before calling the light ticker.
This was done afterward which performed some needed cleanup too late.
2021-08-11 15:41:42 +02:00
Christoph Oelckers
1097bd6c73 - fixed: instead of checking gl_lights, better check Level->HasDynamicLights.
Especially in the thinker code this is needed for software rendering.
Strictly speaking, the software renderer should do the same, but it checks r_dynlight in so many places deep in the logic where the level is not available.
2021-08-11 14:09:00 +02:00