summaryrefslogtreecommitdiff
path: root/src/map/duel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/duel.h')
-rw-r--r--src/map/duel.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/map/duel.h b/src/map/duel.h
index aeed77d4f..04d8e4e84 100644
--- a/src/map/duel.h
+++ b/src/map/duel.h
@@ -5,9 +5,9 @@
#define _DUEL_H_
struct duel {
- int members_count;
- int invites_count;
- int max_players_limit;
+ int members_count;
+ int invites_count;
+ int max_players_limit;
};
#define MAX_DUEL 1024
@@ -15,13 +15,13 @@ extern struct duel duel_list[MAX_DUEL];
extern int duel_count;
//Duel functions // [LuzZza]
-int duel_create(struct map_session_data *sd, const unsigned int maxpl);
-void duel_invite(const unsigned int did, struct map_session_data *sd, struct map_session_data *target_sd);
-void duel_accept(const unsigned int did, struct map_session_data *sd);
-void duel_reject(const unsigned int did, struct map_session_data *sd);
-void duel_leave(const unsigned int did, struct map_session_data *sd);
-void duel_showinfo(const unsigned int did, struct map_session_data *sd);
-int duel_checktime(struct map_session_data *sd);
+int duel_create(struct map_session_data* sd, const unsigned int maxpl);
+void duel_invite(const unsigned int did, struct map_session_data* sd, struct map_session_data* target_sd);
+void duel_accept(const unsigned int did, struct map_session_data* sd);
+void duel_reject(const unsigned int did, struct map_session_data* sd);
+void duel_leave(const unsigned int did, struct map_session_data* sd);
+void duel_showinfo(const unsigned int did, struct map_session_data* sd);
+int duel_checktime(struct map_session_data* sd);
void do_init_duel(void);
void do_final_duel(void);