Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 1.4.4 Add experimental binary save support, release build doesn't use KLS_Region #78

Merged
merged 63 commits into from
Mar 25, 2024

Conversation

jgabaut
Copy link
Owner

@jgabaut jgabaut commented Mar 25, 2024

Added

  • Print run seed when exiting from retry()

  • Experimental: these features are only available when running with -X flag.

    • Experimental features are bound to change soon. Don't expect full backwards-compatibility when using them.
    • Icon indicators for when you have an equipped item
    • Save/Load using binary files
      • Tailored to Rogue gamemode, whereas before save was not working in that mode
      • Added all packed SerXYZ structures for saving/loading
      • Added ser_XYZ/deser_XYZ() functions for conversion
      • Updates should be noted on [FEATURE] Implement saves using binary files #66

Changed

  • Add --enable-anvil configure option to allow easy building without anvil
  • Bump koliseo to 0.4.1
  • Use kls_conf_init() to prep the used Koliseos
    • Now, only the debug build uses KLS_Region.
    • This should make the release version avoid all that extra jazz on the arena.
  • Added seed field to Path.
  • Updated installer to 0.1.2
    • Now creates hlpd-1, hlpd-2, hlpd-3 directories, used for Saveslot handling.
  • Added FLOORMENU_SAVE to saveType.
  • Updated const.c test
  • Bump amboso to 2.0.5

Fixes

  • Use strlen() for whoami push

Switches most int32_t to int8_t

feat: add current_room to Gamestate

WIP tweaking to also load&store correctly current enemy, current room
feat: improved binsave reliability

fix: dropEquip() skips drop when equipsBag is full

Comments out older logic to pick an equip to throw.
chore: move setSprite() funcs for Consumable and Artifact

fix: some deser_ funcs call the needed setSprite()
Adds index to current saveslot.

Uses stored index to retrieve current saveslot path.
Moves prep_Saveheader() at a later time, to allow passing the correct
current saveslot index.
@jgabaut jgabaut marked this pull request as ready for review March 25, 2024 20:59
@jgabaut jgabaut changed the title feat: 1.4.4 Add binary save support feat: 1.4.4 Add experimental binary save support, release build doesn't use KLS_Region Mar 25, 2024
@jgabaut jgabaut merged commit f683ef9 into master Mar 25, 2024
10 checks passed
@jgabaut jgabaut deleted the devel branch March 25, 2024 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant