forked from Cavemanon/SnootGame
Remove updates func and menu from mobile
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
###Updater Python stuff###
|
###Updater Python stuff###
|
||||||
init python:
|
init python:
|
||||||
|
if renpy.variant("pc"): #Don't run this on mobile, not supported
|
||||||
if persistent.updateresult is None:
|
if persistent.updateresult is None:
|
||||||
persistent.updateresult = "No new version is available"
|
persistent.updateresult = "No new version is available"
|
||||||
if persistent.autoup is None:
|
if persistent.autoup is None:
|
||||||
@ -1641,6 +1642,28 @@ screen quick_menu():
|
|||||||
[ "Menu", ShowMenu() ] \
|
[ "Menu", ShowMenu() ] \
|
||||||
] )
|
] )
|
||||||
|
|
||||||
|
screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py)
|
||||||
|
variant "small"
|
||||||
|
vbox:
|
||||||
|
xpos 1940
|
||||||
|
yalign 0.03
|
||||||
|
|
||||||
|
if persistent.splashtype == 1:
|
||||||
|
add "gui/sneedgame.png"
|
||||||
|
else:
|
||||||
|
add "gui/snootgame.png"
|
||||||
|
vbox:
|
||||||
|
spacing 25
|
||||||
|
xpos 1885
|
||||||
|
yalign 0.9
|
||||||
|
use main_menu_buttons("gui/button/menubuttons/template_idle.png",
|
||||||
|
[
|
||||||
|
[ "Help", ShowMenu("help") ],
|
||||||
|
[ "About", ShowMenu("about") ],
|
||||||
|
[ "Gallery", ShowMenu("cg_gallery_0") ],
|
||||||
|
[ "Return", ShowMenu("main_menu") ]
|
||||||
|
] )
|
||||||
|
|
||||||
style radio_button:
|
style radio_button:
|
||||||
variant "small"
|
variant "small"
|
||||||
foreground "gui/phone/button/radio_[prefix_]foreground.png"
|
foreground "gui/phone/button/radio_[prefix_]foreground.png"
|
||||||
|
Reference in New Issue
Block a user