static char sccsid
[] = "@(#)room.c 1.2 %G%";
printf("\n\t%s\n", location
[position
].name
);
if (beenthere
[position
] < 3) {
for (p
= location
[position
].desc
; c
= *p
++;)
if (c
!= '-' && c
!= '*' && c
!= '+')
printf(truedirec(compass
, c
));
register unsigned int *p
= location
[position
].objects
;
for (n
= 0; n
< NUMOFOBJECTS
; n
++)
if (testbit(p
, n
) && objdes
[n
])
return(option
== '+' ? "behind you" : "back");
return(option
== '+' ? "behind you" : "back");
return(option
== '+' ? "behind you" : "back");
return(option
== '+' ? "behind you" : "back");
printf("Error: room %d. More than four directions wanted.", position
);