|
|
@ -1,4 +1,4 @@
|
|
|
|
/* $Id: field.c,v 1.5 2003/05/04 20:26:16 ob1kenewb Exp $ */
|
|
|
|
/* $Id: field.c,v 1.6 2003/05/04 21:44:14 ob1kenewb Exp $ */
|
|
|
|
/* field.c - procedures which are needed to control the field */
|
|
|
|
/* field.c - procedures which are needed to control the field */
|
|
|
|
|
|
|
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
@ -95,7 +95,7 @@ void field_load(FILE *map)
|
|
|
|
int i;
|
|
|
|
int i;
|
|
|
|
int d;
|
|
|
|
int d;
|
|
|
|
|
|
|
|
|
|
|
|
while((currentline=fgets(&tmp,MAX_FIELDSIZE_X,map)))
|
|
|
|
while((currentline=fgets(tmp,MAX_FIELDSIZE_X,map)))
|
|
|
|
/* fgetln is only implemented on *BSD */
|
|
|
|
/* fgetln is only implemented on *BSD */
|
|
|
|
/* while((currentline=fgetln(map,&length))) */
|
|
|
|
/* while((currentline=fgetln(map,&length))) */
|
|
|
|
{
|
|
|
|
{
|
|
|
|