aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat/extract.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-11-19 17:42:51 +0000
committerJohannes Schickel2009-11-19 17:42:51 +0000
commit113c720ee1b6bcde6fe1740ed9a059aad7a6967c (patch)
tree37b2156ff229b070daa509ce5c58eb85ca8be615 /tools/create_kyradat/extract.h
parentf9a1a5751ea246b23543cfd3e92dd5039c8bd158 (diff)
downloadscummvm-rg350-113c720ee1b6bcde6fe1740ed9a059aad7a6967c.tar.gz
scummvm-rg350-113c720ee1b6bcde6fe1740ed9a059aad7a6967c.tar.bz2
scummvm-rg350-113c720ee1b6bcde6fe1740ed9a059aad7a6967c.zip
Cleanup.
svn-id: r45987
Diffstat (limited to 'tools/create_kyradat/extract.h')
-rw-r--r--tools/create_kyradat/extract.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/create_kyradat/extract.h b/tools/create_kyradat/extract.h
index 8e017067fc..650c10fc1c 100644
--- a/tools/create_kyradat/extract.h
+++ b/tools/create_kyradat/extract.h
@@ -52,10 +52,17 @@ enum kExtractType {
kLolTypeButtonDef
};
+struct ExtractInformation {
+ int game;
+ int platform;
+ int lang;
+ int special;
+};
+
struct ExtractType {
int type;
- bool (*extract)(PAKFile &out, const Game *g, const byte *data, const uint32 size, const char *filename, int id, int lang);
- void (*createFilename)(char *dstFilename, const int gid, const int lang, const int platform, const int special, const char *filename);
+ bool (*extract)(PAKFile &out, const ExtractInformation *info, const byte *data, const uint32 size, const char *filename, int id, int lang);
+ void (*createFilename)(char *dstFilename, const ExtractInformation *info, const char *filename);
};
const ExtractType *findExtractType(const int type);