File: netplay.h

package info (click to toggle)
maelstrom 3.0.7-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,952 kB
  • sloc: cpp: 10,947; sh: 3,406; ansic: 2,781; makefile: 175
file content (18 lines) | stat: -rw-r--r-- 605 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

/* Functions in netplay.cc */
extern int   InitNetData(void);
extern void  HaltNetData(void);
extern int   AddPlayer(const char *playerstr);
extern int   SetServer(const char *serverstr);
extern int   CheckPlayers(void);
extern void  QueueKey(unsigned char Op, unsigned char Type);
extern int   SyncNetwork(void);
extern int   GetSyncBuf(int index, unsigned char **bufptr);
extern int   Send_NewGame(int *Wave, int *Lives, int *Turbo);
extern int   Await_NewGame(int *Wave, int *Lives, int *Turbo);

/* Variables from netplay.cc */
extern int	gOurPlayer;
extern int	gNumPlayers;
extern int	gDeathMatch;