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

685 commits

Author SHA1 Message Date
asimon-1
b66d5189c7
Separate SdiFrequency and ClatterFrequency. Make the clatter strength faster (#397) 2022-11-01 17:42:01 -07:00
github-actions[bot]
30cdd61e26
Format Rust code using rustfmt 2022-11-01 20:58:36 +00:00
asimon-1
fa451986e0
Randomized percent on load (#394)
* 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
2022-11-01 13:52:38 -07:00
github-actions[bot]
aea5011a89
Format Rust code using rustfmt 2022-10-16 23:39:38 +00:00
GradualSyrup
7f3a8e8674
No Star KOs (#391)
* Turn off Star KOs

* Remove Star KO Debug
2022-10-16 16:34:05 -07:00
asimon-1
4314251664
Don't preload session by default (#392) 2022-10-16 16:32:24 -07:00
jugeeya
0e2500c77f Revert to use web session 2022-10-12 16:19:43 -07:00
github-actions[bot]
bb923b2124
Format Rust code using rustfmt 2022-10-11 01:00:53 +00:00
jugeeya
3c3ac301fc Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/common/button_config.rs
2022-10-10 17:54:33 -07:00
jugeeya
458758faf9 Spawn web session normally; use web_session feature gate for experimental version 2022-10-10 17:53:08 -07:00
github-actions[bot]
dee5e56433
Format Rust code using rustfmt 2022-10-11 00:24:04 +00:00
jugeeya
2f032c1fc0 Fix button config parsing 2022-10-10 17:17:20 -07:00
GradualSyrup
0b99a611e3
Keep attributes for delayed input (#390) 2022-10-09 17:14:07 -07:00
github-actions[bot]
43b516aa56
Format Rust code using rustfmt 2022-10-09 21:14:11 +00:00
asimon-1
a1d5fe7fac
Instead of hardcoding, load button combo configuration from a file (#388)
* Instead of hardcoding, load button combo configuration from a file

* Rename conf files, remove extra logging

* Inform the user which keys are invalid
2022-10-09 14:09:47 -07:00
asimon-1
bbc0c93c9a
Refactor input_delay from i32 to Delay (#386)
* Change input_delay to use Delay structure instead of i32

* Update input_delay.rs
2022-10-06 16:03:41 -07:00
jugeeya
7bbae26f35
Pokemon Trainer: Save State Fix (#387)
* 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>
2022-10-06 13:49:03 -07:00
github-actions[bot]
d25583cda2
Format Rust code using rustfmt 2022-10-06 19:20:07 +00:00
asimon-1
945ef21f60
Mash Triggers (#385)
* Create mash triggers; remove mash in neutral and escape options

* Add landing condition

* Make default more readable
2022-10-06 12:15:36 -07:00
github-actions[bot]
c868fac2c3
Format Rust code using rustfmt 2022-10-04 08:28:51 +00:00
jugeeya
86d0112316 Merge remote-tracking branch 'origin/master' 2022-10-04 01:24:05 -07:00
jugeeya
3f5e8398d7 Fix Quick Menu selection (failed to r/w hitbox vis + quick menu previously) 2022-10-04 01:23:55 -07:00
jugeeya
61d7ace504
Fix web menu spawn for emulator 2022-10-03 12:42:54 -07:00
github-actions[bot]
afb8427c0d
Format Rust code using rustfmt 2022-10-03 16:06:19 +00:00
jugeeya
14d53cac77
Fix for toolchain CI 2022-10-03 09:01:29 -07:00
jugeeya
e642f2c1cc
Don't pin toolchain for clippy CI 2022-10-03 08:54:08 -07:00
jugeeya
ef5fb1c1e4
Don't spawn web menu thread on emulator 2022-10-03 08:52:12 -07:00
jugeeya
acafa90caa
Fix CI for plugin outside training mode 2022-10-02 10:01:15 -07:00
jugeeya
3e37c5ace8
Update CI to cs-3.0.0 2022-10-02 09:53:14 -07:00
jugeeya
88abeadfdd Fix issue with not being able to reopen menu after fighter reset/reentry into training 2022-10-02 09:38:40 -07:00
github-actions[bot]
17f2b05940
Format Rust code using rustfmt 2022-09-08 02:39:14 +00:00
asimon-1
36c6e8859a
Refactor to use Web Sessions (#384)
* 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>
2022-09-07 19:34:39 -07:00
gnaomo
55ee4733e2
Fix Touchscreen Back Button (#381)
Co-authored-by: BuildTools <unconfigured@null.spigotmc.org>
2022-08-05 09:10:04 -07:00
Matthew Edell
16f975a9d0
Update web UI for better maintenance (#380)
* 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
2022-08-04 19:34:25 -07:00
jugeeya
f24fec1b78
Update params hook; restore infinite shield vs. items 2022-06-22 05:48:56 -10:00
asimon-1
e42e046b87
Make ganon's aerial sideb untechable (#375) 2022-06-22 03:49:57 -10:00
asimon-1
9d2f87290b
Add Crouch Setting (#373)
* Hold stick down when requesting crouch

* Add icon
2022-06-16 07:38:33 -10:00
GradualSyrup
5d94e57d70
Bonus Fruit thrown when charged (#372) 2022-06-07 22:26:04 -07:00
asimon-1
5e1f523bb6
Fix input delay getting passed to url params incorrectly (#371) 2022-06-07 18:54:26 -07:00
GradualSyrup
e4248c2857
State load mash fix (#370)
* Reset queue again to clear mash

* Remove unnecessary reset
2022-06-07 18:36:44 -07:00
asimon-1
3695bdeb30
Update README (#364) 2022-06-02 18:59:33 -07:00
jugeeya
283279b10c
Fixes for Quick Menu Multi-selections (#362) 2022-05-31 20:43:00 -07:00
jugeeya
9cc4c6b73b
Update to cargo-skyline 3.0.0 (with updated Rust STD!) (#359)
* Try cargo-skyline 3.0.0

* Update Cargo.toml

* Update lib.rs

* Update combo.rs
2022-05-25 15:07:56 -07:00
jugeeya
2d37bc22e4
Link's bomb should be 1st variant 2022-05-22 17:07:27 -07:00
jugeeya
2664a4f75f
Update to 4.0.0 2022-05-22 17:02:00 -07:00
jugeeya
6bdd939acb
New GIF for README entry (#358)
* Add files via upload

* Add files via upload

* Update README.md
2022-05-22 16:51:18 -07:00
jugeeya
1849e36ff5
Fix Diddy/Link save state items by removing LuaConst caching 2022-05-22 15:27:52 -07:00
jugeeya
8c5f4ec67a
Menu icon for Character Item 2022-05-22 10:57:21 -07:00
jugeeya
ac78fb4a4d
Save States with items (#350)
* 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>
2022-05-21 17:57:41 -07:00
jugeeya
41ecb8aa38
Save state autoload (#352)
* Add save state autoload option

* Add autoload option

* Format Rust code using rustfmt

* Update save_states.rs

* Add files via upload

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2022-05-16 21:58:32 -07:00