Commit graph

10 commits

Author SHA1 Message Date
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
toaster
e5964f862a Rejigger Grand Prix rank-related oversight exacerbated by MapWarp
If a stage is taken out of the running for Grand Prix mode and replaced with another, the rank data wasn't corrected. We were merely getting lucky that the one Round Star regularly accessible had the same number of laps as the course it replaced.
Now, Laps, Rings, and Prisons can be adjusted up or down depending on the number of each element you're expected to have with a perfect GP tally.

Related: To make it more friendly to call in multiple places, RankCapsules_CountFromMap has now been adjusted to take a course ID instead of a virtres_t.
2024-03-09 20:33:24 +00:00
Sally Coolatta
b4a8249b68 Display grading points on podium 2024-02-22 10:03:57 -05:00
Sally Coolatta
7745c3e837 Continues "penalty" starts positive now
Before:
0 continues = 0 pts
1 continue = -20 pts
2 continues = -40 pts
3 continues = -60 pts

After:
0 continues = +40 pts
1 continue = +20 pts
2 continues = 0 pts
3 continues = -20 pts
2024-02-20 19:27:45 -05:00
James R
56e710266c 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-02-08 18:16:41 -08:00
Oni
d307bd2c97 Merge branch 'fix-gp-results-reload' into 'master'
Podium Results/Round Queue fixes

Closes #772 and #742

See merge request KartKrew/Kart!1647
2023-11-21 15:43:20 +00:00
toaster
b09a9b40c4 Account for Hidden Palace-like replacement levels in the round queue and ranking systems
- When a nextmapoverride is in play, do not insert the just-played map into the GP Rank
- Put all the behaviour that determines which Round icon to show in exactly one places

Also, fix a bug where it would show the skin realname for a spectating player's tally instead of the ROUND text.
2023-11-19 18:01:02 +00:00
toaster
66844457cd gpRank_t: Prevent overflow in stored rank
Resolves most of #772.
- Match maximum size of levels array to ROUNDQUEUE_MAX, to prevent edge cases
- Explicitly check that numLevels does not equal/exceed array size before writing
2023-11-19 16:33:16 +00:00
Sally Coolatta
10488ecbb2 Use g_localplayers for GP rank 2023-11-19 02:58:14 -05:00
Sal
cecd81b4aa Podium rank screen polished 2023-10-29 06:04:22 +00:00
Renamed from src/k_rank.c (Browse further)