Commit graph

18957 commits

Author SHA1 Message Date
Christoph Oelckers
8480a390a1 - synced texture sampler setup fixes from Raze. 2020-06-02 11:45:34 +02:00
Christoph Oelckers
83153efcad - refixed translations on Vulkan. 2020-06-02 11:41:49 +02:00
Christoph Oelckers
ff99dfbbc6 Merge branch 'master' of https://github.com/coelckers/gzdoom 2020-05-31 23:38:17 +02:00
Christoph Oelckers
4c11b01588 - backend sync with Raze. 2020-05-31 23:37:11 +02:00
Hugo Locurcio
80c5b4d37b Add a cvar to control weapon bobbing while firing
This simulates a feature found in Crispy Doom, which keeps the
weapon bobbing while firing. This leads to a "smoother" appearance
which may look a bit prettier to some people.

The default value of 0 preserves the old behavior.
2020-05-31 23:12:11 +02:00
drfrag
8c539539df - Fixed crash on maps with out of range sidedef and sector numbers, adapted from PRBoom. 2020-05-29 18:59:58 +02:00
Christoph Oelckers
b60fd4d8bc - removed redundant TextureFilterChanged method from DFrameBuffer. 2020-05-29 11:53:37 +02:00
Christoph Oelckers
5861fdd4bd - minor cleanup of FHardwareTexture.
Inlining of a trivial function and removing dependency on the render state, unbinding the render state should be done elsewhere.
2020-05-29 11:48:29 +02:00
Christoph Oelckers
a517b04908 - texture sampler cleanup. 2020-05-28 22:51:17 +02:00
drfrag
332dfa4d6f - Remove wrong GL includes. 2020-05-27 21:35:09 +02:00
Christoph Oelckers
c892fb1ddb - backend sync with Raze
Mostly code reformatting plus license and copyright adjustments
2020-05-26 22:59:50 +02:00
Christoph Oelckers
4881ec257a - don't let CHANF_AUTO hijack other channels.
With CHANF_OVERLAP this isn't needed anymore - any sound started on CHAN_AUTO can actually play on this channel with overlap implicitly allowed.
This has the added advantage that these sounds can be reliably accessed with other function by using CHAN_AUTO.
2020-05-26 22:19:30 +02:00
Alexander Kromm
2a063c96da more descriptive message for server CVAR change attempt in netgame
Rationale: while the previous description contains the name of a CVAR, it doesn't specify that it's a CVAR. Unsuspecting user may be not aware that the engine or a mod contains such a CVAR.
2020-05-26 19:18:22 +02:00
Christoph Oelckers
12a55ff161 - removed entry for non-functional linear tonemap. 2020-05-26 11:51:15 +02:00
alexey.lysiuk
555845222d - fixed fullscreen toggle via shortcut 2020-05-26 10:02:16 +03:00
Christoph Oelckers
233d0b62b9 - fixed space calculations for oversized episode and skill menus. 2020-05-25 22:12:08 +02:00
Christoph Oelckers
3b65b0caec - fixed: The size parameters for automap sprites are floats, so they need the matching tag. 2020-05-25 21:32:49 +02:00
Christoph Oelckers
730f64e447 Merge branch 'master' of https://github.com/coelckers/gzdoom 2020-05-25 21:23:25 +02:00
Christoph Oelckers
dbb1819238 - fixed setup for translated textures in Vulkan.
It was passing the wrong IDs to high level code.
2020-05-25 21:17:28 +02:00
Christoph Oelckers
b2b1ecc11f - Single image fonts do not use translations. 2020-05-25 21:16:36 +02:00
Christoph Oelckers
29344006a0 - fixed: texture upscaling was disabled by default.
It should only be disabled if the scale of a texture is greater than 2.
2020-05-25 20:41:47 +02:00
Christoph Oelckers
3e8f53e98c - fixed shader building.
We really need a version directive for user shaders, this is getting too messy. :(
2020-05-25 20:26:58 +02:00
Christoph Oelckers
667b2d6bf4 - fixed: V_GetFont must load the translations once the game has been set up. 2020-05-25 19:44:06 +02:00
Christoph Oelckers
2828dbe095 - fixed: TRF_ALLACTORS did not consider actors without any flag being set. 2020-05-25 19:33:14 +02:00
Christoph Oelckers
ea0da8533c - added missing range check to section code.
Fixes asserts on some maps in Kama Sutra.
2020-05-25 19:20:51 +02:00
Christoph Oelckers
6444a7535c - fixed use of Powerup.Strength in PowerInvisibility.
An integer division made the feature useless.
2020-05-25 16:43:01 +02:00
Christoph Oelckers
c9b37f8320 - fixed bad Heretic light definitions. 2020-05-25 16:32:27 +02:00
Christoph Oelckers
991661e11e - fixed missing sound for Polyobj_MoveTo. 2020-05-25 16:24:36 +02:00
Marisa Kirisame
7d5df1dd7e Add mapinfo option to disable merging of identical pickup messages on same tic 2020-05-24 08:19:14 +02:00
Rachael Alexanderson
5c86ad8507 - defcvars: handle values from a version 219 config 2020-05-23 09:08:40 -04:00
Rachael Alexanderson
00acbac04e Merge remote-tracking branch 'origin/master' into texture_rework 2020-05-23 08:53:11 -04:00
Christoph Oelckers
3dfb417f07 - attenuated lights for Strife. 2020-05-22 19:29:19 +02:00
alexey.lysiuk
3f9b9314a0 - added #include to fix compilation with MSVC 16.6.0
https://forum.zdoom.org/viewtopic.php?t=68641
2020-05-21 10:06:50 +03:00
Rachael Alexanderson
58b3cb0971 Merge branch 'master' of https://github.com/coelckers/gzdoom into texture_rework 2020-05-18 23:13:37 -04:00
Alexander Kromm
53ea19c6a8 fix "'ictionary' is freed outside the GC process" warning 2020-05-18 18:32:53 +02:00
alexey.lysiuk
dd40778c75 - fixed map things erroneously treated as polyobject anchors/spots
https://forum.zdoom.org/viewtopic.php?t=68601
2020-05-18 17:48:10 +03:00
alexey.lysiuk
1fd2ea46d2 - fixed aiming camera that didn't follow target
https://forum.zdoom.org/viewtopic.php?t=68600
2020-05-18 14:00:48 +03:00
alexey.lysiuk
0631670a66 - restored warning about missing aiming camera target 2020-05-18 13:58:22 +03:00
Major Cooke
079e7ee4e9 Enforce the reflective flag as well. 2020-05-10 10:48:32 +02:00
Major Cooke
b70bc2b152 Fixed an issue where multiple invulnerability powerups could cancel each other out from just one expiring. 2020-05-10 10:48:32 +02:00
Rachael Alexanderson
6e3ec96250 - export common formulae to functions instead of copy-pasting them
- screen bevel now enlarges also when screenblocks <= 11

- make intermission and status bar scaling game-specific in the config

- add scaling customization for classic ui flat scaling

- make screen border flat scale up

- inter_classic_scaling now defaults to true
- fixed: last commit I accidentally left hardcoded testing values and did not change them back to check for the texture's original size

- implement cvar 'inter_classic_scaling' to render the intermission flat as if it were 320x200
2020-05-07 04:34:17 -04:00
Rachael Alexanderson
0f0768652a - force player respawn to call up the player's default class settings before determining where to respawn the player 2020-05-07 04:33:28 -04:00
Rachael Alexanderson
192882f63a Merge branch 'master' of https://github.com/coelckers/gzdoom into texture_rework 2020-05-07 04:32:46 -04:00
Mekboss
4807f4240b Fix MSVS compile bug and add offset parameter for SprayDecal 2020-05-07 09:35:48 +02:00
Mekboss
0e9ca3c850 Replace function variables to DVector3 2020-05-07 09:35:48 +02:00
Mekboss
ba43244764 Add optional direction parameters for SprayDecal and its A_SprayDecal zscript counterpart 2020-05-07 09:35:48 +02:00
Nemrtvi
50e0353668 Revised Serbian characters Ћ/Ђ 2020-05-06 14:50:35 +02:00
Christoph Oelckers
0cf967dc06 - fixed wrong order of actions on shadow map updater. 2020-05-04 22:15:18 +02:00
Christoph Oelckers
c6cc763907 - fixed: screen resolution changes did not notify the 2D drawer. 2020-05-04 22:14:50 +02:00
Christoph Oelckers
192ea40634 - fixed order of multipatch texture initialization.
This didn't play well with hires replacements - the texture size needs to be set as early as possible.
2020-05-04 21:24:36 +02:00