Commit graph

28 commits

Author SHA1 Message Date
Eidolon
bd7646346b Use new containers and json 2025-03-16 18:45:11 -05:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Eidolon
f75564371d Merge public master 2024-05-03 12:55:15 -05:00
bitten2up
cfacbd91be Fix implicit casts of int expecting 4-byte width
This fixes the issue with certain compilers that have int set to
different sizes by either explicitly casting or setting templates
manually
2024-05-03 17:53:53 +00:00
Eidolon
53caa21b55 Turn off water ripples when reducevfx is on
A number of people have said they have sensory issues caused by the
ripple effects from water and heat. This turns off those effects
when reducevfx is on.

It may be a better idea for this to be a separate option, but it's
a starting point we can build upon later.
2024-04-30 23:13:58 -05:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
James R
d2d9edb7e3 R_MapPlane, R_MapTiltedPlane: return on invalid coordinates, debug print in devmode render 2024-03-02 22:25:46 -08:00
James R
27b4013c18 R_DrawColumn_Template: fix non-po2 column drawing
- Fix for efd017085
- To preserve tutti-frutti fix, offset drawing with
  texheight, but detect po2 with sourcelength
2024-02-09 19:46:45 -08:00
Eidolon
591af1ab95 Add parallelsoftware cvar
In the rare case where kernel thread scheduling causes hitching issues
(SteamOS?), there should be an option to dynamically toggle multithread
dispatch of plane drawing.
2024-01-29 19:26:04 -06:00
James R
044bfdc83a debugfinishline: highlight stumble sectors in yellow 2024-01-26 18:10:07 -08:00
James R
1698e80650 Refactor R_PlaneIsHighlighted 2024-01-26 18:10:07 -08:00
Sally Coolatta
7415b5ef2f Fixed "splat" drawers
- Fix flat DS_HOLES referencing incorrect background pixel
- Add SPANDRAWFUNC_TILTEDTRANSSPLAT (fixes Lost Colony)
2024-01-11 01:50:46 -08:00
Sally Coolatta
24132a9dcd Use C++ templates for DrawColumn/Span
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.
2024-01-11 01:50:46 -08:00
Sal
c615a4fbad Sky offsets
Both X and Y offsets work on sky textures now. Old incorrect offset has been removed, so old skies lined up with the horizon special should be set to +16 Y offset.
2024-01-07 18:29:41 -05:00
Eidolon
183ca15989 Fix parallel slope plane calculations 2023-10-16 17:09:35 -05:00
Eidolon
25ca00c553 wrong argument to SetSlopePlaneVectors 2023-10-15 20:55:19 -05:00
Eidolon
33f959628e Calculate slope vectors per tilted ripple span 2023-10-15 19:32:18 -05:00
Eidolon
68a8f2b274 Multithread software drawing 2023-10-14 15:26:52 -05:00
James R
5415674034 debugfinishline: highlight deathpits and instakill planes 2023-10-04 20:17:31 -07:00
James R.
7b3010c93d Fix many instances of splitscreen view number if there are duplicate displayplayers
- Avoid iterating displayplayers to find view number and
  prefer R_GetViewNumber.
- Iterate over all matching displayplayers if necessary,
  instead of stopping at the first match.
2023-10-03 21:28:33 -07:00
Eidolon
689f5b8365 Tracy instrument software BSP traversal and render 2023-09-18 16:19:31 -05:00
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)