From 2b092c150e1226decc48160316070fc44d5fbba0 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 20 Dec 2012 18:32:32 -0800 Subject: Enumify option, opt1, opt2, and opt3 --- src/map/battle.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/map/battle.hpp') diff --git a/src/map/battle.hpp b/src/map/battle.hpp index aa4dd91..b268616 100644 --- a/src/map/battle.hpp +++ b/src/map/battle.hpp @@ -3,6 +3,7 @@ #include "../common/utils.hpp" +#include "map.t.hpp" #include "skill.t.hpp" // ダメージ @@ -119,10 +120,10 @@ int battle_get_stat(int stat_id /* SP_VIT or similar */ , eptr battle_get_sc_data(struct block_list *bl); short *battle_get_sc_count(struct block_list *bl); -short *battle_get_opt1(struct block_list *bl); -short *battle_get_opt2(struct block_list *bl); -short *battle_get_opt3(struct block_list *bl); -short *battle_get_option(struct block_list *bl); +Opt1 *battle_get_opt1(struct block_list *bl); +Opt2 *battle_get_opt2(struct block_list *bl); +Opt3 *battle_get_opt3(struct block_list *bl); +Option *battle_get_option(struct block_list *bl); enum { -- cgit v1.2.3-60-g2f50