1 /*
2  * XPilot NG, a multiplayer space war game.
3  *
4  * Copyright (C) 1991-2001 by
5  *
6  *      Bj�rn Stabell        <bjoern@xpilot.org>
7  *      Ken Ronny Schouten   <ken@xpilot.org>
8  *      Bert Gijsbers        <bert@xpilot.org>
9  *      Dick Balaska         <dick@xpilot.org>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24  */
25 
26 #ifndef RECORDFMT_H
27 #define RECORDFMT_H
28 
29 /*
30  * Protocol version history:
31  * 0.0: first protocol implementation.
32  * 0.1: addition of tiled fills.
33  */
34 #define RC_MAJORVERSION		'0'
35 #define RC_MINORVERSION		'1'
36 
37 #define RC_NEWFRAME		11
38 #define RC_DRAWARC		12
39 #define RC_DRAWLINES		13
40 #define RC_DRAWLINE		14
41 #define RC_DRAWRECTANGLE	15
42 #define RC_DRAWSTRING		16
43 #define RC_FILLARC		17
44 #define RC_FILLPOLYGON		18
45 #define RC_PAINTITEMSYMBOL	19
46 #define RC_FILLRECTANGLE	20
47 #define RC_ENDFRAME		21
48 #define RC_FILLRECTANGLES	22
49 #define RC_DRAWARCS		23
50 #define RC_DRAWSEGMENTS		24
51 #define RC_GC			25
52 #define RC_NOGC			26
53 #define RC_DAMAGED		27
54 #define RC_TILE			28
55 #define RC_NEW_TILE		29
56 
57 #define RC_GC_FG		(1 << 0)
58 #define RC_GC_BG		(1 << 1)
59 #define RC_GC_LW		(1 << 2)
60 #define RC_GC_LS		(1 << 3)
61 #define RC_GC_DO		(1 << 4)
62 #define RC_GC_FU		(1 << 5)
63 #define RC_GC_DA		(1 << 6)
64 #define RC_GC_B2		(1 << 7)
65 #define RC_GC_FS		(1 << 8)
66 #define RC_GC_XO		(1 << 9)
67 #define RC_GC_YO		(1 << 10)
68 #define RC_GC_TI		(1 << 11)
69 
70 #endif
71