general.h
changeset 17 7c1e68c17c0e
parent 12 a2c334a71a6b
equal deleted inserted replaced
16:fe078fb2e8b4 17:7c1e68c17c0e
    52 };
    52 };
    53 
    53 
    54 struct Map
    54 struct Map
    55 {
    55 {
    56 	char Cells[MAX_Y][MAX_X]; /* Stores WALLs and PLATFORMs */
    56 	char Cells[MAX_Y][MAX_X]; /* Stores WALLs and PLATFORMs */
    57 	char cells_boxes[MAX_Y][MAX_X]; /* Stores the box number in that cell */
    57 	int cells_boxes[MAX_Y][MAX_X]; /* Stores the box number in that cell */
    58 					/* -1 is NO BOX there */
    58 					/* -1 is NO BOX there */
    59 	char man_moves[MAX_Y][MAX_X]; /* Stores boxes, walls, MANCANMOVEs */
    59 	char man_moves[MAX_Y][MAX_X]; /* Stores boxes, walls, MANCANMOVEs */
    60 /*	int boxes[MAX_Y][MAX_X]; */
    60 /*	int boxes[MAX_Y][MAX_X]; */
    61 	int SizeX, SizeY;
    61 	int SizeX, SizeY;
    62 	struct Position Man;
    62 	struct Position Man;