comparison srogue/trader.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 94a0d9dd5ce1
children e52a8a7ad4c5
comparison
equal deleted inserted replaced
299:74351bf23e5e 300:0250220d8cdd
336 struct cell { 336 struct cell {
337 char y_pos; 337 char y_pos;
338 char x_pos; 338 char x_pos;
339 }; 339 };
340 struct bordercells { 340 struct bordercells {
341 char num_pos; /* number of frontier cells next to you */ 341 unsigned char num_pos; /* number of frontier cells next to you */
342 struct cell conn[4]; /* the y,x position of above cell */ 342 struct cell conn[4]; /* the y,x position of above cell */
343 } mborder; 343 } mborder;
344 344
345 char *frontier, *bits; 345 char *frontier, *bits;
346 char *moffset(int y, int x); 346 char *moffset(int y, int x);