From 66fd5337bda32d0ef04fff7514a8249ecb5c3b15 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 9 Dec 2012 23:09:12 +0000 Subject: Improved info text parsing, added specifications to the weapon info, expanded ship specifications info. --- src/core/info.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/core/info.h') diff --git a/src/core/info.h b/src/core/info.h index dfec17c..2859dac 100644 --- a/src/core/info.h +++ b/src/core/info.h @@ -143,11 +143,18 @@ public: void set_timestamp(const unsigned long timestamp); /// add a line of info text - void add_text(const std::string & text); + void add_line(const std::string & text); /// add a line of info text + void add_line(const char *text); + + /// add info text without newline + void add_text(const std::string & text); + + /// add info text without newline void add_text(const char *text); + /// clear the info text void clear_text(); -- cgit v1.2.3