Commit graph

8 commits

Author SHA1 Message Date
Eidolon
49f644d5e9 Use correct type for unlock IDs in loading 2024-03-09 12:41:03 -06: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
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
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
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