Emile Belanger
2d5a9e5c7f
Remove some more branching in fp shader
2021-05-22 11:23:58 +01:00
Emile Belanger
18fe9a81b8
Changed back to highp for gles2 shaders. Medium was causes precision issues on some GPUs. Need to make run-time option.
2021-05-22 11:23:57 +01:00
Emile Belanger
6bca15d827
Disable user shaders for GLES2
2021-05-22 11:23:57 +01:00
Emile Belanger
7a2ee8acdb
Optimise uLightLevel
2021-05-22 11:23:57 +01:00
Emile Belanger
36f2420c32
Disabled sport light stuff in shader and removed some branches.
...
Need to remove spot light data from uniform array
2021-05-22 11:23:57 +01:00
Emile Belanger
f199011c08
Optimise lights to create separate shaders for different combinations. Code cleanup
2021-05-22 11:23:57 +01:00
Emile Belanger
894a731e93
Removed gl_satformula option from present.fp to save an if, could be replaces with #define
2021-05-22 11:23:57 +01:00
Emile Belanger
0a28d50b12
Optimise dyn lights a bit
2021-05-22 11:23:57 +01:00
Emile Belanger
40135c4c86
Dynamic lights hacked back in for GLES2, needs optimisation
2021-05-22 11:23:57 +01:00
Emile Belanger
f1f446d985
Fix gles2 fogboundary.fp
2021-05-22 11:23:56 +01:00
Emile Belanger
0ca27c18d8
Fix for GLES2
2021-05-22 11:23:56 +01:00
Emile Belanger
8c304d5ac6
Added texture flags to shader
2021-05-22 11:23:56 +01:00
Emile Belanger
627f6a7d1b
Added DO_DESATURATE to precompiler for shader
2021-05-22 11:23:56 +01:00
Emile Belanger
1b4533083f
Moved fog enable to precompiler for shader
2021-05-22 11:23:56 +01:00
Emile Belanger
284cda3638
Clean up main.fp more, copied Doom light equation from GZDoom 1.9.1
2021-05-22 11:23:56 +01:00
Emile Belanger
68988df681
Update to uniforms and shader.
2021-05-22 11:23:56 +01:00
Emile Belanger
366a21a613
Added gles2 shaders. Started branch-less implementation
2021-05-22 11:23:56 +01:00
Rachael Alexanderson
f01b901a04
- fix hexen status bar as suggested in this topic: https://forum.zdoom.org/viewtopic.php?f=2&t=72332
2021-05-21 10:27:44 -04:00
Cacodemon345
9a860ae445
Account for portals when spawning missiles in A_FireBullets/A_CustomBulletAttack
...
This also gives the caller the information whether the LineAttack
hitscan passed through a portal regardless of whether it actually hit an
actor or not as a nice bonus.
2021-05-20 19:42:29 +02:00
alexey.lysiuk
98a9729da2
- fixed return type of Actor.GetCVarString()
...
https://forum.zdoom.org/viewtopic.php?t=72334
2021-05-20 12:01:52 +03:00
Christoph Oelckers
a3da915812
- gave the Raven invulnerability items the BIGPOWERUP flag to ensure proper respawning behavior.
2021-05-19 19:46:04 +02:00
Christoph Oelckers
8bb36bd479
- do not use M_EPI1 and M_EPI2 in any Doom 2 context.
...
Their content is inconsistent across versions, so better always use the text version of the names.
2021-05-19 18:38:36 +02:00
Christoph Oelckers
28dab3889b
- moved the handling of ending PowerWeaponLevel2 into PlayerPawn.Tick and restored the immediate weapon switch.
...
This got changed because switching weapons in EndPowerup is not safe - this can be called from weapon states where the player can end up with a different weapon being active than the one running the state.
The actual weapon switch has to be delayed until the state processing has ended.
2021-05-19 17:59:44 +02:00
Christoph Oelckers
8a4fa8b65f
- backend update from Raze.
2021-05-17 20:44:19 +02:00
Christoph Oelckers
97b8c0ccfb
Revert "- fixed some uses of postincre,ment/decrements on narrow types."
...
This reverts commit 668f8f2cf6
.
Revert "- added a proper error message when '--' or '++' gets used on 8 or 16 bit values."
This reverts commit a94f5dd1b3
.
None of this was necessary - the triggered assert was bogus and had to be removed.
2021-05-17 18:13:30 +02:00
Christoph Oelckers
6ebe30ce44
- fixed time positioning on stat screen.
...
This was still a hard coded offset, but with a two-line time display it needs to be dynamic in case the font is too tall.
2021-05-17 12:21:38 +02:00
Christoph Oelckers
6071cf66cc
- added proper string labels for Doom 2 episodes.
2021-05-17 13:02:01 +02:00
Christoph Oelckers
668f8f2cf6
- fixed some uses of postincre,ment/decrements on narrow types.
...
THe VM has no opcode for this, all these places produced code with undefined behavior.
2021-05-17 12:42:22 +02:00
Christoph Oelckers
a94f5dd1b3
- added a proper error message when '--' or '++' gets used on 8 or 16 bit values.
2021-05-17 12:27:27 +02:00
Christoph Oelckers
f4143f7624
- added a few missing statusbar constants-
2021-05-17 12:07:10 +02:00
Christoph Oelckers
161f3a3c07
- don't display keys on the HUD in deathmatch.
2021-05-17 12:06:44 +02:00
Christoph Oelckers
ebbc94280e
- fixed: The PrisonPass's TryPickup method did not properly report successful pickup.
2021-05-17 11:51:06 +02:00
Christoph Oelckers
cf3c573222
- give the first 16 DEHEXTRA states proper content.
...
No idea where this BLD2 stuff came from...
2021-05-07 23:03:46 +02:00
Rachael Alexanderson
bb58dedff2
this fix was requested here: https://forum.zdoom.org/viewtopic.php?p=1188347#p1188347
2021-05-04 07:59:13 +02:00
Christoph Oelckers
52554dc32c
- Backend update fron Raze, mainly new script exports and extensions.
2021-05-03 14:13:03 +02:00
nashmuhandes
afd7b2e954
Allow settable render styles for status bar drawing functions DrawTexture, DrawImage and DrawString
2021-04-26 23:04:39 +02:00
nashmuhandes
c12a671b3e
Made OptionMenuSliderBase::IsGrayed virtual
2021-04-26 23:02:35 +02:00
nashmuhandes
57e6d84d46
Expose sprite shadow options to the Display menu
2021-04-24 22:40:54 -04:00
Marisa Kirisame
a172513535
Expose level_info_t to scripting + helper functions.
2021-04-24 22:37:50 -04:00
Blue Shadow
55ce0510c2
- added a A_SetFriendly function
2021-04-04 08:57:56 +02:00
sgrunt
0c776e3acd
Move the modified behaviour to a new "resetvel" parameter
2021-03-19 20:12:20 +01:00
Blue Shadow
acd553aa6f
- account for KEEPDEPLETED flag when destroying items with InterHubAmount of 0 upon leaving a level
2021-03-19 20:10:25 +01:00
nashmuhandes
229b065289
Add missing tag for Strife's KneelingGuy.
2021-03-18 19:11:37 +01:00
nashmuhandes
43937e4338
Add missing tag for the sub-Entity bosses. This was missed in the previous commit.
2021-03-15 22:05:25 +01:00
nashmuhandes
b28e5cb917
Add GetCharacterName() to retrieve an NPC's name as defined in its dialogue script, if it exists. Otherwise it will just return the same output as GetTag().
2021-03-15 21:31:16 +01:00
nashmuhandes
45c1cc8c08
Add tag properties to Strife's enemies.
2021-03-15 20:10:49 +01:00
Christoph Oelckers
5c84177142
- lower the step size for module master volume to adapt to the altered value range.
2021-03-14 08:50:42 +01:00
Christoph Oelckers
a80775a1e8
- adapt mod_dumb_mastervolume to the increased default volume in ZMusic.
2021-03-14 08:40:34 +01:00
Christoph Oelckers
3d55c76a89
Merge branch 'replaygain'
2021-03-12 08:48:00 +01:00
Christoph Oelckers
f11780600f
- implemented replay gain calculation and management.
...
This is done entirely on the streamed sound data, unlike the old relative volume which uses the backend's volume setting.
2021-03-10 23:06:21 +01:00