Commit graph

506 commits

Author SHA1 Message Date
GenericHeroGuy
d0ed82a540 Allow multiple checksums to be specified in a patch
...and while I'm at it, actually pad the printed hash
2025-05-08 22:00:46 +02:00
NepDisk
d8e1083429 Refactor some HUD elements and bring colorized hud support 2025-05-05 17:51:39 -04:00
NepDisk
dd176a9efd Clang fixes 2025-05-01 15:16:53 -04:00
NepDisk
560917544a Update mine branch hash 2025-04-30 18:36:36 -04:00
NepDisk
9584982685 Revert Rewrite mines
As much as this pains me, this might be needed for lua compat.

This reverts commit 1381a56077.
2025-04-29 18:10:57 -04:00
GenericHeroGuy
4e9ffdaf13 Scrub more references to MD5 2025-04-26 00:57:51 +02:00
GenericHeroGuy
b7f4effe9b Replace MD5 with xxHash for file hashing
Yes, I had to do everything in one sweep, everything's connected...
Incremented demoversion since this changes the header format
2025-04-26 00:25:23 +02:00
NepDisk
6ee27d76de Fix up and remove some objects 2025-04-24 16:07:37 -04:00
NepDisk
869bf3bd9d Update the hashbrowns 2025-04-17 03:14:33 -04:00
NepDisk
f0a6a112ac Port v1 objects pt 4 2025-04-09 13:45:35 -04:00
NepDisk
7983b94cf3 Porting v1 objects part 1 2025-04-06 12:34:50 -04:00
James R
2f36b9931d Remove macro to disable noclip camera 2025-03-27 21:43:42 +01:00
NepDisk
7229a2828f Move Hashes and filename 2025-03-25 10:05:44 -04:00
Sally Coolatta
0a98ca63ab First pass on character select device select
Ultra mega hacked in, by saving all "discarded" joysticks to an array so they don't get totally closed & we can still poll them. Events now properly send the device number instead of the player number, which means we can store all controllers pressing buttons, and thus, can detect when ANY controller is pressing anything, and THUS we can make the character select work like we wanted to :V

Did not bother fixing any of the bugs, however. First of all, the opening menus do not properly fallback to default controls. Yet again, we may need a more robust system -- storing all keys from gamekeydown separately? Additionally it seems like when I input gamepad it makes me use keyboard anyway, so I think something fishy is up.

(G: finally, a commit that mostly survived... deviceResponding is useless
    for us right now but might as well keep it. maybe easier assignment on
    the multiplayer setup menu in the future?)
