add support for unencrypted gci quests
This commit is contained in:
@@ -34,7 +34,11 @@ const char* name_for_category(QuestCategory category);
|
||||
|
||||
|
||||
|
||||
struct Quest {
|
||||
class Quest {
|
||||
private:
|
||||
static std::string decode_gci(const std::string& filename);
|
||||
|
||||
public:
|
||||
int64_t quest_id;
|
||||
QuestCategory category;
|
||||
uint8_t episode; // 0 = ep1, 1 = ep2, 2 = ep4, 0xFF = ep3
|
||||
@@ -42,6 +46,7 @@ struct Quest {
|
||||
bool joinable;
|
||||
GameVersion version;
|
||||
std::string file_basename; // we append -<version>.<bin/dat> when reading
|
||||
bool gci_format;
|
||||
std::u16string name;
|
||||
std::u16string short_description;
|
||||
std::u16string long_description;
|
||||
|
||||
Reference in New Issue
Block a user