* Exclude Mii hats and Luma
* Use allowlist to fix clippy
* More clippy
* More clippy
* Unnecessary cast
* Unnecessary vec!
* Spacing
* Import ordering
* Use a different action for test
---------
Co-authored-by: GradualSyrup <68757075+GradualSyrup@users.noreply.github.com>
* Initial
* Clippy + Format
* Update save_states.rs
* selected vs random
* fix
* Formats
* Format
* Format
* Fix for effect removal
* 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>
* 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>
* Avoid making layouts invisible outside training mode with HUD off
* Switch menu buttons around; change defaults resetting texts
* Fix unused feature import
* 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>
* Initial refactor
* Full refactor
* Depend only on pane creator flags
* Small refactor
* Small refactors; notification support
* Don't push event for every quick menu change
* Backend for defaults almost done
* Run tests on CI
* Finish save + reset defaults without confirmation
* Added slider menu UI
---------
Co-authored-by: xhudaman <edell.matthew@gmail.com>
* Updated devcontainer to remove unused config
* Added slider menu background and text labels
* Finished layout of UI components
* Reordered slider values
* Fixed alignment of labels
* Adjusted label postion to be centered vertically
* TEST for colors
* Updated UI to look better with colours
* Changed menu to only have 'min' & 'max', fixed layout
* Created macro for slider button labels, cleaned up warnings
* Updated default case to panic
* Added text outline and shadow, updated text colours to match the game
* Updated default cases to panic
* update infinite shield logic
uses the originally loaded shield mul param rather than a hardcoded vanilla param that may be different than what the game (read: mods) had loaded initially.
* use option instead of a magic float
* 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
* 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
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
* 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
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
* 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
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>
* Create save states tab
* Initial work - crashes on boot
* Change usizes to u32's.
Refactor toggle "checked" logic.
Add blujay's panic tracker.
* Rename tui mins/maxes
* Fix misc. TUI bugs
* Fix panic caused by prematurely setting the submenu state to GaugeState::None
Set submenu state to GaugeState::MinHover when opening a slider menu so that the slider is immediately loaded
When changing from GaugeState::Min/MaxSelected to Min/MaxHover, commit changes from App.current_sub_menu_slider to SubMenu.slider so that it can be exported to JSON
* Merge save_damage and save_state_pct_rand_enable settings
* Add comments to training_mod_tui::lib.rs
* Add icon
* Initial work on web slider
Todo:
Styling polish
Bugfix for initial settings load
Handle dragging using gamepad
* Style and fix web slider
* Add separate settings for player random damage
* TUI styling fixes
* Paginate TUI tabs
* Address CR comments
* 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>