Commit graph

20241 commits

Author SHA1 Message Date
NepDisk
0941cbe8db reInvert Polyobject planes for binary mode 2025-01-06 13:14:23 -05:00
NepDisk
03478b6458 Use RingRacers line fudge for setting starpost values with new waypoitns 2025-01-06 12:45:49 -05:00
NepDisk
ff0dcd94a2 Experimental Respawn check for new waypoints
Haven't been able to test poluobj but rover and sector seems to work fine!
2025-01-05 23:14:01 -05:00
NepDisk
ab91803ce6 Readd Intro entry 2025-01-04 16:25:48 -05:00
NepDisk
6cb0c347d7 Remove Ending gamestate and code 2025-01-02 23:13:00 -05:00
NepDisk
7cdc812b76 Go back to 2.1 frame order
Makes compat with v1 content easier
2025-01-02 18:46:29 -05:00
NepDisk
b1a0504cea Remove sparkle rotate and revert ringboost 2025-01-02 18:36:53 -05:00
NepDisk
75b29bde2e why are there {} 2025-01-02 17:51:08 -05:00
NepDisk
19b3eea36f Fix strange camera turn during teleports 2025-01-02 17:45:26 -05:00
Alug
979436c253 Optimization: dont iterate blockmap and calc dimensions for precip render if there is no precip to render
save a bit of time on maps without weather and maps with storm norain weather
2025-01-01 20:24:46 +01:00
Alug
4cb315bfe7 shut up some compiler warnings 2024-12-31 16:56:35 +01:00
Alug
46a7bcad6f screw qsort, qs22j is chad 2024-12-31 16:43:41 +01:00
NepDisk
4e49c32e82 Merge pull request 'Merge Completed Software renderer features from Ring Racers' (#7) from rrsoft into ACS2
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/7
2024-12-31 15:19:57 +00:00
Alug
8b77f2bf11 fix tutti frutti textures on column drawer
those shouldve been deleted by ac2b3651ae
2024-12-31 16:16:43 +01:00
AJ Martinez
ff8dab5363 Measure frameskip timing before sleeping 2024-12-31 09:51:23 -05:00
James R
5c8c199914 Frame skipping
Skip up to 3 frames of rendering if the time between tics
exceeds TICRATE. If rendering is a significant source of
that slowdown, skipping some frames can speed up the game
loop and improve input responsiveness.
2024-12-31 09:51:23 -05:00
Alug
f8fd814799 fix a few other cases i missed in skywall handling 2024-12-31 14:30:15 +01:00
Alug
ae51062132 Merge remote-tracking branch 'origin/rrsoft' into rrsoft 2024-12-31 02:24:34 +01:00
Alug
8c7c0da986 add back hAx for software binary skywall and addline code 2024-12-31 02:24:30 +01:00
NepDisk
82dfe605f3 mobj_t: add shadowcolor member to change shadow palette index 2024-12-30 19:54:29 -05:00
NepDisk
ab1ed128b7 Fix forking crash 2024-12-30 18:30:42 -05:00
Alug
ce693aa912 dont use portals for skyboxes on binary maps
resolves alot of performance issues on some maps
2024-12-30 20:30:14 +01:00
NepDisk
c9fd66be7f Fix startcolor 2024-12-30 13:22:48 -05:00
NepDisk
1f2de36907 Revert "Sky offsets"
This reverts commit bf9e2cf6a6.
2024-12-30 13:16:29 -05:00
NepDisk
57c4cc6df1 Use some rendering code from durrr 2024-12-30 13:10:51 -05:00
NepDisk
3d7afcb77f Remove uneeded acsvm library check 2024-12-30 12:27:31 -05:00
Oni
e293e0bc78 Merge branch 'clamp-sprite-column' into 'master'
Always clamp texturecolumn in sprite draw

See merge request KartKrew/Kart!1527
2024-12-30 10:20:46 -05:00
Eidolon
b39bc68b05 Merge branch 'fix-texture-scale-overflow-freeze' into 'master'
Prevent overflow when scaling textures

Closes #844

See merge request KartKrew/Kart!1879
2024-12-30 09:17:49 -05:00
NepDisk
f52d841220 Revert "TERRAIN: add 'remap' boolean, toggles ENCOREMAP/TWEAKMAP"
This reverts commit d062173bfc.
2024-12-30 08:52:46 -05:00
Oni
82f1b11c7d Merge branch 'fix-bbox-col-raster' into 'master'
Fix renderhitbox in Software renderer

See merge request KartKrew/Kart!1548
2024-12-30 01:14:44 -05:00
NepDisk
8771a08cf7 md5 for current assets so I can build release 2024-12-30 01:13:12 -05:00
Eidolon
df0d49f89a Tracy instrument software BSP traversal and render 2024-12-30 00:23:34 -05:00
James R
90196d8913 debugrender_freezebsp: freeze culling to your current position, so you can see how much level is being rendered 2024-12-30 00:16:57 -05:00
Eidolon
a6aeb1194f Merge branch 'convert-sdl-i-video' into 'master'
cxx: Convert sdl/i_video.cpp

See merge request KartKrew/Kart!872
2024-12-30 00:00:30 -05:00
NepDisk
941bebec21 Update core folder 2024-12-29 23:55:09 -05:00
James R.
b819d43296 Move HOM removal from R_RenderPlayerView to D_Display
This lets duplicate displayplayers[0] render correctly,
since repeating occurrences of displayplayers[0] won't
clear the screen multiple times.
2024-12-29 17:29:37 -05:00
Sal
bf9e2cf6a6 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-12-29 16:39:32 -05:00
Eidolon
b73d71abc9 Fix parallel slope plane calculations 2024-12-29 16:37:20 -05:00
James R
b80a69cea1 R_DrawMaskedColumn: do not draw zero length column
- Column would be zero length if there are no visible
  pixels in it.
- Trying to draw such a column results in a negative
  heightmask in R_DrawColumnTemplate and a probable read
  out of bounds.
2024-12-29 16:26:52 -05:00
Eidolon
974a1df0ca Merge branch 'papersprite-papercuts' into 'master'
Mitigations for software papersprite light eval crashes

See merge request KartKrew/Kart!1893
2024-12-29 16:18:38 -05:00
AJ Martinez
5a4cd36e23 Fix stale reference in P_KillMobj (crash) 2024-12-29 16:16:55 -05:00
James R
97b9e7d4fc Use PU_LEVEL for texture caching
- Some maps may contain very large or very many (animated)
  textures
- Texture sets are not typically shared between maps, so
  each texture allocation may go unused for a long time
  after the map ends
- Keeping these PU_STATIC leads to significant memory
  usage over the program duration
2024-12-29 16:16:37 -05:00
James R
e90224bcd1 R_StoreWallRange: do not render textures with holes
- Holey textures are ones where the column height may not
  match the texture height.
- R_DrawColumn cannot cope with this directly and it may
  lead to a read out bounds.
- Transparency would not render for true wall textures
  anyway since these are not masked midtextures, so just
  don't render the texture in this case.
2024-12-29 16:16:08 -05:00
James R
2ec9a60029 R_DrawMaskedColumn: set texheight to column length
- In R_DrawColumnTemplate, texheight is used to switch
  between a non-PO2 rasterizer and a more efficient PO2
  rasterizer.
- There is bounds checking on the non-PO2 version (in the
  form of sourcelength) but not on the PO2 version.
- texheight was set to the sprite patch height, which may
  be taller than the column (sourcelength), leading to a
  read out of bounds.
2024-12-29 16:16:02 -05:00
James R
86b8757aee devmode render: display skybox portal, visplane and drawseg counts on HUD
- Skybox portal count moved from console print to HUD
- Displays visplane count and drawseg count
2024-12-29 16:10:12 -05:00
Oni
ac2b3651ae Merge branch 'fix-column-fix' into 'master'
R_DrawColumn_Template: fix non-po2 column drawing

Closes #1033

See merge request KartKrew/Kart!1913
2024-12-29 15:58:35 -05:00
James R.
6191c392e5 Merge branch 'r-draw-column-minor-optimization' into 'master'
R_DrawColumnTemplate: minor optimization for non-power-of-2 textures

See merge request KartKrew/Kart!1854
2024-12-29 15:57:30 -05:00
Oni
5c48744842 Merge branch 'templated-drawing' into 'master'
Use C++ templates for DrawColumn/Span

See merge request KartKrew/Kart!1728
2024-12-29 15:56:33 -05:00
James R
917b549f46 Vissprites: set dc.texheight
Fixes power-of-2 detection in R_DrawColumnTemplate.
2024-12-29 15:52:35 -05:00
NepDisk
976c08d4df Fix vissprite crash 2024-12-29 15:30:50 -05:00