source: golgotha/src/golg/net/command.hh @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 892 bytes
Line 
1/********************************************************************** <BR>
2  This file is part of Crack dot Com's free source code release of
3  Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
4  information about compiling & licensing issues visit this URL</a>
5  <PRE> If that doesn't help, contact Jonathan Clark at
6  golgotha_source@usa.net (Subject should have "GOLG" in it)
7***********************************************************************/
8
9#ifndef G1_NET_COMMAND_HH
10#define G1_NET_COMMAND_HH
11
12
13
14
15// packet type  [ should be the first byte in each pack ]
16enum
17{
18  G1_PK_I_WANNA_JOIN=128,
19  G1_PK_YOU_HAVE_JOINED,
20  G1_PK_GAME_DATA
21};
22
23
24
25// sent to server
26
27//  w16 [array of key down times in milliseconds]
28//  troop build/movement commands, add on later..
29
30
31
32// received from server
33// w8 total_objects
34//
35
36
37
38
39#endif
Note: See TracBrowser for help on using the repository browser.