okay here's the part of my code that's wacky...
the controls are...
forward....8 on numpad
backwards...2 on num pad
change current cube on the X axis....left and right arrow keys
change current cube on the Z axis...up and down arrow keys
change the FLOOR(storie,level...ETC) that you are working on just select a floor ....... number keys(you know above the qwerty row...) 1-0 select 1-10...
what the program is supposed to do (so far) is UNGHOST the selected (current) cube on the selected (current) level(you know the deal...ETC) and reghost every thing else.
[edit] the number in the left bottom corner is the CurrentCubeX
Rem Project: PakPerson
Rem Created: 3/3/2004 5:07:48 PM
Rem ***** Main Source File *****
`set up some major arrays
dim biglevel(10,10,10,6)
dim numofplains(0)
dim PlainID(10,10,10,6)
`setup
hide mouse
position camera 0,0,0,-200
gosub Setup_maze_one
`load texture
load image "C:Program FilesDark Basic SoftwareDark Basic ProfessionalMediaBitmapsmetal.BMP",1
`collision...
automatic camera collision 0,3,10
setup_maze(10,10,10)
`------------------------
`Maze Editor
`------------------------
position camera 0,50,500,500
currentlevel=1
currentcubex=1
currentcubez=1
do
gosub Move_editor_Camera
gosub update_current_cube
if UpdateNeeded=1
for plainnum= 1 to numofplains
ghost object on plainnum
next plainnum
for plainside=1 to 6
if PlainId(currentlevel,currentcubex,currentcubez,plainside)>0 then ghost object off PlainId(currentlevel,currentcubex,currentcubez,plainside)
next plainside
endif
print currentcubex
loop
`---------------------
`end of editor
`---------------------
Move_editor_Camera:
`Move camera with player controls...
if scancode()=72 then move camera 0,3
if scancode()=80 then move camera 0,-3
inc ymove,mousemovex()
inc xmove,mousemovey()
yrotate camera 0,ymove
xrotate camera 0,xmove
Return
update_current_cube:
if leftkey()=1 and holdleft=0
currentcubex=currentcubex-1
holdleft=1
endif
if rightkey()=1 and holdright=0
currentcubex=currentcubex+1
holdright=1
endif
if upkey()=1 and holdup=0
currentcubez=currentcubez+1
holdup=1
endif
if downkey()=1 and holddown=0
currentcubez=currentcubez-1
holddown=1
endif
for scannum= 1 to 10
if scancode()=scannum+1 then currentlevel=scannum
next scannum
if leftkey()=0 and holdleft=1 then holdleft=0
if rightkey()=0 and holdright=1 then holdright=0
if upkey()=0 and holdup=1 then holdup=0
if downkey()=0 and holddown=1 then holddown=0
if currentcubex<1 then currentcubex=10
if currentcubex>10 then currentcubex=1
if currentcubez<1 then currentcubez=10
if currentcubez>10 then currentcubez=1
if leftkey()=1 and holdleft=0 then UpdateNeeded=1
if rightkey()=1 and holdright=0 then UpdateNeeded=1
if upkey()=1 and holdup=0 then UpdateNeeded=1
if downkey()=1 and holddown=0 then UpdateNeeded=1
if leftkey()=0 and rightkey()=0 and upkey()=0 and downkey()=0 then UpdateNeeded=0
return
function setup_maze(xsize,zsize,ysize)
for ypos=1 to ysize
for xpos=1 to xsize
for zpos=1 to zsize
if biglevel(ypos,xpos,zpos,1)=1
inc numofplains(0),1
Make object plain numofplains(0),100,100
position object numofplains(0),50+(xpos-1)*100,-50-(ypos-1)*100,0-(zpos-1)*100
Plainid(ypos,xpos,zpos,1)=numofplains
endif
if biglevel(ypos,xpos,zpos,2)=1
inc numofplains(0),1
make object plain numofplains(0),100,100
position object numofplains(0),0+(xpos-1)*100,-50-(ypos-1)*100,50-(zpos-1)*100
rotate object numofplains(0),0,90,0
Plainid(ypos,xpos,zpos,2)=numofplains
endif
if biglevel(ypos,xpos,zpos,3)=1
inc numofplains(0),1
make object plain numofplains(0),100,100
position object numofplains(0),100+(xpos-1)*100,-50-(ypos-1)*100,50-(zpos-1)*100
rotate object numofplains(0),0,90,0
Plainid(ypos,xpos,zpos,2)=numofplains
endif
if biglevel(ypos,xpos,zpos,4)=1
inc numofplains(0),1
Make object plain numofplains(0),100,100
position object numofplains(0),50+(xpos-1)*100,-50-(ypos-1)*100,100-(zpos-1)*100
Plainid(ypos,xpos,zpos,4)=numofplains
endif
if biglevel(ypos,xpos,zpos,5)=1
inc numofplains(0),1
Make object plain numofplains(0),100,100
position object numofplains(0),50+(xpos-1)*100,0-(ypos-1)*100,50-(zpos-1)*100
rotate object numofplains(0),90,0,0
Plainid(ypos,xpos,zpos,5)=numofplains
endif
if biglevel(ypos,xpos,zpos,6)=1
inc numofplains(0),1
Make object plain numofplains(0),100,100
position object numofplains(0),50+(xpos-1)*100,-100-(ypos-1)*100,50-(zpos-1)*100
rotate object numofplains(0),90,0,0
Plainid(ypos,xpos,zpos,6)=numofplains
endif
next zpos
next xpos
next ypos
for plain=1 to numofplains(0)
texture object plain,1
ghost object on plain
next plain
endfunction
function front_open(ypos,xpos,zpos)
`front open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_open(ypos,xpos,zpos)
`left open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function right_open(ypos,xpos,zpos)
`right open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function back_open(ypos,xpos,zpos)
`back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function top_open(ypos,xpos,zpos)
`top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function bottom_open(ypos,xpos,zpos)
`bottom open section...
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_open(ypos,xpos,zpos)
`front and left open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_right_open(ypos,xpos,zpos)
`front and right open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_back_open(ypos,xpos,zpos)
`front and back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function front_top_open(ypos,xpos,zpos)
`front and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_bottom_open(ypos,xpos,zpos)
`front and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_right_open(ypos,xpos,zpos)
`left and right open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_back_open(ypos,xpos,zpos)
`left and back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function left_top_open(ypos,xpos,zpos)
`left and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_bottom_open(ypos,xpos,zpos)
`left and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function right_back_open(ypos,xpos,zpos)
`right and back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
endfunction
function right_top_open(ypos,xpos,zpos)
`right and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function right_bottom_open(ypos,xpos,zpos)
`right and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function back_top_open(ypos,xpos,zpos)
`back and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function back_bottom_open(ypos,xpos,zpos)
`back and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function top_bottom_open(ypos,xpos,zpos)
`top and bottom open section...
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_right_open(ypos,xpos,zpos)
`front and left and right open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_back_open(ypos,xpos,zpos)
`front and left open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function front_left_top_open(ypos,xpos,zpos)
`front and left and open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_bottom_open(ypos,xpos,zpos)
`front and left and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,3)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_right_back_open(ypos,xpos,zpos)
`left and right and back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
endfunction
function left_right_top_open(ypos,xpos,zpos)
`left and right and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_right_bottom_open(ypos,xpos,zpos)
`left and right and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function right_back_top_open(ypos,xpos,zpos)
`right and back and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
endfunction
function right_back_bottom_open(ypos,xpos,zpos)
`right and back and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
endfunction
function back_top_bottom_open(ypos,xpos,zpos)
`back and top and bottom open section...
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function front_left_right_back_open(ypos,xpos,zpos)
`front and left and right and back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
endfunction
function front_left_right_top_open(ypos,xpos,zpos)
`front and left and right and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_right_bottom_open(ypos,xpos,zpos)
`front and left and right and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_right_back_top_open(ypos,xpos,zpos)
`left and right and back and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
endfunction
function left_right_back_bottom_open(ypos,xpos,zpos)
`left and right and back and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
endfunction
function front_right_back_open(ypos,xpos,zpos)
`front and right and back open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,2)=1
endfunction
function front_right_top_open(ypos,xpos,zpos)
`front and right and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_right_bottom_open(ypos,xpos,zpos)
`front and right and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function left_back_top_open(ypos,xpos,zpos)
`left and back and top open section...
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function left_back_bottom_open(ypos,xpos,zpos)
`left and back and bottom open section...
biglevel(ypos,xpos,zpos,5)=1
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function front_back_top_open(ypos,xpos,zpos)
`front and back and top open section
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function right_top_bottom_open(ypos,xpos,zpos)
`right and top and bottom open section
biglevel(ypos,xpos,zpos,1)=1
biglevel(ypos,xpos,zpos,2)=1
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_back_top_open(ypos,xpos,zpos)
`front and left and back and top open section
biglevel(ypos,xpos,zpos,6)=1
biglevel(ypos,xpos,zpos,3)=1
endfunction
function left_right_back_top_bottom_open(ypos,xpos,zpos)
`front closed section
biglevel(ypos,xpos,zpos,1)=1
endfunction
function front_right_back_top_bottom_open(ypos,xpos,zpos)
`left closed section
biglevel(ypos,xpos,zpos,2)=1
endfunction
function front_left_back_top_bottom_open(ypos,xpos,zpos)
`right closed section
biglevel(ypos,xpos,zpos,3)=1
endfunction
function front_left_right_top_bottom_open(ypos,xpos,zpos)
`back closed section
biglevel(ypos,xpos,zpos,4)=1
endfunction
function front_left_right_back_bottom_open(ypos,xpos,zpos)
`top closed section
biglevel(ypos,xpos,zpos,5)=1
endfunction
function front_left_right_back_top_open(ypos,xpos,zpos)
`bottom closed section
biglevel(ypos,xpos,zpos,6)=1
endfunction
Setup_Maze_one:
`----------------------
`floor 1...
`----------------------
left_right_open(1,1,1)
left_right_open(1,2,1)
front_left_right_open(1,3,1)
front_back_open(1,3,2)
front_back_open(1,3,3)
left_right_back_open(1,3,4)
left_right_open(1,2,4)
front_right_open(1,1,4)
front_back_open(1,1,5)
front_back_open(1,1,6)
front_right_back_open(1,1,7)
left_right_open(1,2,7)
left_right_open(1,3,7)
left_right_back_open(1,4,7)
front_back_open(1,4,5)
front_back_open(1,4,6)
front_left_right_open(1,4,4)
left_right_open(1,5,4)
left_right_back_open(1,6,4)
front_back_open(1,6,3)
front_left_back_open(1,6,2)
left_right_open(1,5,2)
right_open(1,4,2)
front_left_open(1,6,1)
left_right_open(1,5,1)
left_right_open(1,4,1)
left_right_open(1,5,7)
front_left_open(1,6,7)
front_right_back_open(1,6,8)
front_back_open(1,6,9)
left_back_bottom_open(1,6,10)
left_right_open(1,7,8)
left_back_open(1,8,8)
front_back_open(1,8,7)
front_back_open(1,8,6)
front_back_open(1,8,5)
front_left_bottom_open(1,8,4)
left_right_open(1,7,4)
left_right_open(1,5,10)
left_right_open(1,4,10)
left_right_open(1,3,10)
left_right_open(1,2,10)
right_back_open(1,1,10)
front_right_back_open(1,1,9)
front_back_open(1,1,8)
left_right_open(1,2,9)
left_right_open(1,3,9)
left_back_open(1,4,9)
front_left_open(1,4,8)
left_right_open(1,3,8)
right_open(1,2,8)
`----------------------
`floor 2...
`----------------------
front_open(2,1,1)
right_back_open(2,1,2)
left_right_open(2,2,2)
left_right_open(2,3,2)
left_right_open(2,4,2)
left_back_open(2,5,2)
right_open(2,2,1)
left_right_open(2,3,1)
left_right_open(2,4,1)
front_left_right_open(2,5,1)
front_left_right_open(2,6,1)
front_left_open(2,7,1)
front_bottom_open(2,8,1)
front_open(2,9,1)
left_right_back_open(2,6,2)
front_left_back_open(2,7,2)
front_back_open(2,8,2)
front_back_open(2,9,2)
front_right_open(2,1,3)
left_right_open(2,2,3)
left_right_open(2,3,3)
left_right_open(2,4,3)
left_right_open(2,5,3)
left_right_back_open(2,6,3)
front_left_back_open(2,7,3)
front_back_open(2,8,3)
front_back_open(2,9,3)
front_back_open(2,1,4)
front_back_open(2,7,4)
front_back_top_open(2,8,4)
front_back_open(2,9,4)
back_open(2,1,5)
front_back_open(2,7,5)
right_back_open(2,8,5,)
left_right_back_open(2,9,5)
front_left_open(2,10,5)
right_open(2,1,6)
front_left_right_open(2,2,6)
left_right_open(2,3,6)
left_right_open(2,4,6)
left_right_open(2,5,6)
left_right_open(2,6,6)
left_right_back_open(2,7,6)
left_right_open(2,8,6)
left_right_open(2,9,6)
left_back_open(2,10,6)
front_right_open(2,1,7)
left_right_back_open(2,2,7)
front_left_right_open(2,3,7)
front_left_right_open(2,4,7)
front_left_right_open(2,5,7)
front_left_open(2,6,7)
front_back_open(2,1,8)
front_back_open(2,3,8)
front_back_open(2,4,8)
front_back_open(2,5,8)
front_back_open(2,6,8)
right_back_open(2,1,9)
left_right_open(2,2,9)
left_back_bottom_open(2,3,9)
right_back_open(2,4,9)
front_left_right_back_open(2,5,9)
front_left_back_open(2,6,9)
right_open(2,1,10)
left_right_open(2,2,10)
left_right_open(2,3,10)
left_right_open(2,4,10)
left_back_open(2,5,10)
back_top_open(2,6,10)
`----------------------
`floor 3...
`----------------------
front_right_open(3,1,1)
front_left_right_open(3,2,1)
front_left_open(3,3,1)
front_open(3,7,1)
front_top_open(3,8,1)
front_right_open(3,9,1)
front_left_open(3,10,1)
front_right_back_open(3,1,2)
front_left_right_back_open(3,2,2)
front_left_back_open(3,3,2)
right_open(3,4,2)
left_right_open(3,5,2)
left_right_open(3,6,2)
front_left_right_back_open(3,7,2)
left_back_open(3,8,2)
front_back_open(3,9,2)
front_back_open(3,10,2)
right_back_open(3,1,3)
front_left_right_back_open(3,2,3)
left_right_back_open(3,3,3)
left_right_open(3,4,3)
front_left_right_open(3,5,3)
left_open(3,6,3)
front_back_open(3,7,3)
right_open(3,8,3)
front_back_open(3,9,3)
left_back_open(3,10,3)
front_open(3,1,4)
front_back_open(3,2,4)
front_right_open(3,3,4)
front_left_right_open(3,4,4)
left_right_back_open(3,5,4)
left_right_open(3,6,4)
left_right_back_open(3,7,4)
left_right_open(3,8,4)
front_left_right_open(3,9,4)
left_back_open(3,10,4)
front_back_open(3,1,5)
front_back_open(3,2,5)
back_open(3,3,5)
right_back_open(3,4,5)
left_right_open(3,5,5)
left_right_open(3,6,5)
front_left_open(3,7,5)
front_right_open(3,8,5)
left_back_open(3,9,5)
front_bottom_open(3,10,5)
front_back_open(3,1,6)
right_back_open(3,2,6)
left_right_open(3,3,6)
front_left_right_open(3,4,6)
front_left_right_open(3,5,6)
front_left_open(3,6,6)
back_open(3,7,6)
front_right_back_open(3,8,6)
left_right_open(3,9,6)
left_back_open(3,10,6)
front_right_back_open(3,1,7)
front_left_open(3,2,7)
front_back_open(3,4,7)
right_back_open(3,5,7)
left_right_back_open(3,6,7)
left_right_open(3,7,7)
front_left_back_open(3,8,7)
front_back_open(3,1,8)
front_right_back_open(3,2,8)
left_right_open(3,3,8)
left_back_open(3,4,8)
front_open(3,7,8)
front_back_open(3,8,8)
front_back_open(3,1,9)
front_back_open(3,2,9)
right_top_bottom_open(3,3,9)
front_left_open(3,4,9)
front_back_open(3,7,9)
front_right_back_open(3,8,9)
left_right_open(3,9,9)
left_open(3,10,9)
back_open(3,1,10)
right_back_open(3,2,10)
left_right_open(3,3,10)
left_back_open(3,4,10)
right_back_open(3,7,10)
left_back_open(3,8,10)
`----------------------
`floor 4...
`----------------------
front_right_open(4,1,1)
front_left_open(4,2,1)
front_right_open(4,3,1)
left_right_open(4,4,1)
left_right_open(4,5,1)
front_left_open(4,6,1)
front_right_open(4,7,1)
left_right_open(4,8,1)
left_right_open(4,9,1)
front_left_open(4,10,1)
front_back_open(4,1,2)
back_bottom_open(4,2,2)
front_back_open(4,3,2)
front_right_open(4,4,2)
left_open(4,5,2)
front_left_open(4,6,2)
front_right_open(4,7,2)
left_right_open(4,8,2)
left_right_open(4,9,2)
front_left_open(4,10,2)
front_right_back_open(4,1,3)
left_right_open(4,2,3)
left_back_open(4,3,3)
right_back_open(4,4,3)
left_right_open(4,5,3)
front_left_back_open(4,6,3)
front_back_open(4,7,3)
front_back_open(4,8,3)
back_open(4,9,3)
front_back_open(4,10,3)
front_back_open(4,1,4)
front_right_open(4,2,4)
left_right_open(4,3,4)
front_left_right_open(4,4,4)
left_right_open(4,5,4)
left_right_back_open(4,6,4)
front_left_back_open(4,7,4)
front_right_back_open(4,8,4)
left_right_open(4,9,4)
front_left_back_open(4,10,4)
front_back_open(4,1,5)
front_back_open(4,2,5)
front_open(4,3,5)
right_back_open(4,4,5)
left_right_open(4,5,5)
left_open(4,6,5)
front_back_open(4,7,5)
front_back_open(4,8,5)
front_right_open(4,9,5)
front_left_back_top_open(4,10,5)
right_back_open(4,1,6)
front_left_back_open(4,2,6)
right_back_open(4,3,6)
left_right_open(4,4,6)
left_right_open(4,5,6)
left_right_open(4,6,6)
left_back_open(4,7,6)
back_open(4,8,6)
back_open(4,9,6)
front_back_open(4,10,6)
front_right_open(4,1,7)
left_right_back_open(4,2,7)
front_left_right_open(4,3,7)
left_right_open(4,4,7)
left_right_open(4,5,7)
left_right_open(4,6,7)
front_left_open(4,7,7)
front_open(4,8,7)
front_right_open(4,9,7)
front_left_back_open(4,10,7)
right_back_open(4,1,8)
front_left_open(4,2,8)
front_back_open(4,3,8)
right_open(4,4,8)
front_left_right_open(4,5,8)
left_open(4,6,8)
front_back_open(4,7,8)
front_back_open(4,8,8)
front_back_open(4,9,8)
back_open(4,10,8)
front_back_open(4,2,9)
back_top_open(4,3,9)
front_bottom_open(4,4,9)
right_back_open(4,5,9)
left_right_open(4,6,9)
left_back_open(4,7,9)
front_back_open(4,8,9)
front_right_back_open(4,9,9)
front_left_open(4,10,9)
right_back_open(4,2,10)
left_open(4,3,10)
right_back_open(4,4,10)
left_right_open(4,5,10)
left_right_open(4,6,10)
left_right_open(4,7,10)
left_right_back_open(4,8,10)
left_right_back_open(4,9,10)
left_back_open(4,10,10)
`----------------------
`floor 5...
`----------------------
right_open(5,1,1)
left_right_open(5,2,1)
front_left_open(5,3,1)
right_open(5,4,1)
left_right_open(5,5,1)
front_left_right_open(5,6,1)
left_right_open(5,7,1)
left_right_open(5,8,1)
left_right_open(5,9,1)
front_left_open(5,10,1)
front_right_open(5,1,2)
left_top_open(5,2,2)
front_right_back_open(5,3,2)
front_left_right_open(5,4,2)
front_left_right_open(5,5,2)
left_back_open(5,6,2)
right_bottom_open(5,7,2)
front_left_open(5,8,2)
front_open(5,9,2)
front_back_open(5,10,2)
front_right_back_open(5,1,3)
left_open(5,2,3)
front_back_open(5,3,3)
front_back_open(5,4,3)
right_back_open(5,5,3)
left_right_open(5,6,3)
left_right_open(5,7,3)
left_back_open(5,8,3)
front_back_open(5,9,3)
front_back_open(5,10,3)
front_back_open(5,1,4)
front_right_open(5,2,4)
left_back_open(5,3,4)
front_back_open(5,4,4)
front_right_open(5,5,4)
front_left_right_open(5,6,4)
left_right_open(5,7,4)
front_left_right_open(5,8,4)
front_left_back_open(5,9,4)
front_back_open(5,10,4)
front_back_open(5,1,5)
front_back_open(5,2,5)
front_right_open(5,3,5)
front_left_right_open(5,4,5)
front_back_open(5,5,5)
front_back_open(5,6,5)
front_right_open(5,7,5)
left_back_open(5,8,5)
front_back_open(5,9,5)
front_back_open(5,10,5)
front_back_open(5,1,6)
front_back_open(5,2,6)
front_right_back_open(5,3,6)
front_left_back_open(5,4,6)
back_open(5,5,6)
front_back_open(5,6,6)
front_back_open(5,7,6)
front_right_open(5,8,6)
front_left_back_open(5,9,6)
front_back_open(5,10,6)
front_back_open(5,1,7)
front_back_open(5,2,7)
right_back_open(5,3,7)
left_right_back_open(5,4,7)
left_right_open(5,5,7)
left_back_open(5,6,7)
front_back_open(5,7,7)
front_right_back_open(5,8,7)
left_back_open(5,9,7)
front_back_open(5,10,7)
front_right_back_open(5,1,8)
front_left_back_open(5,2,8)
front_right_open(5,3,8)
front_left_right_open(5,4,8)
front_left_right_open(5,5,8)
front_left_right_open(5,6,8)
front_left_back_open(5,7,8)
front_right_back_open(5,8,8)
left_right_open(5,9,8)
front_left_back_open(5,10,8)
front_right_back_open(5,1,9)
front_left_back_open(5,2,9)
right_back_open(5,3,9)
left_back_top_open(5,4,9)
front_right_back_open(5,5,9)
left_right_back_open(5,6,9)
left_back_open(5,7,9)
front_back_open(5,8,9)
right_open(5,9,9)
left_back_open(5,10,9)
right_back_open(5,1,10)
left_right_back_open(5,2,10)
left_right_open(5,3,10)
left_right_open(5,4,10)
left_back_open(5,5,10)
right_open(5,6,10)
left_right_open(5,7,10)
left_right_back_open(5,8,10)
left_right_open(5,9,10)
left_bottom_open(5,10,10)
Return
You know, when i see an old lady slip and fall on the side walk, my first instinct is to luagh, but then i think, what if i where an ant? and she fell on me, it just doesn't seem so funny anymore.