|
Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
|

Go to the source code of this file.
Macros | |
| #define | ERROR 84 |
| ! GLOBAL CONSTANTS !! | |
| #define | MAX_BUFFER_SIZE 1024 |
| #define | MAX_CLIENT 1024 |
| #define | UNKNOWN -1 |
| #define | NB_PARAM 6 |
| ! PARSING CONSTANTS !! | |
| #define | CLIENTS_NB_PARAM "number of authorized clients per team" |
| #define | FREQUENCE_PARAM "reciprocal of time unit for execution of actions" |
| #define | MINIMUM_MAP_SIZE 20 |
| #define | DEFAULT_FREQUENCE 100 |
| ! INITIALIZATION VALUE CONSTANTS !! | |
| #define | FOOD_DENSITY 0.5 |
| #define | LINEMATE_DENSITY 0.3 |
| #define | DERAUMERE_DENSITY 0.15 |
| #define | SIBUR_DENSITY 0.1 |
| #define | MENDIANE_DENSITY 0.1 |
| #define | PHIRAS_DENSITY 0.08 |
| #define | THYSTAME_DENSITY 0.05 |
| #define | SPAWNS_TIME 20 |
| #define | PLAYER_TIME 1260 |
| #define | ADD_FOOD 126 |
| #define | BASIC_TIME 7 |
| #define | INVENTORY_TIME 1 |
| #define | FORK_TIME 42 |
| #define | INCANTATION_TIME 300 |
| #define | COMMAND_DELIMITER ' ' |
| #define | COMMAND_SEPARATOR '\n' |
| #define | CLIENT_COMMAND_NB 13 |
| #define | GUI_COMMAND_NB 9 |
| #define | BROADCAST_COMMAND 5 |
| #define | GUI_TEAM_NAME "GRAPHIC" |
| #define | CONNEXION_FAILED "Failed to get connexion with the client.\n" |
| ! MESSAGE !! | |
| #define ADD_FOOD 126 |
Definition at line 43 of file constants.h.
| #define BASIC_TIME 7 |
Definition at line 44 of file constants.h.
| #define BROADCAST_COMMAND 5 |
Definition at line 56 of file constants.h.
| #define CLIENT_COMMAND_NB 13 |
Definition at line 54 of file constants.h.
| #define CLIENTS_NB_PARAM "number of authorized clients per team" |
Definition at line 21 of file constants.h.
| #define COMMAND_DELIMITER ' ' |
Definition at line 51 of file constants.h.
| #define COMMAND_SEPARATOR '\n' |
Definition at line 52 of file constants.h.
| #define CONNEXION_FAILED "Failed to get connexion with the client.\n" |
! MESSAGE !!
Definition at line 62 of file constants.h.
| #define DEFAULT_FREQUENCE 100 |
! INITIALIZATION VALUE CONSTANTS !!
Definition at line 27 of file constants.h.
| #define DERAUMERE_DENSITY 0.15 |
Definition at line 33 of file constants.h.
| #define ERROR 84 |
! GLOBAL CONSTANTS !!
Definition at line 13 of file constants.h.
| #define FOOD_DENSITY 0.5 |
Definition at line 31 of file constants.h.
| #define FORK_TIME 42 |
Definition at line 46 of file constants.h.
| #define FREQUENCE_PARAM "reciprocal of time unit for execution of actions" |
Definition at line 22 of file constants.h.
| #define GUI_COMMAND_NB 9 |
Definition at line 55 of file constants.h.
| #define GUI_TEAM_NAME "GRAPHIC" |
Definition at line 58 of file constants.h.
| #define INCANTATION_TIME 300 |
Definition at line 47 of file constants.h.
| #define INVENTORY_TIME 1 |
Definition at line 45 of file constants.h.
| #define LINEMATE_DENSITY 0.3 |
Definition at line 32 of file constants.h.
| #define MAX_BUFFER_SIZE 1024 |
Definition at line 14 of file constants.h.
| #define MAX_CLIENT 1024 |
Definition at line 15 of file constants.h.
| #define MENDIANE_DENSITY 0.1 |
Definition at line 35 of file constants.h.
| #define MINIMUM_MAP_SIZE 20 |
Definition at line 23 of file constants.h.
| #define NB_PARAM 6 |
! PARSING CONSTANTS !!
Definition at line 20 of file constants.h.
| #define PHIRAS_DENSITY 0.08 |
Definition at line 36 of file constants.h.
| #define PLAYER_TIME 1260 |
Definition at line 42 of file constants.h.
| #define SIBUR_DENSITY 0.1 |
Definition at line 34 of file constants.h.
| #define SPAWNS_TIME 20 |
Definition at line 41 of file constants.h.
| #define THYSTAME_DENSITY 0.05 |
Definition at line 37 of file constants.h.
| #define UNKNOWN -1 |
Definition at line 16 of file constants.h.