22 #ifndef SAGA_DETECTION_H 23 #define SAGA_DETECTION_H 25 #include "engines/advancedDetector.h" 35 GF_ITE_FLOPPY = 1 << 0,
36 GF_ITE_DOS_DEMO = 1 << 1,
37 GF_EXTRA_ITE_CREDITS = 1 << 2,
38 GF_8BIT_UNSIGNED_PCM = 1 << 3,
39 GF_IHNM_COLOR_FIX = 1 << 4,
40 GF_SOME_MAC_RESOURCES= 1 << 5,
41 GF_AGA_GRAPHICS = 1 << 6,
42 GF_ECS_GRAPHICS = 1 << 7,
43 GF_INSTALLER = 1 << 8,
44 GF_EMBED_FONT = 1 << 9,
45 GF_POWERPACK_GFX = 1 << 10,
50 GAME_RESOURCEFILE = 1 << 0,
51 GAME_SCRIPTFILE = 1 << 1,
52 GAME_SOUNDFILE = 1 << 2,
53 GAME_VOICEFILE = 1 << 3,
55 GAME_DIGITALMUSICFILE = 1 << 4,
56 GAME_MACBINARY = 1 << 5,
57 GAME_DEMOFILE = 1 << 6,
58 GAME_SWAPENDIAN = 1 << 7,
60 GAME_MUSICFILE_FM = 1 << 8,
61 GAME_MUSICFILE_GM = 1 << 9,
62 GAME_PATCHFILE = 1 << 10
66 enum GameResourceList : uint8 {
67 RESOURCELIST_NONE = 0,
69 RESOURCELIST_ITE_ENGLISH_ECS,
70 RESOURCELIST_ITE_GERMAN_AGA,
71 RESOURCELIST_ITE_GERMAN_ECS,
72 RESOURCELIST_ITE_DEMO,
74 RESOURCELIST_IHNM_DEMO,
79 enum GameFontList : uint8 {
83 FONTLIST_ITE_WIN_DEMO,
91 enum GamePatchList : uint8 {
99 enum GameIntroList : uint8 {
101 INTROLIST_ITE_DEFAULT,
102 INTROLIST_ITE_AMIGA_ENGLISH_ECS,
103 INTROLIST_ITE_AMIGA_GERMAN_AGA,
104 INTROLIST_ITE_AMIGA_GERMAN_ECS,
105 INTROLIST_ITE_DOS_DEMO,
114 int startSceneNumber;
115 GameResourceList resourceList;
116 GameFontList fontList;
117 GamePatchList patchList;
118 GameIntroList introList;
122 uint32 sizeBuffer()
const {
124 for(
int i = 0; i <
ARRAYSIZE(filesInArchive); i++) {
125 ret += filesInArchive[i].sizeBuffer();
130 void *toBuffer(
void *buffer) {
132 for(
int i = 0; i <
ARRAYSIZE(filesInArchive); i++) {
133 buffer = filesInArchive[i].toBuffer(buffer);
139 #define GAMEOPTION_COPY_PROTECTION GUIO_GAMEOPTIONS1 143 #endif // SAGA_DETECTION_H #define ARRAYSIZE(x)
Definition: util.h:91
uint32 sizeBuffer() const
Definition: advancedDetector.h:220
Definition: advancedDetector.h:163
Definition: detection.h:109
void * toBuffer(void *buffer)
Definition: advancedDetector.h:238
Definition: advancedDetector.h:78