diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-07 19:38:32 -0800 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-02-07 22:41:23 -0800 |
commit | 83b2e0b3ceda907b7186acfcc56c214fc04d9c13 (patch) | |
tree | f4dcc8d8b59fd9a633bc2604cc92f0523cc76ee4 /src/map/mob.hpp | |
parent | c67c2b7435a13d7ce17b2075e22dc5c6036f702a (diff) | |
download | tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.gz tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.bz2 tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.tar.xz tmwa-83b2e0b3ceda907b7186acfcc56c214fc04d9c13.zip |
Remove some macros
Diffstat (limited to 'src/map/mob.hpp')
-rw-r--r-- | src/map/mob.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/mob.hpp b/src/map/mob.hpp index 2d51eb0..384c1b9 100644 --- a/src/map/mob.hpp +++ b/src/map/mob.hpp @@ -6,10 +6,11 @@ #include "../common/mmo.hpp" #include "../common/timer.hpp" +#include "clif.t.hpp" #include "map.hpp" #include "skill.t.hpp" -#define MAX_RANDOMMONSTER 3 +constexpr int MAX_RANDOMMONSTER = 3; struct mob_skill { @@ -96,7 +97,7 @@ int mob_get_equip(int); // mob equip [Valaris] int do_init_mob(void); int mob_delete(struct mob_data *md); -int mob_catch_delete(struct mob_data *md, int type); +int mob_catch_delete(struct mob_data *md, BeingRemoveWhy type); void mob_timer_delete(timer_id, tick_t, custom_id_t, custom_data_t); int mob_deleteslave(struct mob_data *md); @@ -105,7 +106,7 @@ int mob_counttargeted(struct mob_data *md, struct block_list *src, ATK target_lv); int mob_class_change(struct mob_data *md, int *value); -int mob_warp(struct mob_data *md, int m, int x, int y, int type); +int mob_warp(struct mob_data *md, int m, int x, int y, BeingRemoveWhy type); int mobskill_use(struct mob_data *md, unsigned int tick, MobSkillCondition event, SkillID skill=SkillID::ZERO); |