Possible since cursesdsp is now self-contained.
/* FIXME: change this name, puh-leeze! */
static void UpdateCatched(void);
-
+static void DrawPiece(short sq);
+static void ShowScore(short score);
/****************************************
* Trivial output functions.
****************************************/
-void
+static void
ClearEoln(void)
{
clrtoeol();
}
-void
+static void
ClearMessage(void)
{
gotoXY(TAB, 6);
}
-void
+static void
gotoXY(short x, short y)
{
move(y - 1, x - 1);
}
-void
+static void
ShowPlayers(void)
{
gotoXY(5, ((flag.reverse) ? (5 + 2*NO_ROWS) : 2));
}
-void
+static void
Curses_ShowPrompt(void)
{
Curses_ShowSidetoMove();
}
-void
+static void
ShowScore(short score)
{
gotoXY(TAB, 5);
}
-void
+static void
UpdateClocks(void)
{
short m, s;
}
-void
+static void
DrawPiece(short sq)
{
char y;
void Curses_UpdateDisplay(short f, short t, short redraw, short isspec);
void Curses_help(void);
-
-/* The following are only found in cursesdsp.h: */
-
-void ClearEoln(void);
-void ClearMessage(void);
-void DrawPiece(short sq);
-void ShowHeader(void);
-void ShowPlayers(void);
-void ShowScore(short score);
-void UpdateClocks(void);
-void gotoXY(short x, short y);
-
#endif /* _CURSESDSP_H_ */
-
extern void ListGame(void);
extern void ShowMessage(char *s);
extern void ClearScreen(void);
-extern void gotoXY(short x, short y);
-extern void ClearEoln(void);
-extern void DrawPiece(short sq);
extern void UpdateClocks(void);
extern void DoDebug(void);
extern void DoTable(short table[NO_SQUARES]);