1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-12-27 10:49:17 +00:00
Commit graph

465 commits

Author SHA1 Message Date
Matthew Edell
be74ce9959
Add icons for new features (#611)
* Added icons for input recording, updated menu names

* Added missing input recording icons, added auto update icon

* Added input_record

* Added input_playback

* Added menu_open_start_press

* Added save_state_load

* Added save_state_save

* Added missing icons, fixed size of camera icons

* Fixed save_state_slot icon
2023-08-24 08:51:26 -07:00
jugeeya
f5e73d0ef8
Fix potential softlock when closing menu in frame-by-frame (#610)
* Fix softlock

* Update menu.rs

* Update mod.rs

* Update menu.rs

* Update button_config.rs

* Unused code
2023-08-23 23:51:21 -07:00
asimon-1
8711ce6ca0
Add dialog_ok if the user declines the update (#609)
* Add dialog_ok if the user declines the update

* Remove linebreak which doesn't actually appear on console (?)

* rustfmt
2023-08-23 15:48:21 -07:00
jugeeya
1c00d2afe9
Open Menu with Minus Press; Reorder Recording Crop (#607)
* Initial

* Menu ordering for recording crop

* Update button_config.rs

* Update Beta Changelog
2023-08-23 10:04:47 -07:00
asimon-1
df6b3ec493
Fix crash if the TRAINING_MODPACK_ROOT path doesn't already exist (#606)
* Fix crash if the TRAINING_MODPACK_ROOT path doesn't already exist

* rustfmt
2023-08-22 17:44:46 -07:00
jugeeya
00f2284397
Open Menu with Start Press (#598)
* Initial

* Another fix

* Don't allow opening our menu when vanilla menu is active

* Add menu option ; remove delay to close menu

* Fix issues when closing menu

* Show button config first, log fade

* Fix test

* Fix test again

* Fix initial notification, turn off hitbox visualization by default
2023-08-22 16:12:12 -07:00
GradualSyrup
58f699b285
Fix crash when loading save state while grabbing with Olimar (#604)
* grab check, maybe useless

* fix crash via article_allowlist

* fmt
2023-08-21 19:27:01 -07:00
GradualSyrup
13c87133bf
Fix PLAY_SE hook crash (#602) 2023-08-20 12:56:31 -07:00
asimon-1
cc66406216
More gracefully handle scenario when TOML file doesn't match schema (#599) 2023-08-18 10:21:47 -07:00
jugeeya
6ccdb7addd
Hotfix for auto-updater crash at launch 2023-08-18 01:29:30 -07:00
asimon-1
cc78dc7e4a
Automatically Keep the Modpack Up-to-Date (#595)
* Grab releases from Github and install

* Refactor

* Fix crash

* Work on fixing install() crash

* Fix the crash by increasing stack size

* Block main() execution on the auto-updater

* Improve error handling

* Delete hash.txt

* Fix get_update_policy()

* Use current time as default last_update_version; Compare publish date to last_update_version to determine if update should be applied.

* Use skyline_web dialogs for user_wants_to_install. Use default selections on emulator instead.

* Fix some logic

* Convert CURRENT_VERSION to a Mutex; implement functions to update the config file

* Adjust logging

* Remove unneeded file

* Allow unwrap after is_some() check

* Fix format

* Auto-updater (squashed)

* Move update policy from config file to menu

* Skip version check on emulator

* Rustfmt, clippy

---------

Co-authored-by: jugeeya <jugeeya@live.com>
2023-08-17 21:21:59 -07:00
jugeeya
afdd620c53
Fix Toggle Naming; Update import for skyline-web (#596)
* Initial

* Convert to using Display

* Small test refactor

* Fix for recent skyline_web change
2023-08-17 13:10:31 -07:00
jugeeya
0f808320c3
Fix formatting issue (#594) 2023-08-16 06:29:14 -07:00
Austin Traver
e78ab92d4b
Fix soft-freeze on loading Quickplay lobby (#593)
* Fix soft-freeze on loading Quickplay lobby

* Formatting

---------

Co-authored-by: jugeeya <jugeeya@live.com>
2023-08-16 06:15:11 -07:00
jugeeya
6f1e4af332
Don't set CPU controls outside of training 2023-08-15 23:57:38 -07:00
Austin Traver
10ebff5a6f
Refactor string representation for buttons and menus (#592)
* Refactor string representation for buttons and menus

* Pass test cases

* Update help text
2023-08-15 19:37:35 -07:00
jugeeya
2b241dcb19
Upscale size of menu items for better visibility, hide non-menu UI elements (#589)
* Initial

* Last changes

* Update menu.rs

* Update menu.rs

* Update menu.rs
2023-08-13 17:20:14 -07:00
GradualSyrup
7c522c02bc
Option to Crop Recording when it ends with neutral inputs (#587)
* Working neutral end early

* fmt

* Default on

* Normalize namespace
2023-08-12 15:37:27 -07:00
GradualSyrup
eac960a547
Enforce death on save state, remove score FX (#588)
* Force death, CPU doesn't die when in hitstop

* Deal with stock aura effect
2023-08-12 15:36:38 -07:00
GradualSyrup
acd6c55f48
Fully Match Input Recording Notifications with the Current state (#577)
* Fully Match Input Recording Notifications with the current state

* Switch final record frame variable

* Use new hook for notifications, realign playback notif

* fmt

* Prioritize Frame Advantage

* clippy fmt
2023-08-11 13:33:11 -07:00
jugeeya
8abc20812e
[Menu Input] Fixes to input hold + consistency (#586) 2023-08-11 09:24:50 -07:00
GradualSyrup
a76808c838
Ledge Recording Fixes (#585)
* Add reusable print_fighter_info()

* rustfmt

* Clippy

* Standby fix, ngu fix, beginning posY fix, debugging ledge delay

* Fighter specific ledge adjustments

* Fix ledge delay

* Remove debug, fmt

* Fix Savestate Record

* fmt

* clippy
2023-08-11 08:33:46 -07:00
jugeeya
00268b3d72
Refactor Menu Input (#584) 2023-08-10 09:34:28 -07:00
jugeeya
77f527c99a
Use Native Smash Input for All Input Processing (#581)
* Initial

* Finishing up with button config

* Formatting, some clippy

* Move button config to menu

* Consts formatting

* Fix input_record_press (thanks test!)

* Properly migrate menu button inputs

* Updates to triggers, including text

* Convert to multi-select
2023-08-10 07:28:13 -07:00
Austin Traver
e69f1a93a9
Fix builds of modpack on M1 Mac (#572)
* Fix builds of modpack on M1 Mac

* Check if actions work now

* Fix clippy

* Use foreign function interface

* Update rust.yml

* Format code

* Revert change to workflow

* Revert change to workflow

* Update workflow

* Update workflow

* One additional tweak

* Update formatting

* Experiment with caching config

* Install the latest stdlib before building

* Remove unused environment variable
2023-08-07 23:28:40 -07:00
jugeeya
03cac66d5c
Record Trigger Refactor (#580)
* Initial

* Formatting
2023-08-07 20:11:26 -07:00
GradualSyrup
d5b774841a
Fix Mistech Toggles for Jab Lock (#576)
* Prevent Aegis's sword from vanishing on state load

* Include Pyra's sword

* no mr nice status request
2023-08-07 13:15:06 -07:00
jugeeya
85815f87ff
Input Recording Menu Refactor (#579)
* Initial

* Formatting

* Slight name changes
2023-08-07 11:59:47 -07:00
GradualSyrup
fea2651726
Aegis Sword disappearing on save state load fix (#574)
* Prevent Aegis's sword from vanishing on state load

* Include Pyra's sword
2023-08-06 18:24:33 -07:00
jugeeya
fb9d1648d4
Configurable Recording Frames (#570)
* Playback Slots for Actions and Ledge Options

* Inital attempt

* Fix playback slot

* Fix menu option, probably

* Fix reading from menu option
2023-08-06 17:07:01 -07:00
GradualSyrup
fe8ae6f39f
Buff Health Fixes (#571)
* Hooked AddDamage, pointer manipulation trouble

* Working Wii Fit Fix

* Inline Hook Setup for Sephiroth Wing (crashes)

* Revert Broken Wing Chanes

* Further revert

* Fix Sephiroth Buff Percentage glitches
2023-08-05 14:36:27 -07:00
jugeeya
60f8ffc410
Playback Slots for Actions and Ledge Options (#569) 2023-08-04 15:45:07 -07:00
GradualSyrup
dcb1e831dc
Shulk Monado Art Buffs, SFX and Visual Buff Fixes (#564)
* Monado Buffs, Shulk Dial on Input Recording, Silent Buffs

* All Buffs Silent

* Shulk Flash removed, working on KO UI update

* Little Mac Meter Update

* Remove a few debug functions

* More cleanup

* merge with main

* Paren

* Paren

* rustfmt

* Clippy Fixes

* Fix further Shulk effect issues, improve buff functions
2023-08-04 10:23:22 -07:00
jugeeya
c2f5bd5bb1
Input Recording in Button Config (#562)
* Fix standby on Ryujinx; fix playback when no slot is selected

* Add notifications to input recording

* Move to button config
2023-08-03 18:37:18 -07:00
jugeeya
dc6a1f8915
Input Recording Notifications (#561)
* Fix standby on Ryujinx; fix playback when no slot is selected

* Add notifications to input recording
2023-08-03 18:25:25 -07:00
jugeeya
a8f533da47
Fix standby on Ryujinx; fix playback when no slot is selected (#560) 2023-08-03 18:13:02 -07:00
jugeeya
9ef506aac7
[Build] Fix formatting (#557)
* [Build] Fix formatting

* Another set of fixes
2023-08-02 13:53:24 -07:00
jugeeya
1486ad8d05
Fix standby end criteria (#555) 2023-08-02 12:30:34 -07:00
jugeeya
822db3969f
[Build] Clippy Fixes (#554)
* Add slots as menu options, randomize playback slots

* Clippy Fixes
2023-08-02 11:09:02 -07:00
jugeeya
3a40d46fca
Add input recording slots as menu options, randomize playback slots (#553) 2023-08-02 10:27:50 -07:00
GradualSyrup
ba93011069
Dash Attack Fixes (#546)
* Initial (still has parry roll, dash attack is 1 frame late)

* Initial working commit

* Cleanup
2023-07-31 18:37:25 -07:00
GradualSyrup
aed803e449
Update standby function to use controller input (#544)
* Update standby function to use controller input

* Reuse constants
2023-07-30 10:38:58 -07:00
GradualSyrup
e07d8f322a
Lower trigger navigation threshold for plugs (#543) 2023-07-30 09:46:12 -07:00
GradualSyrup
78d4b36400
Override ledge fix and input recording menu fixes (#542)
* GCC+tinkering

* First working pass with 8-byte structure usage.
Control scheme is effectively copied for CPU.

* CPU override, sticks not working properly

* Recording working again during record, playback issues.
Also, aerials are all nair, and jump/Dash Attack issues.

* Structure creation cleanup

* Continued testing, still aerial, jump, and dash attack issues

* Fix Dockerfile

* Rework with ControlModuleInternal and ControlModuleStored - same exact issues

* Fix playback inconsistency

* Dead code of trying to find attack air address

* It works! Fix mash.rs overrides of input playback

* Action passing groundwork; Clatter off by default for now

* All Overrides implemented, notes on Snake

* Input Submenu, dummy slots and save state/mash playback interaction

* Nana command fix, mash fix

* Initial Savestate/Ledge record (slight issues)

* Add TODO

* Lasso handled, ledge jump issue fixed, shield decay with input recording fixed, standby setup begun

* first frame playback clear, fix neutral getup

* Standy by groundwork, broken by our frame late record impl

* Prepare for structure change

* On time small structure recording, needs ledge adjustments

* Coloring fix for poessession, lockout implemented and full ledge functionality

* Cleaning and menu fix

* Fix ledge option loop and shield holding on mash

* Fix shielding issues

* turn off playback

* Enable input recording

* Resolving comments 1,2,4,5

* Resolve comments 6, 7, and 8

* External Mash Function

* No Trigger for Overrides, Clatter and Tumble Added

* LR Support, Full Hop Fix

* Starting Status WIP, Structure WIP, LedgeOption PLAYBACK renaming

* WIP Playback Mash - OoS issues - WIP Slots

* Merge branch 'main' into for-restructure prep

* more merge prep

* Return None fix

* More cleanup

* Block -> Shieldstun

* Don't crash on missing menu icons

* Add input recording tab to prevent crash

* Fix general override behavior

* Fix teching overrides

* Additional merge changes

* Nana fixes (also on master so this will be awkward)

* Additional Merge Fixes

* Remove extra tab, prevent panic on missing input recording items

* Needs proper selection of action

* Ledge overrides work without trigger, remove playback/record slot until working
2023-07-29 13:12:32 -07:00
jugeeya
62298ecbc1
Input Recording (#539)
* GCC+tinkering

* First working pass with 8-byte structure usage.
Control scheme is effectively copied for CPU.

* CPU override, sticks not working properly

* Recording working again during record, playback issues.
Also, aerials are all nair, and jump/Dash Attack issues.

* Structure creation cleanup

* Continued testing, still aerial, jump, and dash attack issues

* Fix Dockerfile

* Rework with ControlModuleInternal and ControlModuleStored - same exact issues

* Fix playback inconsistency

* Dead code of trying to find attack air address

* It works! Fix mash.rs overrides of input playback

* Action passing groundwork; Clatter off by default for now

* All Overrides implemented, notes on Snake

* Input Submenu, dummy slots and save state/mash playback interaction

* Nana command fix, mash fix

* Initial Savestate/Ledge record (slight issues)

* Add TODO

* Lasso handled, ledge jump issue fixed, shield decay with input recording fixed, standby setup begun

* first frame playback clear, fix neutral getup

* Standy by groundwork, broken by our frame late record impl

* Prepare for structure change

* On time small structure recording, needs ledge adjustments

* Coloring fix for poessession, lockout implemented and full ledge functionality

* Cleaning and menu fix

* Fix ledge option loop and shield holding on mash

* Fix shielding issues

* turn off playback

* Enable input recording

* Resolving comments 1,2,4,5

* Resolve comments 6, 7, and 8

* External Mash Function

* No Trigger for Overrides, Clatter and Tumble Added

* LR Support, Full Hop Fix

* Starting Status WIP, Structure WIP, LedgeOption PLAYBACK renaming

* WIP Playback Mash - OoS issues - WIP Slots

* Merge branch 'main' into for-restructure prep

* more merge prep

* Return None fix

* More cleanup

* Block -> Shieldstun

* Don't crash on missing menu icons

* Add input recording tab to prevent crash

* Fix general override behavior

* Fix teching overrides

* Additional merge changes

* Nana fixes (also on master so this will be awkward)

* Additional Merge Fixes

* Remove extra tab, prevent panic on missing input recording items

* Remove some TODOs

---------

Co-authored-by: GradualSyrup <68757075+GradualSyrup@users.noreply.github.com>
2023-07-27 16:42:21 -07:00
jugeeya
24ffba4e09
Satisfy clippy for fn_null_check (#534)
* Satisfy clippy for fn_null_check

* Update lib.rs

* Update lib.rs

* Use comparison with 0

* Update mod.rs

* Update lib.rs

* Update mod.rs

* Update lib.rs
2023-07-13 09:46:34 -07:00
asimon-1
7eec409086
Mash Overrides (#533)
* Merge from CookieScythe branch

* Rename block to shieldstun, add icons to layout.arc, add new options to ui_menu

* Address clippy warnings and reformat

* Add fn_null_check back to whitelist

* Pray to clippy gods
2023-07-12 11:36:32 -07:00
jugeeya
e0ef313297
Keep Mii hats and Luma on save state load; Fix Github Actions (#532)
* Exclude Mii hats and Luma

* Use allowlist to fix clippy

* More clippy

* More clippy

* Unnecessary cast

* Unnecessary vec!

* Spacing

* Import ordering

* Use a different action for test

---------

Co-authored-by: GradualSyrup <68757075+GradualSyrup@users.noreply.github.com>
2023-07-11 09:10:56 -07:00
Matthew Edell
b34fc6b4a9
Fixed bug where icons show on slider menu (#528)
* Fixed bug by hiding icon for buttons when rendering Slider Menu

* Fixed formatting

* Fixed build
2023-05-09 07:40:42 -07:00
jugeeya
dbfa60bebc
Fix Save State Slots menu crash (#526)
* Update options.rs

* Update save_states.rs

* Update options.rs
2023-04-29 12:22:45 -07:00
jugeeya
9b9070cff2
Fix Save State Slot Effect Removal (#521)
* Initial

* Clippy + Format

* Update save_states.rs

* selected vs random

* fix

* Formats

* Format

* Format

* Fix for effect removal

* Updated copy, 2 randomize_slots, 2 save_slot_state

* Update to 5.1, fix random logic

---------

Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
2023-04-14 16:20:05 -07:00
jugeeya
1ce2850af3
Save State Slots as Menu Option (#520)
* Initial

* Clippy + Format

* Update save_states.rs

* selected vs random

* fix

* Formats

* Format

* Format

* Updated copy, 2 randomize_slots, 2 save_slot_state

* Update to 5.1, fix random logic

---------

Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
2023-04-14 15:48:22 -07:00
Chris McDonald
5b2e4c7319
Add rustfmt CI checker and format (#518)
* Add rustfmt CI checker

Minimal checker that just runs `cargo fmt --check` on all targets.

* rustfmt
2023-04-11 14:56:14 -07:00
Chris McDonald
67948f7373
Fix clippy CI: once_cell is stabilized (#517)
This feature has been stabilized in 1.70-nightly, so remove the feature
flag so that Clippy stops complaining about it.
2023-04-11 14:01:21 -07:00
jugeeya
99da64d2a0
Break if layout doesn't contain icon; switch current/all default load in menu (#511)
* Return to break if layout doesn't contain icon; switch current/all default load in menu

* Update menu.rs

* unwrap_or_else

* fix

* Update menu.rs

* Updated save_state_slot_enable icon

---------

Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
2023-03-26 16:09:17 -07:00
jugeeya
330976f490
Change default button config for save states: load/save to Shield, slots to Grab (#510)
* initial

* Change references to grab/shield

* Update README.md
2023-03-22 14:22:27 -07:00
jugeeya
66477b346a
Ensure save states effect kills happen only in training (#509) 2023-03-22 14:22:11 -07:00
jugeeya
9ea0ddb690
Hotfix 2 for panic for icons (#507)
* Update menu.rs

* Update menu.rs

* Update save_states.rs
2023-03-14 08:44:01 -07:00
jugeeya
14bf45de4f
Hotfix panic when icon is not found (#506) 2023-03-14 07:21:14 -07:00
jugeeya
58a18de2b9
Save State Slots: Add enabler toggle, switch to Shield+Left/Right (#505)
* Switch to Shield+Left/Right

* Add option in menu
2023-03-13 22:12:24 -07:00
jugeeya
89569c7154 Hotfix: Nana not moving on save state load 2023-03-05 09:31:42 -08:00
jugeeya
0395bbe8ca
GC Digital Triggers Menu Fix (#497)
* Check for digital triggers

* Update menu.rs

* Special case digital triggers

* JK

* Update rust.yml

* Update menu.rs
2023-02-26 23:44:12 -08:00
Austin Traver
c3a36e78e5
Convert line separators from CRLF to LF (#499) 2023-02-26 12:14:03 -08:00
jugeeya
e0fec0039e
Use our own Menu Title button (#498) 2023-02-24 22:07:35 -08:00
jugeeya
f268137bc4
Don't panic on failure to remove legacy dir (#495) 2023-02-24 11:22:06 -08:00
jugeeya
22ded3b379
Fix arena UI disappearing (#494) 2023-02-23 09:51:50 -08:00
jugeeya
d05f8ce918
Change Menu Buttons and Help Text; HUD Off Outside Training (#488)
* Avoid making layouts invisible outside training mode with HUD off

* Switch menu buttons around; change defaults resetting texts

* Fix unused feature import
2023-02-20 21:45:33 -08:00
jugeeya
9ca84013b7
PT Load State Fix: After Training Mode Reset (#485)
* Damage percent fix

* PT is fixed!

* Fix ICs
2023-02-18 10:37:04 -08:00
Austin Traver
d128b902ed
Add icons to the new menu (#482)
* Added test icons to layout,
toggle visibility of icon based on submenu_id

* disable icon container pane when menu is open

* Add icons to 'layout.arc'

* Add remaining icons to 'layout.arc'

* Apply suggestions from code review

Co-authored-by: jugeeya <jugeeya@live.com>

* Incorporate feedback, remove deltas from formatting differences

* Updated some icon textures, updated layout

* Swapped x for check icon on selected toggles

* Moved logic to collect submenu id's to app impl

---------

Co-authored-by: Matthew Edell <edell.matthew@gmail.com>
Co-authored-by: jugeeya <jugeeya@live.com>
2023-02-15 22:47:36 -08:00
jugeeya
b20a44ca5c
Fix menu buttons for Gamecube Controller users (#481)
* Initial

* Move filepaths

* Small fix

* Notification on save state save

* Fix buttons for GCC
2023-02-15 00:07:45 -08:00
jugeeya
e981a0bfd0
Move files to sd:/ultimate/TrainingModpack (#480)
* Initial

* Move filepaths

* Small fix

* Notification on save state save
2023-02-13 19:58:22 -08:00
jugeeya
8ac2a3e8b1
Fix PT load state freeze after L+R+A (#478) 2023-02-12 15:34:01 -08:00
jugeeya
228ff77673
Format; Optimize Imports (#477)
* Run IntelliJ's optimize imports + formatter

* Clippy
2023-02-11 17:07:29 -08:00
jugeeya
94ff25a921
Save State Slots across game load + Fixes galore: overwrite button config if invalid; exclusive button combos; remove wait when opening menu (#476)
* Overwrite button config if invalid; exclusive button combos

* Tons of fixes

* Fix save state settings load from file
2023-02-11 16:49:05 -08:00
jugeeya
bf78f06f7d
Initial Save State Slots (#474) 2023-02-10 22:02:56 -08:00
jugeeya
e10092b766
fix (#475) 2023-02-10 22:02:28 -08:00
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
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
asimon-1
8866d1a2ce
Only write HTML on Console (#464) 2023-02-01 07:29:22 -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
github-actions[bot]
2b66f0ee13
Format Rust code using rustfmt 2022-12-31 21:45:48 +00:00