* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)make_level.c 5.1 (Berkeley) %G%";
for (i
= 1; i
< Y_FIELDSIZE
; i
++)
for (x
= 1; x
< X_FIELDSIZE
; x
++)
mvaddch(My_pos
.y
, My_pos
.x
, ' ');
for (cp
= Robots
; cp
< &Robots
[MAXROBOTS
]; cp
++)
bzero(Field
, sizeof Field
);
if ((i
= Level
* 10) > MAXROBOTS
)