Commit graph

628 commits

Author SHA1 Message Date
Eidolon
88ee8e1f7f Merge branch 'profile-fix' into 'master'
Profile fix #358

Closes #358

See merge request KartKrew/RingRacers!119
2025-08-19 00:14:11 +00:00
Eidolon
255570cfca Dynamically allocate skins
This avoids an issue where the skins array takes up a fixed, but large
amount of memory at runtime. On x86_64 linux, that array is roughly 80
megabytes in memory, most of which is unused when the game is unmodded.
Instead, we treat `skins` as a dynamically resizing array, and it is an
array-of-pointers into separate allocated `skin_t`.

This is based on Lactozilla's skin limit MR for SRB2, but I've rewritten
it because RR has diverged quite a bit.

This was verified to check every access of `skins` by using clangd's
find-all-references function. However, I have only tested plain skins,
not Lua addons, so that could afford some extra checking.
2025-08-12 15:33:00 -05:00
luigi budd
5d9dcd0243 Properly fix the spb-profile stat grid bug 2025-07-14 22:55:22 +00:00
luigi budd
9c91dd03da port from github ringracers-edit lul 2025-06-27 21:16:11 +00:00
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
NepDisk
a67bdb2ad0 Make i and j UINT16 to account for the fact MAXFOLLOWERS is 1024 2024-11-20 00:42:01 +00:00
Craftyawesome
145fcc2344 Workaround for Egg TV replay deletion bugs 2024-08-29 01:19:02 -04:00
toaster
012bbc6a74 Refactor how Profile cvar toggles are set when applying changes
Reduces the number of unique places to update when adding new ones
2024-08-24 15:43:54 +01:00
toaster
d97db8f230 Do not reapply P1's Profile in full in edit menu flow
Prevents changing player skin/color cvar when backing out (resolves KartKrew/RingRacers#34)
2024-08-24 15:39:58 +01:00
toaster
3390cb5121 Move Challenges to second entry of Extras menu
Addons, Challenges, and Online Manual are the three primary visible entries now
2024-05-21 00:56:53 +01:00
Oni
93dae32e99 Merge branch 'manual-link' into 'master'
Add Online Manual and I_OpenURL stuff

See merge request KartKrew/Kart!2396
2024-05-20 21:20:19 +00:00
AJ Martinez
56a9a2044d Show Manual URL in messages, just in case 2024-05-18 21:29:18 -07:00
AJ Martinez
2679e0eae0 Add Online Manual and I_OpenURL stuff 2024-05-18 21:09:00 -07:00
katsy
348ad7c1f0 Remove leftover Record Attack lockout warnings 2024-05-07 12:15:10 -05:00
AJ Martinez
90926cfdfd Fix default difficulty override 2024-05-05 18:19:45 -07:00
AJ Martinez
d32ba6cf64 Vicious difficulty 2024-05-05 13:57:18 -07:00
AJ Martinez
1a8b4dc78f Retheme difficulty modes 2024-05-05 20:56:40 +01:00
Ashnal
71cc9c0800 Auto-Ring Accessibility Option
Lacking animation at this commit
2024-05-05 01:18:22 -07:00
AJ Martinez
ce1c5d03d3 Safety check t. nosegoblins 2024-05-04 04:23:26 -07:00
AJ Martinez
6ee0e40c1a Play character sounds + follower horns on charsel 2024-05-04 00:45:27 -07:00
Eidolon
f75564371d Merge public master 2024-05-03 12:55:15 -05:00
bitten2up
cfacbd91be Fix implicit casts of int expecting 4-byte width
This fixes the issue with certain compilers that have int set to
different sizes by either explicitly casting or setting templates
manually
2024-05-03 17:53:53 +00:00
Eidolon
f9d70530ed Add snd_mixingbuffersize cvar
Allows the user to configure the mixing buffer size to reduce
latency at the cost of higher CPU usage, or vice versa.

This also raises the default buffer size from 1024 to 2048, to
address some underrun problems people have with the current buffer
size.
2024-04-30 23:31:24 -05:00
Oni
637f936732 Merge branch 'streamer-music-mode' into 'master'
Add streamer safe music mode

Closes #1334

See merge request KartKrew/Kart!2327
2024-05-01 01:06:17 +00:00
Eidolon
ab854ab545 Add streamersafemusic cvar
Don't play music that is marked contentidunsafe in its MUSICDEF (if
it exists).
2024-04-30 18:09:43 -05:00
toaster
2be1a50ae1 Allow Chao Keying large tiles if the only touching locked tiles are Big Challenges
Defuses the 12-long chain scenario in a relatively fair way
2024-05-01 00:03:38 +01:00
Oni
89bb66df1e Merge branch 'goner-always-password' into 'master'
Password field always visible across first boot menu

See merge request KartKrew/Kart!2308
2024-04-26 19:02:48 +00:00
Sal
b39f69c403 Merge branch 'tutorial-shorten' into 'master'
Tutorial shortening

See merge request KartKrew/Kart!2306
2024-04-26 18:58:24 +00:00
toaster
d78dccb80f In Tutorial gametype, permit all courses even if not visited
Allows you to come back to Brakes without having to play Rings again
2024-04-26 15:46:59 +01:00
toaster
bb733ebbd7 Password field always visible across first boot menu 2024-04-26 14:38:59 +01:00
Eidolon
140a56f513 Add build option to disable discord RPC 2024-04-25 21:05:58 -05:00
AJ Martinez
858fa44bcf Change Race>Time Attack menu help text 2024-04-25 17:44:29 -07:00
Eidolon
ca4e001bac Correct Invincibility item menu name 2024-04-25 19:36:33 -05:00
toaster
9d5860d38d Also prevent Fury Bike chao key blastin (resolves #1275)
Fury Bike ID handled by #define now
2024-04-14 23:04:53 +00:00
toaster
5a0cd87fc4 No release build console softlock when starting time attack (resolves #1281) 2024-04-14 22:04:58 +01:00
Oni
a7951fc41c Merge branch 'furybike' into 'master'
Fury Bike

See merge request KartKrew/Kart!2273
2024-04-12 03:41:24 +00:00
Oni
81644692d0 Merge branch 'more-gameplay-option-restrictions' into 'master'
More gameplay option restrictions

See merge request KartKrew/Kart!2269
2024-04-12 03:40:29 +00:00
AJ Martinez
cb7a579b16 Fury Bike 2024-04-11 17:43:59 -07:00
Sal
7ea0d5e314 Merge branch 'profile-naming-improvement' into 'master'
Improve profile naming

See merge request KartKrew/Kart!2265
2024-04-11 21:57:23 +00:00
toaster
9cb6ae647c Numlaps is a cheat, remove from gameplay options per discussion 2024-04-11 20:29:45 +01:00
Sally Coolatta
37bd4a6ad9 Improve profile naming
- Profile ID is limited to 6 characters in the keyboard menu itself.
- Player Tag is directly under Profile ID.
- Minor description changes.
2024-04-10 19:47:46 -04:00
James R
88ac62241f Menus/Video/Advanced: hide Legacy GL options in Software mode 2024-04-10 05:52:29 -07:00
toaster
1034dd7ec9 Grand Prix course preview adjustment: Show Prison Break stages too, just like on Challenges Board preview
- All gametypes will be shown in the drawer, as opposed to just Race
- However, don't attempt to add the preview pic for CUPCACHE_SPECIAL (the Sealed Star)
2024-04-09 17:47:30 +01:00
James R
44ea14104e Add G_GametypeAllowsRetrying, split away from G_GametypeUsesLives
- Cases for lives specifically and not retrying use
  G_GametypeUsesLives
  - Such as HUD elements and GAME OVER

- Cases for retrying and losing lives use
  G_GametypeAllowsRetrying
  - Such as GP bonus rounds
2024-04-06 22:19:34 -07:00
toaster
5b466527e8 Merge branch 'throw-more-dots' into 'master'
Add a bunch more statistics

See merge request KartKrew/Kart!1973
2024-04-06 22:08:30 +00:00
toaster
cea9a80b2a M_StatisticsChars: Sort for descending rounds completed 2024-04-06 22:52:59 +01:00
toaster
96b784defd Convert menus/extras-statistics to cpp 2024-04-06 22:50:44 +01:00
toaster
1f6038be65 Add "Time Tracked" page to Statistics
Ugly but releasable
2024-04-06 22:19:51 +01:00
Eidolon
0cd5a662ce Add statistic for time looking at statistics 2024-04-06 11:25:31 -05:00
AJ Martinez
2f3f2e71a6 "Last Place Explodes" menu option 2024-04-06 01:48:46 -07:00