mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Probably last actual UniStore v2 work?
This commit is contained in:
@@ -45,14 +45,14 @@ private:
|
||||
std::unique_ptr<Store> sortedStore;
|
||||
|
||||
bool darkMode = true, sheetLoaded = false, canDisplay = false, hasLoaded = false, isDropDown = false;
|
||||
int selectedObject = 0, selectedBox = 0, lastViewMode = 0, dropSelection = 0, searchSelection = 0, iconAmount = 0, categorySelection = 0, selectedBoxList = 0, selection = -1, storePage = 0, downloadPage = 0, storePageList = 0, mode = 0, subSelection = 0, categoryPage = 0;
|
||||
int selectMenu = 0, selectedObject = 0, selectedBox = 0, lastViewMode = 0, dropSelection = 0, searchSelection = 0, iconAmount = 0, categorySelection = 0, selectedBoxList = 0, selection = -1, storePage = 0, downloadPage = 0, storePageList = 0, mode = 0, subSelection = 0, categoryPage = 0;
|
||||
nlohmann::json storeJson;
|
||||
C2D_SpriteSheet sheet;
|
||||
std::vector<std::string> objects;
|
||||
|
||||
void DrawSortingMenu(void) const;
|
||||
void DrawSearchMenu(void) const;
|
||||
void DrawCategoryMenu(void) const;
|
||||
void DrawSelectMenu(int option) const;
|
||||
|
||||
// Base stuff.
|
||||
void DrawBaseTop(void) const;
|
||||
|
||||
@@ -81,10 +81,11 @@ public:
|
||||
}
|
||||
|
||||
const std::vector<std::string> getCategories() { return this->availableCategories; }
|
||||
|
||||
const std::vector<std::string> getAuthors() { return this->availableAuthors; }
|
||||
const std::vector<std::string> getSystems() { return this->availableSystems; }
|
||||
private:
|
||||
std::vector<UniStoreV2Struct> sortedStore, unsortedStore;
|
||||
std::vector<std::string> availableCategories;
|
||||
std::vector<std::string> availableCategories, availableAuthors, availableSystems;
|
||||
std::string updateFile;
|
||||
bool ascending = false;
|
||||
nlohmann::json storeJson, updateJSON;
|
||||
|
||||
Reference in New Issue
Block a user