11 #ifndef GRAPHICS_CONST_H_
12 # define GRAPHICS_CONST_H_
17 # define ERR_OFACTORY_REGISTER (const char *)"Error: FactoryObjects::Register: null object"
18 # define ERR_OFACTORY_REGKEY (const char *)"Error: FactoryObjects::Register: key already exists"
20 # define ERR_PHYSICS_CREATE (const char *)"Error: Physics::UpdateEnv: factory's creation is null"
22 # define ERR_ENV_INVALIDFILE (const char *)"Error: Environment: invalid configuration file"
23 # define ERR_ENV_INVALIDTYPE (const char *)"Error: Environment: invalid type of object"
24 # define ERR_ENV_INVALIDNUMOFOB (const char *)"Error: Environment: invalid number of objects"
29 # define DEF_IA_TYPE (const char *)"nanobrain"
31 # define DEF_APP_TITLE (const char *)"LoveBrains - Create your mind !"
32 # define DEF_APP_WIDTH (unsigned int)1280
33 # define DEF_APP_HEIGHT (unsigned int)720
34 # define DEF_APP_FRAMER (unsigned int)60
35 # define DEF_APP_FONTS (char *)"resources/fonts/"
36 # define DEF_APP_BRAINS (const char *)"brains/"
37 # define DEF_APP_TOURN (const char *)"tournament.txt"
39 # define DEF_ENV_POINTCHAR (char)'.'
40 # define DEF_ENV_DELIM (const char *)","
41 # define DEF_ENV_DELIMCHAR (char)','
42 # define DEF_ENV_MINCHAR (char)'a'
43 # define DEF_ENV_MAXCHAR (char)'z'
44 # define DEF_ENV_MINNUM (char)'0'
45 # define DEF_ENV_MAXNUM (char)'9'
46 # define DEF_ENV_SPACECHAR (char)' '
47 # define DEF_ENV_UNDERCHAR (char)'_'
48 # define DEF_ENV_DASHCHAR (char)'-'
49 # define DEF_ENV_BOOLEAN (const char *)"true"
50 # define DEF_ENV_STRBFITNESS (const char *)"Best fitness: "
51 # define DEF_ENV_STRAFITNESS (const char *)"Average fitness: "
52 # define DEF_ENV_STREPOCHS (const char *)"Epochs: "
53 # define DEF_ENV_SEP_SCORE (const char *)" : "