general.h
changeset 6 bfbca2c0fc70
parent 4 d9259a605dec
child 8 b41a580b3abe
equal deleted inserted replaced
5:9d1e320acbb0 6:bfbca2c0fc70
    70 
    70 
    71 
    71 
    72 /* Prototypes for map managing */
    72 /* Prototypes for map managing */
    73 
    73 
    74 void CopyMap (struct Map *Mdest, const struct Map *Morig);
    74 void CopyMap (struct Map *Mdest, const struct Map *Morig);
       
    75 int are_boxes_equal(const struct Position b1[], const struct Position b2[],
       
    76 	int n);
       
    77 
       
    78 /* Prototypes for unix i/o, processes */
    75 void ReadMap(struct Map *M, char *FileName);
    79 void ReadMap(struct Map *M, char *FileName);
    76 void ShowMap (const struct Map *M);
    80 void ShowMap (const struct Map *M);
       
    81 void init_os();
       
    82 void PrintMove(struct BoxMove b);
       
    83 
       
    84 /* Functions related to map solution */
       
    85 int solve_map(const struct Map origin);