// Mechwarrior: Vengeance // Copyright © 1999-2000 // Mechbay_main.script // Paolo Malabuyo // August 8, 2000 #include "Content\\ShellScripts\\stddefs.h" #include "Content\\ShellScripts\\ShellFunctionHeaders.hpp" #include "Content\\ShellScripts\\MechLabHeaders.h" #include "Content\\ShellScripts\\common_shell.script" #define MB_SPATH "Content\\ShellScripts\\MechBay\\" #define MB_GPATH "Content\\ShellScripts\\MechBay\\Graphics\\" main { GUI_CREATE { int max_items = 40 object screen = o_MechBayScreen focus(screen) } } o_MechBayScreen { GUI_CREATE { script_run MB_SPATH "MechBay_main.script", 0x1500 script_run MB_SPATH "infobox.script", 0x1525 // jcem - if exists(@NetServer@) or exists(@NetClient@) // jcem - { // jcem - script_run "Content\\ShellScripts\\chat.script", 0x1550 // jcem - } // pane p_background = GPATH "MULTIPlayer.tga" // "hsh\\coop\\mainscrn.png" pane p_background = GPATH "mechlabX.tga" // "hsh\\coop\\mainscrn.png" } GUI_DRAW { render p_background, 0, 0 } GUI_DESTROY { script_end "infobox.script" script_end "MechBay_main.script" // jcem - if exists(@chat@) // jcem - { // jcem - script_end "chat.script" // jcem - } unfocus } }