TINSEL: Remove dead code

This commit is contained in:
Filippos Karapetis 2020-02-23 19:21:34 +02:00
parent 63ae50e790
commit e8bc50e3f5
3 changed files with 0 additions and 38 deletions

View File

@ -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);

View File

@ -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;
}

View File

@ -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);