Commit graph

21 commits

Author SHA1 Message Date
James R
591a909eea Software: krangle directional lighting in 3P/4P splitscreen 2025-03-24 12:39:22 -04:00
GenericHeroGuy
8160267880 Oops, forgot to resize spritecachedinfo in R_AddKartFaces 2025-02-23 01:45:29 +01:00
GenericHeroGuy
48204a5ba7 Sprite frame/char compatibility 2025-02-20 00:32:31 +01:00
NepDisk
283f5a5fc7 Prevent weather from I_Erroring in GL as well 2025-02-18 15:48:08 -05:00
NepDisk
dd4022ee51 Prevent weather from I_Erroring 2025-02-18 15:29:13 -05:00
NepDisk
36109d0a1d Add RF_ALWAYSONTOP flags 2025-02-05 10:27:11 -05:00
GenericHeroGuy
8cbacdeda7 Kart skin compatibility 2025-01-25 23:53:53 +01: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
8b77f2bf11 fix tutti frutti textures on column drawer
those shouldve been deleted by ac2b3651ae
2024-12-31 16:16:43 +01:00
NepDisk
82dfe605f3 mobj_t: add shadowcolor member to change shadow palette index 2024-12-30 19:54:29 -05:00
NepDisk
57c4cc6df1 Use some rendering code from durrr 2024-12-30 13:10:51 -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
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
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
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
NepDisk
4fd99ef3ff Multithreaded Software rendering 2024-12-29 14:14:28 -05:00
Eidolon
fc7e04305b r_things.c -> r_things.cpp 2024-12-29 13:41:57 -05:00
Renamed from src/r_things.c (Browse further)