From bf5ce985a0807e0756702e092ee43255a725c692 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 21 Nov 2009 20:20:24 +0000 Subject: - Got rid of hardcoded filename list for kyra.dat - Synced static resource definitions between KYRA main codebase and create_kyradat - Rebuilt kyra.dat svn-id: r46047 --- tools/create_kyradat/extract.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'tools/create_kyradat/extract.h') diff --git a/tools/create_kyradat/extract.h b/tools/create_kyradat/extract.h index e6ff444c13..190edce5ac 100644 --- a/tools/create_kyradat/extract.h +++ b/tools/create_kyradat/extract.h @@ -28,8 +28,7 @@ #include "util.h" enum kExtractType { - kTypeLanguageList = 0, - kTypeStringList, + kTypeStringList = 0, kTypeRoomList, kTypeShapeList, kTypeRawData, @@ -49,7 +48,11 @@ enum kExtractType { kLolTypeRaw16, kLolTypeRaw32, - kLolTypeButtonDef + kLolTypeButtonDef, + kLolTypeCharData, + kLolTypeSpellData, + kLolTypeCompassData, + kLolTypeFlightShpData }; struct ExtractInformation { @@ -62,11 +65,10 @@ struct ExtractInformation { struct ExtractType { int type; bool (*extract)(PAKFile &out, const ExtractInformation *info, const byte *data, const uint32 size, const char *filename, int id); - void (*createFilename)(char *dstFilename, const ExtractInformation *info, const char *filename); }; const ExtractType *findExtractType(const int type); -bool isLangSpecific(const int type); +byte getTypeID(int type); #endif -- cgit v1.2.3