… | |
… | |
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 | |
|
|
275 | void |
274 | void |
276 | new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str) |
275 | new_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 | |
|
|
287 | void |
285 | void |
288 | new_info_map (int color, maptile * map, const char *str) |
286 | new_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 | */ |
|
|
300 | void |
|
|
301 | clear_win_info (object *op) |
|
|
302 | { |
|
|
303 | } |
291 | } |
304 | |
292 | |
305 | /** |
293 | /** |
306 | * Sets player title. |
294 | * Sets player title. |
307 | */ |
295 | */ |