Commit graph

22609 commits

Author SHA1 Message Date
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
minenice55
2a09d16282 don't touch non-gp methods that are in the gp class (lol) 2025-10-18 15:05:16 -04:00
minenice55
6d0a7552b2 max GP players 2025-10-18 15:01:06 -04:00
minenice55
617013cb74 Merge branch 'blankart-dev' into 32p 2025-10-18 20:32:05 +02: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
83f20d4c4e Make flame and invin stack 2025-10-18 11:42:14 -04:00
NepDisk
735600b0a7 invalidate more things for safety 2025-10-18 11:19:14 -04:00
NepDisk
b69eaff9f6 Player validation for player->mo 2025-10-18 10:30:23 -04:00
minenice55
dffc6eb3e3 get this to actually run in a netgame
capping to 32 now because netsync breaks with more players
2025-10-17 22:21:43 -04:00
minenice55
c03ae540b5 Merge branch 'blankart-dev' into 32p 2025-10-17 20:45:28 -04:00
GenericHeroGuy
27b22fee94 I have a better idea... 2025-10-17 21:50:08 +02:00
minenice55
ff7dea704c thing saturn 126p does 2025-10-17 15:25:21 -04:00
GenericHeroGuy
9392cc1bd7 Fix ring underflow 2025-10-17 20:44:25 +02:00
GenericHeroGuy
4623afe0be Flame shield rebalance: better offroad, lower top speed 2025-10-17 19:44:07 +02:00
NepDisk
bf93fafa27 Use a constant for file path stuff 2025-10-17 12:21:54 -04:00
NepDisk
b9a2878c11 Fix filepath size 2025-10-17 12:08:06 -04:00
minenice55
36527b7aa1 Merge branch 'blankart-dev' into 32p 2025-10-17 12:05:34 -04:00
GenericHeroGuy
4530947eaf Spare some external libraries from the MSVC purge 2025-10-17 18:02:13 +02:00
minenice55
5678e4471c Merge branch 'blankart-dev' into 32p 2025-10-17 11:51:27 -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
166648f008 Kill BUGTRAP
This probably never worked
2025-10-17 09:55:24 -04:00
NepDisk
0ffe70f313 Update Discord RPC
Based on some of the changes from RR.
Accounts for the fact discord does not have tags anymore and makes skin code easier to manage
2025-10-17 09:15:34 -04:00