Commit Graph

22 Commits

Author SHA1 Message Date
592bb31eee
Re-add the buttons configuration saving feature 2021-05-15 18:58:39 +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
94384561c3
Fix Configuration.kt and the GammaBoost feature 2021-05-06 21:13:07 +02:00
3c647aa44b
Disable cheats by default 2021-05-05 19:11:34 +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
7cc0f17fc4
Use the default configuration as a fallback in Configuration.kt 2021-04-29 20:46:52 +02:00
c2b87fddbc
Add kotlinx-coroutines + kotlinx-datetime, and save Configuration.obtained when it is constructed 2021-04-28 11:33:41 +02:00
73624dbf2d
Use the extract method from config4k in Configuration.kt 2021-04-23 16:29:00 +02:00
5f96c53845
Assign the result variable to a parsed file in the try-catch statement of Configuration.kt 2021-04-23 15:51:35 +02:00
1c3981a81a
Fix the result variable not being initialized, again. 2021-04-23 15:42:31 +02:00
13898d9de0
Write to the config file only at exit 2021-04-23 15:38:55 +02:00
994a377a26
Save the Snowy configuration at exit 2021-04-23 15:29:48 +02:00
0c107be94b
Fix the result value of Configuration.obtained not being initialized 2021-04-23 11:57:36 +02:00
4b80235049
Make the result variable non-null in Configuration.kt 2021-04-22 16:48:54 +02:00
de833629ec
Add a parameter to the colorEnd method in Element.kt and make Configuration.obtained a jvm field 2021-04-22 12:42:42 +02:00
dac1294ee3
Add a configuration made using the config4k library 2021-04-16 22:44:03 +02:00