Commit graph

15164 commits

Author SHA1 Message Date
Lactozilla
5783bcec90 Add 'clipmidtex' and 'wrapmidtex' to Lua side_t 2024-02-01 21:19:59 -03:00
Lactozilla
27f579d53c Changes:
- Implemented ZDoom UDMF sidedef fields 'clipmidtex' and 'wrapmidtex'
- Fixed issues with midtexture clipping and midtexture wrapping
2024-02-01 21:11:08 -03:00
Lactozilla
e0885a4ad1 Changes:
- Added 'noclip' property to extra textures
- Fixed multiple issues with texture scaling
2024-02-01 02:23:24 -03:00
Lactozilla
2325b1bd20 Implement UDMF clipmidtex 2024-01-31 17:52:51 -03:00
Lactozilla
888aa8bf72 Fixes:
- Fixed regression in R_RenderMaskedSegRange
- OpenGL: Only render edges on two-sided lines if they are textured
2024-01-31 16:27:01 -03:00
Lactozilla
58a71e24b9 Render extra textures on polyobject sides even if they don't have a midtexture
This makes it consistent with how OpenGL does it.
2024-01-31 14:50:08 -03:00
Lactozilla
9afb28cf65 Changes:
- Render extra textures properly on polyobject back sides
- Clip polyobject sides properly if a back side is being rendered
2024-01-31 13:30:47 -03:00
Lactozilla
95ac47dc81 Merge branch 'next' into extra-textures 2024-01-30 21:24:18 -03:00
Lactozilla
b6c4e61bee Remove lightnum parameter from HWR_RenderExtraTexture
Not necessary, can be calculated from inside it.
2024-01-30 20:42:04 -03:00
Lactozilla
e928dd48a5 OpenGL: Simplify extra texture code 2024-01-30 20:37:00 -03:00
sphere
bae687a1b9 Merge branch 'fix-slope-convex-sectors' into 'next'
Fix physics quirkiness on slopes with convex sectors

See merge request STJr/SRB2!2250
2024-01-30 22:38:56 +00:00
Lactozilla
a58fc445a6 Fix regression in R_RenderMaskedSegRange 2024-01-30 18:31:08 -03:00
Lactozilla
468d49364a Handle edge case properly 2024-01-30 18:25:25 -03:00
Lactozilla
3339294acd Simplify HWR_AddPolyObjectSegs 2024-01-30 18:05:16 -03:00
Lactozilla
19b78bad9c Changes:
- Implemented extra texture rendering on polyobject sides
- Made polyobject sides clip against their sector heights
2024-01-30 18:00:53 -03:00
Lactozilla
e84032fd70 OpenGL: Make the gap between a wall and an extra texture less obvious 2024-01-30 00:45:16 -03:00
Lactozilla
722a3c3d48 Merge branch 'next' into extra-textures 2024-01-29 13:12:22 -03:00
sphere
4649f3a46b Merge branch '1173-next-moved-upnp-to-it-s-own-thread' into 'next'
Resolve "[NEXT] moved UPnP to it's own thread"

Closes #1173

See merge request STJr/SRB2!2263
2024-01-29 13:59:00 +00:00
sphere
225f085937 Merge branch 'optimize-batch-sorting' into 'next'
Optimize polygon sorting on batch renderer

See merge request STJr/SRB2!2253
2024-01-29 13:58:13 +00:00
sphere
4407b70fbb Merge branch 'fix-ban-corruption' into 'next'
Fix bans by remote admins corrupting banlist

See merge request STJr/SRB2!2266
2024-01-29 13:57:09 +00:00
sphere
770bc934b1 Merge branch 'visit-unlockables-fix' into 'next'
Update & save unlockables when visiting a new map

Closes #1122

See merge request STJr/SRB2!2279
2024-01-29 13:55:43 +00:00
sphere
9e8020276f Merge branch 'fix-3d-floor-skewtd' into 'next'
Fix 3D floor texture skewing

See merge request STJr/SRB2!2281
2024-01-29 13:55:40 +00:00
sphere
5a00859baa Merge branch 'bouncy-nights-fixes' into 'next'
General NiGHTS Fixes

See merge request STJr/SRB2!2199
2024-01-29 13:55:25 +00:00
sphere
f6cd5ab13e Merge branch 'fix-removed-viewmobj-segfault' into 'next'
Fix segfault when setting up view frame for a removed mobj

