Commit graph

38 commits

Author SHA1 Message Date
NepDisk
8a9683542b Fix Gamepads
Thanks thanks thanks thanks so much Alug for the time working on this!!!!!
2026-02-14 16:27:53 -05:00
GenericHeroGuy
bcef031c85 WIP affine patch drawing
will probably invert the matrix
2025-12-31 15:40:35 +01:00
Anonimus
4b9f9999cd Kartvoice_t
Supercedes the soundsid array and may allow for a dubbing system later on
2025-11-26 07:46:37 -05:00
GenericHeroGuy
a2396fbdac Item refactor, part 2
Clean up alt item stuff, replace the billion parameters with kartroulette_t
2025-11-07 18:01:13 +01:00
GenericHeroGuy
efac1d27c2 Item refactor, part 1
Too much shit to explain, read the diff (you should anyway!)
Very sloppy, expect lots of fixes
TODO: SOC it all, separate "active odds" table, how to handle alt items
2025-11-06 22:59:02 +01:00
GenericHeroGuy
ca762e26de Revert "Kartitem_t"
This reverts commit b562bd0575.
2025-11-05 17:33:00 +01:00
Anonimus
b562bd0575 Kartitem_t
Struct implementation of an item's odds and relevant functions:
* Stored in an unordered map for non-static item allocation; you can theoretically have millions of items in the game now
* All item odds are dynamic C++ vectors that are loaded in a per-gametype basis.
* Extremely boilerplate; any and every system in place can be used by any and every item
2025-11-05 11:27:26 -05:00
GenericHeroGuy
27b22fee94 I have a better idea... 2025-10-17 21:50:08 +02:00
Anonimus
62457690a5 Add pivot vectors and alignment flags to patches
Having to rely on offsets for rotation alignment is annoying and breaks Lua.
So... let's not!
2025-10-07 14:46:03 -04:00
Anonimus
bb1f65fcc1 Fix compiler/linker fussing and inconsistencies
Some things got lost in translation in the revert
2025-09-18 04:10:34 -04:00
Gustaf Alhäll
d0ab031a71 Remove redundant vertex, matrix and quaternion code 2025-09-18 00:59:35 -04:00
LJ Sonic
12dc3798a7 Rename matrix_t to oldmatrix_t 2025-09-16 09:39:44 -04:00
NepDisk
eef0d966a3 Allow Lua to add new scoreboard mods
This is just how HostMod does it, so this doesn't need networking
2025-09-03 20:27:08 -04:00
NepDisk
1a8958a34f Start the basics mod the mod display system 2025-09-01 20:33:43 -04:00
NepDisk
1183f2922e Refactor this again to use new packet type instead of netxcmd
This saves major netxcmd space
2025-09-01 14:02:32 -04:00
GenericHeroGuy
6feb25cefe (WIP) Rewrite bot code to be much more sane
Bot logic is now handled exclusively by the server, now in the actual game
loop code, rather than during ticcmd generation. No TICCMD_BOT needed!
botdata_t has been added to store any variables that clients don't need.

Behavior differences:
* Brakedrifting actually works now... to the detriment of the bots
* Respawn triggers 1 second sooner (and actually causes braking)
* No longer spams respawn when a track lacks waypoints
* Turning might be less responsive?
  `botvars.turnconfirm += cmd.bot.turnconfirm` is gone... who knows
* No longer affected by timescale

Plus, no more outdated or copy-pasted comment blocks!
2025-08-28 21:42:51 +02:00
GenericHeroGuy
b34a7cb66b The Wipes Upgrade
* All those fugly main loop copies are GONE! Replaced by one powerful loop
* Chat, menus and console can now be used during wipes
* Wipes are now interpolation-enabled
* Screenshotting now works consistently
2025-08-07 00:37:32 +02:00
NepDisk
24ab3fa171 RR Packetloss display Port 2025-07-22 18:51:59 -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
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
NepDisk
deb447aec7 Port salty hop, changes for new terraindefs in assets 2025-05-20 17:07:13 -04:00
GenericHeroGuy
13a0378cea Turn namehash/nameofs into a struct, and linearly allocate freeslots
Also fix bugged skincolor & precipprops clear in lua_infolib
2025-05-19 18:22:00 +02:00
GenericHeroGuy
536075b00a Add string buffer library 2025-05-14 15:06:29 +02:00
NepDisk
7091195a95 stacking pt.2: finish stacking 2025-03-25 15:07:20 -04:00
NepDisk
0d4c4a74f6 Merge branch 'blankart-dev' into bortsport 2025-02-22 22:21:09 -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
Sally Coolatta
11608cd1b7 Clipping rectangle
Instead of the absolute insanity that is V_DrawCroppedPatch, which makes you specify the number of pixels to crop off the top/left and then the number of pixels to show after the crop ... you just use V_SetClipRect to create a rectangle for any future draws to be cropped down to, and V_ClearClipRect afterwards to clear it.

Currently only supported by V_DrawStretchyFixedPatch. Ideally other drawing functions should also receive clipping rectangle support too.
2025-02-22 01:22:54 +01:00
toaster
073c3ed4c2 Refactor in preperation for scaling feature
Return a `minigen_t` struct with explicit width and height instead of extending the UINT8 buffer by 2 to provide that information in a very datatype-limited way.
2025-02-18 23:48:18 +01:00
Sal
e33fa49d5a Merge branch 'memory-tweaks' into 'master'
Hanicef allocator changes, simplified memcpy and fixed alignment

See merge request KartKrew/Kart!1530
2024-12-29 15:14:36 -05:00
NepDisk
4fd99ef3ff Multithreaded Software rendering 2024-12-29 14:14:28 -05:00
Sally Coolatta
357b2cd571 Opening_t typedef 2024-10-29 12:15:20 -04:00
NepDisk
af277ad1d9 Split G_ExitLevel into G_BeginLevelExit and G_FinishExitLevel 2024-10-15 16:19:50 -04:00
Sally Coolatta
89a03a85f3 ACS: UDMF user properties
Lines, sides, sectors, and things now all support the "Custom" tab properly. Label a property as `user_[whatever you want]` in this tab, and it will be added to the structure. ACS will then be able to retrieve it using the `Get[x]UserProperty()` function.
2024-10-15 15:33:16 -04:00
Eidolon
d08b923f06 Merge branch 'extern-c-everything' into 'master'
Add extern "C" in C++ to all headers

See merge request KartKrew/Kart!842
2024-10-15 14:14:43 -04:00
Sally Coolatta
07cdd2f461 Make save_p / savebuffers not global
This caused some scary issues with P_SaveNetGame the other day, and it's making ACS net sync harder. Let's just cut this off right now.

Also fixed some scary mix-ups in some of the Lua archiving code.
2024-10-15 06:41:25 -04:00
Sally Coolatta
8637dc3ce3 Fully port the ACS integration to C++ and make it build 2024-10-15 06:01:14 -04:00
James R
9e801c66d5 Merge branch 'universal-typedef' into 'master'
Move all typedef into one file

See merge request KartKrew/Kart!791
2024-10-15 04:16:58 -04:00