Removed a now unused function.
This commit is contained in:
parent
c851314e3a
commit
ac5b31457b
17
src/misc.cpp
17
src/misc.cpp
|
@ -87,23 +87,6 @@ void setRadioMessage(int face, const char *in, int priority)
|
||||||
gfx_createMessageBox(faceShape, in, 1);
|
gfx_createMessageBox(faceShape, in, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *faces[] = {
|
|
||||||
"FACE_CHRIS", "FACE_SID", "FACE_KRASS",
|
|
||||||
"FACE_KLINE", "FACE_PHOEBE", "FACE_URSULA",
|
|
||||||
"FACE_CREW"
|
|
||||||
};
|
|
||||||
|
|
||||||
int getFace(const char *face)
|
|
||||||
{
|
|
||||||
for (int i = 0 ; i < 7 ; i++)
|
|
||||||
{
|
|
||||||
if (strcmp(faces[i], face) == 0)
|
|
||||||
return FS_CHRIS + i;
|
|
||||||
}
|
|
||||||
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
void resetLists()
|
void resetLists()
|
||||||
{
|
{
|
||||||
object *ob, *ob2;
|
object *ob, *ob2;
|
||||||
|
|
|
@ -24,7 +24,6 @@ extern void clearInfoLines();
|
||||||
void copyInfoLine(int a, int b);
|
void copyInfoLine(int a, int b);
|
||||||
extern void setInfoLine(const char *in, int color);
|
extern void setInfoLine(const char *in, int color);
|
||||||
extern void setRadioMessage(int face, const char *in, int priority);
|
extern void setRadioMessage(int face, const char *in, int priority);
|
||||||
extern int getFace(const char *face);
|
|
||||||
extern void resetLists();
|
extern void resetLists();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue