max_y -20; /* If player falls below this height, he's dead */

/* Light sources */
light 50000 -50000 -20000  0.65;
light -70000 -20000 10000  0.35;

object "ramp" "ramppoints" "squaresurf"
    ALWAYS_VISIBLE
    colour "white" 0.4
    scale 1.0 2.5 8.0;


points "worldpoints"
    12500 0 0	12500 0 15000	-12500 0 15000	 -12500 0 0;


object "platform1" "squarepoints" "squaresurf"
    scale 25.0 1.0 15.0
    ALWAYS_VISIBLE
    colour "brown" 0.9
    centre 0 -2500 -7500;

object "ramp1"
    inherit "ramp"
    rotate_y 180.0
    centre -8000 0 8000;

object "ramp2"
    inherit "ramp1"
    centre 8000 0 8000;


object "building1" "cubepoints" "bottomandtopless_cubesurf"
    colour "metallic" 0.6
    scale 10.0 4.0 4.0
    centre 0 -4500 -8000;

object "wall1" "zwallpoints" "squaresurf"
    ALWAYS_VISIBLE
    colour "magenta" 0.7
    scale 8.0 4.0 1.0
    centre 2000 -2000 8000;

object "portal1"
    inherit "z_portal"
    portal "room3" 7000 0 -10500
    centre 9500 -2000 14800;

object "portal2"
    inherit "x_portal"
    portal "room1" 10500 -2500 -39000
    centre -12300 -4500 -8000;


object "The world" "worldpoints" "squaresurf"  /* Top level object */
    colour "white" 0.7
    DRAW_FIRST
    ALWAYS_VISIBLE
    NO_MATRIX_MULT
    child "ramp1"
    child "ramp2"
    child "platform1"
    child "wall1"
    child "building1"
    child "portal1"
    child "portal2";

world "The world";

