* 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
* Another fix
* Don't allow opening our menu when vanilla menu is active
* Add menu option ; remove delay to close menu
* Fix issues when closing menu
* Show button config first, log fade
* Fix test
* Fix test again
* Fix initial notification, turn off hitbox visualization by default
* 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>
* 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>
* 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
* Initial commit
* don't rewrite file each time
* Format Rust code using rustfmt
* Receive menu settings from web via message
* Adjust logic
* Stub changes for json messages
* Rust: receive menu as json
* Small JS changes for desktop
* Attempt to fix exit issues
* Fix filename issue
* JS: Export menu as json
* Use JSON for Rust -> JS message
* Update .conf file schema to json
* Tear down session when leaving training mode
* Remove URL behavior, rename WebAppletResponse -> MenuJsonStruct
* Update TUI to use JSON
Co-authored-by: jugeeya <jugeeya@live.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Web menu refactor
* Fix some menu items
* Fixes for quick_menu, general clippy fixes
* Revert small testing change
* Add quick menu SVG
* Fix defaults saving/loading
* Log the last URL from the web menu
Co-authored-by: jugeeya <jugeeya@live.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>