Commit graph

16 commits

Author SHA1 Message Date
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
f0e0edbc1d use aligned alloc for screen and column buffers
16 byte alingment

should speed up everything a bit
2025-10-19 20:48:16 +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
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
GenericHeroGuy
2ff383a248 Replace shortname functions with stubs, and some trivial caller replacements 2025-06-25 22:20:07 +02:00
NepDisk
ed7b667aa7 Update File headers to use BLANKART 2025-04-19 13:33:28 -04:00
GenericHeroGuy
6a2556b0be Fix screen fade colors
...and what the hell happened in r_draw?
2025-01-24 18:27:44 +01:00
GenericHeroGuy
48bb0ea5ef The actual palette remapping 2025-01-24 18:18:37 +01:00
GenericHeroGuy
6f032ce9c8 Revert "2.1 palette pt 1"
This reverts commit d22db75409.
2025-01-24 16:57:44 +01:00
NepDisk
c9fd66be7f Fix startcolor 2024-12-30 13:22:48 -05:00
NepDisk
57c4cc6df1 Use some rendering code from durrr 2024-12-30 13:10:51 -05:00
Sally Coolatta
397f79fcbf Use C++ templates for DrawColumn/Span
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.
2024-12-29 15:19:24 -05:00
Renamed from src/r_draw.c (Browse further)