diff options
| author | oy <Tom_Adams@web.de> | 2011-03-31 15:13:49 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-31 15:13:49 +0200 |
| commit | 2a72c0b38b8c2610001f24340097ad3a1b052263 (patch) | |
| tree | aee816df77e1f1ac772d5a797b822d2ffc0c09b5 /src/engine/shared/datafile.h | |
| parent | 59d56cd332ecc86008c27326631566a4d2d94ecb (diff) | |
| download | zcatch-2a72c0b38b8c2610001f24340097ad3a1b052263.tar.gz zcatch-2a72c0b38b8c2610001f24340097ad3a1b052263.zip | |
added a mechanism to check for a valid standard map. Closes #132
Diffstat (limited to 'src/engine/shared/datafile.h')
| -rw-r--r-- | src/engine/shared/datafile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/shared/datafile.h b/src/engine/shared/datafile.h index ce7b11aa..15bed033 100644 --- a/src/engine/shared/datafile.h +++ b/src/engine/shared/datafile.h @@ -16,6 +16,8 @@ public: bool Open(class IStorage *pStorage, const char *pFilename, int StorageType); bool Close(); + + static bool GetCrcSize(class IStorage *pStorage, const char *pFilename, int StorageType, unsigned *pCrc, unsigned *pSize); void *GetData(int Index); void *GetDataSwapped(int Index); // makes sure that the data is 32bit LE ints when saved |