LoveBrains  1.0.0
graphics_const.h
1 /*
2 ** graphics_const.h for LoveBrains in /home/robin_f/Programming/Git/CPP/LoveBrains
3 **
4 ** Made by Guillaume ROBIN
5 ** Login <robin_f@epitech.eu>
6 **
7 ** Started on Wed Jul 22 14:11:24 2015 Guillaume ROBIN
8 ** Last update Mon Aug 24 15:09:56 2015 Guillaume ROBIN
9 */
10 
11 #ifndef GRAPHICS_CONST_H_
12 # define GRAPHICS_CONST_H_
13 
14 /*
15 ** Errors.
16 */
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"
19 
20 # define ERR_PHYSICS_CREATE (const char *)"Error: Physics::UpdateEnv: factory's creation is null"
21 
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"
25 
26 /*
27 ** Default values.
28 */
29 # define DEF_IA_TYPE (const char *)"nanobrain"
30 
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"
38 
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 *)" : "
54 
55 #endif /* !GRAPHICS_CONST_H_ */