From c3ebb51d4be45337fc45a7cd906924214c0268b6 Mon Sep 17 00:00:00 2001 From: nutbuster Date: Sun, 11 Jul 2021 13:09:58 +1000 Subject: [PATCH] Remove unused functions --- game/src/cg_gallery.rpy | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/game/src/cg_gallery.rpy b/game/src/cg_gallery.rpy index ce9259e..5339347 100644 --- a/game/src/cg_gallery.rpy +++ b/game/src/cg_gallery.rpy @@ -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 - 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()