Tue, 12 Apr 2022 21:03:19 +0200
Added global variables, C++ lovers will hate that. Added global acid data. Fixed several load and save errors in the json arrays in the recipe record. Added first part of the miscs table. The first part of the water tab has values.
#ifndef _GLOBAL_H #define _GLOBAL_H #include <QList> #include <QString> struct Acid { QString name; double pK1; double pK2; double pK3; double MolWt; double AcidSG; double AcidPrc; }; extern QList<Acid> my_acids; extern QString my_brewery_name; extern double my_factor_mashhop; extern double my_factor_fwh; extern double my_factor_pellet; extern double my_factor_plug; extern double my_factor_wethop; extern double my_factor_cryohop; extern int my_ibu_method; extern int my_color_method; extern double my_brix_correction; extern double my_grain_absorbtion; #endif