From 34807ca9fccc7425573256645024722571ef4442 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 10:27:47 -0700 Subject: specialize inventory/storage indices --- src/map/clif.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/map/clif.hpp') diff --git a/src/map/clif.hpp b/src/map/clif.hpp index 3bed955..0087d78 100644 --- a/src/map/clif.hpp +++ b/src/map/clif.hpp @@ -80,8 +80,8 @@ void clif_scriptmenu(dumb_ptr, BlockId, XString); //self void clif_scriptinput(dumb_ptr, BlockId); //self void clif_scriptinputstr(dumb_ptr sd, BlockId npcid); // self -int clif_additem(dumb_ptr, int, int, PickupFail); //self -void clif_delitem(dumb_ptr, int, int); //self +int clif_additem(dumb_ptr, IOff0, int, PickupFail); //self +void clif_delitem(dumb_ptr, IOff0, int); //self int clif_updatestatus(dumb_ptr, SP); //self int clif_damage(dumb_ptr, dumb_ptr, tick_t, interval_t, interval_t, @@ -93,14 +93,14 @@ int clif_takeitem(dumb_ptr src, dumb_ptr dst) } int clif_changelook(dumb_ptr, LOOK, int); // area void clif_changelook_accessories(dumb_ptr bl, dumb_ptr dst); // area or target; list gloves, boots etc. -int clif_arrowequip(dumb_ptr sd, int val); //self +int clif_arrowequip(dumb_ptr sd, IOff0 val); //self int clif_arrow_fail(dumb_ptr sd, int type); //self int clif_statusupack(dumb_ptr, SP, int, int); // self -int clif_equipitemack(dumb_ptr, int, EPOS, int); // self -int clif_unequipitemack(dumb_ptr, int, EPOS, int); // self +int clif_equipitemack(dumb_ptr, IOff0, EPOS, int); // self +int clif_unequipitemack(dumb_ptr, IOff0, EPOS, int); // self int clif_misceffect(dumb_ptr, int); // area int clif_changeoption(dumb_ptr); // area -int clif_useitemack(dumb_ptr, int, int, int); // self +int clif_useitemack(dumb_ptr, IOff0, int, int); // self void clif_emotion(dumb_ptr bl, int type); void clif_sitting(Session *, dumb_ptr sd); @@ -109,8 +109,8 @@ void clif_sitting(Session *, dumb_ptr sd); void clif_traderequest(dumb_ptr sd, CharName name); void clif_tradestart(dumb_ptr sd, int type); void clif_tradeadditem(dumb_ptr sd, - dumb_ptr tsd, int index, int amount); -int clif_tradeitemok(dumb_ptr sd, int index, int amount, + dumb_ptr tsd, IOff2 index2, int amount); +int clif_tradeitemok(dumb_ptr sd, IOff2 index, int amount, int fail); int clif_tradedeal_lock(dumb_ptr sd, int fail); int clif_tradecancelled(dumb_ptr sd); @@ -123,8 +123,8 @@ int clif_storageequiplist(dumb_ptr sd, int clif_updatestorageamount(dumb_ptr sd, Storage *stor); int clif_storageitemadded(dumb_ptr sd, Storage *stor, - int index, int amount); -int clif_storageitemremoved(dumb_ptr sd, int index, + SOff0 index, int amount); +int clif_storageitemremoved(dumb_ptr sd, SOff0 index, int amount); int clif_storageclose(dumb_ptr sd); -- cgit v1.2.3-60-g2f50