From 113c720ee1b6bcde6fe1740ed9a059aad7a6967c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 19 Nov 2009 17:42:51 +0000 Subject: Cleanup. svn-id: r45987 --- tools/create_kyradat/extract.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tools/create_kyradat/extract.h') 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); -- cgit v1.2.3