File: defs.h

package info (click to toggle)
vreng 1.6.3-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 2,400 kB
  • ctags: 3,097
  • sloc: ansic: 15,988; sh: 1,845; perl: 1,330; makefile: 59
file content (44 lines) | stat: -rw-r--r-- 814 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#ifndef DEFS_H
#define DEFS_H


#define Private static
#define Public

#ifndef TRUE
#define TRUE	1
#endif
#ifndef FALSE
#define FALSE	0
#endif

#define PROPSNUMBER	20
#define BUTTONSNUMBER	10	/* number max of buttons */

#define DISPLAYTEXTSIZE 4096
#define MAXPLAYERLIST   2048
#define NICK_LEN	8
#define PATH_LEN	128
#define MESS_LEN	256
#define CHAN_LEN	32
#define GROUP_LEN	16
#define USER_LEN	10
#define URL_LEN		128
#define WORLD_LEN	16
#define NAME_LEN	32
#define CNAME_LEN	64
#define EMAIL_LEN	32
#define TOOL_LEN	16
#define OBJNAME_LEN	16	/* max lenght of object name */
#define HNAME_LEN	11	/* max length of understandable name */
#define BUFF_LEN	512
#define MAX_CHAN	3
#define MAX_FD		6

#define LINESIZE	300
#define SEP             " "

#define GRAVITY        1.5	/* 1.5 m/s */


#endif  /* DEFS_H */