diff options
author | lukaslw | 2014-08-01 17:38:04 +0200 |
---|---|---|
committer | lukaslw | 2014-08-01 17:38:04 +0200 |
commit | 3c29d61f6705a6f05d86fa2599a6992d2d17e3ac (patch) | |
tree | 9c0033d66c9a1cbf1cb5c52ca27b8159d194d432 /engines/prince/script.h | |
parent | b3589c76da856239828377a3011525a888b04920 (diff) | |
download | scummvm-rg350-3c29d61f6705a6f05d86fa2599a6992d2d17e3ac.tar.gz scummvm-rg350-3c29d61f6705a6f05d86fa2599a6992d2d17e3ac.tar.bz2 scummvm-rg350-3c29d61f6705a6f05d86fa2599a6992d2d17e3ac.zip |
PRINCE: Code clean-up
Diffstat (limited to 'engines/prince/script.h')
-rw-r--r-- | engines/prince/script.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/engines/prince/script.h b/engines/prince/script.h index 57f9268598..f033128e97 100644 --- a/engines/prince/script.h +++ b/engines/prince/script.h @@ -26,13 +26,10 @@ #include "common/random.h" #include "common/endian.h" #include "common/array.h" +#include "common/stream.h" #include "prince/flags.h" -namespace Common { - class SeekableReadStream; -} - namespace Prince { class PrinceEngine; @@ -42,9 +39,9 @@ struct Anim; struct BackgroundAnim; struct Mask; +// TODO - change this to sth else? namespace Detail { template <typename T> T LittleEndianReader(void *data); - template <> inline uint8 LittleEndianReader<uint8>(void *data) { return *(uint8*)(data); } template <> inline uint16 LittleEndianReader<uint16>(void *data) { return READ_LE_UINT16(data); } template <> inline uint32 LittleEndianReader<uint32>(void *data) { return READ_LE_UINT32(data); } } @@ -233,7 +230,6 @@ private: uint32 currentString; } _stringStack; uint8 _stacktop; - //uint8 _savedStacktop; uint32 _waitFlag; byte *_string; @@ -404,8 +400,6 @@ private: }; -} +} // End of namespace Prince #endif - -/* vim: set tabstop=4 noexpandtab: */ |