* 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>
* 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>
* Updated menu buttons and icons
* Cleaned up .devcotainer
* removed dockerfile from .devcontainer in favour
of using image
* Added JS settings, updated menu template, css, js
* Updated tab width to 4
* Refactored openTab and closeAllItems,
default tab content to be hidden,
added polyfill for NodeList.forEach
* Refactored openItem, made targeting modals easier
* Refactored toggleOption
* Fixed clicking tab not closing active modals
* Updated aerial delay and falling aerial icons
* Updated colours of defensive settings menu icons
* Updated misc tab menu icon colours
* Fixed oos_offset, shield_state, and shield_tilt
* Fixed all tabs defaulting to active,
Updated modals to be outside menu_items,
Refactored JS to work with new HTML hierarchy
* Updated settings to be JSON
* Fixed single options not populating correctly from url
* Updated menu to edit settings object when toggled
* Removed updating settings from menu before exit
* Refactored comments to fewer lines
* Refactored to use const,
Refactored to use camelCase,
Refactored resetCurrentSubmenu & resetAllSubmenus
* Fixed size and alignment of menu item text,
Fixed size of option button's text,
Fixed colour of crouch icon
* Updated stroke width for crouch icon feet & arms
* Updated check to use fontawesome as a base,
Changed colour to have better contrast,
Added outline for better contrast
* Updated one-winged angel option to 1-winged angel
* Updated openTab and resetCurrentMenu to play sfx