UniversalPizzoccheri/gamedata.h

21 lines
601 B
C
Raw Normal View History

2017-12-29 18:09:47 +00:00
#ifndef gamedata
#define gamedata
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <errno.h>
2018-01-01 13:14:05 +00:00
#include <time.h>
2017-12-29 18:09:47 +00:00
typedef struct _gamedata gamedata_t;
extern gamedata_t* gamedata_new();
extern void gamedata_delete();
extern bool gamedata_buy_bitto(gamedata_t*, unsigned int);
extern bool gamedata_buy_flour(gamedata_t*, unsigned int);
extern void gamedata_print_status(gamedata_t*, FILE*);
extern bool gamedata_make_pizzoccheri(gamedata_t*, unsigned int);
2018-01-01 13:14:05 +00:00
extern unsigned int gamedata_sell_pizzoccheri(gamedata_t*);
extern bool gamedata_set_unit_price(gamedata_t*, double);
2017-12-29 18:09:47 +00:00
#endif