ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/client.h
(Generate patch)

Comparing deliantra/server/include/client.h (file contents):
Revision 1.27 by root, Sun Feb 4 00:39:32 2007 UTC vs.
Revision 1.29 by root, Thu Feb 15 04:04:22 2007 UTC

98 ST_GET_PARTY_PASSWORD, 98 ST_GET_PARTY_PASSWORD,
99}; 99};
100 100
101// a handler for a specific type of packet 101// a handler for a specific type of packet
102enum { 102enum {
103 PF_PLAYER = 0x01, // must have valid player / will by synchronised 103 PF_PLAYER = 0x01, // must have valid player / will by synchronised
104 PF_PLAYING = 0x02, // must be in playing state 104 PF_PLAYING = 0x02, // must be in playing state
105 PF_COMMAND0 = 0x04, // command starts at offset 0
106 PF_COMMAND6 = 0x08, // command starts at offset 6
105}; 107};
106 108
107struct packet_type 109struct packet_type
108{ 110{
109 const char *name; 111 const char *name;
220 uint8 ACC (RW, mapx), ACC (RW, mapy); /* How large a map the client wants */ 222 uint8 ACC (RW, mapx), ACC (RW, mapy); /* How large a map the client wants */
221 uint8 ACC (RW, itemcmd); /* What version of the 'item' protocol command to use */ 223 uint8 ACC (RW, itemcmd); /* What version of the 'item' protocol command to use */
222 uint8 ACC (RW, faceset); /* Set the client is using, default 0 */ 224 uint8 ACC (RW, faceset); /* Set the client is using, default 0 */
223 225
224 maptile *ACC (RW, current_map); // CF+ last/current player map 226 maptile *ACC (RW, current_map); // CF+ last/current player map
227 region *ACC (RW, current_region); // CF+ last/current player region
225 int ACC (RW, current_x), ACC (RW, current_y); // CF+ last/current map position 228 int ACC (RW, current_x), ACC (RW, current_y); // CF+ last/current map position
226 char ACC (RW, version)[64]; // CF+ client name/version 229 char ACC (RW, version)[64]; // CF+ client name/version
227 230
228 player_ptr ACC (RO, pl); 231 player_ptr ACC (RO, pl);
229 232

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines