Debian Codegraph @

src/network/cyberoroprotocol.h

raw symbols SCIP
1 /***************************************************************************
2 * Copyright (C) 2009 by The qGo Project *
3 * *
4 * This file is part of qGo. *
5 * *
6 * qGo is free software: you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, see <http://www.gnu.org/licenses/> *
18 * or write to the Free Software Foundation, Inc., *
19 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
20 ***************************************************************************/
21
22
23 #define ORO_CODETABLE 0x00fa
24 #define ORO_ROOMLIST 0xc661
25 #define ORO_PLAYERLIST 0xd061
26 #define ORO_GAMELIST 0xda61
27 #define ORO_BROADCASTLIST 0xf861
28
29 #define ORO_PLAYERROOMJOIN 0x0e56
30 #define ORO_CREATEROOM 0xca5d
31
32 #define ORO_MOVE 0xdcaf
33 #define ORO_BROADCASTMOVE 0x42f4
34 #define ORO_UNDO 0xe6af
35 #define ORO_DECLINEUNDO 0xf0af
36 #define ORO_ACCEPTUNDO 0xebaf
37 #define ORO_MOVELIST 0xd7af
38 #define ORO_BROADCASTMOVELIST 0x4cf4
39
40 #define ORO_ENTERSCORING 0xc9b3
41 #define ORO_REMOVESTONES 0xe2b3
42 #define ORO_STONESDONE 0xf1b3
43 #define ORO_RESIGN 0xb0b3
44 #define ORO_TIMELOSS 0xf6b3
45 #define ORO_ADJOURNREQUEST 0xb5b3
46 #define ORO_ADJOURNDECLINE 0xbfb3
47 #define ORO_ADJOURN 0xbab3
48
49 #define ORO_SETPHRASECHAT 0x55c3
50 #define ORO_LOBBYCHAT 0x0a5a
51 #define ORO_ROOMCHAT 0xec59
52 #define ORO_PERSONALCHAT 0xe259
53 #define ORO_SERVERANNOUNCE 0xf659
54 #define ORO_SERVERANNOUNCELINK 0x645a
55
56 #define ORO_MATCHOFFER 0xc8af
57
58 /* We need a subclass of a packet structure
59 * with a send method that does necessary
60 * encoding and a different subclass for
61 * each message type so we can just fill
62 * it out and make the code clean.
63 * doublecheck sizeof() stuff */