1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-10-02 17:24:28 +00:00
Commit graph

809 commits

Author SHA1 Message Date
jugeeya
c932961566 Frame Advantage only on shield for now; fix menu soft-lock with frame-by-frame 2023-02-10 14:22:29 -08:00
jugeeya
44aaeec375 Fix for PT CPU breaks when load state using Mash Triggers #430 2023-02-10 11:31:27 -08:00
jugeeya
c1eb6409a4 Cursor Memory for the menu 2023-02-09 23:34:30 -08:00
jugeeya
0c64959333 Fix issue where you could not control the "select fighter with controller" menu when the quick menu is up. 2023-02-09 23:25:25 -08:00
jugeeya
3d6ea34eeb
Use layout.arc to Build UI (#473)
* Update lib.rs

* Remaining fixes

* Initial

* Forgot to commit

* Clippy

* Initial

* Use feature gate

* Fixes

* layout.arc actually working. Add training_mod_menu_button

* Add docstring, fix from static

* Use include_flate to keep binary smaller

* Add most menu features back

* Add help, tabs

* Add help, tabs

* Small refactor

* Fix clippy, some other issues

* Updated menu buttons, inactive text colour (btns), layouts

---------

Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
2023-02-09 07:51:40 -08:00
jugeeya
d23dcdf968
Deprecate Web Menu (#472)
* Initial

* Fixes
2023-02-07 06:01:52 -08:00
jugeeya
bbba8fd3ee
Quick Menu Defaults Help Text (#471)
* Update lib.rs

* Remaining fixes

* Initial

* Forgot to commit

* Clippy
2023-02-05 16:24:56 -08:00
jugeeya
9c590df189
Fail on clippy warnings in CI (#470)
* Update lib.rs

* Remaining fixes
2023-02-05 12:45:35 -08:00
jugeeya
62c22026d3
Developer TOML for hot-reloading configs (#469)
* Initial commit

* Update dev_config.rs

* Update dev_config.rs

* Update dev_config.rs

* Update interface

* typo

* Update dev_config.rs

* Update dev_config.rs

* Update dev_config.rs
2023-02-04 12:43:12 -08:00
Matthew Edell
fc742bc242
Refactor menu for ui2d updates; shadow & outline text (#468)
* Refactored menu to use new helpers,
updated references to TexBox members to remove m_

* Updated menu opts to have text fx & centered text
2023-02-03 15:04:42 -08:00
jugeeya
d5c0d636a0
UI Code Refactor; Notifications; Save Defaults for Quick Menu (#461)
* 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>
2023-02-02 15:01:11 -08:00
jugeeya
f014acfb5c
Add beta changelog to README (#466)
* Update README.md

* Update rust.yml

* Update README.md

* Authors
2023-02-02 13:24:57 -08:00
Matthew Edell
24441c2b26
Update UI for quickmenu slider values (#458)
* 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
2023-02-02 11:02:59 -08:00
jugeeya
f762850bbf
Cleanup Devcontainer Specification (#465)
* Update devcontainer.json

* Delete .devcontainer/library-scripts directory

* Delete full_build.sh

* Update README.md
2023-02-01 11:27:28 -08:00
asimon-1
8866d1a2ce
Only write HTML on Console (#464) 2023-02-01 07:29:22 -08:00
jugeeya
8b804ff402
[Github Action] Add rust-cache (#463)
* Add rust-cache

* Retrigger

* rust-cache for plugin

* Retrigger plugin

* Separate caches for jobs

* Retrigger
2023-01-31 16:30:46 -08:00
jugeeya
5bb12d04fb
[Github Action] no-dkp image; Move to cargo clippy as simple runner to fix PRs (#462)
* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Fixes for clippy

* Fix clippy again

* Also run check

* Add names

* Remove rustfmt
2023-01-31 15:17:00 -08:00
github-actions[bot]
6d312521d1
Format Rust code using rustfmt 2023-01-29 03:11:32 +00:00
techyCoder81
1a9dea2f52
Update infinite shield logic to work for modded gameplay (#460)
* 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
2023-01-28 19:06:35 -08:00
github-actions[bot]
37360c787a
Format Rust code using rustfmt 2023-01-27 19:24:09 +00:00
asimon-1
77f439a6eb
Improve Error Handling (#459)
* Add error messages by changing unwrap() calls to expect()

* Improve error messages by changing println! to info!/warn!/error!

* Address nits

* Change panic message

* details in panic
2023-01-27 11:19:18 -08:00
github-actions[bot]
b28522a6ce
Format Rust code using rustfmt 2023-01-18 01:28:14 +00:00
jugeeya
a364a214e2 Fix for recent rust-analyzer checkOnSave change; clippy fix 2023-01-17 17:23:24 -08:00
jugeeya
180f6f4228 Quick Menu: Change selected option bg color to blue 2023-01-17 16:54:55 -08:00
jugeeya
84fbe98d0d Quick Menu: fix speed, potential to deadlock 2023-01-17 16:02:19 -08:00
jugeeya
e174daeb6f Fix Quick Menu when used with joycons 2023-01-04 17:10:58 -08:00
jugeeya
4c65bf837d
Delete beta on every upload so it is at top of releases 2023-01-03 17:34:26 -08:00
Austin Traver
75afb81e67
Add Discord hyperlinks to README.md (#456) 2023-01-01 07:26:08 -08:00
github-actions[bot]
2b66f0ee13
Format Rust code using rustfmt 2022-12-31 21:45:48 +00:00
asimon-1
7ca9e5fb77
Save States: Handle Ledges and Asymmetric Stages (#455)
* Don't save situation_kind_cliff

* Handle asymmetric stages
2022-12-31 13:41:01 -08:00
asimon-1
f35f10e4f4
Fix two bugs which caused some OnOffs to work incorrectly (#454) 2022-12-31 12:02:49 -08:00
jugeeya
7ec7928c55
Use nnsdk and smash upstreams for ui2d (#453)
* 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>
2022-12-30 19:22:30 -08:00
jugeeya
c1a6f6626d
Add HUD toggle (#452)
* 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>
2022-12-30 15:56:35 -08:00
jugeeya
ed425d78e5
Add UI backing to text options in menu, always do new damage display (#451)
* 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>
2022-12-30 11:33:17 -08:00
jugeeya
52e3528292
Use ui2d-based Quick Menu; show dmg percentage on save state % reload with random damage (#450)
* 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>
2022-12-29 20:09:22 -08:00
jugeeya
9a7b5fdf85
Fix badge for Github actions status 2022-12-26 20:58:29 -08:00
jugeeya
a1c9e35b19
Use UI text box for Frame Advantage; add ui2d backend (#449)
* 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>
2022-12-22 14:22:37 -08:00
github-actions[bot]
c8349005c3
Format Rust code using rustfmt 2022-12-18 21:49:48 +00:00
GradualSyrup
c7457cf0fd
Keep Crafting Table on state load (#448)
* Keep Crafting Table on state load

* Better Table Reference

* Use for..in loop for clearer code

* Remove Crafting Table jugeeya edition
2022-12-18 13:43:40 -08:00
github-actions[bot]
01a2c60a29
Format Rust code using rustfmt 2022-12-16 04:03:44 +00:00
asimon-1
74e374db6d
Refactor untechables (#446)
* Fix rust-analyzer config

* Refactor tech.rs to no longer depend on a static mut
2022-12-15 19:56:36 -08:00
asimon-1
0f510a7df5
Fix rust-analyzer config (#445) 2022-12-15 19:55:33 -08:00
jugeeya
3ecc6aae0a
Update NRO hook for compatibility with Smashline mods like HDR (#444)
* Update NRO hook

* Update rust.yml
2022-12-15 10:01:45 -08:00
github-actions[bot]
cf39454991
Format Rust code using rustfmt 2022-12-13 04:01:32 +00:00
asimon-1
1c5a5a71fa
Don't tech untechables (#442) 2022-12-12 19:55:15 -08:00
jugeeya
a69dc8c096
Fix beta crashing after 8 event pushes (#441) 2022-12-05 10:54:41 -08:00
Austin Traver
c067612291
Add vendored 'native-tls' as dependency (#437)
Necessary for build to succeed on macOS
2022-11-23 13:49:04 -08:00
jugeeya
0e708423b3 REMOVE RING FROM THE DEPENDENCIES NGHHHHHH 2022-11-23 12:27:57 -08:00
github-actions[bot]
b40427465d
Format Rust code using rustfmt 2022-11-21 20:53:11 +00:00
asimon-1
9fc6df6e52
Fix the is_in_clatter(0 function so that it no longer triggers after the fighter leaves the clatter status (#435) 2022-11-21 12:46:32 -08:00