Commit Graph

134 Commits

Author SHA1 Message Date
f43f5569b2
Directly define the color in ButtonImpl.kt 2021-05-15 00:39:55 +02:00
c11e0a8187
Use the category colors in buttons 2021-05-15 00:21:48 +02:00
9530100ca3
Edit the second argument of the Category enum class 2021-05-15 00:11:35 +02:00
9a133f31fe
Add a color argument to the Category enum 2021-05-15 00:08:34 +02:00
a023f93b87
Remove a reference to ButtonInfo 2021-05-14 23:42:46 +02:00
3ccee1aa6f
Start a major refactor, split the ClickButton.kt class into the ButtonInfo annotation and the ButtonImpl.kt class 2021-05-14 23:20:41 +02:00
4305204898
Move risky cheats back to one box only 2021-05-14 14:23:44 +02:00
d342c020b8
Use the var keyword in KeyMappings.java 2021-05-14 12:31:01 +02:00
a65f536304
Improve a few conditions in ClickBox.kt 2021-05-12 23:43:47 +02:00
6b64bb3095
Set javaVer to 11 since forge doesn't support java 14 mixins 2021-05-12 17:48:13 +02:00
44f5b41c29
Target Java 14 2021-05-12 17:24:00 +02:00
a417ebe86f
Add a comment to ClickButton.kt, and another one to ClickBox.kt 2021-05-11 17:11:07 +02:00
d8231aadfb
Shorten the execAction method 2021-05-11 17:07:31 +02:00
98e3729ea7
Fix the previous commit 2021-05-08 20:10:40 +02:00
e074f54785
Check that the gamma value isn't equal to or greater than 1400.0 2021-05-08 20:00:14 +02:00
bde7884f53
Set Storage.oldGamma to 0.0 2021-05-08 19:59:10 +02:00
3171b471b0
Fix a condition in the GammaBoost button's action 2021-05-08 19:47:50 +02:00
731e992689
Don't add a 0 to the clock when seconds are equal to 10 or higher 2021-05-07 12:13:53 +02:00
82af939f7e
Fix the NoHurtCamera feature 2021-05-07 10:17:48 +02:00
d1a9147c42
Assign clock to a button state in addComponents.kt 2021-05-07 10:13:56 +02:00
94384561c3
Fix Configuration.kt and the GammaBoost feature 2021-05-06 21:13:07 +02:00
f8fbf1eb09
Add receivers to ClickGui.kt too 2021-05-06 21:11:41 +02:00
f4a16a10d2
Add receivers to buttons actions 2021-05-06 21:07:35 +02:00
290f521c82
Revert "Edit a condition of the scroll function in ClickBox.kt"
This reverts commit 0d2e67133c57bcf5c7cc4d9dfdd4e9208bb109f6.
2021-05-06 18:35:44 +02:00
b2d957f2c9
Edit a condition of the scroll function in ClickBox.kt 2021-05-06 12:58:11 +02:00
6539e25854
Add a clock 2021-05-05 21:52:51 +02:00
3c647aa44b
Disable cheats by default 2021-05-05 19:11:34 +02:00
282cd06160
Improve ConfigScreen.kt 2021-05-05 11:41:10 +02:00
3d65eb2c90
Add NoGravity 2021-05-05 11:18:54 +02:00
7a4989eec8
Move the clickboxHeightOffset const to a companion object 2021-05-04 21:15:55 +02:00
ca70cc7fb1
Remove the "Rendering" clickbox and replace it with a "Risky" one; add a nohurtcam feature 2021-05-04 21:08:59 +02:00
88f097be01
Add a comment about the buttons limit 2021-05-04 18:45:41 +02:00
06c4dea9be
Use the isNotEmpty method in ClickBox.kt 2021-05-04 18:39:55 +02:00
e7a3fb592e
Fix scrolling when using only a few buttons 2021-05-04 18:27:51 +02:00
2beaf74843
Complete the scroll function 2021-05-04 18:18:48 +02:00
8e444c9596
Set the base height of the progressbar to 8 2021-05-04 14:57:46 +02:00
7b1aa0f876
Initialize ClickGui.kt in the titlescreen by adding a mixin 2021-05-04 14:39:49 +02:00
548bf472ba
Save the enabledFeatures map 2021-05-03 20:50:23 +02:00
0427c2bce0
Remove the need for a map in the default config 2021-05-03 20:29:54 +02:00
ea2c5c458b
Remove a line in Configuration.kt :) 2021-05-03 13:24:38 +02:00
9719276292
Fix kotlinx packages 2021-05-03 12:28:12 +02:00
9f8484561e
Revert "Remove enabledFeatures from the default configuration; it is useless"
This reverts commit 92a3bae74a59cf59c6a9fabbaa42e925cded899a.
2021-05-03 10:51:39 +02:00
9da9c46c88
Remove enabledFeatures from the default configuration; it is useless
(cherry picked from commit c1cb690fe2404889b54373c4399d22b381abfc57)
2021-05-03 08:29:07 +02:00
6471756b95
Get toggled buttons from Configuration.kt (WIP) 2021-05-02 21:48:05 +02:00
c74b2d5195
Make ClickGui.addComps an internal function 2021-05-02 15:00:14 +02:00
a7e7e6e60e
Rename scrollBar to buttonsProgressBar 2021-05-02 14:52:48 +02:00
5d5ea4b5ea
Add a buttonsContext method to ClickGui.kt, and a WIP scroll function to ClickBox.kt 2021-05-02 12:46:02 +02:00
5c2d09abc1
Edit a TODO comment 2021-05-02 11:08:57 +02:00
1551d70e88
Add components in another file called addComponents.kt 2021-05-01 21:32:24 +02:00
9dc097d32f
Make ClickBox.buttons a map 2021-05-01 20:18:46 +02:00