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.54 by root, Wed Nov 4 14:45:30 2009 UTC vs.
Revision 1.55 by root, Fri Nov 6 12:49:19 2009 UTC

187} 187}
188 188
189void 189void
190draw_ext_info (int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage) 190draw_ext_info (int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage)
191{ 191{
192
193 if (!pl || (pl->type != PLAYER) || (pl->contr == NULL)) 192 if (!pl || (pl->type != PLAYER) || (pl->contr == NULL))
194 return; 193 return;
195 194
196 if (!CLIENT_SUPPORT_READABLES (pl->contr->ns, type)) 195 if (!CLIENT_SUPPORT_READABLES (pl->contr->ns, type))
197 { 196 {
237} 236}
238 237
239/** 238/**
240 * Writes to everyone on the map *except* op. This is useful for emotions. 239 * Writes to everyone on the map *except* op. This is useful for emotions.
241 */ 240 */
242
243void 241void
244new_info_map_except (int color, maptile * map, object *op, const char *str) 242new_info_map_except (int color, maptile * map, object *op, const char *str)
245{ 243{
246 for_all_players (pl) 244 for_all_players (pl)
247 if (pl->ob->map == map && pl->ob != op) 245 if (pl->ob->map == map && pl->ob != op)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines