summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-09 12:07:58 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-04-09 12:07:58 +0000
commit94da412fe250304a371605e6bf4a08ef1ca2fd3b (patch)
tree09cf3fea3c2dcbb39d41441eef538427f2e623d0 /src/map/pc.h
parentf75cd63e74884bfb8ee5f59717d8e37671948af6 (diff)
downloadhercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.tar.gz
hercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.tar.bz2
hercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.tar.xz
hercules-94da412fe250304a371605e6bf4a08ef1ca2fd3b.zip
* Moved duel code into a separate file.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14785 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 28ed28da8..2221dfe3a 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -510,16 +510,6 @@ enum equip_index {
EQI_MAX
};
-struct duel {
- int members_count;
- int invites_count;
- int max_players_limit;
-};
-
-#define MAX_DUEL 1024
-extern struct duel duel_list[MAX_DUEL];
-extern int duel_count;
-
#define pc_setdead(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 1 )
#define pc_setsit(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 2 )
#define pc_isdead(sd) ( (sd)->state.dead_sit == 1 )
@@ -778,15 +768,6 @@ void pc_inventory_rentals(struct map_session_data *sd);
int pc_inventory_rental_clear(struct map_session_data *sd);
void pc_inventory_rental_add(struct map_session_data *sd, int seconds);
-//Duel functions // [LuzZza]
-int duel_create(struct map_session_data* sd, const unsigned int maxpl);
-int duel_invite(const unsigned int did, struct map_session_data* sd, struct map_session_data* target_sd);
-int duel_accept(const unsigned int did, struct map_session_data* sd);
-int duel_reject(const unsigned int did, struct map_session_data* sd);
-int duel_leave(const unsigned int did, struct map_session_data* sd);
-int duel_showinfo(const unsigned int did, struct map_session_data* sd);
-int duel_checktime(struct map_session_data* sd);
-
int pc_read_motd(void); // [Valaris]
int pc_disguise(struct map_session_data *sd, int class_);