summaryrefslogtreecommitdiff
path: root/src/map/duel.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-09-25 00:50:57 +0200
committerHaru <haru@dotalux.com>2013-09-25 00:50:57 +0200
commita67007e744f44a74746e0b658160ddc8179d2c0a (patch)
treed6536346cdc16eb7c6ab1759be23ca9983fb0012 /src/map/duel.h
parent44c9ba35b0bc2d9f4dc82db20be824e6e0d320e7 (diff)
downloadhercules-a67007e744f44a74746e0b658160ddc8179d2c0a.tar.gz
hercules-a67007e744f44a74746e0b658160ddc8179d2c0a.tar.bz2
hercules-a67007e744f44a74746e0b658160ddc8179d2c0a.tar.xz
hercules-a67007e744f44a74746e0b658160ddc8179d2c0a.zip
Renamed iDuel interface to duel
- Note to plugin developers: change your GET_SYMBOL("iDuel") to GET_SYMBOL("duel"). Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/duel.h')
-rw-r--r--src/map/duel.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/map/duel.h b/src/map/duel.h
index 9fa33833a..7802f6163 100644
--- a/src/map/duel.h
+++ b/src/map/duel.h
@@ -21,8 +21,8 @@ struct duel {
struct duel_interface {
/* vars */
- struct duel duel_list[MAX_DUEL];
- int duel_count;
+ struct duel list[MAX_DUEL];
+ int count;
/* funcs */
//Duel functions // [LuzZza]
@@ -34,12 +34,12 @@ struct duel_interface {
void (*showinfo) (const unsigned int did, struct map_session_data* sd);
int (*checktime) (struct map_session_data* sd);
- void (*do_init_duel) (void);
- void (*do_final_duel) (void);
-} iDuel_s;
+ void (*init) (void);
+ void (*final) (void);
+} duel_s;
-struct duel_interface *iDuel;
+struct duel_interface *duel;
-void iDuel_defaults(void);
+void duel_defaults(void);
#endif /* _DUEL_H_ */