X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmaterial.h;h=114e24d5ff330d6906e0c4330d15addaa5c384e2;hp=c99320c6686c909581e1b19ed683c28863967d38;hb=eabba1119f45f2ac8a3a6248bd1c1d9868d7af5c;hpb=fecefbb99cb0147f37d6895765a315f34c935786 diff --git a/src/material.h b/src/material.h index c99320c6..114e24d5 100644 --- a/src/material.h +++ b/src/material.h @@ -27,6 +27,13 @@ const int MaterialTableSize = 8192; +/// Game phase +enum Phase { + PHASE_ENDGAME = 0, + PHASE_MIDGAME = 128 +}; + + /// MaterialInfo is a class which contains various information about a /// material configuration. It contains a material balance evaluation, /// a function pointer to a special endgame evaluation function (which in