mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +01:00
change comments in cg_gallery to a proper comment
This commit is contained in:
parent
ffccaff704
commit
fa2bf7e4a9
1 changed files with 12 additions and 16 deletions
|
@ -13,12 +13,10 @@ init 2 python:
|
|||
CG_PATHS = []
|
||||
#path: folder, name: shows up in gallery, eval: runs eval() on string
|
||||
|
||||
"""
|
||||
Data structure that holds the data for each cg and button
|
||||
item is name, cg is the image definition
|
||||
{ item: str; cg: Displayable; }
|
||||
(reference in this init python, actually used in screens)
|
||||
"""
|
||||
# Data structure that holds the data for each cg and button
|
||||
# item is name, cg is the image definition
|
||||
# { item: str; cg: Displayable; }
|
||||
# (reference in this init python, actually used in screens)
|
||||
|
||||
gallery_dic = {}
|
||||
|
||||
|
@ -89,10 +87,10 @@ init 2 python:
|
|||
# Bullshit for the scrollbar to reset back to the beggining. Bless the renpy Discord :pray:
|
||||
default adjust = ui.adjustment()
|
||||
|
||||
"""
|
||||
CG Gallery screen - A screen that shows the image gallery
|
||||
Built-in Gallery Object has terrible defaults, so I just wrote my own stuff
|
||||
"""
|
||||
|
||||
# CG Gallery screen - A screen that shows the image gallery
|
||||
# Built-in Gallery Object has terrible defaults, so I just wrote my own stuff
|
||||
|
||||
screen cg_gallery(origin = 'CG'):
|
||||
|
||||
if main_menu:
|
||||
|
@ -162,9 +160,8 @@ screen cg_gallery(origin = 'CG'):
|
|||
for i in range(0, empty_spaces):
|
||||
null height 20
|
||||
|
||||
"""
|
||||
if/else flow control & extra parameters for Buttons
|
||||
"""
|
||||
|
||||
# if/else flow control & extra parameters for Buttons
|
||||
screen flag_button(item, origin):
|
||||
|
||||
$ flag = renpy.seen_image(item['item'])
|
||||
|
@ -200,9 +197,8 @@ screen view_movie(item, _origin):
|
|||
[ "Return", _origin ]
|
||||
] )
|
||||
|
||||
"""
|
||||
view_image, Loads the image in fullscreen with viewport control.
|
||||
"""
|
||||
|
||||
# view_image, Loads the image in fullscreen with viewport control.
|
||||
screen view_image(item, _origin):
|
||||
tag menu
|
||||
key "game_menu" action (Hide('view_image'), _origin)
|
||||
|
|
Loading…
Reference in a new issue