diff options
Diffstat (limited to 'src/map/vending.h')
-rw-r--r-- | src/map/vending.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/map/vending.h b/src/map/vending.h index 2ed52b9bd..17dad31cd 100644 --- a/src/map/vending.h +++ b/src/map/vending.h @@ -1,8 +1,8 @@ // Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder -#ifndef _VENDING_H_ -#define _VENDING_H_ +#ifndef _VENDING_H_ +#define _VENDING_H_ #include "../common/cbasetypes.h" //#include "map.h" @@ -10,17 +10,17 @@ struct map_session_data; struct s_search_store_search; struct s_vending { - short index; //cart index (return item data) - short amount; //amout of the item for vending - unsigned int value; //at wich price + short index; //cart index (return item data) + short amount; //amout of the item for vending + unsigned int value; //at wich price }; -void vending_closevending(struct map_session_data* sd); -void vending_openvending(struct map_session_data* sd, const char* message, bool flag, const uint8* data, int count); -void vending_vendinglistreq(struct map_session_data* sd, int id); -void vending_purchasereq(struct map_session_data* sd, int aid, int uid, const uint8* data, int count); -bool vending_search(struct map_session_data* sd, unsigned short nameid); -bool vending_searchall(struct map_session_data* sd, const struct s_search_store_search* s); -bool vending_checknearnpc(struct block_list * bl); +void vending_closevending(struct map_session_data *sd); +void vending_openvending(struct map_session_data *sd, const char *message, bool flag, const uint8 *data, int count); +void vending_vendinglistreq(struct map_session_data *sd, int id); +void vending_purchasereq(struct map_session_data *sd, int aid, int uid, const uint8 *data, int count); +bool vending_search(struct map_session_data *sd, unsigned short nameid); +bool vending_searchall(struct map_session_data *sd, const struct s_search_store_search *s); +bool vending_checknearnpc(struct block_list *bl); #endif /* _VENDING_H_ */ |