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"
    colour "white" 0.4
    ALWAYS_VISIBLE
    scale 1.0 2.5 8.0;


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


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

object "ramp1"
    inherit "ramp"
    centre 5500 0 -8000;

object "wall1" "xwallpoints" "squaresurf"
    ALWAYS_VISIBLE
    colour "magenta" 0.7
    scale 1.0 4.0 7.0
    centre -5500 -2000 6000;

object "wall2" "zwallpoints" "squaresurf"
    ALWAYS_VISIBLE
    colour "magenta" 0.7
    scale 5.0 4.0 1.0
    centre -4000 -2000 -6000;

object "portal1"
    inherit "x_portal"
    portal "room1" -10500 -2500 39000
    centre 12300 -4500 9000;

object "portal2"
    inherit "z_portal"
    portal "room4" -7000 0 10500
    centre -7000 -2000 -14800;


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

world "The world";

