diff --git a/engines/tinsel/sched.h b/engines/tinsel/sched.h index da06c545bfe..495693c8b0d 100644 --- a/engines/tinsel/sched.h +++ b/engines/tinsel/sched.h @@ -37,14 +37,12 @@ struct INT_CONTEXT; //----------------- FUNCTION PROTOTYPES -------------------- void SceneProcesses(uint32 numProcess, SCNHANDLE hProcess); -void CallSceneProcess(uint32 procID); void KillSceneProcess(uint32 procID); void SceneProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait, int myEscape, bool *result = NULL); void RestoreSceneProcess(INT_CONTEXT *pic); void GlobalProcesses(uint32 numProcess, byte *pProcess); -void xCallGlobalProcess(uint32 procID); void xKillGlobalProcess(uint32 procID); bool GlobalProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait, int myEscape); void RestoreGlobalProcess(INT_CONTEXT *pic); diff --git a/engines/tinsel/strres.cpp b/engines/tinsel/strres.cpp index 4d825cdb7ec..32aefd008a5 100644 --- a/engines/tinsel/strres.cpp +++ b/engines/tinsel/strres.cpp @@ -392,40 +392,6 @@ int NumberOfLanguages() { return count; } -LANGUAGE NextLanguage(LANGUAGE thisOne) { - int i; - - for (i = thisOne+1; i < NUM_LANGUAGES; i++) { - if (g_languages[i].bPresent) - return (LANGUAGE)i; - } - - for (i = 0; i < thisOne; i++) { - if (g_languages[i].bPresent) - return (LANGUAGE)i; - } - - // No others! - return thisOne; -} - -LANGUAGE PrevLanguage(LANGUAGE thisOne) { - int i; - - for (i = thisOne-1; i >= 0; i--) { - if (g_languages[i].bPresent) - return (LANGUAGE)i; - } - - for (i = NUM_LANGUAGES-1; i > thisOne; i--) { - if (g_languages[i].bPresent) - return (LANGUAGE)i; - } - - // No others! - return thisOne; -} - SCNHANDLE LanguageDesc(LANGUAGE thisOne) { return g_languages[thisOne].hDescription; } diff --git a/engines/tinsel/strres.h b/engines/tinsel/strres.h index 56d52731530..15631662b2a 100644 --- a/engines/tinsel/strres.h +++ b/engines/tinsel/strres.h @@ -88,8 +88,6 @@ LANGUAGE TextLanguage(); LANGUAGE SampleLanguage(); int NumberOfLanguages(); -LANGUAGE NextLanguage(LANGUAGE thisOne); -LANGUAGE PrevLanguage(LANGUAGE thisOne); SCNHANDLE LanguageDesc(LANGUAGE thisOne); SCNHANDLE LanguageFlag(LANGUAGE thisOne);