See merge request STJr/SRB2!2270
2024-01-29 13:53:59 +00:00
Lactozilla
61701c3c53 Fix 3D floor texture skewing 2024-01-29 03:54:15 -03:00
Lactozilla
8e13f1654b Serialize extra texture data 2024-01-27 17:59:01 -03:00
Lactozilla
28f6188bfb Fix regressions in HWR_RenderExtraTexture 2024-01-27 17:35:10 -03:00
Lactozilla
b888832114 Changes:
- OpenGL: Fix a possibly incorrect use of HWR_SplitWall on extra textures on 3D floor sides
- OpenGL: Fix a missing use of PF_Decal on extra textures on 3D floor sides
2024-01-27 16:31:58 -03:00
Lactozilla
902c61a32f Changes:
- Made extra textures on 3D floor sides copy the blending of the whole 3D floor
- Software renderer: Fixed clipping of extra textures on 3D floor sides
- Software renderer: Fixed rendering of scaled extra textures on 3D floors that have sloped planes
2024-01-27 16:16:17 -03:00
Lactozilla
de9bbee563 Changes:
- OpenGL: Use P_GetFFloorTopZAt and P_GetFFloorBottomZAt if rendering an extra texture over a 3D floor side
- OpenGL: Don't clip extra textures if rendering one over an one-sided line
2024-01-26 22:30:59 -03:00
Lactozilla
525cb3fd91 OpenGL: Implement rendering overlay textures on 3D floor sides 2024-01-26 22:11:38 -03:00
Lactozilla
61e48af0dc Support overlay textures on 3D floor sides 2024-01-26 19:46:41 -03:00
Lactozilla
1de411020d Changes:
- Implemented Lua support for side overlays
- OpenGL: Fixed rendering of overlays in one-sided walls
- Made edge flags into its own enumeration
2024-01-26 18:23:02 -03:00
Sally Coolatta
1e04896d3f Update & save unlockables when visiting a new map
Resolves #1122
2024-01-26 15:37:38 -05:00
Lactozilla
0535ad845b Avoid Z-fighting on extra textures in the OpenGL renderer 2024-01-25 17:36:33 -03:00
Lactozilla
69256fe56a Finish OpenGL edging 2024-01-25 16:57:08 -03:00
Lactozilla
85bf6a08d5 Fix typos 2024-01-24 03:35:36 -03:00
Lactozilla
98d80053dc Use the vertex coords passed in to the function instead of gr_curline 2024-01-24 02:21:04 -03:00
Lactozilla
a64d107cda Cleanup HWR_RenderExtraTexture a bit 2024-01-24 02:17:59 -03:00
Lactozilla
e448e60a44 WIP OpenGL extra textures 2024-01-24 00:16:15 -03:00
Lactozilla
a50e6bd769 Fixed:
- Issues with negative texture scales in the OpenGL renderer
- Regression related to horizontal texture scaling
- Regression related to the rendering of vertically flipped textures
2024-01-22 21:16:46 -03:00
Lactozilla
7768e86cfb Fixed:
- Rendering of walls with a negative vertical scale
- Rendering of midtextures with a negative horizontal or vertical scale
2024-01-22 20:13:38 -03:00
Lactozilla
77f9d476de Border textures WIP 2024-01-22 18:52:12 -03:00
Lactozilla
36e64cb683 Merge branch 'fix-1177' into 'next'
Fix #1177

Closes #1177

See merge request STJr/SRB2!2268
2024-01-21 23:57:33 +00:00
Lactozilla
0739c310b3 Merge branch 'fixes-for-2190' into 'next'
Fixes for !2190

See merge request STJr/SRB2!2273
2024-01-21 23:54:22 +00:00
Lactozilla
7cabf43e85 Merge branch 'lua-colorlib-get-sector-translation' into 'next'
Add v.getSectorColormap and P_GetSectorLightLevelAt

See merge request STJr/SRB2!2230
2024-01-21 23:54:08 +00:00
Lactozilla
5ef55cc6af Merge branch 'improve-download-refuse-message' into 'next'
Improve addon download refusal messages

See merge request STJr/SRB2!2153
2024-01-21 23:53:57 +00:00
Lactozilla
8cff33e681 Changes:
Ported skincolor cache management from the secondcolor branch
Adjusted R_GetTranslationRemap to use a similar caching scheme
Made sure that if a skincolor was updated, then related translations would be rebuilt
2024-01-20 01:47:03 -03:00
Lactozilla
9851ec56cf Correct comment 2024-01-19 21:16:20 -03:00
Lactozilla
712c274988 Add third argument to getColormap that accepts a translation name
Delete 'translations' Lua global
2024-01-19 20:50:36 -03:00