File: netcmds.h

package info (click to toggle)
netmaze 0.81+jpg0.82-14.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,208 kB
  • ctags: 915
  • sloc: ansic: 8,277; tcl: 1,223; makefile: 66; sh: 26
file content (23 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
enum
{
  NM_NOCOMMAND , NM_STARTGAME , NM_STOPGAME , NM_PAUSEGAME , NM_MAZEH ,
  NM_MAZEV , NM_ALLDATA ,
  NM_OWNDATA , NM_MESSAGE , NM_INFO , NM_TIMEERROR , NM_OWNNAME ,
  NM_ALLNAMES , NM_PING , NM_PONG , NM_QUIT , NM_READY , NM_RANDOM , NM_END ,
  NM_CNTRL , NM_INCPLAYER , NM_DECPLAYER , NM_SETMODE , NM_ENUM ,
  NM_SUBDATA , NM_OWNCOMMENT , NM_ALLCOMMENTS , NM_DOCOMMAND , NM_ADDPLAYER ,
  NM_REMOVEPLAYER , NM_JOIN , NM_ACKJOIN , NM_ACKADD ,
  NM_ACTIVATE , NM_INACTIVATE 
};

static char nm_field[] = { 1,0,1,1,0,
                    0,99,
                    2,0,0,1,0,
                    0,1,1,1,1,3,1,
                    1,1,1,5,2,
                    0,0,0,0,0,3,4,5,5,3,3 };

enum { MSG_SERVER , MSG_ALL , MSG_GROUP , MSG_TEAM , MSG_TO_NAME , MSG_PLAYER };