--- deliantra/server/include/client.h 2007/06/04 12:19:08 1.52 +++ deliantra/server/include/client.h 2007/06/24 15:33:41 1.56 @@ -117,7 +117,8 @@ int ACC (RW, fd); unsigned int inbuf_len; // number of bytes valid in inbuf statsinfo stats; - int ACC (RO, active); + object_vector_index ACC (RO, active); + player_ptr ACC (RO, pl); /* The following is the setup for a ring buffer for storing output * data that the OS can't handle right away. @@ -189,7 +190,7 @@ shstr ACC (RW, version); // CF+ client name/version uint8 ACC (RW, faceset); // CF+ selected faceset - player_ptr ACC (RO, pl); + tstamp ACC (RW, last_send); // last data send on socket. int ACC (RW, rtt), ACC (RW, rttvar); /* round-trip time and -variance, if known */ @@ -262,7 +263,7 @@ MTH void send_image (faceidx facenum); MTH void send_faces (object *ob); MTH void send_animation (short anim_num); - MTH void send_msg (int color, const char *type, const char *msg); + void send_msg (int color, const char *type, const char *msg); // called when something under the player changes MTH void floorbox_update () { update_look = 1; } @@ -315,7 +316,7 @@ #define VERSION_CS 1023 /* version >= 1023 understand setup cmd */ #define VERSION_SC 1026 //#define VERSION_SC 1027 // requestinfo image_info and image_sums, makes extending faces on the fly impossible -#define VERSION_INFO "Crossfire+ Server" +#define VERSION_INFO "Crossfire TRT Server" typedef object_vector sockvec;