comparison arogue7/maze.c @ 300:0250220d8cdd

Fix an assortment of compiler warnings. A few potential bugs were removed in the process. Much code cleanup remains to be done.
author John "Elwin" Edwards
date Fri, 22 Nov 2019 21:18:27 -0500
parents f9ef86cf22b2
children
comparison
equal deleted inserted replaced
299:74351bf23e5e 300:0250220d8cdd
19 struct cell { 19 struct cell {
20 char y_pos; 20 char y_pos;
21 char x_pos; 21 char x_pos;
22 }; 22 };
23 struct bordercells { 23 struct bordercells {
24 char num_pos; /* number of frontier cells next to you */ 24 unsigned char num_pos; /* number of frontier cells next to you */
25 struct cell conn[4]; /* the y,x position of above cell */ 25 struct cell conn[4]; /* the y,x position of above cell */
26 } border_cells; 26 } border_cells;
27 27
28 28
29 static char *frontier, 29 static char *frontier,