Remove unused functions

This commit is contained in:
Nutbuster 2021-07-11 13:09:58 +10:00
parent d6686c318a
commit c3ebb51d4b
1 changed files with 0 additions and 11 deletions

View File

@ -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()