diff options
author | Paul Gilbert | 2016-04-05 20:15:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-05 20:15:14 -0400 |
commit | 4f46928444acb1da4e7cd31ac816ad6c9e7c265d (patch) | |
tree | 1a6dcfa462f24383004b61a9e8c8698e7c5c4dbe /engines/titanic/support/simple_file.h | |
parent | 6f8de06ddb210f71f611e2cfcee106832d100a78 (diff) | |
download | scummvm-rg350-4f46928444acb1da4e7cd31ac816ad6c9e7c265d.tar.gz scummvm-rg350-4f46928444acb1da4e7cd31ac816ad6c9e7c265d.tar.bz2 scummvm-rg350-4f46928444acb1da4e7cd31ac816ad6c9e7c265d.zip |
TITANIC: Fix loading of game object bounds
Diffstat (limited to 'engines/titanic/support/simple_file.h')
-rw-r--r-- | engines/titanic/support/simple_file.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/support/simple_file.h b/engines/titanic/support/simple_file.h index 0ba7699088..115e3805da 100644 --- a/engines/titanic/support/simple_file.h +++ b/engines/titanic/support/simple_file.h @@ -112,6 +112,11 @@ public: Rect readRect(); /** + * Rect in a bounds + */ + Rect readBounds(); + + /** * Read a string and copy it into an optionally passed buffer */ void readBuffer(char *buffer = nullptr, size_t count = 0); @@ -167,6 +172,11 @@ public: void writeRect(const Rect &r, int indent); /** + * Write out a bounds line + */ + void writeBounds(const Rect &r, int indent); + + /** * Write out a number of tabs to form an indent in the output */ void writeIndent(uint indent); |