Christoph Oelckers
1c5fc16fa5
- SW: fixed two bad user assignments
2021-12-25 19:54:45 +01:00
Christoph Oelckers
a94f298600
- print new errors in red.
2021-12-16 11:56:26 +01:00
Christoph Oelckers
d011f3c201
- Blood: validate upper/lower sector links before starting a level.
...
Originally this just performed an OOB memory access, but with Raze's setup it would dereference a null pointer so these must be eliminated.
2021-12-16 11:54:55 +01:00
Mitchell Richters
6c1632a744
- Add hud_showmapname
to the HUD Options menu to allow easy disabling of it if its not desired.
2021-12-16 11:48:55 +11:00
Christoph Oelckers
910c0e61ca
- Added Raze-specific application data search path for macOS.
2021-12-15 21:30:46 +01:00
Christoph Oelckers
eeabe0fe6d
- fixed culling of mirrored voxels for real this time.
2021-12-15 21:19:42 +01:00
Christoph Oelckers
7f1a3431ca
- SW: fixed accidentally inverted colliision check in DoMirvMissile.
2021-12-15 20:51:31 +01:00
Christoph Oelckers
8cb871e5ff
- fixed: voxel culling must take sprite flipping into account.
2021-12-14 13:43:24 +01:00
Christoph Oelckers
0c83d299f2
- removed compat.h entirely, all that was left was redundant #includes.
2021-12-14 12:27:41 +01:00
Christoph Oelckers
4daad25e5c
- use WORDS_BIGENDIAN directly in place of B_BIG_ENDIAN
2021-12-14 12:27:41 +01:00
Christoph Oelckers
7c4233bcf7
- replaced fallthrough__ with [[fallthrough]] as we are requiring C++17 and don't need workarounds for that.
2021-12-14 12:27:28 +01:00
Christoph Oelckers
7daa501a4d
- removed all #include "compat.h" except the one in build.h
...
Still all compiles fine.
2021-12-14 12:24:10 +01:00
Christoph Oelckers
e21f899989
- added all #includes needed to compile on Windows without using precompiled headers.
2021-12-14 12:24:09 +01:00
Christoph Oelckers
7e2431ebd8
- replaced the remaining content from compat.h
2021-12-14 10:15:58 +01:00
Christoph Oelckers
016a907c20
- replaced vec2_t with FVector2.
2021-12-14 10:07:06 +01:00
Christoph Oelckers
7546cf3a4b
- replaced vec3f_t with FVector3.
2021-12-14 09:58:01 +01:00
Christoph Oelckers
6e43f1a15a
- Blood: refine picnum 0 filter to apply to face sprites only.
2021-12-13 17:58:11 +01:00
Mitchell Richters
6aecc18c35
- SW: Use floating point radians instead of converting integer Build angle into radians for when updating a sound's angle.
2021-12-13 23:37:11 +11:00
Christoph Oelckers
8abd67a3b1
- fixed sound listener angle for the remote control case.
...
It was taking the angle of the rotating sector object instead of the angle from the listener's position to it.
2021-12-13 13:24:33 +01:00
Christoph Oelckers
498abf25f3
- Blood: make sure that invalid sprites don't get rendered at all.
...
Seems the game may have depended on them being clipped by the floor or ceiling.
2021-12-13 11:45:28 +01:00
Christoph Oelckers
a899055f50
- fixed: in palette emulation mode, assume all textures to be non-translucent.
...
These need to force an alpha test, which is disabled for textures with translucent texels.
2021-12-13 10:35:03 +01:00
Christoph Oelckers
e104316e75
- fixed bad parameter to getzrange.
...
This originated from 1d39bb371e
where the getzrange_old function was removed
2021-12-13 09:39:57 +01:00
Mitchell Richters
2253a418c7
- Tidy up some of the indentations that were badly resolved in the previous commits merge conflict.
2021-12-13 07:39:01 +11:00
Christoph Oelckers
054d81fc8e
- fixed logic for discarding walls in new renderer.
...
The case being checked here may decide not to add the wall to the clipper but it must still be rendered.
Information for determining visibility is not sufficient in case of sector overlaps which can happen with rotating doors or poorly set up sector objects.
# Conflicts:
# source/core/rendering/scene/hw_bunchdrawer.cpp
2021-12-12 19:40:17 +01:00
Christoph Oelckers
c2f29b8849
- fixed OOB write in section splitting code.
2021-12-12 09:42:45 +01:00
Mitchell Richters
a9d7eb06c7
- Add OpenGL ES to the backend options in the menu.
2021-12-12 11:22:43 +11:00
Christoph Oelckers
387a03c7ee
- fixed triangulation via node builder for sectors with invalid walls.
...
The array indices were not properly adjusted for the missing elements an
2021-12-12 00:23:35 +01:00
Emile Belanger
9e9bb66e9a
GLES: Fix bias state
2021-12-11 13:44:23 +01:00
Emile Belanger
5300abb76d
GLES: Fix line-endings for func_paletted.fp
2021-12-11 13:23:39 +01:00
Emile Belanger
9e1e824f5e
GLES: Fixed palette mode and interpolation
2021-12-11 13:23:39 +01:00
Emile Belanger
5a8c57040f
GLES: Palette mode now GLES2 compliant. Interpolation not yet working.
2021-12-11 13:23:39 +01:00
Emile Belanger
9501215ef2
Revert "- disabled palette emulation for the GLES backend."
...
This reverts commit 8d9d3d5f8f
.
2021-12-11 13:23:39 +01:00
Christoph Oelckers
10c6fde8d6
- reordered the init calls in engineLoadBoard.
...
sprite lists must be done after preparing the arrays, otherwise important bits get overwritten.
2021-12-11 12:51:07 +01:00
Christoph Oelckers
507dc10e4f
- Duke/RR: Fixed sprite validation checks in animatesprites.
2021-12-11 09:57:02 +01:00
Mitchell Richters
853aab5513
- Update version.h
.
2021-12-10 17:40:18 +11:00
Mitchell Richters
3269d6a398
- Duke: Ensure all weapon variables used for interpolation have the o
values set when CON updates them.
...
* Hasn't been an issue to date but could become one should a mod set these.
* Can't simply back the variable up and set the main one because unless the mod knows we're interpolating, it could have undesirable effects.
2021-12-10 17:31:51 +11:00
Mitchell Richters
ee1ffd2347
- Duke: Fix lotag signedness issue affecting SE10 (door auto-close).
...
* Originated in 01abe7b2ac
while removing a casting to short.
* Fixes #594 .
2021-12-10 17:26:56 +11:00
Christoph Oelckers
a8c4d61fab
- default-enable GL_DEPTH_CLAMP for the GLES renderer.
...
This brings it in line with the other backends.
2021-12-08 00:19:49 +01:00
Mitch Richters
5aa4243327
- Duke: Test tsprite's sector in animatesprites_d()
following crash while noclipping in Duke WT's E5L1. Apply same fix to animatesprites_r()
as well.
2021-12-07 22:55:08 +11:00
Mitch Richters
6aba76cfe5
- Duke/RR: Fix RR crash while operating weapon outside of a sector (noclipping, etc).
2021-12-07 21:42:21 +11:00
Mitchell Richters
af96180123
- Duke/RR; Don't lose the precision of p->MotoSpeed
when calculating p->VBumpTarget
.
2021-12-07 20:02:30 +11:00
Mitch Richters
7f1b8402d1
- Slight optimisation to I_GetInputFrac()
by multiplying by inverse instead of dividing on a constant.
2021-12-07 20:02:11 +11:00
Mitch Richters
cb91e23c75
- Clamp the return value in PitchToHoriz()
between the range of an INT32 value, and fix some math in the PitchToBAM()
and BAMToPitch()
inlines.
2021-12-07 19:59:30 +11:00
Mitch Richters
acf38f7a21
- Make a number of CVARs in gamecvars.cpp
saved as part of the global config.
...
Full list:
* `cl_weaponsway`
* `cl_viewbob`
* `cl_interpolate`
* `cl_slopetilting`
* `cl_showweapon`
* `cl_syncinput`
* `cl_hudinterpolation`
* `cl_loadingscreens`
2021-12-07 19:59:26 +11:00
Mitch Richters
b6b0887611
- Fix missed flags pass-through in bool StartCutscene(const char* s, int flags, const CompletionFunc& completion)
overload.
2021-12-07 19:59:19 +11:00
Mitch Richters
63a19bbb15
- Port spritetype::insector()
over from develop and use with sector nullptr checks in 6539d72663
.
2021-12-07 19:56:50 +11:00
Mitch Richters
6539d72663
- Duke/RR: Add three sector nullptr checks after receiving crash in Redneck Rampage Route 66 while noclipping.
2021-12-07 19:44:35 +11:00
Mitch Richters
85a2e3bd06
- Duke/RR: Do nullptr test in floorspace_d()
/floorspace_r()
functions to match ceilingspace_*()
functions.
2021-12-07 19:41:25 +11:00
Mitch Richters
a7e99a3bd1
- Duke/RR: Do nullptr test in ceilingspace_r()
after receiving crash in Redneck Rampage Route 66 (do Duke for parity).
2021-12-07 19:41:22 +11:00
Mitch Richters
96867e15d5
- Duke: Apply same nullptr fix in 2e7496888a
to prelevel_r()
, and rename sect
to sectp
for 1:1 match between _d.cpp and _r.cpp files.
2021-12-07 19:41:18 +11:00