diff options
author | skyleo <skyleo@skyleo.de> | 2019-11-17 13:35:15 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2020-03-08 20:59:35 +0100 |
commit | ddd62450518afd71bd72f914196b6a2eac7e6bd3 (patch) | |
tree | 6e2aabd88f519ff681a9eeed132e8863c0a56cd9 /src/map/unit.h | |
parent | 3077a395f8ff1bc86972914f2f94d58e893e2aa7 (diff) | |
download | hercules-ddd62450518afd71bd72f914196b6a2eac7e6bd3.tar.gz hercules-ddd62450518afd71bd72f914196b6a2eac7e6bd3.tar.bz2 hercules-ddd62450518afd71bd72f914196b6a2eac7e6bd3.tar.xz hercules-ddd62450518afd71bd72f914196b6a2eac7e6bd3.zip |
Change the name of all functions which got their return-value meaning changed
Diffstat (limited to 'src/map/unit.h')
-rw-r--r-- | src/map/unit.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/map/unit.h b/src/map/unit.h index dd338d076..57f04b57a 100644 --- a/src/map/unit.h +++ b/src/map/unit.h @@ -106,24 +106,24 @@ struct unit_interface { struct unit_data* (*bl2ud2) (struct block_list *bl); void (*init_ud) (struct unit_data *ud); int (*attack_timer) (int tid, int64 tick, int id, intptr_t data); - int (*walktoxy_timer) (int tid, int64 tick, int id, intptr_t data); - int (*walktoxy_sub) (struct block_list *bl); - int (*delay_walktoxy_timer) (int tid, int64 tick, int id, intptr_t data); - int (*walktoxy) (struct block_list *bl, short x, short y, int flag); + int (*walk_toxy_timer) (int tid, int64 tick, int id, intptr_t data); + int (*walk_toxy_sub) (struct block_list *bl); + int (*delay_walk_toxy_timer) (int tid, int64 tick, int id, intptr_t data); + int (*walk_toxy) (struct block_list *bl, short x, short y, int flag); int (*walktobl_timer) (int tid, int64 tick, int id, intptr_t data); int (*walktobl) (struct block_list *bl, struct block_list *tbl, int range, int flag); bool (*run) (struct block_list *bl, struct map_session_data *sd, enum sc_type type); void (*run_hit) (struct block_list *bl, struct status_change *sc, struct map_session_data *sd, enum sc_type type); int (*escape) (struct block_list *bl, struct block_list *target, short dist); int (*movepos) (struct block_list *bl, short dst_x, short dst_y, int easy, bool checkpath); - int (*setdir) (struct block_list *bl, enum unit_dir dir); + int (*set_dir) (struct block_list *bl, enum unit_dir dir); enum unit_dir (*getdir) (struct block_list *bl); int (*blown) (struct block_list *bl, int dx, int dy, int count, int flag); int (*warp) (struct block_list *bl, short m, short x, short y, enum clr_type type); int (*warpto_master) (struct block_list *master_bl, struct block_list *slave_bl); int (*stop_walking) (struct block_list *bl, int type); int (*skilluse_id) (struct block_list *src, int target_id, uint16 skill_id, uint16 skill_lv); - int (*step_timer) (int tid, int64 tick, int id, intptr_t data); + int (*steptimer) (int tid, int64 tick, int id, intptr_t data); void (*stop_stepaction) (struct block_list *bl); int (*is_walking) (struct block_list *bl); int (*can_move) (struct block_list *bl); |