aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.h
diff options
context:
space:
mode:
authorEugene Sandulenko2004-06-23 01:36:57 +0000
committerEugene Sandulenko2004-06-23 01:36:57 +0000
commit2e0814514c346cc3c7bf091131dce91f99473810 (patch)
tree839a79bfb88adce75c1fce320636f2dbb748b83a /scumm/scumm.h
parenta350fcda0d02806a0593d556745e16226543eaa0 (diff)
downloadscummvm-rg350-2e0814514c346cc3c7bf091131dce91f99473810.tar.gz
scummvm-rg350-2e0814514c346cc3c7bf091131dce91f99473810.tar.bz2
scummvm-rg350-2e0814514c346cc3c7bf091131dce91f99473810.zip
HE 7.0 fixes
o Stub for o7_startSound o graphics decoders o findResource was moved to ScummEngine and extended o 7.0+ titles use akos costumes, so fix that in launcher o more o6_resourceRoutines stubs Now HE 7.0 games (first 320x200 windows ports) show intros and some are playable to some extent. svn-id: r14003
Diffstat (limited to 'scumm/scumm.h')
-rw-r--r--scumm/scumm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h
index 27908e2d37..625c0823c4 100644
--- a/scumm/scumm.h
+++ b/scumm/scumm.h
@@ -204,6 +204,7 @@ enum ResTypes {
rtBox = 15,
rtObjectName = 16,
rtRoomScripts = 17,
+ rtRoomStart = 17,
rtLast = 17,
rtNumTypes = 18
};
@@ -626,6 +627,8 @@ protected:
byte _expire_counter;
byte *_HEV7RoomOffsets;
uint32 *_HEV7RoomIntOffsets;
+ const byte *_resourceLastSearchBuf; // FIXME: need to put it to savefile?
+ uint32 _resourceLastSearchSize; // FIXME: need to put it to savefile?
void allocateArrays();
void openRoom(int room);
@@ -677,6 +680,7 @@ protected:
int _lastLoadedRoom;
public:
const byte *findResourceData(uint32 tag, const byte *ptr);
+ const byte *findResource(uint32 tag, const byte *ptr);
int getResourceDataSize(const byte *ptr) const;
void dumpResource(const char *tag, int index, const byte *ptr, int length = -1);