home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
103.ONEWAY.INC
< prev
next >
Wrap
Text File
|
1992-06-07
|
704b
|
23 lines
procedure oneWaySectorList;
{ display to the screen a list of all one way sectors }
var
t : warpindex;
s, s1 : sector;
n : integer; { number of one way warps found }
begin
n := 0;
for s := 1 to MaxSector do
if space.sectors[s].number <> Unexplored then
for t := 1 to space.sectors[s].number do
begin
s1 := space.sectors[s].data[t];
if (space.sectors[s1].number <> unexplored) and
not IsWarp( s1, s) then
begin
write( s : 5, '->', s1:3);
n := n + 1;
end; {if}
end; {for if for}
writeln;
writeln('total of ', n, ' one way sectors discovered.');
end;