--- deliantra/server/include/newserver.h 2006/08/13 17:16:02 1.5 +++ deliantra/server/include/newserver.h 2006/08/18 02:06:57 1.7 @@ -47,6 +47,7 @@ short faces[MAP_LAYERS]; uint16 smooth[MAP_LAYERS]; int count; /* This is really darkness in the map1 command */ + unsigned char stat_hp; // health of something in this space, or 0 }; /* This basically defines the largest size an @@ -122,6 +123,7 @@ uint32 plugincmd:1; /* CF+ extend the protocol through a plug-in */ uint32 mapinfocmd:1; /* CF+ return map info and send map change info */ uint32 extcmd:1; /* CF+ call into extensions/plugins */ + uint32 extmap:1; /* CF+ extend map comamnd with extra data */ uint32 darkness:1; /* True if client wants darkness information */ uint32 image2:1; /* Client wants image2/face2 commands */ uint32 update_look:1; /* If true, we need to send the look window */ @@ -141,7 +143,8 @@ * with S->C mapextended command */ uint32 EMI_smooth:1; /* Send smooth in extendmapinfos*/ - struct mapstruct *current_map; /* CF+ current player map */ + struct mapstruct *current_map; // CF+ last/current player map + int current_x, current_y; // CF+ last/current map position /* Below here is information only relevant for old sockets */ char *comment; /* name or listen comment */ @@ -202,6 +205,4 @@ #define VERSION_SC 1027 #define VERSION_INFO "Crossfire+ Server" - - #endif