src/global.cpp

Tue, 12 Apr 2022 21:03:19 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 12 Apr 2022 21:03:19 +0200
changeset 131
0115b97e8c39
child 133
08635b028dcf
permissions
-rw-r--r--

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.



#include "global.h"

QList<Acid>      my_acids;

QString my_brewery_name = "No-name";
double my_factor_mashhop = -30;
double my_factor_fwh = 10;
double my_factor_pellet = 10;
double my_factor_plug = 2;
double my_factor_wethop = -82;
double my_factor_cryohop = 100;
int my_ibu_method = 0;
int my_color_method = 0;
double my_brix_correction = 1.04;
double my_grain_absorbtion = 1.01;

mercurial