mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-01-22 17:26:20 +01:00
Remove unused functions
This commit is contained in:
parent
d6686c318a
commit
c3ebb51d4b
1 changed files with 0 additions and 11 deletions
|
@ -23,9 +23,6 @@ init python:
|
|||
# { item: string; cg: Displayable; ext: string }[]
|
||||
galleryItems = []
|
||||
|
||||
# Which page of the gallery is shown
|
||||
galleryPage = 1
|
||||
|
||||
# Global function to unlock a cg
|
||||
# fname should be a key used in galleryItems
|
||||
# (fname: string) -> None
|
||||
|
@ -126,14 +123,6 @@ init python:
|
|||
|
||||
return { "x": x, "y": y }
|
||||
|
||||
|
||||
# Returns the pageth slice from galleryItems
|
||||
# (page: int): Partial<typeof galleryItems>
|
||||
def getGalleryPage(page):
|
||||
start = (page - 1) * GALLERY_CGS_PER_PAGE
|
||||
end = start + GALLERY_CGS_PER_PAGE
|
||||
return galleryItems[start:end]
|
||||
|
||||
# Call to loading the gallery
|
||||
loadGallery()
|
||||
|
||||
|
|
Loading…
Reference in a new issue