diff options
Diffstat (limited to 'src/map/trade.h')
-rw-r--r-- | src/map/trade.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/src/map/trade.h b/src/map/trade.h index f66c70525..f91ccd4a2 100644 --- a/src/map/trade.h +++ b/src/map/trade.h @@ -1,10 +1,14 @@ -// Copyright (c) Athena Dev Teams - Licensed under GNU GPL -// For more information, see LICENCE in the main folder +// Copyright (c) Hercules Dev Team, licensed under GNU GPL. +// See the LICENSE file +// Portions Copyright (c) Athena Dev Teams -#ifndef _TRADE_H_ -#define _TRADE_H_ +#ifndef MAP_TRADE_H +#define MAP_TRADE_H + +//Max distance from traders to enable a trade to take place. +//TODO: battle_config candidate? +#define TRADE_DISTANCE 2 -//#include "map.h" struct map_session_data; struct trade_interface { @@ -17,9 +21,10 @@ struct trade_interface { void (*ok) (struct map_session_data *sd); void (*cancel) (struct map_session_data *sd); void (*commit) (struct map_session_data *sd); -} trade_s; +}; struct trade_interface *trade; + void trade_defaults(void); -#endif /* _TRADE_H_ */ +#endif /* MAP_TRADE_H */ |