Commit graph

126 commits

Author SHA1 Message Date
minenice55
b9553e4c9e redo kart tilt offsetting code
also caught some more issues with sprite offsets, should be perfect now(?)
2026-04-23 12:59:06 -04:00
yamamama
532826f61d Fix spritexoffset not playing nice with affines 2026-04-23 08:32:14 -04:00
yamamama
00f5eca7ae Yama's Kludgy Sprite Two-Pass
Can't just force compatmode to check only 8 rotations because Neptune exists and has 16-angle rotations
2026-04-12 05:34:45 -04:00
yamamama
266453f15a Minor affine fixes
* Remove the "pivot offset difference" system; this
  really only ever becomes a concern for pre-scaled affines,
  and caused janky visuals (especially for flipovers)
* Make OGL offsetting actually respect horizontal flips
2026-03-25 12:46:33 -04:00
NepDisk
d38b88fbb9 Warning cleanup 2026-03-07 22:07:15 -05:00
yamamama
5f04d317b6 Fix splat rendering issues
That goddamned Robotnik Coaster splatbooster
2026-03-07 01:45:36 -05:00
yamamama
ea505f9428 Some quick cleanup 2026-03-05 23:47:28 -05:00
yamamama
0ebe6f2f4d Affine brightmaps 2026-03-05 23:38:46 -05:00
yamamama
5a648dd91a Make Software use OpenGL's pivot-differencing
Software is a renderer I fully believe was crafted by the deranged
2026-03-05 23:38:46 -05:00
yamamama
951c43d1e8 Add an option for mosaic affine rendering
Currently software only; would require a shader or more "involved" solution for OpenGL
2026-03-05 23:38:46 -05:00
yamamama
cb578f423d Remove extraneous dc_copy checks, fix rolling offsets 2026-03-05 23:38:46 -05:00
yamamama
7ef15619d6 Kill AFFINEPAPER and move the affine RF2s to standard renderflags 2026-03-05 23:38:46 -05:00
yamamama
3d229f3768 Fix affine sprites "dissolving" in Software 2026-03-05 23:38:46 -05:00
yamamama
143af29983 I forgot: rolling offsets aren't fixedpoint
:holdingbugtears:
2026-03-05 23:38:46 -05:00
yamamama
00a9e94161 Make affines respect SPRTINFO
"Things yama forgets about until the last minute"
2026-03-05 23:38:46 -05:00
yamamama
de8f2e40da Toggle for affine pre-scaling
Now you can choose between sane rotation + scaling, or SRB2 rotation + scaling
Hooray?!
2026-03-05 23:38:46 -05:00
yamamama
3880139feb "Fake rollangle" rotating 2026-03-05 23:38:46 -05:00
yamamama
afacf55067 FF_AFFINEPAPER and RF2_AFFINEPAPER
He made a BANDAID so TRASH even his TEAM clowned him
2026-03-05 23:38:46 -05:00
yamamama
ac5cc2eaaa Experiment - make ALL sprites use affines
Per internal talks
2026-03-05 23:38:46 -05:00
yamamama
d650014fd6 Get rid of software affine debug values 2026-03-05 23:38:46 -05:00
yamamama
1c932778db r_things cleanup 2026-03-05 23:38:46 -05:00
yamamama
307e334e27 And the rest
- Vertical flips
- A proper fix for ceiling offsets/sprite splits
- Baked offsets, rolling offsets, offsets in general (saltyhop works again!)
- Did a few races, can't find any visual bugs of note

OpenGL implementation (hopefully) soon
2026-03-05 23:38:46 -05:00
yamamama
5437aa3242 Use the OpenGL method for highresscale
Why are we scaling it down *twice?*
2026-03-05 23:38:46 -05:00
yamamama
1e06866a9e FF_AFFINESPRITE and affine papersprites 2026-03-05 23:38:46 -05:00
yamamama
0e05031fb7 Fix that weird cutoff alignment issue 2026-03-05 23:38:46 -05:00
yamamama
9f3c2596d1 More crap
Trying to fix a horizontal screen clip bug
2026-03-05 23:38:46 -05:00
yamamama
3a81063d7f Colormaps and splitting
Papersprites are all that remain
2026-03-05 23:38:46 -05:00
yamamama
aeadb21ad3 Add affine renderflag
Guest starring: even MORE flag variables!
2026-03-05 23:38:46 -05:00
yamamama
402b48342b Translucent affine functions
Up next is... column splitting. Dear god.
2026-03-05 23:38:46 -05:00
yamamama
e802de23df Move affine pixel lookups to R_DrawColumnAffinePixel
Turns out the secret sauce is a... recursive function
Colormap translations work, jury's still out on if translucency and brightmaps do
2026-03-05 23:38:46 -05:00
yamamama
05508fbb58 Fix spryscale alignment 2026-03-05 23:38:46 -05:00
yamamama
48ec1c977d Mostly fix vertical alignment
spryscale still has alignment issues
2026-03-05 23:38:46 -05:00
yamamama
f3287a8e38 Fixed alignment 2026-03-05 23:38:45 -05:00
yamamama
b86e3416e5 Draw area system works, need to fix alignment 2026-03-05 23:38:45 -05:00
yamamama
3c961033ca patrick_mouth 2026-03-05 23:38:45 -05:00
yamamama
1996395de8 Affine sprite drawing
Kudos to Generic
2026-03-05 23:38:45 -05:00
Alug
dd016e9e86 dont apply thing distance fade if viewplayer is spectating
fixes https://codeberg.org/NepDisk/blankart/issues/219

this probably should be rewritten to be camera based not player based instead
2026-02-26 19:52:13 +01:00
yamamama
d5ca5516de Split Classic and Alt. Invincibility
- It's what the people want, why bother to complain?
- Alt is now its own separate item titled the S-Monitor
- Several variables, macros, functions, and comments have been renamed to fit this change
2026-02-16 18:40:48 -05:00
NepDisk
75483f92e8 Kill off most of HWRAPI
Based on 25f1e504c9
2026-02-03 18:15:51 -05:00
NepDisk
300ffd94ea Also don't fade other players in freecam 2026-01-29 23:30:19 -05:00
NepDisk
b49a210e85 disable playerfade after crossing the line 2026-01-29 22:50:01 -05:00
NepDisk
2279180d5c Remove extra branch from R_GetThingFade 2026-01-24 19:50:49 -05:00
NepDisk
533d3b0ce6 Use a switch statement for this check 2026-01-24 16:08:53 -05:00
NepDisk
96e81b1807 Also apply player fading to followers 2026-01-24 15:26:55 -05:00
NepDisk
48fb58d4fb Port player fading from saturn and fix up RR GL renderer nonsense
Thanks so much to Alug for helping me fix this!
2026-01-24 15:07:45 -05:00
Alug
526a8390f5 fix few more implicit double/float conversions 2026-01-24 12:12:16 -05:00
Alug
2e7111d2c8 software: fix drawseg xrange item coord type being too small
both sprite and drawseg coords are int32
might fix some clipping issues
2026-01-24 12:04:12 -05:00
NepDisk
bd6b529b01 Global init
these were found by alug
2026-01-17 02:04:31 -05:00
GenericHeroGuy
3d942226a5 Update hashes, fix floating item spriteroll 2026-01-03 00:48:23 +01:00
NepDisk
7249273ca3 Revert "Kill Alt. Invin."
This reverts commit f414006e66.
2025-12-22 20:23:45 -05:00