Christoph Oelckers
18ebc9986e
- separate message for disabling noclip2
2022-04-12 00:51:34 +02:00
Christoph Oelckers
7c2d315479
- added a nullptr check for StatusBar when drawing „Paused“
...
It looks like some edge cases can trigger this.
2022-04-12 00:37:15 +02:00
Christoph Oelckers
c4408d8536
- added a bit of hackery so that compatmode CVAR can be set up on startup
2022-04-12 00:31:31 +02:00
Christoph Oelckers
dfdf330722
- make menu scale adjustments for ultra-wide aspect ratios.
2022-04-12 00:30:43 +02:00
Christoph Oelckers
bc566fac4e
- treat PSP layer ID 0 as invalid
...
No PSprites with this ID may ever be created, as there is no means to find them again.
2022-04-12 00:17:25 +02:00
Christoph Oelckers
f3d557bcf5
- fixed: The skill menu did not remember its last selection.
2022-04-12 00:04:45 +02:00
Christoph Oelckers
a97a2ec133
- backend sync with Raze
...
Nothing really useful here…
2022-04-11 00:26:50 +02:00
Christoph Oelckers
45e7badb71
- avoid passing game structs to common backend code
...
InitLightmap was using a „FLevelLocals“ pointer, better pass the needed elements separately instead.
2022-04-11 00:01:30 +02:00
Lippeth
7830033722
- added vertical bullet spread relative to ssg
2022-04-09 22:46:20 +02:00
Emanuele Disco
71dedf6c87
Fixed GUS Emulation with DMXGUS(C) lump conf.
...
- changed default value for midi_config to empty string since gus is not working with sf2 file
- fixed SetupDMXGUS not loading lump correctly, wrong use of CheckNumForFullName
- midi_config default to empty string, since lzdoom.sf2 doesn't seem supported (distorted sound)
- added absolute paths to FZipPatReader so we can add custom patches to resource files by using gus_patchdir and/or ULTRADIR variable (some custom maps has custom patches that can be added this way without putting them inside the resource file or in the same folder of the configuration file)
- set timidity_reverb_level min value to 0 in menudef.txt, set to 9 by mistake?
2022-04-09 22:45:31 +02:00
inkoalawetrust
3d1ddbc80e
Toggleable player following. ( #1583 )
...
* Added MF8_DONTFOLLOWPLAYERS.
Added the MF8_DONTFOLLOWPLAYERS flag, which allows friendly monsters to not follow their FriendPlayer when they have no target or goal left to head to.
* Changed the order that the DONTFOLLOWPLAYERS check runs in.
This is done to not produce unnecessary overhead on hostile monsters.
2022-04-07 23:32:16 -04:00
Christoph Oelckers
e0289eb0ac
- fixed Font struct export and removed the duplicate handler.
2022-04-07 15:11:50 +02:00
Christoph Oelckers
89999be49e
- fix detection for misplaced | when creating the small fallback font
...
This needs doomtemplate set.
2022-04-04 00:05:06 +02:00
Christoph Oelckers
27cba4c990
- implement proper GC handling for AActor::ViewPos.
2022-04-02 07:52:50 +02:00
Marisa Kirisame
eeb67bcec3
Use RDTSC equivalent on AARCH64.
2022-03-25 17:01:39 +01:00
RaveYard
196d2efc86
Add CHF_DONTIDLE for A_Chase
2022-03-23 21:51:35 +01:00
Christoph Oelckers
a685754abf
- added a time widget to the level stats display on the alt HUD, similar to how Raze does it.
2022-03-22 08:35:18 +01:00
Rachael Alexanderson
b9e0473392
- move richpresence into common code to be sync with Raze
2022-03-18 03:36:34 -04:00
Christoph Oelckers
fe4c95a03e
- fixed order of slope creation so that slope copies are the last thing being done.
2022-03-16 08:06:59 +01:00
Marisa Kirisame
7ba5a74f2e
correct preprocessor fall-through for stats.h
(linux)
2022-03-15 18:12:53 -04:00
Marisa Kirisame
0937068dad
Fix compilation on GCC7.
2022-03-15 18:12:53 -04:00
Marisa Kirisame
9578c23aa1
Use RDTSC on Linux if possible for stats.
2022-03-15 18:12:53 -04:00
Rachael Alexanderson
d348bad823
- only overwrite rpath if not already defined
2022-03-11 23:11:08 -05:00
Rachael Alexanderson
3723b79b3b
- fix DiscordAppId and SteamAppId from GameInfo
2022-03-11 10:43:50 -05:00
Rachael Alexanderson
add069885f
- add i_discordrpc (defaults false) to control Discord Presence
2022-03-10 14:12:19 -05:00
Rachael Alexanderson
8fe07f1449
- add steamappid field for DRPC
2022-03-10 00:03:50 -05:00
Rachael Alexanderson
f5eab7d3e8
- oops, add missing file
2022-03-09 22:53:30 -05:00
Rachael Alexanderson
85c432c699
- Discord RPC presence. Adds new IWADINFO and GAMEINFO keys: DiscordAppId - this should point to your AppId for your game. It will use a default GZDoom one if not found.
2022-03-09 22:45:59 -05:00
Rachael Alexanderson
550e1212af
- add $ORIGIN to rpath in Linux
2022-03-09 17:31:06 -05:00
Rachael Alexanderson
eb6aa9f5d3
- correct the processor fall-through on stats.h
2022-03-08 17:17:09 -05:00
nashmuhandes
1785788bdc
- Added 'ScaleWeaponFOV' flag to MODELDEF. Affects weapon models only; will scale the model along with the user's FOV to reduce distortion.
...
- Additionally, a 'cl_scaleweaponfov' CVar has been added to allow users to further fine-tune the weapon model scale with higher FOVs
2022-03-08 07:43:39 +01:00
Rachael Alexanderson
ab27d1dd33
- don't modify gl_customshader
cvar in GLES backend; the backend will not show custom shaders anyhow
2022-03-07 08:46:45 -05:00
Rachael Alexanderson
254da4b769
- fix function pointer for player landing sound
2022-02-24 17:20:39 -05:00
Rachael Alexanderson
36629d2f80
- revert the previous two commits for now - needs further optimization and testing
2022-02-23 06:00:14 -05:00
Major Cooke
992141d8e3
Added a vector to CanCrossLine to indicate the next position the actor will be in if the move succeeds.
2022-02-23 05:20:09 -05:00
Major Cooke
bb862098ea
Added CanCrossLine virtual for actors.
...
- Called last after all other line checks occur. Returning false means the actor cannot cross that line.
2022-02-23 05:20:09 -05:00
Major Cooke
c75a6c1e7d
Terrain small splashes and splash bases now set their target to the thing that spawned them, allowing for extra customization.
2022-02-23 10:00:52 +01:00
Major Cooke
421c40e929
Replaced GetTerrainDef with the global Terrains array.
2022-02-22 19:35:50 +01:00
Major Cooke
579c4152d2
Added GetTerrainDef and Sector variant of GetFloorTerrain.
...
- GetTerrainDef takes the raw number of the Terrains[] index. Can return null.
- GetFloorTerrain (Sector) gets the defs from the position given (either Sector.Floor or Sector.Ceiling).
2022-02-22 19:35:50 +01:00
Nikolay Ambartsumov
85d68b30bb
Fix 3d floor-related crash in software renderer
...
3d floors can cause the software renderer to set incorrect
sprite clipping values that trigger a buffer overflow (and
a subsequent crash) when rendering sprites. This commit
keeps the clipping values within the view area.
2022-02-20 08:11:26 +01:00
nashmuhandes
6caa491595
ZDRay keyword updates.
2022-02-19 22:04:36 +01:00
Rachael Alexanderson
c926b7533f
- play both land and grunt sound if not the same, even if grunted (emulates pre-virtual behavior)
2022-02-17 01:36:38 -05:00
Rachael Alexanderson
28d9fe68ae
- add duplication checking to file list, prevent loading the same file twice unless explicitly asked by the user
2022-02-17 01:05:39 -05:00
Chronos Ouroboros
590f45441f
- fix the wrong register type being freed when initializing arrays.
2022-02-17 00:19:34 -05:00
nashmuhandes
1919534298
Remove more unused UDMF keywords for ZDRayInfo. Sun direction is now determined by the actor's angle and pitch
2022-02-16 08:48:47 +01:00
nashmuhandes
01876dfcec
Remove some of the recognized UDMF keys for static lights, as ZDRay no longer uses them for light baking.
2022-02-16 08:48:47 +01:00
Christoph Oelckers
bba806f43e
- initialize FSwitchDef::QuestPanel when reading a Boom SWITCHES lump.
2022-02-15 17:22:05 +01:00
Christoph Oelckers
e6184ccb96
- silence some warnings.
2022-02-14 20:05:42 +01:00
Christoph Oelckers
c48de5d8d3
- added a 'no MBF21' compatibility flag.
...
Turns out that there's a few old maps that have the extended line flags set but not the guard bit that forces their clearance.
Astrostein 1's first map is an example for this.
2022-02-14 20:00:06 +01:00
nashmuhandes
396bac5e4f
- Initialize some variables in FModelVertex::Set
...
- Fix wrong normal vector in the FModelVertexBuffer constructor
This fixes models having strange flickering when the model animation frame changes
2022-02-14 12:16:45 -05:00
Rachael Alexanderson
add4ff12ac
- virtualize player landing on thing sound
2022-02-14 08:07:10 +01:00
Chronos Ouroboros
238952da35
- fixed local array initialization for const values.
2022-02-13 22:42:15 -05:00
Chronos Ouroboros
2f56ff3833
- fixed local vector array initialization.
2022-02-12 10:44:58 -05:00
Emile Belanger
3ff27b4281
GLES: Fix data buffer resize
2022-02-10 23:46:52 +01:00
Rachael Alexanderson
08b5f95e07
Revert "Fixed: opaque blood decals did not respect the GAMEINFO's blood color. This fixes opaque blood decals not getting the correct color in Chex Quest, as an example."
...
This reverts commit ee0330b0b1
.
2022-02-09 09:11:07 -05:00
nashmuhandes
ee0330b0b1
Fixed: opaque blood decals did not respect the GAMEINFO's blood color. This fixes opaque blood decals not getting the correct color in Chex Quest, as an example.
2022-02-09 07:26:06 -05:00
Rachael Alexanderson
084c4f84bd
- another fix
2022-02-09 07:20:34 -05:00
Rachael Alexanderson
1b9148a443
- fix a few glaring issues with cvar uniforms
2022-02-09 07:05:21 -05:00
Rachael Alexanderson
eae2704a9b
- allow floats for uniform cvar defaults
2022-02-06 10:33:35 -05:00
Rachael Alexanderson
751f859c7a
- fix compile on clang
2022-02-01 12:50:51 -05:00
Rachael Alexanderson
e7e5bd99fc
- fix compiling on Linux/et-al
2022-02-01 12:32:44 -05:00
Rachael Alexanderson
267e714bf1
- implement direct cvar linking to custom shader uniforms
2022-02-01 11:42:55 -05:00
Rachael Alexanderson
95c5449a75
- silence some warning spam in textures.h
2022-01-26 18:30:55 -05:00
Nikolay Ambartsumov
df976e218e
Add per-tier sidedef light levels to UDMF maps
2022-01-26 18:25:04 -05:00
Rachael Alexanderson
a9eaae074f
- move lightmaps warning down the return chain a bit to show only when a map has valid lightmaps
2022-01-24 13:44:42 -05:00
Rachael Alexanderson
f0c5328481
- lock lightmaps behind a command line argument with a warning
2022-01-24 13:39:17 -05:00
Christoph Oelckers
78c8aa6e62
- file update.
2022-01-24 19:05:47 +01:00
Christoph Oelckers
6a92470846
- made a few more names common.
...
These are needed by the ZScript compiler backend.
2022-01-24 19:05:46 +01:00
Christoph Oelckers
673f06c05f
- make m_alloc optional for tarray and memarena
2022-01-24 19:05:46 +01:00
Rachael Alexanderson
410c35b942
Merge commit 'refs/pull/1508/head' of https://github.com/coelckers/gzdoom
2022-01-24 12:30:59 -05:00
emily
20d16381f8
Add TexMan.SetCameraTextureAspectRatio
...
Allows ZScript to change the aspect ratio of a camera texture.
2022-01-24 12:18:55 -05:00
Major Cooke
6432e4f6a8
Optimized P_TestMobjZ by not running the iterator if actor
also has THRUACTORS.
2022-01-24 12:17:52 -05:00
Rachael Alexanderson
688e5ac694
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps-new
2022-01-24 12:10:18 -05:00
drfrag
6112307cc8
- Fix decals in Softpoly.
...
(partial revert of "- cleanup of the revised y-clamping feature.")
2022-01-24 12:01:34 -05:00
Blue Shadow
fefb0e9702
- make m_quickexit
a global CVAR
2022-01-24 12:01:04 -05:00
Major Cooke
046799db68
Removed all attempts to stop the sprite from appearing in portals. This may likely require a fundamental breakdown of the system itself in order to address the problem.
2022-01-24 12:00:33 -05:00
Major Cooke
4e8d59951b
Added A_SetViewPos(Vector3 Offset, int Flags = -1)
...
- Offset: The offset from the actor's view to move the camera about.
- Flags: (Default is -1, which means don't change flags)
- VPSF_ABSOLUTEOFFSET: Don't include actor angles in calculation.
- VPSF_ABSOLUTEPOS: Position is absolute, and disables all transformations. Modders are responsible for being portal aware!
Notes:
- `ViewPos` in Actor will be `null` until A_SetViewPos is called for the first time.
**Issues:**
- Hiding sprite while in portal incomplete.
2022-01-24 12:00:33 -05:00
Xaser Acheron
a07e16099d
move WeaponScaleX/Y namedefs to namedef_custom.h; clean unwanted stuff from merge
2022-01-23 20:05:32 -06:00
Xaser Acheron
bfb79e5b32
Merge branch 'master' into feature_weaponscale
2022-01-23 20:01:59 -06:00
Xaser Acheron
e9c86017e4
apply WeaponScaleX/Y to all PSprites on a weapon
2022-01-23 19:59:06 -06:00
nashmuhandes
db92e63e22
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2022-01-22 18:06:05 +08:00
Rachael Alexanderson
4c4fafc2c0
- add debug ccmds to manipulate custom postprocess shaders and their uniforms from the console
2022-01-20 22:38:46 -05:00
Rachael Alexanderson
64f4332b43
- add cmath includes to fix the mac compile std::floor errors
2022-01-20 13:31:57 -05:00
nashmuhandes
e67c421201
Add the lightmap UDMF keywords into namedef_custom.h
2022-01-21 01:42:54 +08:00
nashmuhandes
8ea47fdcc3
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
...
# Conflicts:
# src/common/engine/namedef.h
2022-01-21 01:39:37 +08:00
nashmuhandes
f79bbed130
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2022-01-20 14:19:45 +08:00
Christoph Oelckers
851d058a4b
- split up namedef.h into a shared and game specific part and cleaned out many unused names.
2022-01-20 00:14:08 +01:00
Xaser Acheron
25f28c4b50
fix mbf21 A_ConsumeAmmo taking 0 ammo instead of 1 if ammopershot field not set (need to amend the spec for this, argh)
2022-01-18 08:06:29 +01:00
Xaser Acheron
00d4442fc8
fix MBF21 A_WeaponMeleeAttack function name typo & args
2022-01-18 08:06:29 +01:00
Xaser Acheron
97859fd608
fix MBF21 GetSoundArg off-by-one: sound indices are 1-indexed in args because Killough
2022-01-18 08:06:29 +01:00
Christoph Oelckers
e6c6471e2f
- fixed logic error with depth bias state in hardware renderer.
2022-01-17 00:32:54 +01:00
Christoph Oelckers
84458ddb9f
- redid postprocessing shader interface to be free of the player dependency.
...
This is something that really should be done in higher level code - the shader interface should only concern itself with the shader and not the conditions that block its use.
The Shader class has been redone as a thin wrapper and been deprecated.
2022-01-17 00:07:43 +01:00
Rachael Alexanderson
12ed24d066
- separate i_pauseinbackground
and i_soundinbackground
- they probably should ultimately be moved out of the sound code
2022-01-15 20:17:11 -05:00
nashmuhandes
57112742fe
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
...
# Conflicts:
# src/common/rendering/gl/gl_shader.cpp
# src/common/rendering/hwrenderer/data/buffers.h
# src/common/rendering/v_video.h
2022-01-16 01:57:38 +08:00
Christoph Oelckers
79c9b979d2
- backend update from Raze.
2022-01-11 17:19:16 +01:00
Marisa Heit
a1d0d27278
Make GC::CheckTime 64-bit, just in case.
2022-01-11 13:01:31 +01:00
Marisa Heit
e529f2d4d1
Revert "- be a bit more aggressive with the GC when not running the game loop."
...
This reverts commit b4d03501af
.
2022-01-11 13:01:31 +01:00
Marisa Heit
31549997b4
Fix GC so collection rate is proportional to alloc rate
...
- Previous comments in dobjgc.cpp suggested that StepMul was used
to determine how quickly garbage was collected based on how quickly
memory was being allocated. This was not the case. Now it is.
- Remove calls to CheckGC from the thinkers. With GC running at a
stable rate (once per frame), there should be no need to inject
pauses into the collection process to keep it from injecting stutters
(provided StepMul is sane). The risk of running out of memory because
we don't run a collection pass absolutely every thinker should be
practically zero.
- Reduce DEFAULT_GCMUL from 400 to 200, since it does what it says now
instead of something else.
2022-01-11 13:01:31 +01:00
Christoph Oelckers
597856c1d4
- use an enum for the FX_* flags.
...
These were still #defines.
2022-01-07 00:40:40 +01:00
Christoph Oelckers
32de663210
- fixed MBF21's A_SeekTracer.
...
This cannot directly call A_SeekerMissile because that has more parameters. It now maps to a wrapper that takes care of these.
2022-01-07 00:33:56 +01:00
Christoph Oelckers
49ab6612cb
- fixed Dehacked parsing issues with weapon properties.
...
Due to a badly used string length check this code didn't really do what it was supposed to.
2022-01-07 00:31:57 +01:00
Christoph Oelckers
64ef03428d
- added proper range check to the main sound playing function.
...
We got a report where this crashed on a bad sound index.
2022-01-07 00:16:30 +01:00
Christoph Oelckers
63fa01205f
- fixed potential infinite loop in Hexen-style stair builder.
2022-01-07 00:09:59 +01:00
Marisa Kirisame
ee1774e956
Relicense UE1 model loader as MIT.
...
Match up with the same relicensing that affected umeshtools,
which this loader takes most of its code from.
2022-01-02 18:09:10 +01:00
Christoph Oelckers
e60e6967c0
- whitespace cleanup, updated from Raze.
2022-01-02 12:23:42 +01:00
Christoph Oelckers
3b879c5656
- changed the license of 3 more files free of external contributions to LGPL v2.
2022-01-02 12:08:47 +01:00
Christoph Oelckers
9d2431187d
- reverted the license of the stereo3D code to BSD.
...
None of this was ever put under the GPL by its original author, so it is now back to its original license.
2022-01-02 11:41:32 +01:00
Christoph Oelckers
1c517d19fa
- Backend update from Raze.
...
This is mainly code cleanup from setting the compiler to a stricter warning level.
2022-01-02 11:39:17 +01:00
Player701
f02060f822
- Fixed crash with Scroll_Texture_Offsets with non-zero tag
2021-12-27 15:34:27 +01:00
Major Cooke
b4c74fabd3
Added NoTrim support for ANIMDEFS, same syntax as TEXTURES outside a definition.
2021-12-14 15:22:01 +01:00
Major Cooke
bbd91be5d5
Added NoTrim for TEXTURES.
...
- This can be applied either in or outside of a definition of a sprite.
- Simply adding "NoTrim" inside a definition will apply it.
- Syntax outside of a sprite is `NoTrim <SpriteName>`.
2021-12-14 15:22:01 +01:00
Player701
2ce5b49cab
- Exported the "paused" global variable to ZScript
2021-12-06 16:26:34 +01:00
Sean Baggaley
bf1577a984
ACS: fixed an old regression in which printing a map char array did not dereference the given array variable
2021-11-29 07:47:30 +01:00
Player701
d0697d9801
- Fixed some issues with the scaling feature of DStatusBarCore::DrawString
2021-11-25 15:42:27 +01:00
Emile Belanger
54ad3433b1
GLES: Load default shader if we try to load user shader to avoid crash
2021-11-21 13:14:02 +01:00
Christoph Oelckers
4530a7b583
- minor optimization to last PR to use a FixedBitArray to reduce stack impact of the check array.
2021-11-21 10:10:58 +01:00
Mitch Richters
b1fea228be
- D_ProcessEvents()
: Fix bad setup with delayedevents
array that was holding pointers to items in the events[]
array instead of making a copy.
2021-11-21 10:03:26 +01:00
Mitch Richters
c4f7760ab2
- D_ProcessEvents()
: Delay EV_KeyUp
events until any EV_KeyDown
events for the corresponding key have been processed. This makes the mouse under SDL a lot better.
2021-11-21 10:03:26 +01:00
Rachael Alexanderson
312b5ce66e
- add SDL hint to not minimize the window on focus loss
2021-11-19 15:26:04 +01:00
Xaser Acheron
441b70022d
apply weaponscale relative to baseline
2021-11-15 01:52:49 -06:00
Xaser Acheron
0b93aef776
add WeaponScaleX/WeaponScaleY properties for applying global scaling to a weapon's PSprites
2021-11-14 23:21:07 -06:00
nashmuhandes
2ed99c735d
Merge branch 'lightmaps2' of https://github.com/dpjudas/gzdoom into lightmaps2
2021-11-15 02:56:10 +08:00
Magnus Norddahl
8c54015b4b
Fix upload and sampling bug for array textures in the vulkan backend
2021-11-14 19:53:10 +01:00
nashmuhandes
1570ce9c90
Merge branch 'lightmaps2' of https://github.com/dpjudas/gzdoom into lightmaps2
2021-11-14 22:01:13 +08:00
nashmuhandes
879c514120
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-11-14 22:01:03 +08:00
Magnus Norddahl
f5c8953fc7
Merge remote-tracking branch 'nash/lightmaps2' into lightmaps2
2021-11-13 05:09:56 +01:00
Magnus Norddahl
d197d19122
Fix light probes not working for maps having no dynamic lights at all
2021-11-13 05:09:25 +01:00
nashmuhandes
e40c927624
Forgot to add the new ZDRayInfo keywords in the UDMF parser
2021-11-12 18:42:37 +08:00
Christoph Oelckers
c598d9bab7
- Backend update from Raze.
...
* TArray extensions
* MSVC setup so that [[deprecated]] emits warnings.
2021-11-12 09:36:46 +01:00
nashmuhandes
9b853dd275
- Remove ALightProbe from the engine (light probes are now stored inside a map's LIGHTMAP lump)
...
- Recognize the new ZDRayInfo UDMF keywords
2021-11-11 19:21:45 +08:00
nashmuhandes
bb50aff87f
Merge branch 'lightmaps2' of https://github.com/dpjudas/gzdoom into lightmaps2
2021-11-10 19:58:10 +08:00
nashmuhandes
1b95f2515b
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-11-10 19:57:49 +08:00
Kyle Evans
70ea671f01
src: fix i386 build
...
SSE_MATTERS formally went away in 466ed4e8f2
, leaving behind this dead
branch that still needed to happen for 32-bit targets. It was further
broken later with some path restructuring.
2021-11-07 17:18:29 +01:00
Christoph Oelckers
7f66df2625
- fixed compiler warnings
2021-11-06 23:55:16 +01:00
Magnus Norddahl
5dec391c8c
Merge remote-tracking branch 'gzdoom/master' into lightmaps2
2021-11-04 23:59:00 +01:00
Rachael Alexanderson
fba5c7884d
- add LoadBrightmaps
, LoadLights
, and LoadWidescreen
directives for IWADINFO
- these function exactly the same as their GAMEINFO
equivalents.
2021-11-03 18:41:33 -04:00
alexey.lysiuk
8db550d251
- fixed compilation of POSIX Debug targets
...
src/rendering/2d/f_wipe.cpp:291: undefined reference to `Wiper_Melt::HEIGHT'
2021-10-30 15:58:07 +03:00
drfrag
5ca3ab3fc9
- Fix abort with dir command and empty string on Windows.
2021-10-30 12:46:36 +02:00
Christoph Oelckers
ce99cda019
- fixed compilation on non-Windows.
...
In this header we must explicitly use the std:: namespace for min/max.
2021-10-30 11:38:20 +02:00
Christoph Oelckers
77d74a11d1
- removed most templates.h includes.
2021-10-30 10:49:12 +02:00
Christoph Oelckers
eb69bbcae0
- replaced MIN/MAX in common code.
2021-10-30 10:46:17 +02:00
Christoph Oelckers
07a181090b
- missed some MAX's.
2021-10-30 10:45:58 +02:00
Christoph Oelckers
75c8e0af7c
- use the standard library's 'clamp' function instead of our homegrown variant.
2021-10-30 10:21:50 +02:00
Christoph Oelckers
1d0aed219e
- replaced MIN/MAX in all non-common code.
2021-10-30 10:16:52 +02:00
Christoph Oelckers
226666ce7f
- replaced MIN/MAX with min/max from the C++ standard library in the software renderer
2021-10-30 10:08:11 +02:00
Christoph Oelckers
cc617d9085
- Backend update from Raze.
...
Mostly warning fixes reported by Clang, plus GLES update.
2021-10-30 09:29:21 +02:00
Magnus Norddahl
8e59ed754e
Fix vulkan validation errors for wrong image transitions and buffers used after destroyed
2021-10-29 22:38:18 +02:00
nashmuhandes
c2b3600981
Add a render style parameter to Screen.Dim
2021-10-29 21:08:32 +02:00
Magnus Norddahl
d853961a83
Fix vulkan buffers not using the stream usage for the 2d drawer
...
Add BufferUsageType enum to clarify what kind of usage is expected by the buffer allocated by SetData
2021-10-26 22:43:38 -04:00
alexey.lysiuk
8e1dd7d2c5
- removed obsolete code from Cocoa backend
2021-10-23 13:46:59 +03:00
Blue Shadow
6799566dc2
- fixed: menu delegate class error message referenced the wrong gameinfo property
2021-10-23 09:22:39 +02:00
Magnus Norddahl
b52aea5a4d
Merge remote-tracking branch 'nash/lightmaps2' into lightmaps2
2021-10-22 13:26:53 +02:00
nashmuhandes
1c3e0f1a75
Added 'NoPerPixelLighting' flag to models to force it to not use per-pixel lighting. Main use case is for voxels that have been converted to models.
2021-10-22 07:57:11 +02:00
Magnus Norddahl
adda5dae32
Fix warning that implied destructors might not been called
2021-10-21 23:16:09 +02:00
Magnus Norddahl
f216ca4ea8
Merge branch 'master' into lightmaps2
2021-10-21 23:08:55 +02:00
nashmuhandes
b657478f6f
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-10-21 20:56:36 +08:00
Rachael Alexanderson
2420371c46
- change cvars gl_custompost
and gl_customshader
to archive and save to .ini since there are uses for these shaders beyond mere debugging.
2021-10-20 11:23:05 -04:00
nashmuhandes
5c20a5918e
Merge branch 'master' of https://github.com/nashmuhandes/gzdoom into lightmaps2
2021-10-20 21:59:37 +08:00
Rachael Alexanderson
bb44f3dcd9
- add cvar r_skipmats
- speeds up rendering on slower cards for mods that use a lot of specularity/pbr, effective on both the opengl and vulkan backends
2021-10-20 06:49:45 -04:00
Christoph Oelckers
2fc1481202
- validate the newly added menu customizations.
2021-10-20 08:08:51 +02:00
nashmuhandes
ab3146054b
Fixed: SBar_DrawTextureRotated was missing the angle parameter
2021-10-19 11:44:34 +02:00
Marisa Kirisame
58e66f4805
ReadThisMenu / MenuDelegate overriding.
2021-10-19 11:43:27 +02:00
Christoph Oelckers
047c0c9537
- fixed recreation of state lights
...
This must also happen if the previous state had a light but the current one does not.
2021-10-19 08:07:06 +02:00
alexey.lysiuk
8ec6c21195
- fixed deprecation warnings in Cocoa backend
2021-10-18 11:03:34 +03:00
alexey.lysiuk
7741a934b8
- bump macOS version to 10.12 in .plist
2021-10-18 10:41:02 +03:00
alexey.lysiuk
c27fc92776
- fixed xcode bundle identifier warning
...
warning: User-supplied CFBundleIdentifier value 'org.drdteam.gzdoom' in the Info.plist must be the same as the PRODUCT_BUNDLE_IDENTIFIER build setting value ''.
2021-10-18 10:40:25 +03:00
alexey.lysiuk
b85282fe5e
- disabled nullability warnings in Vulkan memory allocator
2021-10-18 10:27:03 +03:00
alexey.lysiuk
e0cdb1e32e
- removed NoVirtualRefCountedBase class
2021-10-18 10:26:21 +03:00
alexey.lysiuk
94b77de5ed
- fixed Vulkan memory allocator initialization
2021-10-18 09:50:33 +03:00
alexey.lysiuk
df2d07e0d5
- update Vulkan headers to the latest released SDK
...
https://github.com/KhronosGroup/Vulkan-Headers/releases/tag/sdk-1.2.189.1
This fixes missing `VK_ERROR_UNKNOWN` definition
2021-10-18 09:47:44 +03:00
alexey.lysiuk
80b8ab8fa2
- add missing vk_mem_alloc.natvis
...
1b0bd18053/src/vk_mem_alloc.natvis
2021-10-18 09:44:47 +03:00
Christoph Oelckers
eb9f752db8
- updated vk_mem_alloc.
2021-10-17 09:12:03 +02:00
nashmuhandes
12c509cc46
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-10-17 03:42:15 +08:00
Marisa Kirisame
95b8629fe0
Allow customization of pause screen.
2021-10-16 11:33:30 +02:00
nashmuhandes
4b386fd268
Merge branch 'lightmaps2' of https://github.com/dpjudas/gzdoom into lightmaps2
2021-10-15 12:52:17 +08:00
Magnus Norddahl
81f7b083c0
Improve light probe lookup speed for large sectors by using a grid instead of subsectors
2021-10-15 04:21:18 +02:00
nashmuhandes
ea560172f7
Add light probes to wall decals
2021-10-14 17:35:44 +08:00
nashmuhandes
96383792fa
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-10-14 12:20:42 +08:00
Magnus Norddahl
6a804cd4c7
Fix lightmaps got applied to model meshes
2021-10-14 06:11:54 +02:00
Magnus Norddahl
764a08752f
Use a faster way to find the closest light probe
...
Fix light probe not being applied to psprite
2021-10-14 05:43:35 +02:00
Hugo Locurcio
d0975467f5
Add cvars to control automap line alpha and thickness
...
This can be used to improve automap readability on high-resolution
displays.
Some automap options in the menu were reordered to follow a more
logical order.
2021-10-11 22:30:31 +02:00
Magnus Norddahl
b59bd46b79
Fix crash in GetDynSpriteLight when the actor is null
2021-10-08 21:47:43 +02:00
Marisa Kirisame
7c591cd0e9
Allow map markers to scale relative to automap zoom.
2021-10-08 16:03:51 +02:00
nashmuhandes
635a279186
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-10-08 16:26:26 +08:00
Magnus Norddahl
a77dfae0bc
Fix out of pool memory error
2021-10-08 10:15:01 +02:00
Christoph Oelckers
19aac25f19
- fixed some imprecisions in font luminosity calculation.
...
This was still going through the palette which could result in off-by-one errors.
2021-10-07 00:13:34 +02:00
Christoph Oelckers
60bf096912
- fixed palette initialization for single lump fonts (FON2 and BMF)
...
The bad increment was due to the palette being a byte array in older versions.
2021-10-06 20:30:29 +02:00
Christoph Oelckers
a8ea5bef00
- removed unused static array.
2021-10-06 14:10:22 +02:00
Christoph Oelckers
8d9d56c339
- push sprite shadows a little back for distance sorting
...
They always need to be behind sprites with the same distance.
2021-10-05 13:57:31 +02:00
nashmuhandes
52004f36b4
Add sunlight actor for ZDRay
2021-10-05 18:09:00 +08:00
nashmuhandes
d35cd9549f
Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
2021-10-05 12:53:05 +08:00
Christoph Oelckers
3c961a2aa2
- avoid multiple Dehacked mappings to the same function.
...
Due to some MBF21 related changes these would cause interference.
Instead the two affected functions, A_NailBomb and A_RadiusDamage are now separate script functions that just call A_Explode with the correct parameters.
2021-10-03 18:16:37 +02:00
Christoph Oelckers
6e9e75c02c
- disallow changing the line spacing for option menus.
...
With the VGA font this makes no sense anymore.
2021-10-03 15:54:08 +02:00
Christoph Oelckers
6bf487dac3
- fixed wrong state being checked for dynamic light updating.
2021-10-03 15:44:42 +02:00
Christoph Oelckers
b4d03501af
- be a bit more aggressive with the GC when not running the game loop.
...
Since most CheckGC calls are within the main game ticker, the engine can accumulate a lot of data when creating/deleting objects in the menu or other UI parts and never manage to collect everything
2021-10-03 14:01:27 +02:00
Christoph Oelckers
88be3b8a1b
- fixed base class for DShape2DBufferInfo.
2021-10-03 13:09:39 +02:00
Christoph Oelckers
6da9f00e6e
- allow "INDEXFON" as an alias for "INDEXFONT".
2021-10-03 09:00:24 +02:00
Magnus Norddahl
247deff5bb
Fix using wrong lightmap UV coordinates after all the wall clipping did its thing
2021-10-03 03:47:40 +02:00
Magnus Norddahl
0ac1baac48
Simplify the lightmap array slightly
2021-10-02 22:14:56 +02:00
Marisa Kirisame
457f7c31c3
Allow WorldUnloaded events to know the next map name (if any).
2021-10-01 20:18:36 +02:00