Commit graph

63 commits

Author SHA1 Message Date
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
Gustaf Alhäll
d0ab031a71 Remove redundant vertex, matrix and quaternion code 2025-09-18 00:59:35 -04:00
LJ Sonic
18d54fc07b Implement vectors, matrices and quaternions 2025-09-17 22:27:36 -04:00
Sal
b87868d07e Merge branch 'more-saveg-fixes' into 'master'
Several netsave fixes / improvements

See merge request KartKrew/Kart!2475
2025-09-12 12:27:40 -04:00
NepDisk
1c52947194 Small Cleanup
Make itemodds compile as C, remove .vscode
2025-09-11 11:16:13 -04:00
Anonimus
a8dc5774e2 Refactor odds and move them to their own file
* Race odds now use 16 tiers and are intended to be balanced around 16 players
* DISTVAR has been increased to 2048 to match the new tier capacity
* Race odds now use a max-75 scale, with the x4 multiplier in calcs being used only in a battle odds context
2025-09-10 16:45:40 -04:00
Anonimus
832d31d4bc Add full ("secret"/MKDS) credits 2025-09-02 02:37:07 -04:00
JugadorXEI
dc9bec000a Bot library for Lua (botvars getter/setter, bot functions) 2025-08-31 14:16:49 +02:00
NepDisk
2ba06e7d83 Switch to SHA256 for authentication
SRB2Classic Port by Hanicef
2025-08-23 20:56:07 -04:00
NepDisk
6bb1e196c0 Merge pull request 'Item Timers' (#46) from itemtimers into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/46
2025-08-22 00:13:45 +02:00
Alug
00ab36390d Merge pull request #187 from Indev450/emotes
Add emotes support
2025-08-15 13:24:38 -04:00
NepDisk
a4b6934cc5 Basic unified text input port 2025-08-14 22:57:29 -04:00
NepDisk
2d57e09fae Waypoints library for Lua
https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/81
2025-08-11 18:02:27 -04:00
Anonimus
6788db93b4 Add clustering
Using a DBSCAN-based algorithm, this gathers "player clusters" to determine the most packed area in the race.
2025-06-29 01:30:02 -04:00
NepDisk
1c7895426c Merge branch 'blankart-dev' into itemtimers 2025-06-13 17:43:35 -04:00
NepDisk
b087b5e372 Port JugadorXEI's Terrain library for Lua
Credits go to JugadorXEI for the code in this. https://git.do.srb2.org/KartKrew/RingRacers/-/merge_requests/103\#d1c6f6fa1ba8207cb6aaef9f4a47d9a0b6b8b5c1

Modifications have been made to account for extra terrainflags, new terraintypes and removal of Ring Racers specfic types
2025-06-02 14:38:33 -04:00
GenericHeroGuy
536075b00a Add string buffer library 2025-05-14 15:06:29 +02:00
NepDisk
8b15a9ebc2 Item Timers PT.1 2025-04-20 10:51:19 -04:00
NepDisk
2a0b0d4bae Remove ASM 2025-03-24 22:35:18 -04:00
James R
af09ba91ec Completely rewrite party management code
Replaces g_splitscreen.c with g_party.cpp. Simplifies
party management functions.

Moves externs out of already bloated doomstat.h and
g_game.h into g_party.h.

Cuts down on globals spam.
2025-03-24 09:43:34 -04:00
NepDisk
863fa76c25 Repair discord support and enable opus for windows by default 2025-03-20 23:19:36 -04:00
NepDisk
064be1b201 Merge branch 'bortsport' into blankart-dev 2025-02-26 19:43:22 -05:00
NepDisk
8b142ceb62 Add kartstats
4942db2806
2025-02-25 14:00:10 -05:00
NepDisk
553001a6bf Port Waypoints.cpp from final RR as well 2025-02-22 02:10:50 -05:00
NepDisk
553676e588 Basic port of durrs bot code
It doesn't work as of yet.
2025-02-21 22:44:07 -05:00
NepDisk
7e1caec293 use RR's version of Mobj spawn height since we have cpp now 2025-01-27 01:53:44 -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
Eidolon
ece92bbbc9 Convert m_misc.c to .cpp 2024-12-29 15:11:39 -05:00
Eidolon
fc7e04305b r_things.c -> r_things.cpp 2024-12-29 13:41:57 -05:00
Eidolon
09d661c331 Convert d_main.cpp 2024-12-29 09:05:17 -05:00
NepDisk
b7b9fdabae Fix transparency issues 2024-12-28 09:03:39 -05:00
James R
179608829b Add the debugrender_highlight command, highlight specific rendering in flat colors
Software mode only.

The command is used like this:

debugrender_highlight planes sprites
debugrender_highlight pl spr
debugrender_highlight none

(Abbreviations work.)

Supported rendering to flag:

planes      - sector floor/ceiling
fofplanes   - FOF top/bottom
fofsides    - FOF sides
midtextures - pegged midtexture
walls       - sector upper/lower texture, one-sided linedefs
sprites     - sprites
sky         - skybox
2024-12-27 11:52:16 -05:00
James R
54d99f59bc Add cv_debugrender_contrast, adjusts contrast of level geometry
debugrender_contrast -1.0 to 1.0, default 0.0 (no change).
Higher values add more contrast (darkens the level), lower
values add less (brighten). Does not affect thing drawing.
Software mode only.

Adds r_debug.cpp
2024-12-27 11:48:49 -05:00
James R
23b03f6ea2 Convert r_segs.c to r_segs.cpp 2024-12-26 08:46:21 -05:00
Eidolon
b4f9fcb37b r_plane.c -> r_plane.cpp 2024-12-26 08:20:36 -05:00
NepDisk
33035ea488 Make r_bsp CPlusPlus 2024-12-25 22:46:22 -05:00
James R
5cb20f5480 P_TryMove: sweep collided lines to find nearest normal 2024-12-25 13:30:59 -05:00
James R
b50d34e8b5 Add srb2::sweep, AABB line sweep algorithms 2024-12-25 13:21:23 -05:00
NepDisk
a917a2a713 Basic work to get make compiling again
Fonts are beyond fucked so this will have to be figured out in a new commit
2024-10-22 12:43:03 -04:00
Sally Coolatta
629b0aa77a ACS basic implementation
- BEHAVIOR lumps successfully load & run from maps. Currently they do not get unloaded between maps, though.
- Print and Timer are the only implemented CallFuncs. All of the base language functions (Delay, etc) are already implemented by the VM though.
- ACS compiler files are included, for use with GDCC. (Picked instead of ACC because it's less ZDoom-centric)
- Additionally, also added the configs for Zone Builder to be able to compile it in editor. Syntax highlighting is very incomplete atm.
2024-10-10 01:41:24 -04:00
Sally Coolatta
8d8100166e Attempt using ACSVM to implement
It's having trouble linking the dll on Windows currently
2024-10-10 01:40:23 -04:00
Oni
4c994de722 Merge branch 'loops' into 'master'
Sonic Loops

See merge request KartKrew/Kart!991
2024-09-12 12:10:40 -04:00
NepDisk
3de35a78d4 Use qs22j for qsort 2024-09-05 03:11:40 -04:00
NepDisk
9ba2140b3d Restore old respawn PT1
All the code from k_respawn.c has been nuked. The gameplay of respawning works but it doesn't currently drop the player in the right spot for both legacy and new waypoints
2024-08-12 14:49:12 -04:00
hayaunderscore
94f6206c87 Expose followers[] and follower_t to lua 2024-08-01 01:58:04 -04:00
NepDisk
2312b1e530 add r_bbox.c to SourceFile 2024-07-31 02:39:45 -04:00
Sal
23000c7e86 Merge branch 'bbox' into 'master'
renderhitbox command for Software mode

See merge request KartKrew/Kart!672
2024-07-31 02:35:57 -04:00
NepDisk
7530227163 Revert "Add a hitbox renderer to Software mode"
This reverts commit 082d9206e89113533f4f6f7a8798f872e9a1ea39.
2024-07-31 02:33:15 -04:00
James R
45227168b0 Add a hitbox renderer to Software mode
renderhitbox
- Tangible - collision activating objects, minus rings
- All - every object
- Intangible - the opposite of Tangible, also no rings
- Rings - rings
2024-07-31 02:32:57 -04:00
NepDisk
41e23a24cc Revert "Merge branch 'bbox' into 'master'"
This reverts commit 62dae0d1b6.
2024-07-31 02:11:05 -04:00