/* clock.h game clock */ /* * xcheckers: a point and click checkerboard * (C): 1999, 2000 Peter Chiocchetti */ Window swin; char statusline[2][40]; /* Text for status line */ char clockline[2][8]; /* Text for clock line */ time_t currClock, currTime; /* Clock and Time */ int currPlayer; /* Player to move is TOP or BOT */ void initStatus(unsigned long paper, unsigned long pen, char *myname); void paintStatus(XExposeEvent * e); void showStatus(void); void resizeStatus(void); void freshenClock(void); void checkClock(void);