Browse Source

Duplication des define

master
Bastien 8 years ago
committed by Squiz
parent
commit
1c40eb3447
3 changed files with 9 additions and 13 deletions
  1. +0
    -8
      arbitre.c
  2. +9
    -1
      arbitre.h
  3. +0
    -4
      main.c

+ 0
- 8
arbitre.c View File

@ -6,14 +6,6 @@
#define STACK_TYPE size_t
#include "stack.h"
#define start_pos startPos
#define end_pos endPos
#define debug
#define allow_to_returning_to_the_starting_point_in_a_round 1
#define allow_to_block_opposite_player 0
/* recherche dichotomique */
enum bool search(const size_t *tab, const size_t length, const size_t value) {
ssize_t first, last, middle;


+ 9
- 1
arbitre.h View File

@ -1,6 +1,14 @@
#define start_pos startPos
#define end_pos endPos
#define debug
#define allow_to_returning_to_the_starting_point_in_a_round 1
#define allow_to_block_opposite_player 0
#ifndef arbitre_h
#define arbitre_h
#include "api.h"
enum bool {false, true};


+ 0
- 4
main.c View File

@ -11,10 +11,6 @@
#include "arbitre.h"
#define start_pos startPos
#define end_pos endPos
#define debug
#define score_filename "scores"
enum api_function_t {ia_lib_init, ia_start_match, ia_start_game, ia_end_game , ia_end_match, ia_next_move};


Loading…
Cancel
Save