* Add replacement training_mod_tui crate
* Begin work on converting over to byteflags
* Allow StatefulTable.iter_mut()
* Additional merge work
* Fixing more compile errors from the merge
* Replace training_mod_tui with training_mod_tui_2, update byteflags dependency for random selection
* Fix button_config, hero buffs, caps issues. Move button logic into App
* Restore some functions that I cut too agressively
* Move to_vec into byteflags crate
* Fix src/training/ui
* Set `_` match arms on byteflags to `unreachable!()`
* Fix final few compiler errors
* Run formatter
* Reconsider whether unreachable parts are actually unreachable
* Adjust logging and remove dead code
* Fix some menu bugs
* Adjust icon sizes
* Separate checkmark from is_single_option
* Allow fast increment / decrement of slider handles with up/down
* Allow resetting current menu
* Change button behavior: `R/Z` now resets either the whole menu or the selected submenu depending on app.page, and `Y` now clears the current toggle so you don't have to press A six times. Only show keyhelp for `Y` if its relevant.
* Remove unneeded command line interface
* Take care of some minor nomenclature TODO's
* Increase stack size for menu::load_from_file() to avoid crashes
* Implement confirmation page before restoring from defaults
* Run rustfmt
* Fix warnings
* Initial
* Begin to use font glyphs, small refactor
* Colored icons in 5 slots
* Dedupe, some color changes
* Add 10 input log spaces
* Add lots, but glitchy fade out needs fixing
* Frame Counter fixes
* Remove testing bflyt
* Use just text for now
* Add support for raw inputs, menu option
* Fix stick thresholding for the most part?
* Small change
* Add statuses!
* Some fixes
* Fix softlock thing, in general fix frame-by-frame + TTL weirdness
* Mid-refactor
* Use i8 for thresholds; update layout.arc to master's
* Merge fixes
* More fixes
* Formatting
* Last fixes for clippy / formatting
* Input Display Status Breakdown
* More formatting
* More fixes
* Fix again
* Replaced input log bflyt, added input icon bflyt
* Fixed sizes of all top level frames
* Added Icon part pane
* Got icons imported to bflyt
* Added icon parts to Icons Pane
* Raised size of layout
* Commented out handling of icons as text
* Added most icons, updated icons to match names
* Added plus and minus
* Added analog stick panes to layout
* Got icons working in game
* Fix for lua consts; update print_fighter_info to use consts with names
* Update for consts
* Fix again
* into_iter
* from_iter
* import trait
* Try setting colors
* Fixes
* deref
* Clippy
* Try white color
* Use same upstream skyline-smash
* Try black color with alpha of 0
* Use white for lstick
* Added input display menu icon, removed breakdown from input status display
* Fix formatting + clippy
* Fixed layout, updated icon colours
---------
Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
* Add reusable print_fighter_info()
* rustfmt
* Clippy
* starting charge
* Working Pikmin Save States, motion not working, order can be messed up by loading during an aerial, if you save too quickly you lose pikmin in the state
* often failing boid read
* notes
* Prevent Pikmin from being cleaned up by the regular cleanup process
* migration progress
* skyline-smash branch, more pikmin work
* Using buff to spawn pikmin, character specific file for cleanliness
* failed reordering attempt
* more failed ordering
* almost kind of works but out of order
* failed all, need to try individual hold and status change
* hard reorder crash
* battleobject not boma
* comment clarification
* messing around with printing
* printing, about to try to find where autonomy is being set
* solution found, going to hook backshield to find where autonomy is being set to true
* found where to hook, will start hooking
* switched to charge, issues with inline hook
* need to only have autonomy ignored on save state load
* distance and status controls (doesn't work perfectly)
* Christmas Miracle
* Working w/ Cleanup
* training mode check, improved owner check
* debug feature print methods
* Pikmin debug assertions
* clippy print fix
* appease clippy
* Grab releases from Github and install
* Refactor
* Fix crash
* Work on fixing install() crash
* Fix the crash by increasing stack size
* Block main() execution on the auto-updater
* Improve error handling
* Delete hash.txt
* Fix get_update_policy()
* Use current time as default last_update_version; Compare publish date to last_update_version to determine if update should be applied.
* Use skyline_web dialogs for user_wants_to_install. Use default selections on emulator instead.
* Fix some logic
* Convert CURRENT_VERSION to a Mutex; implement functions to update the config file
* Adjust logging
* Remove unneeded file
* Allow unwrap after is_some() check
* Fix format
* Auto-updater (squashed)
* Move update policy from config file to menu
* Skip version check on emulator
* Rustfmt, clippy
---------
Co-authored-by: jugeeya <jugeeya@live.com>
* Initial
* Finishing up with button config
* Formatting, some clippy
* Move button config to menu
* Consts formatting
* Fix input_record_press (thanks test!)
* Properly migrate menu button inputs
* Updates to triggers, including text
* Convert to multi-select
* Initial
* Clippy + Format
* Update save_states.rs
* selected vs random
* fix
* Formats
* Format
* Format
* Updated copy, 2 randomize_slots, 2 save_slot_state
* Update to 5.1, fix random logic
---------
Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
* Added test icons to layout,
toggle visibility of icon based on submenu_id
* disable icon container pane when menu is open
* Add icons to 'layout.arc'
* Add remaining icons to 'layout.arc'
* Apply suggestions from code review
Co-authored-by: jugeeya <jugeeya@live.com>
* Incorporate feedback, remove deltas from formatting differences
* Updated some icon textures, updated layout
* Swapped x for check icon on selected toggles
* Moved logic to collect submenu id's to app impl
---------
Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
Co-authored-by: jugeeya <jugeeya@live.com>
* A bunch of things
* Current progress
* Fix for ResAnimationContent
* Figure out Parts*
* Cleanup, just because
* New pane working!!!
* New null pane for hierarchy
* Success with parent pane
* Generate multiple panes
* Multiple panes, almost working text color
* MaterialColor test, but fails
* Forgot bitfield-struct
* Vtable for material. Fixes SetWhiteColor!
* Refactor color changing, change naming scheme
* Just Frame Advantage
* Merge
* Delete T_test.txt
* Delete set_txt_num_01.txt
* Delete libtraining_modpack.nro
* Format Rust code using rustfmt
* Ignore shell scripts in repo languages
* General refactor, add basis for quick menu
* Small refactor, fix ordering of submenu options
* Toggles, sliders
* Tons of progress...
* Correct dmg updater, remove old quick menu backend
* Fix damage percentage display
* Small QoL
* Format Rust code using rustfmt
* More edits. Use Quit Training button as Modpack Menu header
* Finish merge
* Format Rust code using rustfmt
* Use vanilla backgrounds for text options
* Format ui_hacks, also always do new percent display
* Fix merge
* That was the most awful merge ever
* Address clippy warnings
* Format Rust code using rustfmt
* Last impls for resources, small cleanup
* Use macro for pane names
* Format
* Add HUD toggle
* Small change
* Fix for reentering training mode
* Last cleanup
* Format Rust code using rustfmt
* Try using nnsdk/smash upstream
* Format Rust code using rustfmt
* Update Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
* Update Cargo.toml
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* A bunch of things
* Current progress
* Fix for ResAnimationContent
* Figure out Parts*
* Cleanup, just because
* New pane working!!!
* New null pane for hierarchy
* Success with parent pane
* Generate multiple panes
* Multiple panes, almost working text color
* MaterialColor test, but fails
* Forgot bitfield-struct
* Vtable for material. Fixes SetWhiteColor!
* Refactor color changing, change naming scheme
* Just Frame Advantage
* Merge
* Delete T_test.txt
* Delete set_txt_num_01.txt
* Delete libtraining_modpack.nro
* Format Rust code using rustfmt
* Ignore shell scripts in repo languages
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Instead of hardcoding, load button combo configuration from a file
* Rename conf files, remove extra logging
* Inform the user which keys are invalid
* Initial; stay same pokemon, but still go through ball throw animation
* Remove PTrainer ball throw animation
* Merge with master
* Needed import
* Format Rust code using rustfmt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Initial commit
* Format Rust code using rustfmt
* Add back fs calls
* working with drawing
* wow we're almost there
* multi-lists working, selection within tui working
* working with tabs
* working with smash
* amend warnings, fix menu actually saving inputs
* small refactors
* Fully working!
* Fix warnings
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* raygun print frame advantage
* Don't release, but allow action for raygun-print branch
* Add as menu option, only print in that case
* revert change to workflow file
* fixes
* add workflow clippy spec
* raygun print frame advantage
* Don't release, but allow action for raygun-print branch
* Add as menu option, only print in that case
* revert change to workflow file
* initial commit with some nice css
* add beginnings of templating. revert to qa model
* add most options visually
* add parser and full input checks
* separate menu code, use ControlModule
* add tests for menu rendering locally
* wip sliders
* add AttackAngle
* remove tesla overlay
* begin with into_string
* add slider.js
* don't use in html yet
Co-authored-by: jugeeya <jugeeya@llive.com>