home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Action 39
/
cdactioncoverdisc39b.iso
/
Demo1
/
Peacemaker
/
Gui
/
Brfwidg.DAT
< prev
next >
Wrap
Text File
|
1999-03-10
|
4KB
|
132 lines
FSTPC 5
# THE MISSION BRIEFING (AND IN-FLIGHT MAP) SCREEN
#====================================================================================================================
# HELICOPTER SELECTION
Bitmap clup
(:area 0 0 20 20 :parent brfgui :sub_path brief :file cycle_la.sur)
Bitmap cldown
(:area 0 0 20 20 :parent brfgui :sub_path brief :file cycle_lb.sur)
Bitmap clhi
(:area 0 0 20 20 :parent brfgui :sub_path brief :file cycle_lc.sur)
Bitmap crup
(:area 0 0 20 20 :parent brfgui :sub_path brief :file cycle_ra.sur)
Bitmap crdown
(:area 0 0 20 20 :parent brfgui :sub_path brief :file cycle_rb.sur)
Bitmap crhi
(:area 0 0 20 20 :parent brfgui :sub_path brief :file cycle_rc.sur)
# cycle back through available helis
State3 cycleleft
(:area 33 20 20 20 :parent brfgui :up clup :down cldown :high clhi :cursor high :trans :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
1 cycle_heli maingui 0))
# cycle forwards through available helis
State3 cycleright
(:area 233 20 20 20 :parent brfgui :up crup :down crdown :high crhi :cursor high :trans :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
1 cycle_heli maingui 1))
Bitmap helibmp
(:area 0 0 234 100 :parent brfgui :sub_path brief :file aircrft1.sur)
sRegion helipic
(:area 26 49 234 100 :parent brfgui :graphic helibmp :layer 1)
#====================================================================================================================
# BRIEFING - NB USE TEXTWIN BUT NO BUTTONS
# scroll up
sRegion brfupbut
(:area 26 199 234 10 :parent brfgui :trans :active_area :cursor uparrows :disabled :layer 1)
# scroll down
sRegion brfdnbut
(:area 26 319 234 10 :parent brfgui :trans :active_area :cursor downarrows :disabled :layer 1)
# pageup button
sRegion brfpupbut
(:area 26 199 234 10 :parent brfgui :trans :active_area :cursor uparrows :disabled :layer 1)
# pagedown button
sRegion brfpdnbut
(:area 26 319 234 10 :parent brfgui :trans :active_area :cursor uparrows :disabled :layer 1)
TextWin brieftext
(:area 29 201 231 268 :parent brfgui :trans :font fontc :buttons brfupbut brfdnbut brfpupbut brfpdnbut :layer 1)
#====================================================================================================================
# MAP
Bitmap mapbmp
(:area 0 0 340 340 :parent brfgui :sub_path brief :file mapa1.sur)
sRegion briefmap
(:area 274 49 340 340 :parent brfgui :graphic mapbmp :layer 1)
#====================================================================================================================
# ACCEPT BRIEF
State3 acceptbrief
(:area 307 423 119 38 :parent brfgui :up butup :down butdown :high buthi :cursor high :trans :active_area :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 2
0 GUI_Enter simwin
0 fly_mission maingui))
# MAIN SCREEN
State3 cancelbrief
(:area 476 423 119 38 :parent brfgui :up butup :down butdown :high buthi :cursor high :trans :active_area :layer 1
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 2
0 GUI_Enter maingui
0 init_missions maingui))
#====================================================================================================================
# CAMPAIGN BRIEFING GRAPHIC
Group cbrfgrp
(:area 0 0 0 0 :parent brfgui)
Bitmap cbrfbmp
(:area 0 0 640 480 :parent cbrfgrp :sub_path camp :file camp.sur)
sRegion campbrf
(:area 0 0 640 480 :parent cbrfgrp :graphic cbrfbmp)
# scroll up
sRegion cbrfupbut
(:area 28 51 584 15 :parent cbrfgrp :trans :active_area :cursor uparrows :layer 2
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
1 text_but cbrftext 0))
# scroll down
sRegion cbrfdnbut
(:area 28 415 584 15 :parent cbrfgrp :trans :active_area :cursor downarrows :layer 2
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
1 text_but cbrftext 1))
# pageup button
sRegion cbrfpupbut
(:area 28 51 584 15 :parent cbrfgrp :trans :active_area :cursor uparrows :layer 2)
# pagedown button
sRegion cbrfpdnbut
(:area 28 415 584 15 :parent cbrfgrp :trans :active_area :cursor uparrows :layer 2)
TextWin cbrftext
(:area 28 51 584 380 :parent cbrfgrp :trans :font fontc :buttons cbrfupbut cbrfdnbut cbrfpupbut cbrfpdnbut :layer 2)
State3 continuebrf
(:area 261 433 119 38 :parent cbrfgrp :up butup :down butdown :high buthi :cursor high :trans :active_area :layer 2
(:MLButtonDown 1
1 GUI_play clicksnd 0)
(:MLButtonClk 1
0 GUI_disable cbrfgrp))
Paths 0 0