;compile with BGLC /BGL C:\Documents and Settings\user\Рабочий стол\Сценарий статики для UNAA\UNAAstatic\Scenery\L29static.asm
header label word
    dw      0001            ; 00 World set number   
    dd      0005B2596H          ; 02 North bound        
    dd      0005B1D54H          ; 06 South bound        
    dd      040FC21AEH          ; 10 East bound         
    dd      040FC21ACH          ; 14 West bound         
    dw      20 dup(0)                               
    dd      (offset OBJECT_DATA) - (offset header)
    dw      33 dup(0)                               

OBJECT_DATA label word                                  
    db  21              ;;LATBAND_REL                   
    dw  02D8Eh          ;;lat min (inclusive) 512M units
    dw  02D93h          ;;lat max (exclusive)           
    dd  (offset OBJECT_0) - (offset OBJECT_DATA)        
    db  0               ;;EOL                           
OBJECT_0 label    BGLCODE
    db  12                      ; NEAR_FAR_HUGE_OBJECT_HEADER
    dd  0005B2175h,040FC21ADh           ; latitude,longitude          
    db  100                     ; image power                 
    dd  (offset OBJECT_0_END) - (offset OBJECT_0)             
OBJECT_0_START label word
    IFIN1       OBJECT_0_FAIL, image_complex, 2, 32767
    ADDOBJ      OBJECT_0_SCALE
    OBJECT_0_FAIL label    BGLCODE
    BGL_JUMP_32 OBJECT_0_END  
OBJECT_0_SCALE label    BGLCODE
    SCALE_AGL   OBJECT_0_RETURN, 50000, 1057, 131072, 0005B2175h, 045EDh, 040FC21ADh, 09FF9h, 0, 0
    INSTANCE_CALL   OBJECT_0_BEGIN, 0, 0, 0927Dh
OBJECT_0_RETURN label word
    BGL_RETURN
OBJECT_0_BEGIN label word
model_outside    label    BGLCODE
model_shadow label BGLCODE

LOD_0    label    BGLCODE
    BGL_JUMP_32    LOD_0L

model_inside  label    BGLCODE
    BGL_RETURN
LOD_0L    label    BGLCODE
    include    C:\Documents and Settings\user\Рабочий стол\Сценарий статики для UNAA\UNAAstatic\Scenery\L29static_0.asm



OBJECT_0_END label word
EOF
