
- map.h is no longer a generic dumping spot of all the shared structs, and instead, each such structure now resides in its logical component - map.h now only holds mostly map-related things (needs more cleaning) - there's still a lot of room for improvement (reorganization within individual header files, etc...) git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12429 54d463be-8e91-2dee-dedb-b68131a5f0ec
23 lines
667 B
C
23 lines
667 B
C
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
|
|
// For more information, see LICENCE in the main folder
|
|
|
|
#ifndef _VENDING_H_
|
|
#define _VENDING_H_
|
|
|
|
#include "../common/cbasetypes.h"
|
|
//#include "map.h"
|
|
struct map_session_data;
|
|
|
|
struct s_vending {
|
|
short index;
|
|
short amount;
|
|
unsigned int value;
|
|
};
|
|
|
|
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 id, const uint8* data, int count);
|
|
|
|
#endif /* _VENDING_H_ */
|