aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/string.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-31 19:55:45 -0400
committerPaul Gilbert2016-03-31 19:55:45 -0400
commitd94b1dc7bb68ee1641edcbbd31fd40ef7e5dc442 (patch)
tree335be85de12421d523785ef718ae101404ae8032 /engines/titanic/string.h
parent5c902685fc2f3f97ee3fd9250480801ac849bf02 (diff)
downloadscummvm-rg350-d94b1dc7bb68ee1641edcbbd31fd40ef7e5dc442.tar.gz
scummvm-rg350-d94b1dc7bb68ee1641edcbbd31fd40ef7e5dc442.tar.bz2
scummvm-rg350-d94b1dc7bb68ee1641edcbbd31fd40ef7e5dc442.zip
TITANIC: Implemented CPetGfxElement setup method
Diffstat (limited to 'engines/titanic/string.h')
-rw-r--r--engines/titanic/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/string.h b/engines/titanic/string.h
index 08b5649dc9..0c0c64e0be 100644
--- a/engines/titanic/string.h
+++ b/engines/titanic/string.h
@@ -44,7 +44,9 @@ public:
CString(const char *str, uint32 len) : Common::String(str, len) {}
CString(const char *beginP, const char *endP) : Common::String(beginP, endP) {}
CString(const String &str) : Common::String(str) {}
+ CString(char c, uint32 len);
explicit CString(char c) : Common::String(c) {}
+ explicit CString(int val) : Common::String(Common::String::format("%d", val)) {}
/**
* Returns the left n characters of the string