Commit graph

7 commits

Author SHA1 Message Date
James R.
635d9dca3e R_FindPlane: fix offsets rotation overflow for non-sloped planes 2023-09-13 00:27:06 -07:00
Oni
87d7cae5d3 Merge branch 'brightmap-conversion' into 'master'
Convert BRIGHTMAP texture columns to match associated texture

See merge request KartKrew/Kart!1473
2023-09-10 19:50:25 +00:00
James R.
717a9e3f97 Add R_GetBrightmapColumn, convert brightmaps to associated texture's column layout
- Ensures that column drawer doesn't read out of bounds
  the brightmap column.
- Refactored code in r_segs.cpp, so it checks
  R_TextureHasBrightmap.
- Added comments for plane brightmaps and sprite
  brightmaps, that these are still error-prone.
2023-09-09 21:08:11 -07:00
Eidolon
f3cb5cdaba Clamp tilted ripple spans to viewheight
Mitigates against KartKrew/Kart#658 crash but only in release builds.
2023-09-09 12:02:23 -05:00
Eidolon
ecd843f0f0 Use srb2's version of the ripple fix 2023-09-03 09:59:58 -05:00
Eidolon
210186d8f2 Clamp ds_bgofs in sw water ripples to fix crash 2023-09-02 16:03:50 -05:00
Eidolon
96af259c50 r_plane.c -> r_plane.cpp 2023-09-02 16:03:38 -05:00
Renamed from src/r_plane.c (Browse further)