diff options
author | Stijn Buys <ingar@osirion.org> | 2010-09-15 21:29:18 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-09-15 21:29:18 +0000 |
commit | e55638d081e2e1ff6fbc06e0e8ac0381a04308e7 (patch) | |
tree | 511ccb478adf2acd3cc93f66d217b09f3e3a06dc /src/core/info.h | |
parent | f612f19e095b8d0ba49f5bcdec6a582824315d69 (diff) |
updated comments, updated buy menu, info support for map window, added const to target selection
Diffstat (limited to 'src/core/info.h')
-rw-r--r-- | src/core/info.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/info.h b/src/core/info.h index 8b9a89b..8822f2f 100644 --- a/src/core/info.h +++ b/src/core/info.h @@ -19,14 +19,14 @@ namespace core { /** - * @brief an information record type + * @brief an information card category * The InfoType groups information records of the same type */ class InfoType : public Label { public: /** - * @brief create a new information record type + * @brief create a new information card category * The constructor automaticly adds the instance to the registry */ InfoType(const char* label); @@ -49,7 +49,7 @@ private: }; // class InfoType /** - * @brief an information record + * @brief an information card * An information record holds extended information about a specific entity or item class. * This information is exchanged between server and the client, and can be used to build * HUD widgets. @@ -61,19 +61,19 @@ public: typedef std::deque<std::string> Text; /** - * @brief create a new server-side information record + * @brief create a new server-side information card * This constructor assigns an id */ Info(const InfoType *type); /** - * @brief create a new client-side information record + * @brief create a new client-side information card * This constructor doesn not assign an id */ Info(const InfoType *type, const std::string & label); /** - * @brief create a new client-side information record + * @brief create a new client-side information card */ Info(const unsigned int id); @@ -107,7 +107,7 @@ public: } /// text description - inline Text & text() { + inline const Text & text() const { return info_text; } |