Commit graph

27 commits

Author SHA1 Message Date
Sally Coolatta
2c5caf582b "TutorialDone" unlockable condition
Replace all instances of `MapBeaten RR_SunbeamParadiseSprings` with `TutorialDone`, for the new early exits to work.
2024-04-25 15:18:47 -04:00
toaster
4a937936b7 load_ng_gamedata: In DEVELOP, if a skin's wins exceeds a skin's rounds, set rounds to wins
Basically just for testing this branch, at this rate
2024-04-06 22:54:08 +01:00
Eidolon
23e4df3c90 Add per-map time stats and TA/SPB time stats 2024-04-06 11:25:31 -05:00
Eidolon
3ebe235154 Add total netgame time stat 2024-04-06 11:25:31 -05:00
Eidolon
0cd5a662ce Add statistic for time looking at statistics 2024-04-06 11:25:31 -05:00
Eidolon
c22d6d75db Add several skin record stats, profile rounds 2024-04-06 11:25:31 -05:00
Eidolon
19341b71a3 Add total menu time stat 2024-04-06 11:25:31 -05:00
Eidolon
a0d52ddacd Add per-gametype time stats 2024-04-06 11:25:31 -05:00
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
6c0cc158d1 Fix copypaste error for Mystic Melody savedata interaction (resolves #1242)
Was causing all Mystic Melody shrine interactions to turn into SPB Attack emblems on game restart
2024-04-03 22:41:26 +01:00
Eidolon
49f644d5e9 Use correct type for unlock IDs in loading 2024-03-09 12:41:03 -06:00
toaster
7f0df71558 R_SkinAvailableEX
- Most R_SkinAvailable calls should be returning index into demo.skinlist (same numerical value as when demo was recorded), for demo sync
- A handful of general things permit exception for this
- Expose `replaynumskins` (calculated as `(demo.playback ? demo.numskins : numskins)`) to Lua
    - There's *always* more that can be done for this, but this is the minimum spec that can at least be somewhat stable
2024-03-05 13:21:38 -08:00
toaster
e8523b69f0 Sealed Star re-ordering (resolves #606)
- If emerald not yet collected on that cup, pick the first uncollected emerald, then get the cup's CUPCACHE_SPECIAL with that ID to pick the stage
- Already collected emeralds retain their swappage across gamedata saves
- Returns to normal order if you get all 7 OR Special Mode is unlocked (chao key? debug? password in modded games? sky's the limit)
- Pops up a Message from the Stars telling you the gems have been returned to their natural place
- Add-ons will always use their dedicated sealed star, since it's unordered material

If it weren't so last minute I could have a better solution for GP Backups, but right now what I've gone for is it always trusts whatever G_GPCupIntoRoundQueue does AS LONG AS THE COURSE ISN'T THE ONE YOU'RE RELOADING INTO. If it IS, then it checks to see if it's exactly what's been saved, and complains (with the generic error message, unfortunately) if it isn't.
2024-03-03 00:24:31 +00:00
Eidolon
b48924f539 Fix skincolor spraycan cache
Fixes KartKrew/Kart#1080
2024-02-26 23:18:33 -06:00
Eidolon
9f00befccf Fix -nodata triggering gamedata save 2024-02-26 23:18:33 -06:00
Eidolon
cad558343d Fix challenge grid loading in ubjson data 2024-02-26 23:18:33 -06:00
Oni
9491c54e9d Merge branch 'separate-spb-attack-records' into 'master'
Separate/Encoreize SPB Attack records from normal Time Attack records

Closes #836

See merge request KartKrew/Kart!1875
2024-02-23 06:44:38 +00:00
Eidolon
10d8ca0bac Fix cup placement saving 2024-02-22 20:39:36 -06:00
toaster
7e217b74f5 Merge branch 'master' of https://git.do.srb2.org/KartKrew/Kart into separate-spb-attack-records
# Conflicts:
#	src/g_game.c
2024-02-23 00:57:40 +00:00
Eidolon
ec6e96ca49 Rename cup emerald field to gotemerald, make bool 2024-02-21 18:44:58 -06:00
Eidolon
4824b5d434 Allow cup records in gamedata to be flexibly-sized 2024-02-21 18:40:35 -06:00
Eidolon
fdff7bbe9f Clean up risky default-init of gamedata structs 2024-02-21 18:20:00 -06:00
Eidolon
38940ee568 Rename goner gamedata struct to milestones 2024-02-21 17:51:53 -06:00
Eidolon
ce6b76b0cf Fix spraycans on JSON, store can color name 2024-02-21 08:35:15 -06:00
Eidolon
266fe6d65d Fix cup data loading from json 2024-02-20 21:28:53 -06:00
Eidolon
ec1041eaa2 Add support for spb attack records in json gamedata 2024-02-20 19:29:41 -06:00
Eidolon
b0348526cd Rewrite gamedata format 2024-02-18 21:10:36 -06:00