mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 21:31:53 +00:00
TINSEL: Remove dead code
This commit is contained in:
parent
63ae50e790
commit
e8bc50e3f5
@ -37,14 +37,12 @@ struct INT_CONTEXT;
|
|||||||
//----------------- FUNCTION PROTOTYPES --------------------
|
//----------------- FUNCTION PROTOTYPES --------------------
|
||||||
|
|
||||||
void SceneProcesses(uint32 numProcess, SCNHANDLE hProcess);
|
void SceneProcesses(uint32 numProcess, SCNHANDLE hProcess);
|
||||||
void CallSceneProcess(uint32 procID);
|
|
||||||
void KillSceneProcess(uint32 procID);
|
void KillSceneProcess(uint32 procID);
|
||||||
void SceneProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait,
|
void SceneProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait,
|
||||||
int myEscape, bool *result = NULL);
|
int myEscape, bool *result = NULL);
|
||||||
void RestoreSceneProcess(INT_CONTEXT *pic);
|
void RestoreSceneProcess(INT_CONTEXT *pic);
|
||||||
|
|
||||||
void GlobalProcesses(uint32 numProcess, byte *pProcess);
|
void GlobalProcesses(uint32 numProcess, byte *pProcess);
|
||||||
void xCallGlobalProcess(uint32 procID);
|
|
||||||
void xKillGlobalProcess(uint32 procID);
|
void xKillGlobalProcess(uint32 procID);
|
||||||
bool GlobalProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait, int myEscape);
|
bool GlobalProcessEvent(CORO_PARAM, uint32 procID, TINSEL_EVENT event, bool bWait, int myEscape);
|
||||||
void RestoreGlobalProcess(INT_CONTEXT *pic);
|
void RestoreGlobalProcess(INT_CONTEXT *pic);
|
||||||
|
@ -392,40 +392,6 @@ int NumberOfLanguages() {
|
|||||||
return count;
|
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) {
|
SCNHANDLE LanguageDesc(LANGUAGE thisOne) {
|
||||||
return g_languages[thisOne].hDescription;
|
return g_languages[thisOne].hDescription;
|
||||||
}
|
}
|
||||||
|
@ -88,8 +88,6 @@ LANGUAGE TextLanguage();
|
|||||||
LANGUAGE SampleLanguage();
|
LANGUAGE SampleLanguage();
|
||||||
|
|
||||||
int NumberOfLanguages();
|
int NumberOfLanguages();
|
||||||
LANGUAGE NextLanguage(LANGUAGE thisOne);
|
|
||||||
LANGUAGE PrevLanguage(LANGUAGE thisOne);
|
|
||||||
SCNHANDLE LanguageDesc(LANGUAGE thisOne);
|
SCNHANDLE LanguageDesc(LANGUAGE thisOne);
|
||||||
SCNHANDLE LanguageFlag(LANGUAGE thisOne);
|
SCNHANDLE LanguageFlag(LANGUAGE thisOne);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user