Commit graph

20453 commits

Author SHA1 Message Date
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
bfd0f8fa0a - silence error C5045 in MSVC 2022-03-11 11:02:55 -05:00
Rachael Alexanderson
47333badba - remove extra rapidjson library, use internal one from gzdoom instead 2022-03-11 10:55:30 -05:00
Rachael Alexanderson
3723b79b3b - fix DiscordAppId and SteamAppId from GameInfo 2022-03-11 10:43:50 -05:00
Rachael Alexanderson
e212fa1310 - remove drpc example files 2022-03-10 15:12:18 -05:00
Rachael Alexanderson
18def622b4 - remove examples from DiscordRPC library - we don't need them. the library is freely available for anyone who needs them. 2022-03-10 15:09:53 -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
Christoph Oelckers
a20d519488 - text update. 2022-03-09 22:16:53 +01:00
Rachael Alexanderson
eb6aa9f5d3 - correct the processor fall-through on stats.h 2022-03-08 17:17:09 -05:00
Rachael Alexanderson
a245e4faad - remove default lost soul translucency 2022-03-08 10:57:48 -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
8a61badcad Removed some residuals. 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
a46db69db9
Update copyright year in README.md 2022-02-19 05:01:53 -05: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
64ee08d80b - fix: player landing sound was not properly playing, error in morph logic check 2022-02-14 10:17:52 -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
Emile Belanger
5939f1947f Fix func_paletted.fp to use alpha channel for index. This was needed due to GLES renderer change from Raze 2022-02-10 23:46:23 +01:00
Emile Belanger
93b62d4f15 Fix Texture Mode 7 shader compilation bug 2022-02-10 23:46:23 +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