From b52127bcbf817ff8285b36d22198b275327e16bb Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 16 Dec 2012 17:47:51 -0800 Subject: Cleanup headers and remove all uses of va_list except logging --- src/map/party.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/map/party.hpp') diff --git a/src/map/party.hpp b/src/map/party.hpp index 6ab5979..853087e 100644 --- a/src/map/party.hpp +++ b/src/map/party.hpp @@ -1,8 +1,7 @@ -// $Id: party.h,v 1.3 2004/09/25 05:32:18 MouseJstr Exp $ #ifndef PARTY_HPP #define PARTY_HPP -#include +#include struct party; struct map_session_data; @@ -42,11 +41,11 @@ int party_recv_message(int party_id, int account_id, const char *mes, int len); int party_check_conflict(struct map_session_data *sd); int party_send_xy_clear(struct party *p); -void party_send_hp_check(struct block_list *bl, va_list ap); +void party_send_hp_check(struct block_list *bl, int party_id, int *flag); int party_exp_share(struct party *p, int map, int base_exp, int job_exp); -void party_foreachsamemap(void(*func)(struct block_list *, va_list), - struct map_session_data *sd, int type, ...); +void party_foreachsamemap(std::function func, + struct map_session_data *sd, int type); -#endif +#endif // PARTY_HPP -- cgit v1.2.3-60-g2f50