aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/fileio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2/fileio.cpp')
-rw-r--r--engines/cge2/fileio.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/engines/cge2/fileio.cpp b/engines/cge2/fileio.cpp
index 6a20b6b561..a9e9563867 100644
--- a/engines/cge2/fileio.cpp
+++ b/engines/cge2/fileio.cpp
@@ -233,37 +233,6 @@ Common::String EncryptedStream::readLine() {
return _readStream->readLine();
}
-int EncryptedStream::number(char *s) {
- int r = atoi(s);
- char *pp = strchr(s, ':');
- if (pp)
- r = (r << 8) + atoi(pp + 1);
- return r;
-}
-
-char *EncryptedStream::token(char *s) {
- return strtok(s, " =\t,;/()");
-}
-
-int EncryptedStream::takeEnum(const char **tab, const char *text) {
- if (text) {
- for (const char **e = tab; *e; e++) {
- if (scumm_stricmp(text, *e) == 0) {
- return e - tab;
- }
- }
- }
- return -1;
-}
-
-ID EncryptedStream::ident(const char *s) {
- return ID(takeEnum(kIdTab, s));
-}
-
-bool EncryptedStream::testBool(char *s) {
- return number(s) != 0;
-}
-
int32 EncryptedStream::size() {
return _readStream->size();
}