Sat, 11 May 2019 23:13:40 +0200
Added flags for each ingredient group for the supplies state. On the main screen show the state of the supplies if the product stage is not yet packaged. Calculate the state of the supplies for fermentables, hops, yeasts and miscs. In the grids don't show the inventory values after they are used and reduced. On the fermentables tab show the weight of the grains to mash.
0 | 1 | #ifndef _RDCONFIG_H |
2 | #define _RDCONFIG_H | |
3 | ||
4 | #define S(x) (x)?(x):"(null)" | |
5 | ||
6 | typedef struct _key_list { | |
7 | char *key; | |
8 | int (*prc)(char **); | |
9 | char **dest; | |
10 | } key_list; | |
11 | ||
12 | ||
13 | void killconfig(void); | |
14 | int rdconfig(void); | |
15 | int wrconfig(void); | |
16 | ||
17 | ||
18 | #endif |