2025-03-07 23:44:59 +01:00
NepDisk
064be1b201 Merge branch 'bortsport' into blankart-dev 2025-02-26 19:43:22 -05:00
NepDisk
d58d3877a7 Ring improvements 2025-02-26 00:15:59 -05:00
James R
b31e79b742 Kill last of DJGPP, WATTCP, _WINDOWS (ol' DirectDraw) 2025-02-25 00:42:42 +01:00
James R
febde8d181 Remove NONET 2025-02-25 00:31:59 +01:00
NepDisk
eeeb29d2df Add p_sight.c as well 2025-02-22 07:49:35 -05:00
GenericHeroGuy
c93fa43f24 xva: dynamically allocated va 2025-02-17 21:51:31 +01:00
James R
7449c15eba devmode DEMO: replay buffer usage displayed in real-time on the HUD
- Buffer usage in megabytes, bytes and percentage
- Approximate usage per second
- Estimated time until buffer runs out and replay is stopped
2025-02-07 14:58:50 -05:00
NepDisk
dc777890cc colorshit 2025-01-27 18:05:52 -05:00
GenericHeroGuy
6a2556b0be Fix screen fade colors
...and what the hell happened in r_draw?
2025-01-24 18:27:44 +01:00
GenericHeroGuy
be64786d57 Update skincolors 2025-01-24 17:35:45 +01:00
GenericHeroGuy
c784cdc189 Macrofy info.h 2025-01-14 21:23:24 +01:00
Sally Coolatta
713ac093bf devmode cheat online 2025-01-10 11:36:04 -05:00
NepDisk
7948720595 Revert cheats streamine but keep stuff needed for online cheats
cheats 1 is not desired appearently

This reverts commit 9fbe107211.
2025-01-10 11:16:16 -05:00
Sal
9fbe107211 Merge branch 'cheats-streamline' into 'master'
Streamline cheats

See merge request KartKrew/Kart!697
2025-01-10 10:03:52 -05: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
Eidolon
496fced43c Add SRB2_ASSERT, srb2::NotNull<T>
Add SRB2_ASSERT, superceding I_Assert

This assertion macro always expands to a call of srb2::do_assert, which
is overloaded with two templates: one which applies if the provided
Level is less than or equal to the SRB2_ASSERTION_LEVEL, and one which
is a no-op. When optimizations are enabled, this will verifiably remove
the evaluation of the expression in all cases, instead of evaluating the
expression and doing nothing with it.

Add srb2::NotNull wrapper utility

This is meant to be used in places where pointers are used as
parameters. It can be used with any pointer-like type, not just raw
pointers. During construction of NotNull, the pointer will be asserted
not-null in debug and paranoia builds, and in release optimizations with
no assertions, the code decays gracefully to standard pointer-passing.
2024-12-26 11:22:22 -05:00
NepDisk
1e678f660f Remove TESTERS and HOSTTESTES and use v1 assets where applicable 2024-12-16 14:23:14 -05:00
NepDisk
cf9f6fc570 Merge branch 'v2dev3' into ACS2 2024-10-21 17:30:55 -04:00
Sally Coolatta
6c026f59cb ACS: User properties can tell bool from string 2024-10-15 15:34:23 -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
Sal
f503d88ab5 Merge branch 'enable-cxx' into 'master'
Enable C++17 additionally with Catch2 unit testing

See merge request KartKrew/Kart!807
2024-10-15 04:19:22 -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
NepDisk
d22db75409 2.1 palette pt 1
this is a work in progress conversion to make the engine once again use the srb2 2.1 palette
2024-10-14 02:59:07 -04:00
NepDisk
f65336ae72 Clamp these values to prevent a crash in the opengl renderer 2024-10-09 15:40:00 -04:00
James R
200bd6c8e4 M_TokenizerOpen: pass size in as argument instead of calling strlen implicitly
This function is used for parsing TEXTMAP and the data is
not NUL-terminated.
2024-09-02 21:53:34 -04:00
NepDisk
a2fcc4bc20 UDMF cherry-pick cherry-pick 2024-08-20 02:47:00 -04:00
Wumbo
5acfc5137e Rename data directory to avoid conflicts 2024-08-13 23:11:19 -04:00
Wumbo
d1a9080187 Un-rebrand back to SRB2Kart 2024-08-13 21:54:52 -04:00
NepDisk
d7dd4f68e2 rings disable toggle, rebalance rings 2024-08-01 14:06:24 -04:00
hayaunderscore
94f6206c87 Expose followers[] and follower_t to lua 2024-08-01 01:58:04 -04:00
NepDisk
80f496667f Add support to cmake for showing commit info 2024-07-29 20:37:12 -04:00
Sal
a62d278f19 Merge branch 'you-have-uncommitted-changes' into 'master'
The programmer took a nap. Hold out, programmer!

See merge request KartKrew/Kart!722
2024-07-29 17:17:02 -04:00
NepDisk
de4bfad6b9 Get this working 2024-07-28 22:37:38 -04:00
Sally Coolatta
b5334e6b42 Move follower code to its own file 2022-05-23 00:23:46 -04:00
SteelT
8e67946a58 Replace default home folder name and base filename used for screenshot/gifs 2022-05-20 23:08:28 -04:00
James R
1d79eb70c1 Replace just a few more instances of SRB2Kart 2022-05-20 17:08:18 -07:00