Commit graph

77 commits

Author SHA1 Message Date
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
Alug
bad7b9f980 remove unused hires variable from drawcolumndata 2025-10-19 20:40:51 +02:00
Alug
e8e72db32f fix columnbuf crashes
-our buffered uhh buffer needs to be only advanced per column not per screenwidth, caused the buffer to advance beyond its boundaries

-brightmap drawers get the DC_DIRECT flag to make sure they never attempt to draw buffered

removed tempbuffer alignment for now as reported by ubsan
2025-10-19 20:38:22 +02:00
NepDisk
659aa667eb Software Renderer: Implement Column buffering system
A port of https://github.com/Indev450/SRB2Kart-Saturn/pull/205, currently doesn't work
2025-10-19 12:12:33 -04:00
NepDisk
39e17bce4b remove ylookup, columnofs and topleft lookups
based on 2da89f1946
move screens array to vid struct
remove a bunch of unused stuff

this speeds up 4 player splitscreen ever so slighty
mostly just alot cleaner than the mess it was before
2025-10-18 13:04:39 -04:00
NepDisk
f7378caf66 Use more vars for multireads to vid.height and vid.width 2025-10-17 10:53:45 -04:00
NepDisk
ff467c676c port over most fixes from srb2classics clang-tidy pr
Based on 939354f483
2025-10-17 10:32:21 -04:00
NepDisk
d6d0377f6b inline R_ThingLightLevel
b3106d55d1
2025-10-13 11:10:04 -04:00
Alug
ca3ddf744d speed up masked sprites a bit
thx eternity engine!
2025-10-13 11:08:02 -04:00
Oni
0fad3c882b Merge branch 'increase-minz' into 'master'
Increase MINZ from 4 fracunits to 16

See merge request KartKrew/Kart!1122
2025-10-03 21:09:18 -04:00
NepDisk
9e648d859d Fix saltyhop being broken in software 2025-09-29 21:02:02 -04:00
NepDisk
f29ba22cc8 Make mobj spritex/yoffsets consistant with highresscale
https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2722
2025-09-29 01:13:06 -04:00
Anonimus
93a4824549 Fix mis-scaling of rolling offsets 2025-09-12 20:21:57 -04:00
Anonimus
04dd587ef4 Add legacy drifting for RR characters
Imitates V1 drifts using baked offsets; perfectly netsafe
2025-09-12 15:01:45 -04:00
Anonimus
b702e17547 Rolling offsets, add interp to offset rotation code 2025-09-12 14:56:39 -04:00
Chearii
dc99014d2a Add baked offset parameters 2025-09-12 14:55:31 -04:00
NepDisk
d98dd3e2dd Add variables that bake 3D offsets into a sprite
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/63
2025-09-12 11:50:24 -04:00
toaster
2686503602 r_things.cpp: Fix highresscale for custom skins interacting badly with Linkdraw on the player (bubble shield, etc) 2025-09-12 00:41:55 -04:00
GenericHeroGuy
219acbb9cc Rework rendertimefrac and gate it behind a function
Fixes intermission background shifting when toggling fullscreen (yup)
and fixes audio caption text losing interp when paused
2025-08-27 21:34:01 +02:00
Anonimus
cc9130c2ea Alt Invincibility overlay improvements
* Separate color table for less garish colors
* Directly copies interpoltation and rotations from its source
* Uses TC_BLINK for solid color overlaying
2025-08-26 22:50:35 -04:00
NepDisk
b865638cb8 Port restrict and LIKELY/UNLIKELY macros and mark stuff for blitting loop as const and with register 2025-08-18 09:59:58 -04:00
NepDisk
478feacd3a Miscellaneous OpenGL Fixes
Cherry-pick of https://git.do.srb2.org/STJr/SRB2/-/merge_requests/2721 and also some base srb2 helper functions
2025-08-13 12:04:44 -04:00
GenericHeroGuy
8bcfa6bb58 Hopefully fix software shadows randomly drawing in front of the player 2025-07-22 18:51:22 +02:00
NepDisk
e4d6cf3a5f Add support for interp to more stuff 2025-07-21 11:59:02 -04:00
NepDisk
2f84779d41 Update rest of the existing files to use blankart branding 2025-07-01 00:23:30 -04:00
NepDisk
f004b36dbb Revert 'Merge pull request 'File loading refactor' (#68) from wadstrbuf into blankart-dev'
This reverts commit f72475b557, reversing
changes made to 0c89c85aae.

Sorry Generic this branch is really cool but it needs more work. I shouldn't have merged it too early...
2025-06-30 01:45:01 -04:00
NepDisk
005f2989f7 Account for the fact brightmaps can return NULL 2025-06-29 01:09:27 -04:00
GenericHeroGuy
92c59ddbcb Merge branch 'blankart-dev' into wadstrbuf 2025-06-27 18:46:47 +02:00
GenericHeroGuy
be35926843 Add W_CheckNumForMarkers, clean up lump validation
Fixes many cases of invalid startlumps, so validation is now actually done
only when PARANOIA is defined
The W_CheckNumFor* functions allow startlump == numlumps, to make iteration
less frustrating
2025-06-27 17:44:34 +02:00
Alug
c8ef0fb705 allow threaded render for maskedlist planes
since sky synchronizuation issues are fixed, this no longer causes any issues and gives a nice speed bump in some occasions
2025-06-27 12:49:01 +02:00
GenericHeroGuy
24de618653 Remove W_CheckNumForName
NOW long menuitem patches are supported lol
Staff ghosts support long map names now
The runsoc command and linedef special 415 support longnames now
2025-06-26 01:27:28 +02:00
GenericHeroGuy
d37b987acb Remove W_CachePatchName, everything's safe
Menu headerpics, menuitem patches and old-style map thumbnails/minimaps now
support longnames
2025-06-25 23:42:36 +02:00
GenericHeroGuy
7aae6775e6 Use LUMPERROR instead of INT16_MAX, and MAX_WADFILES instead of UINT16_MAX
The 32768th lump of a file works now lol
2025-06-25 17:47:57 +02:00
GenericHeroGuy
684ded7647 Formally deprecate the shortname functions
and make TestValidLump actually work
2025-06-25 14:57:37 +02:00
GenericHeroGuy
4ffd4621e4 Let's clean this shit up properly
lumpinfo_t is now private. Wanna iterate thru lumps? Use the W_* functions
2025-06-25 00:43:46 +02:00
GenericHeroGuy
927f30e51f Aww yeah, string buffers baby! 2025-06-24 01:05:56 +02:00