--- deliantra/server/socket/request.C 2009/11/04 17:24:00 1.154 +++ deliantra/server/socket/request.C 2009/11/06 12:49:19 1.156 @@ -22,6 +22,8 @@ * The authors can be reached via e-mail to */ +//+GPL + /** * \file * Client handling. @@ -66,7 +68,7 @@ * client. If a value is -1, then we don't send that to the * client. */ -short atnr_cs_stat[NROFATTACKS] = { CS_STAT_RES_PHYS, +static short atnr_cs_stat[NROFATTACKS] = { CS_STAT_RES_PHYS, CS_STAT_RES_MAG, CS_STAT_RES_FIRE, CS_STAT_RES_ELEC, CS_STAT_RES_COLD, CS_STAT_RES_CONF, CS_STAT_RES_ACID, CS_STAT_RES_DRAIN, -1 /* weaponmagic */ , @@ -265,6 +267,8 @@ INVOKE_CLIENT (EXTICMD, ns, ARG_DATA (buf, len)); } +//-GPL + void client::mapinfo_queue_clear () { @@ -398,6 +402,8 @@ INVOKE_CLIENT (ADDME, ns, ARG_DATA (buf, len)); } +//+GPL + /* #define MSG_TYPE_BOOK 1 #define MSG_TYPE_CARD 2 @@ -926,6 +932,8 @@ return 0; } +//-GPL + // prefetch (and touch) all maps within a specific distancd static void prefetch_surrounding_maps (maptile *map, int distance) @@ -948,6 +956,8 @@ prefetch_surrounding_maps (op->map, 3); } +//+GPL + /** * Draws client map. */ @@ -1458,3 +1468,5 @@ pl->ns->send_packet (sl); } +//-GPL +