#include <include.h>Go to the source code of this file.
Data Structures | |
| struct | shop_struct |
| struct | shop_gui_struct |
| struct | coins_struct |
Defines | |
| #define | SHOP_INPUT_TYPE_NROF 1 |
| #define | SHOP_INPUT_TYPE_PRICE 2 |
| #define | SHOP_INPUT_TYPES 2 |
| #define | SHOP_STATE_NONE 0 |
| #define | SHOP_STATE_OPEN 1 |
| #define | SHOP_STATE_BUYING 2 |
| #define | SHOP_MAX_ITEMS 28 |
| #define | MAX_PRICE_VALUE 100000000 |
Typedefs | |
| typedef struct shop_struct | _shop_struct |
| typedef struct shop_gui_struct | _shop_gui_struct |
| typedef struct coins_struct | coins_struct |
Variables | |
| _shop_gui_struct * | shop_gui |
Handles player shop structures and function prototypes.
Definition in file player_shop.h.
| #define MAX_PRICE_VALUE 100000000 |
Maximum price value the server will accept
Definition at line 134 of file player_shop.h.
| #define SHOP_MAX_ITEMS 28 |
Maximum number of items in a shop. This number is validated by the server, so there's no point in increasing it in order to sell more items.
Definition at line 131 of file player_shop.h.
| typedef struct shop_gui_struct _shop_gui_struct |
Shop GUI structure
| typedef struct shop_struct _shop_struct |
Shop item structure.
| typedef struct coins_struct coins_struct |
Structure for money types
The shop GUI.
Definition at line 33 of file player_shop.c.
1.7.1