File: client.h

package info (click to toggle)
koules 1.4-22
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,812 kB
  • ctags: 3,325
  • sloc: ansic: 15,537; makefile: 824; asm: 379; tcl: 362; sh: 175
file content (14 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#ifndef CLIENT_H
#define CLIENT_H
extern char     servername[256];
int             init_client (void);
void            client_loop (void);
void            csend (unsigned char *message, int size);
void            start_game ();
void            SendJoystick (int player, int x, int y, int buttons);
void            SendMouse (int player, int x, int y, int buttons);
void            SendKeys (int player, int c);
void            SendRotation (int player, int c);
void            CQuit (char *why);
#endif