diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-12-31 16:14:27 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-12-31 16:14:27 +0000 |
commit | 5f04c73af0dbc456fb24047ab11845d751bc5b16 (patch) | |
tree | e473b7b7729e36c484b9146e9804bd5623fdcba7 /src/engine.h | |
parent | eae0c3171fd94970105d4cbd987c8e1218481985 (diff) | |
download | mana-5f04c73af0dbc456fb24047ab11845d751bc5b16.tar.gz mana-5f04c73af0dbc456fb24047ab11845d751bc5b16.tar.bz2 mana-5f04c73af0dbc456fb24047ab11845d751bc5b16.tar.xz mana-5f04c73af0dbc456fb24047ab11845d751bc5b16.zip |
Added config options to set the scroll center. Retained scroll offset during map change for smoother map transitions.
Diffstat (limited to 'src/engine.h')
-rw-r--r-- | src/engine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine.h b/src/engine.h index 4575051e..06fa2e01 100644 --- a/src/engine.h +++ b/src/engine.h @@ -57,6 +57,11 @@ class Engine void changeMap(const std::string &mapName); /** + * Changes viewpoint by relative pixel coordinates. + */ + void scrollBy(float scrollX, float scrollY); + + /** * Performs engine logic. */ void logic(); |