code de start qui marche a la fin du premier match, base pour la suite
Fork of CRAC-Strat_2017_homologation_petit_rob by
Diff: Instruction/Instruction.h
- Revision:
- 4:88431b537477
- Parent:
- 0:ad97421fb1fb
- Child:
- 11:ed13a480ddca
--- a/Instruction/Instruction.h Sun Apr 17 08:31:59 2016 +0000 +++ b/Instruction/Instruction.h Sun Apr 17 14:03:03 2016 +0000 @@ -85,16 +85,25 @@ **/ enum E_InstructionNextActionJumpType charToInstructionNextActionJumpType(char type); -/** -* -**/ +/****************************************************************************************/ +/* FUNCTION NAME: stringToInstruction */ +/* DESCRIPTION : Conversion d'une ligne du fichier de strat en instruction */ +/****************************************************************************************/ struct S_Instruction stringToInstruction(char line[]); -/** -Charger toutes les instructions du fichier de strat -Il faut utiliser strcpy(cheminFileStart,"/local/strat.txt"); -**/ +/****************************************************************************************/ +/* FUNCTION NAME: loadAllInstruction */ +/* DESCRIPTION : Charger toutes les instructions du fichier de stratégie */ +/* Il faut utiliser strcpy(cheminFileStart,"/local/strat.txt"); */ +/* pour indiquer le fichier à utiliser */ +/****************************************************************************************/ void loadAllInstruction(void); +/****************************************************************************************/ +/* FUNCTION NAME: FileExists */ +/* DESCRIPTION : Permet de vérifier si un fichier existe */ +/****************************************************************************************/ +int FileExists(const char *fname); + #endif \ No newline at end of file