diff options
Diffstat (limited to 'src/model/map.h')
-rw-r--r-- | src/model/map.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/model/map.h b/src/model/map.h index d7b01d7..8dc688e 100644 --- a/src/model/map.h +++ b/src/model/map.h @@ -24,8 +24,10 @@ class Map { public: - /// load a .map file into a Model - /** @param name name of the model to be loaded, without .map extension or maps/ prefix + /** + * @brief load a .map file into a Model + * @param name name of the model to be loaded, without .map extension or maps/ prefix + * If the file can not be read, load() returns the NULL-pointer */ static Model *load(std::string const &name); @@ -114,7 +116,7 @@ private: return line_number; } - /// return true of the ini file is open for reading + /// return true of the map file is open for reading inline bool is_open() { return mapfile_ifs.is_open(); |