home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Classic Fond 52
/
ClassicFond52.iso
/
GAMES
/
DROIDW.RAR
/
DWCD.GOB
/
mission_cog_tx_setwallcel.cog
< prev
next >
Wrap
Text File
|
1998-11-04
|
918b
|
46 lines
symbols
message pulse
message startup
flex animspeed
int numcells
surface wall0
surface wall1
surface wall2
surface wall3
surface wall4
surface wall5
surface wall6
surface wall7
surface wall8
surface wall9
end
code
startup:
setwallcel(wall, 0);
setpulse(animspeed);
cellnumb=0;
return;
pulse:
if (cellnumb==(numcells-1)) cellnumb=0;
else cellnumb=cellnumb+1;
setwallcel(wall0, cellnumb);
setwallcel(wall1, cellnumb);
setwallcel(wall2, cellnumb);
setwallcel(wall3, cellnumb);
setwallcel(wall4, cellnumb);
setwallcel(wall5, cellnumb);
setwallcel(wall6, cellnumb);
setwallcel(wall7, cellnumb);
setwallcel(wall8, cellnumb);
setwallcel(wall9, cellnumb);
return;
end