Commit Graph

482 Commits

Author SHA1 Message Date
8293a7c086
Rename ButtonInfo.kt to ButtonAnnotations.kt and set Snowy.displayInitMessage to false by default. 2021-05-21 12:07:14 +02:00
54799044d6
Fix a typo in ButtonInfo.kt 2021-05-20 23:50:18 +02:00
4dfd850f33
Don't obfuscate fields in Macro.kt 2021-05-20 17:47:32 +02:00
3008165c22
Copy macros directly in Configuration.kt 2021-05-20 15:24:06 +02:00
c7729af67f
Add a @Ignore annotation, make Macro.command a jvm field and add a isValidForButtonCollection function to Snowy.kt 2021-05-20 14:24:39 +02:00
dae08e3957
Output shrinked .jar files to build directories, and use the compile classpath instead of the runtime one 2021-05-20 13:59:19 +02:00
22009a53f1
Use gson instead of kotlinx-serialization 2021-05-20 13:23:34 +02:00
a4802088ea
Fix proguard errors by remapping the shrinked .jar files 2021-05-20 13:23:33 +02:00
772e665904
Use .apply on the Configuration.enabledFeatures mutable map 2021-05-19 20:28:10 +02:00
1106b8bdae
Add a missing jmod to the build.gradle.kts 2021-05-19 19:41:13 +02:00
863bc99c10
Check if java.instrument.jmod is present in the build.gradle.kts file, and add jetbrains annotations 2021-05-19 15:56:10 +02:00
870c7af084
Check if java.base.jmod is present in the build.gradle.kts file 2021-05-19 14:41:33 +02:00
8a49f24249
Fix the behaviour of Type.CLICK 2021-05-19 12:46:11 +02:00
69625d3aef
Make ButtonImpl.title open and non-null 2021-05-19 11:46:00 +02:00
4166418a52
Add a snowy.clickbox.macros entry to fr_fr.json lang file 2021-05-19 00:04:13 +02:00
7475553370
Add a snowy.clickbox.macros entry to en_us.json lang file 2021-05-19 00:03:11 +02:00
de98500a3a
Begin adding a macro system 2021-05-18 22:14:35 +02:00
8f16eae53b
Search annotations in a specific package, add a MACROS category and a GREEN color 2021-05-18 18:25:12 +02:00
5713dc2c6b
Use -Dloom.refresh=true instead of --refresh-dependencies in the Jenkinsfile 2021-05-18 00:13:59 +02:00
1412eb9af9
Update README.md 2021-05-17 23:37:01 +02:00
Username404
a74b75c351
Update the architectury and architectury-loom plugins 2021-05-17 15:59:06 +02:00
Username404
daa9255086
Add the indraGit gradle plugin 2021-05-17 15:39:54 +02:00
Username404
218e3f4a82
Only keep "public static INSTANCE" fields 2021-05-17 15:05:10 +02:00
Username404
39c6d8ebb1
Use the getDeclaredField() method instead of objectInstance in ButtonImpl.kt 2021-05-17 14:56:52 +02:00
Username404
82de485b17
Don't obfuscate static fields in fr.username404.gui.feature to fix reflection on objects 2021-05-17 14:44:44 +02:00
Username404
84032f60eb
Make ButtonImpl.kt a sealed class 2021-05-17 13:36:29 +02:00
Username404
e6891a9d4f
Update README.md 2021-05-16 16:34:59 +02:00
f9fd9222ef
Fix the ButtonImpl.initialize() method producing null, use reflections8 only on fabric and shadow kotlinx.serialization on forge 2021-05-16 14:44:26 +02:00
c39670c764
Finally fix reflection on forge by using forge's scan data 2021-05-16 12:46:23 +02:00
8c6219627b
Add () to ButtonImpl 2021-05-15 22:50:42 +02:00
cb20a6e744
Use reflections8 instead of reflections 2021-05-15 22:48:51 +02:00
592bb31eee
Re-add the buttons configuration saving feature 2021-05-15 18:58:39 +02:00
3d08c24c17
Initialize every button in Snowy.kt 2021-05-15 17:15:24 +02:00
9122d5f007
Support Java 16 with Jabel 2021-05-15 13:44:21 +02:00
4805e81dbe
Add Jabel to compile for java 8 but using newer features, fix the ClickBox colors and update gradle 2021-05-15 12:50:42 +02:00
ce9f1c83dd
Fix FontUtil.kt 2021-05-15 02:21:06 +02:00
81f4923185
Remove a TODO comment and remove the usage of ApiStatus.Internal in ButtonImpl.kt 2021-05-15 01:57:21 +02:00
b524693b2a
Keep the names of classes located in the feature package 2021-05-15 01:48:12 +02:00
b6b001cad0
Add BLACK and GOLD colors to Colors.kt 2021-05-15 01:37:47 +02:00
a8c4bf4709
Remove the now useless ButtonInfo.color value 2021-05-15 00:49:37 +02:00
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
4295f997f8
Always refresh dependencies in jenkins builds 2021-05-14 13:36:04 +02:00
3c189d4be6
Use better jvm arguments in the gradle.properties file 2021-05-14 13:30:25 +02:00
d342c020b8
Use the var keyword in KeyMappings.java 2021-05-14 12:31:01 +02:00