aboutsummaryrefslogtreecommitdiff
path: root/kyra/resource.h
diff options
context:
space:
mode:
authorJames Brown2004-10-15 10:32:17 +0000
committerJames Brown2004-10-15 10:32:17 +0000
commita5e188b9d826e6f1c088ab716c82079a7342260e (patch)
tree779accd7d85cf3e911ced17ea85780424b752b14 /kyra/resource.h
parent8f65711a28b0cdedca29cdd1787b40546d448575 (diff)
downloadscummvm-rg350-a5e188b9d826e6f1c088ab716c82079a7342260e.tar.gz
scummvm-rg350-a5e188b9d826e6f1c088ab716c82079a7342260e.tar.bz2
scummvm-rg350-a5e188b9d826e6f1c088ab716c82079a7342260e.zip
Fix a few things
svn-id: r15555
Diffstat (limited to 'kyra/resource.h')
-rw-r--r--kyra/resource.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/kyra/resource.h b/kyra/resource.h
index b0a73beaa5..e867bdcf21 100644
--- a/kyra/resource.h
+++ b/kyra/resource.h
@@ -34,7 +34,6 @@ namespace Kyra {
// standard Package format for Kyrandia games
class PAKFile {
-
struct PakChunk {
const char* _name;
const uint8* _data;
@@ -49,10 +48,10 @@ namespace Kyra {
const uint8* getFile(const char* file);
uint32 getFileSize(const char* file);
- bool isValid(void) { return (_buffer != 0); }
-
+ bool isValid(void) {return (_buffer != 0);}
+ bool isOpen(void) {return _open;}
private:
-
+ bool _open;
uint8* _buffer; // the whole file
Common::List<PakChunk*> _files; // the entries