1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-24 10:54:16 +00:00
Commit graph

442 commits

Author SHA1 Message Date
jugeeya
841ea5e8fe
Single Option Menu (#231)
* add flag

* Update clickToggle() to handle single-option submenus (#232)

Co-authored-by: asimon-1 <asimon1@protonmail.com>

Co-authored-by: asimon-1 <40246417+asimon-1@users.noreply.github.com>
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-16 17:09:51 -07:00
jugeeya
a4533a4810
Inclusive range for alphabet 2021-08-16 17:05:52 -07:00
jugeeya
40a5a08754 add simple macros for onoff/single option menus 2021-08-16 13:48:58 -07:00
asimon-1
49c30bb30d
Menu export bugfix (#229)
* 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>
2021-08-16 11:48:00 -07:00
asimon-1
dcdb670a42
Use jQuery to handle class addition/removal (#227)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-16 10:55:32 -07:00
jugeeya
6ffec53204
Remove threading from file write (#226) 2021-08-16 09:35:11 -07:00
jugeeya
ae791b42b6
Outside training mode artifact in parallel 2021-08-15 23:32:15 -07:00
jugeeya
7868a91fd8
Use basename for SVGs 2021-08-15 23:18:56 -07:00
asimon-1
2271d533c0
Add Menu Icons (#225)
* Center icons

* Add icons

* Adjust CI to upload all artifacts

* Also include icons in .zip

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-15 18:55:51 -07:00
jugeeya
f41bfff9f8
Load menu from file, write on menu exit (#222)
* Load menu from file, write on menu exit

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update lib.rs

* Update menu.rs

* Try response as well

* Don't hold response variable

* use static mut option

* everything in a thread

* remove brace

* Try GH actions change

* try

* try

* use container tag

* test

* try abs path

* try checkout

* try showing

* try installing

* test proj

* try stable toolchain spec

* try image

* explicit version

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Try clippy

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* Update rust.yml

* fixes

* only if the conf makes sense

* small clippy fixes
2021-08-15 18:41:40 -07:00
jugeeya
e2bed25be3
Run clippy check in parallel with build (#224)
* Update rust.yml

* Update rust.yml

* Don't do clippy twice

* Update rust.yml
2021-08-14 19:25:46 -07:00
jugeeya
46484bafff
Make changes to satisfy clippy; add cargo clippy PR commenter (#223)
* 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
2021-08-14 19:06:25 -07:00
jugeeya
d8ea6eb0ae
Delete beta each time so that it becomes highest release 2021-08-13 23:09:13 -07:00
jugeeya
9e8a89547a
Use cargo-skyline image to speed up builds 2021-08-13 22:53:57 -07:00
jugeeya
4e57e811f4
Run github actions every push & pull request 2021-08-12 18:18:57 -07:00
asimon-1
18cca3023c
Add ability to reset menus to the default (#221)
* 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>
2021-08-11 07:45:57 -07:00
jugeeya
3d563b9450
Add back frame advantage using raygun shot printer (#219)
* 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
2021-08-09 21:33:03 -07:00
asimon-1
427d6ee953
Instructions for Version Update from v2.6 (#218)
* 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>
2021-08-03 15:03:47 -07:00
asimon-1
b57cf538f5
Mirrored save states (#216)
* 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>
2021-08-01 12:53:00 -07:00
asimon-1
91348ed6cd
More menu improvements (#215)
* Update LongDelay.into_string()

* Add missing submenus

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-08-01 12:47:05 -07:00
asimon-1
8757bb9a0e
Web Menu Improvements (#214)
* 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>
2021-07-28 20:51:41 -07:00
asimon-1
6b87295216
Only apply ledge::is_enable_transition_term to CPU (#212)
Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-21 14:45:47 -07:00
asimon-1
3973ff6d65
Implement Longer Ledge Delays (#211)
* Add workflow_dispatch

* Add LongDelay bitflag type for ledge delays, and change into_index() calls to into_delay/into_longdelay

* Override default ledge climb

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-07-20 10:17:56 -04:00
asimon-1
bbbf2ac898
Launch indicator fix for #205 (#210)
* 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>
2021-07-16 08:24:12 -04:00
asimon-1
cd8755012c
Fix GH Actions Workflow (#208)
* Add workflow_dispatch

* Add specific lock_api version

* Update to latest cargo-skyline version

* Update workflow with skyline-rs toolchain

* Separate cargo-skyline install and toolchain update

* Use Rust docker container

* Try rustocker/rustup container

* Revert "Try rustocker/rustup container"

This reverts commit 26fff6a44f.

* Try fork of cargo-skyline

* Revert "Try fork of cargo-skyline"

This reverts commit 0465c39e94.

* Try installing own Rust

* Fix syntax error

Co-authored-by: asimon-1 <asimon1@protonmail.com>
2021-06-22 13:47:29 -07:00
jugeeya
18a5cee052
Update parking_lot dependency 2021-06-15 20:06:37 -07:00
asimon-1
5fa0ff135d
DI Indicator Fix and Left/Right Directions (#207)
* 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>
2021-06-15 19:54:19 -07:00
sidschingis
6f218ead89
210416 grid layout (#202)
* Apply Grid Layout

Arrange collapsed Lists in a grid.

Once expanded the list will take the full width

* Formatting
2021-04-16 14:34:09 -07:00
jugeeya
11409d221f
Skyline install dir fix 2021-04-16 08:37:17 -07:00
jugeeya
bf786fe9af fix html folder 2021-04-15 20:35:27 -07:00
jugeeya
8eed20ceb2 Merge branch 'master' of https://github.com/jugeeya/UltimateTrainingModpack 2021-04-15 19:44:47 -07:00
jugeeya
2281e36556 small changes 2021-04-15 19:44:42 -07:00
jugeeya
025d2575c3
Fix skyline install dir 2021-04-14 11:39:10 -07:00
jugeeya
5a37622559
Fix skyline download 2021-04-14 11:19:16 -07:00
jugeeya
4a5df01637 web menu gh workflow 2021-04-14 10:33:29 -07:00
jugeeya
1a273f7cbf
Initial Web Menu Implementation (#170)
* 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>
2021-04-14 10:21:51 -07:00
jugeeya
049232c420 merge with master 2021-04-14 10:06:31 -07:00
jugeeya
399291393d use --features with cargo-skyline 2021-04-14 09:50:52 -07:00
jugeeya
80319eabfc
Try specifying target 2021-04-12 08:49:27 -07:00
jugeeya
2ddc7cd92f fix typing for hazards_manager 2021-04-11 20:20:46 -07:00
jugeeya
3ba2e70b99
Try dev output 2021-01-23 17:20:40 -08:00
jugeeya
7b0daca018 add outside_training_mode to uploaded artifacts 2021-01-22 19:21:17 +00:00
sidschingis
d24a94835e
Wall Tech Options (#188)
* Extract Method

* Untangle conditions

* Extract Method

* Fix Swapped Constants

* Apply No Tech Option

* Fix Bugs

* Return early on match

* Also cleanup ground tech

* Fix unused warning

* Support Wall Tech Jumps
2021-01-22 11:04:58 -08:00
sidschingis
8189c07e30
Add SDI Strength Toggle (#182) 2020-12-21 07:09:37 -08:00
asimon-1
509f2383ac
Ledge hang (#180)
* 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>
2020-12-10 10:03:42 -08:00
sidschingis
ebc046db1d
Add Save State Damage Toggle (#176)
Added toggle to not overwrite the damage when loading a save state
2020-11-20 09:48:14 -08:00
sidschingis
950407553f
Add Attack Angle (#174)
* Add Attack Angle

Added toggle for chosing angled attacks

* Add Help Text

* Actually Apply Help Text
2020-11-09 17:57:35 -08:00
jugeeya
2e5097bcd0 nit refactor: use OnOff when possible 2020-11-08 19:35:42 -08:00
sidschingis
30e38b1256
Add Constant Shield Toggle (#173)
* 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
2020-11-06 13:30:48 -08:00
jugeeya
42f77abed6
Fix Cargo.toml version 2020-10-24 10:53:20 -07:00