Commit graph

112 commits

Author SHA1 Message Date
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
yamamama
f414006e66 Kill Alt. Invin. 2025-12-22 20:05:13 -05:00
NepDisk
09bfc6506a Update shadow code
Thing brings over scale based on object height and interp amoung other things.
2025-12-07 20:37:07 -05:00
Zwip-Zwap Zapony
9a8b5b37bc Interpolate radius/height when scaling mobjs 2025-12-07 19:27:22 -05:00
NepDisk
c6167030f0 Show shadow patch cache message in software 2025-12-07 17:32:01 -05:00
NepDisk
6682f1df69 R_ProjectSprite: move fakeflat clipping before light maths
c81cd48552
2025-11-29 17:12:10 -05:00
NepDisk
9b99d2fd91 R_ProjectSprite: make sprite clipping work with sloped fake floors/ceilings
1849d5aade
2025-11-29 17:00:27 -05:00
NepDisk
5f6c7e2127 Fix oversight in software plane and sprite secbright handling
c54aaf1cdb
2025-11-19 19:19:32 -05:00
chromaticpipe
fdf2464ccf Configurable sector brightness in software 2025-11-16 13:54:10 -05:00
yamamama
edbcfe3af8 Read baked offsets from the interpolation target 2025-11-16 00:51:44 -05:00
GenericHeroGuy
911c454fa8 Fix graphics replacements, fix altitem flag not being synced 2025-11-13 16:04:45 +01:00
GenericHeroGuy
2546729b0c Custom item papersprites 2025-11-08 23:46:16 +01:00
NepDisk
d7ed03fab9 Remove M_Memcpy
Was quite literally a wrapper that did nothing.
2025-11-08 02:00:30 -05:00
NepDisk
df581ae69f Remove dead renderer code
based on 0eeacaf51e

remove
- broken viewborder code (if we really want it back for some reason, we should rather port RR´s fixed version of it)
- remove console clipping code for software (this was broken eiherway)
- remove hud message clearing stuff
- remove renderscreen and linesize variables (they just pointed to vid.screen and vid.widht)
2025-10-19 16:34:38 -04:00
Alug
a06aa1590f add allocation failure case in R_DrawMasked 2025-10-19 15:29:30 -04:00