* 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>
* 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
* initial
* Complete refactor, add save state autoload
* forgot to commit consts folder
* Format Rust code using rustfmt
* Refactor, attempt CPU as well
* Update items.rs
* Format Rust code using rustfmt
* Fix web menu
* Format Rust code using rustfmt
* Fix crashes due to cpu kind not set
* Format Rust code using rustfmt
* Prevent Nana from Spawning with Items (#353)
Simple check before giving items
* somehow this code caused blackscreens on ryujinx?
* remerge
* Link and Diddy fixes, Players spawning with CPU item fixes (#355)
* Format Rust code using rustfmt
* Delete mash buffer queue entirely when spawning items to fix diddy as cpu; nits
* fix merge
* nit
* Format Rust code using rustfmt
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: GradualSyrup <68757075+GradualSyrup@users.noreply.github.com>
* Fix prev_frame_is_pressed
* Update menu when not active
* Update lib.rs
* Actual fix using frame_counter
* Format Rust code using rustfmt
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>
* continued testing
* Scuffed Acceleratle Implementation
* Cleanup and Groundwork, Only Accel
* Wii Fit complete, Joker, Hero and Cloud WIP.
* Preparing for multiple spells
* Implemented Multi Buffing
* Cloud Hook, Hero Improvements
* Nearly complete, still messing around with KO Punch
* Works for both fighters now
* Add buff icon
* Wii Fit sound cut, Sepiroth darken fixed
* Cleanup
* Fix Hero Screen Shake
* Clean up buff a bit more
* slight clean up
* Update README.md
Add Buff Options info/file
* Fix working in frame by frame. Debug commands still present.
* Save States and Menu Delay fixed
* Full basic save state functionality, Debug removed
* NanaPosMove cleanup
* Initial Creation
* Initial attempt, no pummeling or actual throw directions implemented
* All throw directions + Throw Delay working
* Medium Delay
* Cleanup and warning fixing
* Menu grammar fix
* Menu Images
* Image Fix and Language Fix
* Renormalize line endings
* Fixed into_string() vs. as_str()
* Update README
* Update Version
* Update to 3.2.0
* Update Cargo.toml
Corrected version number
* Prevent PT from respawning twice during save_state loads
* Save fighter_kind in state
* Fix bug where save states might not be loaded immediately if ptrainer status was wait
* Avoid endless loop with PT if loading a save state which was set without PT
* Move is_dead to common::mod.rs
* Allow saving current menu as new defaults
* Save menu defaults in the HTML file. Write html when saving
* Add effect when saving defaults
* Adjust effect size
* Use URL param to save defaults instead of ingame chord
* Update the menu to include checkbox for saving defaults
* Fix menu styling
* Update README
Co-authored-by: asimon-1 <asimon1@protonmail.com>
Use blujay's visualizer plugin for hitbox/hurtbox visualization (#236)
* working
* Update rust.yml
Fix GH Action for getting visualizer.nro
Fix to visualization, allow hitbox/hurtbox toggle
* Use jQuery to handle class addition/removal
* Use .is-appear class instead of innerHTML for goBackHook
* Revert unrelated comment
Co-authored-by: asimon-1 <asimon1@protonmail.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
* Make a separate default menu
* Add "default" to menu structs in menu.rs
* Add resetSubmenu and resetAllSubmenus functionality
* Add Frame Advantage default
* Add reset buttons to menu header
* Right-justify the reset button descriptions
* Update comments
Co-authored-by: asimon-1 <asimon1@protonmail.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
* Do version check and remove overlay if it exists
* Use format! instead of mutable string
* Handle missing overlay
* Use cargo package version instead of hardcoded str
Co-authored-by: asimon-1 <asimon1@protonmail.com>
* Add mirrored save states to menu and save_states.rs
* Update LongDelay.into_string()
* Add missing submenus
* Add mirrored save states to menu and save_states.rs
* Fix outdated reference to MENU_STRUCT
* Change MIRROR_STATE type from bool to f32
* Move should_mirror call
* Add to_url_param() for SaveStateMirroring
* Fix Facing Direction mirroring bug
Co-authored-by: asimon-1 <asimon1@protonmail.com>
Co-authored-by: jugeeya <jugeeya@live.com>
* Add workflow_dispatch
* Fix menu items that are too wide
* Add logic to goBackHook() to only exit if all submenus are closed, and otherwise to close the submenus
* Display question icons
* Complete into_string() for Action, Delay, and BoolFlag structs
* Update into_string() for Direction, Shield, OnOff, Action, Delay, BoolFlag, and SdiStrength to address compiler warnings
* Fix menu items that are too wide
* Add logic to goBackHook() to only exit if all submenus are closed, and otherwise to close the submenus
* Display question icons
* Complete into_string() for Action, Delay, and BoolFlag structs
* Update into_string() for Direction, Shield, OnOff, Action, Delay, BoolFlag, and SdiStrength to address compiler warnings
* Complete into_string() for LongDelay
* Reformat menu.html and fix tag pairs
* Add onoff submenu type in HTML
* Add onoff submenu type
* Add push line to add_sub_menu_onoff
* Refactor settings export to use jQuery.param()
* Set initial menu settings per URL GET parameters
* Add macro to build URL parameter string
* Fix bitflag export error
* Write menu file when modpack is loaded
* Fix OnOff displays
* Remove dev files
Co-authored-by: asimon-1 <asimon1@protonmail.com>
* Add workflow_dispatch
* Use persistent variable to track DI case instead of trying to roll only on the first frame of hitstun
Co-authored-by: asimon-1 <asimon1@protonmail.com>
* Only change DI direction on the first frame of the animation
* Add left/right DI directions
* Add L/R airdodge direction
Co-authored-by: asimon-1 <asimon1@protonmail.com>
* 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>
* Initial work on ledge hang
* Change ledge hang logic from a delay to a persistent selected option
* Disallow ledge-climb if WAIT is picked
* Move is_enable_transition_term hook from lib.rs into existing mod.rs hook
Co-authored-by: Andrew Simon <asimon@domeng.com>
* Extract Method
* Add Constant Shield
Shield that takes damage but doesn't decay
* Constant Shield Fix
* Update Shield Hold Interaction
Only set decay flag if shield hold is selected
* Rename Module
left_stick => air_dodge_direction
* Extract Method
Added shared hook that is called once per frame per fighter
* Refactor Training Mode Checks
Moved checks to skyline hook
* Add Reset Module
Unlink SDI from mash toggle
* Add Shield Tilt Toggle
* Version +
* Fix Rumble
* Remove Debugging Code
* Revert "Unnecessary global for aerial action buffer (#141)"
This reverts commit 4cc66547c0.
* Remove Check
Non Aerials will just return None in
into_attack_air_kind()
* Fix Shield Toggle
Fixed air dodging when shield is buffered
* Update Mash Reset
Fixed followups not being cleared on reset (training mode/ save state/ tech)
Fixed resetting when landing after a mash toggle
* Version +
* Use Existing Constant
* Adjust Versioning