diff --git a/game/images/cgs/d04.jpg b/game/images/cgs/d04.jpg deleted file mode 100644 index adb0363b..00000000 Binary files a/game/images/cgs/d04.jpg and /dev/null differ diff --git a/game/images/cgs/d04a.jpg b/game/images/cgs/d04a.jpg deleted file mode 100644 index 7a90ef43..00000000 Binary files a/game/images/cgs/d04a.jpg and /dev/null differ diff --git a/game/images/cgs/fangfuneral2.jpg b/game/images/cgs/fangfuneral2.jpg deleted file mode 100644 index 3da4f871..00000000 Binary files a/game/images/cgs/fangfuneral2.jpg and /dev/null differ diff --git a/game/screens.rpy b/game/screens.rpy index 5ab576fb..c2ec8612 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -16,6 +16,9 @@ init python: else: persistent.updateresult = pendingVersion + def ToggleAutoUpdate(): + persistent.autoup = not persistent.autoup + ################################################################################ ## Initialization ################################################################################ @@ -665,34 +668,40 @@ screen updates(): xoffset 80 xmaximum 1100 label "[config.name!t]" - text _("Version [config.version!t]\n") + text _("Version [config.version!t]") if updater.can_update(): - label _("{color=#00FF00}Update directory exists, updating is possible!{/color}") + label _("{color=#00FF00}{size=32}Update directory exists, updating is possible!\n{/size}{/color}") else: - label _("{color=#FF0000}Update directory does not exist or is corrupt!{/color}") - textbutton _("Enable Automatic Updates") action [Notify("Toggling Automatic Updates..."), ToggleVariable("persistent.autoup", True, False)] - text _("Automatic Updates: [persistent.autoup!t]\n") - textbutton _("Check for Update!") action [Notify("Checking for update..."), Function(UpdateCheck)] - label _("Update Check Result:\n") - text _("[persistent.updateresult!t]\n") - if persistent.updateresult != "No new version is available": - textbutton _("Update Now!") action updater.Update(persistent.updateWebServer, force=False) - else: - textbutton _("Update Now!") action Notify("Nothing to update to!") - label _("Update Server:\n") + label _("{color=#FF0000}{size=32}Update directory does not exist or is corrupt!\n{/size}{/color}") + + label _("Auto Update:") + label _("{color=#FFFFFF}{size=32}Automatic Updates: [persistent.autoup!t]{/size}{/color}") + textbutton _("{size=36}Toggle Automatic Updates\n{/size}") action [Notify("Toggling Automatic Updates..."), Function(ToggleAutoUpdate)] + + label _("Update Checker:") + label _("{color=#FFFFFF}{size=32}[persistent.updateresult!t]{/size}{/color}") + textbutton _("{size=36}Check for Update\n{/size}") action [Notify("Checking for update..."), Function(UpdateCheck)] + + label _("Updater:") + label _("{color=#FFFFFF}{size=32}Server URL (click to edit):{/size}{/color}") default input_on = False button: key_events True if input_on: input: - default "[persistent.updateWebServer!t]" size 24 color '#FFFFFF' + default "[persistent.updateWebServer!t]" size 36 color '#FFFFFF' value FieldInputValue(persistent, 'updateWebServer') length 49 copypaste True else: - text persistent.updateWebServer size 24 color '#FFFF00' + text persistent.updateWebServer size 36 color '#FFFF00' action ToggleScreenVariable('input_on') style_prefix "quick" + if persistent.updateresult != "No new version is available": + textbutton _("{size=36}Update Now!\n{/size}") action updater.Update(persistent.updateWebServer, force=False) + else: + textbutton _("{size=36}Update Now!\n{/size}") action Notify("Nothing to update to!") + use extrasnavigation ## Load and Save screens #######################################################