Commit Graph

259 Commits

Author SHA1 Message Date
Username404 b8663dd342
Don't set the type manually in DiscordRPC.kt
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-26 11:48:18 +01:00
Username404 904c0ac831
Only save buttons which can be toggled
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-26 11:37:07 +01:00
Username404 c14ef7bef1
Remove "Risky Cheats"
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-03-25 18:22:13 +01:00
Username404 dc28e6d50e
Force the common refmap in snowygui-common.mixins.json
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-02-18 12:56:25 +01:00
Username404 08094e87de
Make categoryMap final in KeyMappings.java
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-16 21:57:56 +01:00
Username404 76b17d0c97
Add a Snowy.annotatedButtons abstract value, and make Snowy.Companion.annotatedButtons an anonymous function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-01-16 13:12:27 +01:00
Username404 0e4772873a
Make exceptions anonymous where they're not used 2021-12-26 22:59:46 +01:00
Username404 4231398197
Add a null assertion to the Macro data class 2021-11-16 20:51:24 +01:00
Username404 74df5b8639
Move a big part of the getValue method body to a new function called convertValue, to avoid code duplication 2021-10-27 18:18:07 +02:00
Username404 f7bc34dbd4
Make Snowy.MissingComponent an object instead of a value containing an object 2021-10-27 10:24:06 +02:00
Username404 5cc5303b32
Replace the useKey method with a get operator function in EventSnowy.kt 2021-10-27 10:23:16 +02:00
Username404 3c7d145ca8
Make a few overridden methods of ButtonImpl.kt final and rename the mixins .json files 2021-07-28 20:15:00 +02:00
Username404 596eb27fff
Update the kotlin compiler and add an OptIn annotation to Configuration.kt 2021-07-26 11:39:19 +02:00
Username404 7de5800d11
Add a missing translation and set the version to 0.3.2 2021-07-19 15:32:09 +02:00
Username404 6775a85bf3
Use a better error message for unsatisfied links in DiscordRPC.kt 2021-07-18 19:10:30 +02:00
Username404 1ccfba5c9e
Suppress a few warnings in Keystrokes.kt 2021-07-18 17:23:18 +02:00
Username404 27bbaef032
Fix the keystrokes positions completely, and add a setting to the cloth config screen to move them 2021-07-18 17:14:49 +02:00
Username404 be7deb3916
Fix the Y position of keystrokes 2021-07-18 11:59:19 +02:00
Username404 2851d53b06
Add a @SafeVarargs annotation to the fire() method of EventSnowy.kt 2021-07-18 11:30:54 +02:00
Username404 dd2234be71
Replace duplicated code using the RenderingUtil.kt methods 2021-07-17 23:37:10 +02:00
Username404 e5f0cd0ab2
Add RenderUtil.kt, fix a logic issue in the setter of ButtonImpl.toggled, add keystrokes and set the version number to 0.3.0 2021-07-17 22:58:21 +02:00
Username404 4bc41e3b38
Add Ok Zoomer compatibility 2021-07-16 14:37:40 +02:00
Username404 4c2487b839
Make the info final variable a jvm field in ButtonImpl.kt 2021-07-16 12:24:27 +02:00
Username404 3290db57a9
Replace the reflections8 library (and therefore javassist) using FabricLoader 2021-07-15 16:50:53 +02:00
Username404-59 30b3985658
Send chat messages directly when the player does not have the required permissions for /say 2021-07-13 14:43:22 +02:00
Username404-59 03ecdd9e2c
Fix the buttons being clickable when hidden in ClickGui.kt 2021-06-30 17:15:55 +02:00
Username404-59 530ecb36cb
Remove useless duplicated code in ForgeInit.kt 2021-06-30 16:27:49 +02:00
Username404 2b49238ee7
Remove a useless .let call in ButtonImpl.kt 2021-06-29 17:03:45 +02:00
Username404-59 019d0798d7
Make info public in ButtonImpl.kt and call execAction in ConfigScreen.kt to update the smoothCamera option of Minecraft 2021-06-28 16:56:26 +02:00
Username404-59 7612921bc2
Remove the useless "snowy.missing.key" translation entry 2021-06-28 16:44:40 +02:00
Username404 99a48a6562
Specify the refmap manually in the common mixins json file 2021-06-28 11:32:45 +02:00
Username404 d70dae6da1
Add a shouldSave property to the ButtonInfo annotation class 2021-06-27 23:11:03 +02:00
Username404 35775b98f2
Add a Zoom button 2021-06-27 19:17:52 +02:00
Username404 05dcbee261
Use isDragging instead of a private variable in ClickGui.kt 2021-06-27 13:24:13 +02:00
Username404 a5b1c45a86
Access the MACROS box directly in Configuration.kt 2021-06-26 17:33:24 +02:00
Username404 d315737321
Make Element.isWithinBounds() public, make SnowyScreen.components a MutableCollection & use GLFW.GLFW_MOUSE_BUTTON_LEFT in ClickGui.kt 2021-06-26 17:08:24 +02:00
Username404 98c8da32b5
Make components abstract in SnowyScreen.kt 2021-06-25 22:55:56 +02:00
Username404 250e72cab0
Make the setter of hidden public in Element.kt 2021-06-25 16:50:30 +02:00
Username404 1ac22a7e97
Add a addBox() method to the Category enum class and complete the constructor that uses a ClickBox 2021-06-25 16:38:01 +02:00
Username404 dbc7f6b8bf
Store the Category enum class in the companion object of ButtonInfo 2021-06-24 22:29:16 +02:00
Username404 2d679bf0e3
Remove an extra * character in ButtonInfo.kt 2021-06-24 22:25:41 +02:00
Username404 4143ef0e14
Replace the @ButtonInfo.Ignored annotation with a property of ButtonInfo 2021-06-24 22:23:23 +02:00
Username404 dd2c01b461
Don't make a local variable when adding a Macro in ConfigScreen.kt 2021-06-24 22:19:15 +02:00
Username404-59 2a87787b21
Add a asTextColor() method to the Colors.kt enum class 2021-06-24 14:14:27 +02:00
Username404-59 34de53beee
Shorten SnowyConfigScreen in ConfigScreen.kt 2021-06-24 13:59:26 +02:00
Username404 cd4d25951c
Create a LinkedHashSet directly in ClickBox.kt and make a TreeSet instance instead of using sortedSetOf() 2021-06-23 20:25:39 +02:00
Username404 1d22337e5d
Make all mixins abstract 2021-06-23 18:57:16 +02:00
Username404 674d630db0
Fix the ClickBoxes not being positioned correctly when one of them is hidden 2021-06-19 21:46:59 +02:00
Username404 1aa4c374d1
Use java.time instead of kotlinx-datetime 2021-06-19 20:29:36 +02:00
Username404 8e0848a497
Use the xor operator in ButtonImpl.kt, and use "&&" instead of the "and" method in ClickGui.kt 2021-06-19 18:43:11 +02:00