diff options
author | Johannes Schickel | 2009-11-21 20:20:24 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-11-21 20:20:24 +0000 |
commit | bf5ce985a0807e0756702e092ee43255a725c692 (patch) | |
tree | 501806d43e24c546f2f07a925b2b87f81399ca13 /tools/create_kyradat/extract.h | |
parent | e8c67bda4b1ac85ee4555247e30eb1b65e408055 (diff) | |
download | scummvm-rg350-bf5ce985a0807e0756702e092ee43255a725c692.tar.gz scummvm-rg350-bf5ce985a0807e0756702e092ee43255a725c692.tar.bz2 scummvm-rg350-bf5ce985a0807e0756702e092ee43255a725c692.zip |
- 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
Diffstat (limited to 'tools/create_kyradat/extract.h')
-rw-r--r-- | tools/create_kyradat/extract.h | 12 |
1 files changed, 7 insertions, 5 deletions
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 |