aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/support/string.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-20 15:11:07 -0400
committerPaul Gilbert2016-08-20 15:11:07 -0400
commit04242118ca7bca31aa9659ffceaf80702bc90fb8 (patch)
tree05b9afd600f97f1d20c2774121512bd4e8f990a4 /engines/titanic/support/string.h
parent1dc8ae58e40c08e1e50cfe8c892b3dac27abdafd (diff)
downloadscummvm-rg350-04242118ca7bca31aa9659ffceaf80702bc90fb8.tar.gz
scummvm-rg350-04242118ca7bca31aa9659ffceaf80702bc90fb8.tar.bz2
scummvm-rg350-04242118ca7bca31aa9659ffceaf80702bc90fb8.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/support/string.h')
-rw-r--r--engines/titanic/support/string.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/titanic/support/string.h b/engines/titanic/support/string.h
index 487c138358..71242c01c9 100644
--- a/engines/titanic/support/string.h
+++ b/engines/titanic/support/string.h
@@ -75,6 +75,12 @@ public:
CString mid(uint start) const;
/**
+ * Returns a substring consisting of the entire string
+ * except for a specified number of characters at the end
+ */
+ CString deleteRight(uint count) const;
+
+ /**
* Returns the index of the first occurance of a given character
*/
int indexOf(char c) const;