1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-12-28 19:29:16 +00:00
Commit graph

306 commits

Author SHA1 Message Date
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
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
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
github-actions[bot]
fdd20b9dd2
Format Rust code using rustfmt 2022-11-12 00:12:55 +00:00
jugeeya
196949d499 Fix compatibility with Arcropolis 2022-11-11 16:07:48 -08:00
jugeeya
4cb5152c28
Fix Pokemon Trainer: Pokemon switch and save states are functional 2022-11-11 08:46:55 -08:00
gnaomo
8ffee85d2b
Adjusted button mapping for attack and special (#429) 2022-11-11 07:00:55 -08:00
asimon-1
97c2dc5fd0
Get the correct amount to reduce clatter time from start_clatter (#428) 2022-11-10 21:37:01 -08:00
gnaomo
6466918f7b
Refine Mash Trigger Distances (#426)
Fixes #408
2022-11-10 17:26:45 -08:00
jugeeya
d0c7a106ca
Fix issue with side taunt acting as Special input with button config 2022-11-10 15:43:56 -08:00
github-actions[bot]
156c2c5f32
Format Rust code using rustfmt 2022-11-07 20:01:23 +00:00
jugeeya
93155a2788
Remove all articles on save state load 2022-11-07 11:55:59 -08:00
github-actions[bot]
146146f4b9
Format Rust code using rustfmt 2022-11-07 19:12:55 +00:00
jugeeya
dba668430c
Bugfix: pausing hitbox visualization 2022-11-07 11:06:40 -08:00
jugeeya
ccac7c958d
Keep effects for most statuses including double jump, missed tech 2022-11-07 10:55:13 -08:00
github-actions[bot]
57530ba72f
Format Rust code using rustfmt 2022-11-07 05:19:10 +00:00
asimon-1
8858fbcedd
Add a lockout timer to snake dthrow mistech options (#419)
* Add a lockout timer to snake dthrow mistech options

* Remove print statement
2022-11-06 09:44:40 -08: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
3f5e8398d7 Fix Quick Menu selection (failed to r/w hitbox vis + quick menu previously) 2022-10-04 01:23:55 -07:00
github-actions[bot]
afb8427c0d
Format Rust code using rustfmt 2022-10-03 16:06:19 +00:00
jugeeya
ef5fb1c1e4
Don't spawn web menu thread on emulator 2022-10-03 08:52:12 -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
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