Commit Graph

537 Commits

Author SHA1 Message Date
Username404 952e4f0c6e
Enable extended compiler checks 2021-06-26 11:09:43 +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 c43b584096
Update the kotlin compiler and serialization plugins to the latest releases 2021-06-24 19:01:37 +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-59 0edbaa69d0
Update Jabel + fabric-loader, and loom on Java 16+ 2021-06-23 13:07:35 +02:00
Username404-59 570118498b
Set the loom version to 0.7.2 or 0.8.0.+ depending on the JDK version 2021-06-21 17:54:25 +02:00
Username404 b759063cac
Increase the version number 2021-06-19 21:53:34 +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
Username404 fd4a380acb
Rename the Element.withinBounds method to isWithinBounds and simplify it 2021-06-19 18:28:24 +02:00
Username404 9a2a78a3a3
Reformat Configuration.kt 2021-06-19 14:53:34 +02:00
Username404 4ce4e79287
Update Formatting.yml 2021-06-19 14:33:57 +02:00
Username404 4b8b945f28
Don't run the diktatcheck task in every build, and edit Formatting.yml even more 2021-06-19 14:24:36 +02:00
Username404 1bd054c7c5
Disable a few rules + edit the configurations in Formatting.yml, and add a parameter name to a lambda argument in ConfigScreen.kt 2021-06-19 12:59:14 +02:00
Username404 cdedb65ab9
Set valueArgument to false in Formatting.yml 2021-06-19 12:32:50 +02:00
Username404 b34cb151ab
Use diktat directly instead of the spotless gradle plugin and improve a few files 2021-06-19 12:28:30 +02:00
Username404 59370fab4c
Add zeros to minutes and hours too in Clock.kt 2021-06-18 22:52:45 +02:00
Username404 104f1631e5
Require a version of architectury-loom between 0.7.2.110 and 0.9.0 2021-06-18 19:56:16 +02:00
Username404 ab5c880622
Update architectury-loom 2021-06-18 19:49:46 +02:00
Username404 28b78d2d73
Update Jabel to the 0.4.0 version 2021-06-18 19:35:09 +02:00
Username404-59 843f12702f
Update gradle and the kotlin compiler + serialization plugins 2021-06-18 19:31:04 +02:00
Username404 7fa9c07b54
Add the spotless gradle plugin to use the diktat formatter 2021-06-09 22:06:37 +02:00
Username404 c2de7cdf65
Update gradle to the 6.1-rc-2 version 2021-06-09 07:24:02 +02:00
Username404 b03fd16898
Rename ButtonAnnotations.kt to ButtonInfo.kt and move the Ignored annotation to ButtonInfo 2021-06-09 07:24:02 +02:00
Username404 b4d64b0d96
Make the poseStack argument in ConfigScreen.kt not null 2021-06-08 19:54:17 +02:00
Username404-59 7355635daa
Remove a few useless parentheses in ButtonImpl.kt 2021-06-08 13:21:23 +02:00
Username404 3b6cd7a385
Shorten the EventSnowy.Companion.useKey() method 2021-06-07 22:00:28 +02:00
Username404 bd9b4eab67
Improve the Category enum class, use kotlinx-coroutines-jdk8 & add a compiler flag, and make ClickBox.name not null by introducing Snowy.MissingComponent 2021-06-07 21:42:00 +02:00
Username404-59 1b4037be02
Improve the ClickGui.boxContext() method 2021-06-07 00:18:22 +02:00
Username404 c992b24b16
Use undispatched coroutines and remove the IO dispatcher usage to fix the previous commit 2021-06-05 23:09:10 +02:00
Username404 546a4d118e
Use the IO coroutines dispatcher in Configuration.kt 2021-06-05 22:54:13 +02:00
Username404 7eb4cdf69a
Add a kotlin_coroutines_version property to the gradle.properties file and update the kotlinx-coroutines-core dependency 2021-06-05 21:47:30 +02:00
Username404 10c73a983a
Update the version number to 0.1.4 2021-06-05 19:14:05 +02:00
Username404 7023d1a8f6
Improve the ModifiableValues property of Configuration.kt and make Configuration.obtained a non-lazy property again 2021-06-05 18:51:03 +02:00
Username404 ece6c40ab5
Fix a condition in the root-level gradle buildscript 2021-06-05 16:57:28 +02:00
Username404 e618407a94
Assume that the modmenu screen is not null in ModMenuConf.kt 2021-06-05 16:37:08 +02:00
Username404 3c37ffcb81
Use a receiver for the list in AddKeyMaps.kt 2021-06-05 16:25:38 +02:00
Username404 439a6e6574
Don't shadow and relocate the jetbrains annotations 2021-06-05 16:06:44 +02:00
Username404 8c476be0b8
Rename ClickGui.clickboxes to clickBoxes 2021-06-05 15:55:15 +02:00
Username404 5a17cc3b60
Don't save default colors to the configuration file 2021-06-05 14:01:52 +02:00