Commit graph

22631 commits

Author SHA1 Message Date
Alug
76a43e4bdb R_FlushQuad: dont use 64bit/8byte copy on 32bit targets
on 32bit targets this will just compile into two 32bit copies which gcc cant optimize as well as it can with the byte copy (it seems to love to do some AVX stuff atleast in my tests)
so this is only useful for 64bit capable platforms (compiler does not seem to do 64bit copys for the byte copy case, so this ends up being faster)
2025-10-20 22:32:50 -04:00
Indev
3c7b01cd93 Fix possible buffer overflow in M_TextInputSetString when string length is greatter than buffer length 2025-10-20 19:29:31 -04:00
NepDisk
1a33deff34 Fix server description infinite loop and raise max length 2025-10-20 19:13:06 -04:00
NepDisk
7723e414e4 Clean up P_InitMapData and fix maps not working of loaded before header 2025-10-20 15:42:34 -04:00
NepDisk
a5f89b769d Rename this so it fits 2025-10-20 10:32:40 -04:00
Alug
70407fe357 R_FlushQuad: also check "source" for alignment 2025-10-20 10:30:23 -04:00
NepDisk
160b0f6a7e Small fixes 2025-10-20 10:29:48 -04:00
haya
2fc24b795a fix: inline string dance not resetting y offset 2025-10-20 10:23:14 -04:00
NepDisk
efb610713f Revert "Add SIGSEGV guard to highlight patch loading."
This reverts commit f6b2f4bd23.
2025-10-19 22:01:02 -04:00
NepDisk
65cf091573 Don't do stuff for dedicated in ST_LoadGraphics 2025-10-19 21:57:44 -04:00
NepDisk
2f746d4307 Experiment: Don't load hud assets in dedicated 2025-10-19 21:51:35 -04:00
NepDisk
3f9986a31e Update CPM 2025-10-19 20:49:19 -04:00
Alug
07d054f3ad R_FlushQuad: fix column flush on odd width resolutions
lets hope this is the end of our software woes Zzz...
2025-10-20 00:48:29 +02:00
NepDisk
bd08b0c39d Revert "Don't draw the sky if we aren't supposed to"
This reverts commit 858fb1c916.
2025-10-19 18:18:34 -04:00
GenericHeroGuy
27b01065d5 Add even more pointer types to the SYNC macro
Also split relinked pointers into RSYNC, to hopefully prevent dumb mistakes
2025-10-19 23:11:41 +02:00
NepDisk
fbf10dbf9e More optimized code path for different pow2 sizes 2025-10-19 16:54:06 -04:00
Alug
3fa76c409c R_FlushQuad: fix unaligned memory access 2025-10-19 16:39:59 -04:00
NepDisk
858fb1c916 Don't draw the sky if we aren't supposed to 2025-10-19 16:38:28 -04: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
LJ Sonic
71f14c1a0e Do not archive nil table keys 2025-10-19 15:28:07 -04:00
NepDisk
9868cf7915 set CURLOPT_MAXREDIRS to 30 2025-10-19 15:20:30 -04:00
NepDisk
a2dc0e7190 Merge pull request 'Implement Column buffering system' (#172) from columbuf into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/172
2025-10-19 21:11:11 +02:00
Alug
e332959262 fix I_ReadScreen warning
use uintptr to ensure same signdness, taken from srb2classic
2025-10-19 21:10:54 +02:00
Alug
a802a49647 rename to stride
more sensible name in this new case
2025-10-19 21:06:34 +02:00
Alug
6b31428b08 use DEFINE_COLUMN_COMBO macro for flush function definitions 2025-10-19 21:04:36 +02: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
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
2ce83bb48d Revert "Add brightmap versions"
This reverts commit a3689c694c.
2025-10-19 13:07:23 -04:00
GenericHeroGuy
dbafe1da7a Fix sky texture syncing 2025-10-19 18:21:56 +02:00
NepDisk
a3689c694c Add brightmap versions 2025-10-19 12:19:13 -04: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
GenericHeroGuy
f48aaba125 Thoroughly unfuck mobj syncing 2025-10-19 18:03:37 +02:00
minenice55
b10611670d idem for lines (seems to be the same code) 2025-10-19 11:01:30 -04:00
NepDisk
8288b6779f Merge pull request 'remove ylookup, columnofs and topleft' (#171) from murderylookupcolumntopleft into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/171
2025-10-19 16:43:15 +02:00
Alug
230cd7d450 fix splitscreen viewmorph
copy paste oopsie
2025-10-19 16:37:54 +02:00
GenericHeroGuy
1ea44d8707 Fix FOF unarchival 2025-10-19 16:31:45 +02:00
NepDisk
1d2d386d04 Merge pull request 'Implement other algorithms for network savegame compression' (#170) from netsavecompresscompare into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/170
2025-10-19 15:42:33 +02:00
NepDisk
a4f9f90471 We are using LZ4, got it 2025-10-19 09:40:45 -04:00
NepDisk
fb2ad713cb Implement ZLib as an option as well.
Holy heck this is quite good
2025-10-19 03:05:57 -04:00
NepDisk
81337d6400 Implement LZ4 as a replacement for save game compression. Also mention size during compression / decompression in console 2025-10-19 02:12:32 -04:00
minenice55
c5c287ffb0 experiment with sector archival 2025-10-18 22:45:46 -04:00
NepDisk
d14455bcd4 Gold stars on intermission 2025-10-18 20:46:38 -04:00
GenericHeroGuy
5f50adb269 Enable -Wextra, kill MSVC, add UBSan option 2025-10-19 01:57:54 +02:00
GenericHeroGuy
8fa2b9f94b Fix warnings 2025-10-19 01:41:28 +02:00
Anonimus
b51473a2de Some clarity 2025-10-18 17:16:41 -04:00
Anonimus
0901ea89de Anti-bump 2025-10-18 17:13:31 -04:00
NepDisk
7efc3adf6f [Patch] vid.buffer 2025-10-18 16:05:01 -04:00
NepDisk
5ef24abba4 Merge pull request '[FEAT] High Player Count Support' (#169) from 32p into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/169
2025-10-18 21:11:21 +02:00