mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
WIP: Add Glossary and some cleanup.
This commit is contained in:
@@ -42,6 +42,7 @@ extern "C" {
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#include "animation.hpp"
|
||||
#include "config.hpp"
|
||||
#include "gfx.hpp"
|
||||
#include "gui.hpp"
|
||||
@@ -70,4 +71,5 @@ extern char * arg0;
|
||||
#define SCRIPT_VERSION 3
|
||||
#define STORE_PATH "sdmc:/3ds/Universal-Updater/stores/" // Default Store path.
|
||||
#define ENTRIES_PER_SCREEN 3
|
||||
#define ENTRIES_PER_LIST 7
|
||||
#define ENTRIES_PER_LIST 7
|
||||
#define metaFile "sdmc:/3ds/Universal-Updater/ScriptInfo.json"
|
||||
@@ -29,6 +29,24 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
// Information like Title and Author.
|
||||
struct ScriptInfo {
|
||||
std::string title;
|
||||
std::string author;
|
||||
std::string shortDesc;
|
||||
};
|
||||
|
||||
// Store Information.
|
||||
struct StoreInfo {
|
||||
std::string title;
|
||||
std::string author;
|
||||
std::string description;
|
||||
std::string url;
|
||||
std::string file;
|
||||
std::string storeSheet;
|
||||
std::string sheetURL;
|
||||
};
|
||||
|
||||
namespace ScriptHelper {
|
||||
// Get stuff from a JSON.
|
||||
std::string getString(nlohmann::json json, const std::string &key, const std::string &key2);
|
||||
|
||||
Reference in New Issue
Block a user