Skip to content
Snippets Groups Projects
  1. Apr 25, 2021
    • Sal's avatar
      Only return skin string number if it existed · 4bafd622
      Sal authored
      4bafd622
    • Sal's avatar
      Add string variable for unlockables and emblems · 92107f28
      Sal authored
      Skin unlockables / skin emblems are now checked at runtime to see if there's any matches.
      92107f28
    • Sal's avatar
    • Sal's avatar
      Fix overshadowed declaration · 382c0aa7
      Sal authored
      382c0aa7
    • Sal's avatar
      Removed skin->availability · 8278e621
      Sal authored
      Locked skins now are a specific unlockable type, instead of being tied to the skin's properties.
      
      This has plagued custom gamedata since 2.2 launch. It's extremely obnoxious having to set aside random numbers as dummy unlockables just to ensure that Amy Fang & Metal are unlocked from the start in a custom map pack.
      
      Other changes made to accommodate this:
       - R_GetSkinAvailabilities is now created from the list of unlockables set to skin type. (1st skin unlockable defined is (1), 2nd skin unlockable defined is (1 << 1), etc...)
      - The "Added skin x" print shows up when loading addons but not at all for the base game, because the previous behavior of hiding based on if the skin was locked would now require iterating unlockables, which felt wrong to do during that stage of the loading process
       - I noticed in my test wad that Sonic&Tails would give you Sonic&Sonic out if Tails was locked. I fixed that by making both skins required to show the character select option.
      
      Mods that reserved empty dummy unlockables for Amy Fang and Metal won't have to do anything. Mods that wanted to re-lock them behind different requirements will have to update, but in the future they will not have to be in specific slots. Additionally, now Sonic Tails and Knuckles can also be locked for mods.
      8278e621
  2. Apr 19, 2021
  3. Apr 17, 2021
  4. Apr 15, 2021
  5. Apr 13, 2021
  6. Apr 11, 2021
  7. Apr 10, 2021
  8. Apr 07, 2021
  9. Apr 06, 2021
  10. Apr 05, 2021
  11. Apr 04, 2021
  12. Mar 31, 2021
Loading