ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/info.C
(Generate patch)

Comparing deliantra/server/socket/info.C (file contents):
Revision 1.43 by root, Mon May 28 21:22:26 2007 UTC vs.
Revision 1.44 by root, Tue Jun 5 13:05:03 2007 UTC

269} 269}
270 270
271/** 271/**
272 * Writes to everyone on the map except op1 and op2 272 * Writes to everyone on the map except op1 and op2
273 */ 273 */
274
275void 274void
276new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str) 275new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str)
277{ 276{
278 for_all_players (pl) 277 for_all_players (pl)
279 if (pl->ob != NULL && pl->ob->map == map && pl->ob != op1 && pl->ob != op2) 278 if (pl->ob != NULL && pl->ob->map == map && pl->ob != op1 && pl->ob != op2)
281} 280}
282 281
283/** 282/**
284 * Writes to everyone on the specified map 283 * Writes to everyone on the specified map
285 */ 284 */
286
287void 285void
288new_info_map (int color, maptile * map, const char *str) 286new_info_map (int color, maptile * map, const char *str)
289{ 287{
290 for_all_players (pl) 288 for_all_players (pl)
291 if (pl->ob != NULL && pl->ob->map == map) 289 if (pl->ob != NULL && pl->ob->map == map)
292 new_draw_info (color, 0, pl->ob, str); 290 new_draw_info (color, 0, pl->ob, str);
293}
294
295/**
296 * This does nothing now. However, in theory, we should probably send
297 * something to the client and let the client figure out how it might want
298 * to handle this
299 */
300void
301clear_win_info (object *op)
302{
303} 291}
304 292
305/** 293/**
306 * Sets player title. 294 * Sets player title.
307 */ 295 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines