From 9058b6a88b7b33cb58164f65bb92a19b976281dc Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Wed, 19 Jan 2011 14:45:18 +0000 Subject: HUGO: Add specific decodeString() for H1 Dos This fixes act3 logic. Also move some functions from public to protected. svn-id: r55325 --- engines/hugo/schedule.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'engines/hugo/schedule.cpp') diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp index 76250c68cb..83a04fadab 100644 --- a/engines/hugo/schedule.cpp +++ b/engines/hugo/schedule.cpp @@ -97,19 +97,6 @@ void Scheduler::insertActionList(uint16 actIndex) { } } -/** -* Decode a string -*/ -void Scheduler::decodeString(char *line) { - debugC(1, kDebugSchedule, "decodeString(%s)", line); - - static const char *cypher = getCypher(); - - for (uint16 i = 0; i < strlen(line); i++) - line[i] -= cypher[i % strlen(cypher)]; - debugC(1, kDebugSchedule, "result : %s", line); -} - /** * Return system time in ticks. A tick is 1/TICKS_PER_SEC mS */ -- cgit v1.2.3