diff options
author | Stijn Buys <ingar@osirion.org> | 2013-01-19 21:43:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2013-01-19 21:43:12 +0000 |
commit | 05a2f36cfa6550a457c3a9e358b088077fe4c8da (patch) | |
tree | 54a5f20282aa8d72e2bcf0ee934f4171d609eb7f /src/filesystem/inistream.h | |
parent | 5fff70c38cdcac94480a786141b1a86b8a215ace (diff) |
Added IniStream::got_key_vector3f_opt() to read vectors with optional coordinates.
Diffstat (limited to 'src/filesystem/inistream.h')
-rw-r--r-- | src/filesystem/inistream.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filesystem/inistream.h b/src/filesystem/inistream.h index b4466fd..8788719 100644 --- a/src/filesystem/inistream.h +++ b/src/filesystem/inistream.h @@ -81,6 +81,11 @@ public: bool got_key_long(const char * keylabel, long & l); bool got_key_vector3f(const char * keylabel, math::Vector3f & v); + + /** + * @brief special version that reads 1,2 or 3 arguments + **/ + bool got_key_vector3f_opt(const char * keylabel, math::Vector3f & v); bool got_key_bool(const char * keylabel, bool & b); |