home *** CD-ROM | disk | FTP | other *** search
/ Blue Byte Demo & Product Guide 1999 #2 / BLUEBYTE.ISO / DEMOS / Inc / DATA / GUI / Menu_a.lcl next >
Encoding:
INI File  |  1997-09-12  |  22.5 KB  |  463 lines

  1. [LCL]
  2.  
  3. *************************************
  4. *                                    *
  5. * LCL-Resourcefile                    *
  6. * ================                    *
  7. *                                   *
  8. * _MainMenu                            *
  9. *                                    *
  10. * use the LCL-Public-Variable       *
  11. * "LCLenv.nVar[0]" to select the    *
  12. * resource you need.                *
  13. *                                   *
  14. * Andreas Nitsche, 27. MΣrz 1996    *
  15. *                                   *
  16. *************************************
  17.  
  18. *
  19. *__WindowSelector__
  20. *
  21.  
  22. >EnvVarCmpNum(_A_WindowSelector,00_Provider);            Goto(Provider);            <
  23. >EnvVarCmpNum(_A_WindowSelector,01_Session);            Goto(Session);            <
  24. >EnvVarCmpNum(_A_WindowSelector,02_First Player);         Goto(First_Player);        <
  25. >EnvVarCmpNum(_A_WindowSelector,03_Wait For Players);     Goto(Wait_For_Players);    <
  26. >EnvVarCmpNum(_A_WindowSelector,05_Join Session);        Goto(Join);                <
  27. >EnvVarCmpNum(_A_WindowSelector,06_Error);                Goto(Error);            <
  28. >EnvVarCmpNum(_A_WindowSelector,07_MainMenu);            Goto(MainMenu);            <
  29. >EnvVarCmpNum(_A_WindowSelector,08_Error_Player);        Goto(Error_Player);        <
  30. >EnvVarCmpNum(_A_WindowSelector,09_Error_Session);        Goto(Error_Session);    <
  31. >EnvVarCmpNum(_A_WindowSelector,10_Leveloptions);        Goto(Leveloptions);        <
  32. >EnvVarCmpNum(_A_WindowSelector,11_ReadMe);                Goto(ReadMe);            <
  33. >EnvVarCmpNum(_A_WindowSelector,12_Arenamode);            Goto(ArenaMode);        <
  34. >EnvVarCmpNum(_A_WindowSelector,13_GameIntro);            Goto(GameIntro);        <
  35. >EnvVarCmpNum(_A_WindowSelector,14_DemoMessage);        Goto(DemoMessage);        <
  36. >EnvVarCmpNum(_A_WindowSelector,15_Credits);            Goto(Credits);            <
  37.  
  38.  
  39. [END]
  40.  
  41. *****************************
  42. *                            *
  43. * Select Service Provider    *
  44. *                            *
  45. **************************************************************************************************************************
  46.  
  47. :Provider;
  48.  
  49.     GUI_SetWindow (0,0,640,480);
  50.  
  51.     GUI_SetText (0_txtID,2_fntID,10_WinText,320_x,25_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  52.  
  53.     * ProviderListBox ****************************************************************************************************
  54.  
  55.     GUI_SetListbox (0_gdtID,0_fntID,11_WinText,12_Library,130_x,130_y,12_Width);
  56.     GUI_SetListbox (1_gdtID,0_fntID,12_WinText,18_Library,130_x,152_y,12_Width);
  57.     GUI_SetListbox (2_gdtID,0_fntID,13_WinText,18_Library,130_x,174_y,12_Width);
  58.     GUI_SetListbox (3_gdtID,0_fntID,14_WinText,18_Library,130_x,196_y,12_Width);
  59.     GUI_SetListbox (4_gdtID,0_fntID,15_WinText,24_Library,130_x,218_y,12_Width);
  60.  
  61.     * Cancel *************************************************************************************************************
  62.  
  63.     GUI_SetButton (5_gdtID,0_fntID,01_WinText,0_Library,380_x,248_y,5_Width,1_PressDown);
  64.  
  65.     * Listboxscrollicons *************************************************************************************************
  66.  
  67.     GUI_SetIcon (06_gdtID,30_Library,515_x,130_y);                                                        * up
  68.     GUI_SetIcon (07_gdtID,32_Library,515_x,164_y);                                                        * down
  69.  
  70.     [END]
  71.  
  72. *************************
  73. *                        *
  74. * Select SessionState    *
  75. *                        *
  76. **************************************************************************************************************************
  77.  
  78. :Session;
  79.  
  80.     GUI_SetWindow (0,0,640,480);
  81.  
  82.     GUI_SetText (0_txtID,2_fntID,20_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  83.  
  84.     GUI_SetButton (0_gdtID,0_fntID,21_WinText,0_Library,190_x,130_y,9_Width,1_PressDown);
  85.     GUI_SetButton (1_gdtID,0_fntID,22_WinText,0_Library,190_x,165_y,9_Width,1_PressDown);
  86.     GUI_SetButton (2_gdtID,0_fntID,01_WinText,0_Library,190_x,200_y,9_Width,1_PressDown);
  87.  
  88.     [END]
  89.  
  90. *****************
  91. *                *
  92. * Join Session    *                                                                                                           **
  93. *                *
  94. **************************************************************************************************************************
  95.  
  96. :Join;
  97.  
  98.     GUI_SetWindow (0,0,640,480);
  99.  
  100.     GUI_SetText (0_txtID,2_fntID,60_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  101.  
  102.     * Sessionlistbox *****************************************************************************************************
  103.     
  104.     GUI_SetListbox (0_gdtID,0_fntID,61_WinText,12_Library,150_x,130_y,11_Width);                        
  105.     GUI_SetListbox (1_gdtID,0_fntID,62_WinText,18_Library,150_x,152_y,11_Width);
  106.     GUI_SetListbox (2_gdtID,0_fntID,63_WinText,18_Library,150_x,174_y,11_Width);
  107.     GUI_SetListbox (3_gdtID,0_fntID,64_WinText,18_Library,150_x,196_y,11_Width);
  108.     GUI_SetListbox (4_gdtID,0_fntID,65_WinText,24_Library,150_x,218_y,11_Width);
  109.     
  110.     * Cancel *************************************************************************************************************
  111.  
  112.     GUI_SetButton (5_gdtID,0_fntID,01_WinText,0_Library,366_x,244_y,5_Width,1_PressDown);
  113.  
  114.     * Listboxscrollicons *************************************************************************************************
  115.  
  116.     GUI_SetIcon (06_gdtID,30_Library,502_x,130_y);                                                        * up
  117.     GUI_SetIcon (07_gdtID,32_Library,502_x,164_y);                                                        * down
  118.  
  119.     [END]
  120.  
  121. *************************
  122. *                        *
  123. * Error: Search Session    *        next try to enter session
  124. *                        *
  125. **************************************************************************************************************************
  126.  
  127. :Error;
  128.  
  129.     GUI_SetWindow (0,0,640,480);
  130.  
  131.     GUI_SetText (0_txtID,2_fntID,70_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  132.  
  133.     GUI_SetText (1_txtID,1_fntID,71_WinText,160_x,140_y,0_Style,1_cX,3_cA,0_cB,0_cC,0_Format);
  134.     GUI_SetText (2_txtID,3_fntID,73_WinText,160_x,155_y,0_Style,1_cX,3_cA,0_cB,0_cC,0_Format);
  135.     
  136.     GUI_SetButton (0_gdtID,0_fntID,72_WinText,0_Library,160_x,170_y,10_Width,1_PressDown);
  137.     GUI_SetButton (1_gdtID,0_fntID,01_WinText,0_Library,160_x,200_y,10_Width,1_PressDown);
  138.  
  139.     [END]
  140.  
  141. *************************
  142. *                        *
  143. * Error: Join Session    *        to many players
  144. *                        *
  145. **************************************************************************************************************************
  146.  
  147. :Error_Player;
  148.  
  149.     GUI_SetWindow (0,0,640,480);
  150.  
  151.     GUI_SetText (0_txtID,2_fntID,76_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  152.     
  153.     GUI_SetButton (0_gdtID,1_fntID,01_WinText,0_Library,210_x,200_y,7_Width,1_PressDown);
  154.  
  155.     [END]
  156.  
  157. *************************
  158. *                        *
  159. * Error: Open Session    *        couldn't start direct play
  160. *                        *
  161. **************************************************************************************************************************
  162.  
  163. :Error_Session;
  164.  
  165.     GUI_SetText (0_txtID,2_fntID,77_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  166.  
  167.     GUI_SetText (1_txtID,0_fntID,78_WinText,210_x,180_y,0_Style,1_cX,3_cA,0_cB,0_cC,0_Format);
  168.     
  169.     GUI_SetButton (0_gdtID,1_fntID,01_WinText,0_Library,210_x,200_y,7_Width,1_PressDown);
  170.  
  171.     [END]
  172.  
  173. *****************
  174. *                *
  175. * First Player    *
  176. *                *
  177. **************************************************************************************************************************
  178.  
  179. :First_Player;
  180.     
  181.     GUI_SetWindow (0,0,640,480);
  182.  
  183.     GUI_SetText (0_txtID,2_fntID,30_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  184.  
  185.     GUI_SetTextButton (0_gdtID,0_fntID,31_WinText,6_Library,160_x,130_y,10_Width);                        * inputfield
  186.                                                                                                         *
  187.     GUI_SetButton (1_gdtID,0_fntID,02_WinText,0_Library,374_x,170_y,4_Width,1_PressDown);                * ok
  188.     GUI_SetButton (2_gdtID,0_fntID,01_WinText,0_Library,160_x,170_y,5_Width,1_PressDown);                * cancel
  189.  
  190.     [END]
  191.  
  192. *************
  193. *            *
  194. * MainMenu    *
  195. *            *
  196. **************************************************************************************************************************
  197.  
  198. :MainMenu;
  199.  
  200.     GUI_SetWindow (0,0,640,480);
  201.  
  202.     GUI_SetText (0_txtID,2_fntID,100_WinText,500_x,50_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  203.  
  204.     GUI_SetButton (0_gdtID,0_fntID,101_WinText,0_Library,280_x,080_y,6_Width,1_PressDown);
  205.     GUI_SetButton (1_gdtID,0_fntID,102_WinText,0_Library,310_x,120_y,6_Width,1_PressDown);
  206.     GUI_SetButton (2_gdtID,0_fntID,103_WinText,0_Library,340_x,160_y,6_Width,1_PressDown);
  207.     GUI_SetButton (3_gdtID,0_fntID,104_WinText,0_Library,370_x,200_y,6_Width,1_PressDown);
  208.     GUI_SetButton (4_gdtID,0_fntID,106_WinText,0_Library,400_x,240_y,6_Width,1_PressDown);
  209.     GUI_SetButton (5_gdtID,1_fntID,105_WinText,0_Library,425_x,300_y,6_Width,1_PressDown);
  210.  
  211.     GUI_SetText (1_txtID,3_fntID,004_WinText,445_x,445_y,0_Style,1_cX,3_cA,0_cB,0_cC,0_Format);
  212.  
  213.     [END]
  214.  
  215. *********************
  216. *                    *
  217. * Wait for Players    *        chat menu
  218. *                    *
  219. **************************************************************************************************************************
  220.                                                                                                         *
  221. :Wait_For_Players;                                                                                        *
  222.                                                                                                         *
  223.     GUI_SetText (17_txtID,2_fntID,40_WinText,320_x,026_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);            *
  224.                                                                                                         *
  225.     GUI_SetWindow (0,0,640,480);                                                                        *
  226.                                                                                                         *
  227.     GUI_SetText (0_txtID,1_fntID,41_WinText,350_x,070_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "sessionname"
  228.     GUI_SetText (1_txtID,0_fntID,47_WinText,080_x,070_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * sessionname
  229.                                                                                                         *
  230.     * playernames ********************************************************************************************************
  231.                                                                                                         *
  232.     GUI_SetText (2_txtID,0_fntID,42_WinText,350_x,100_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * playername 1
  233.     GUI_SetText (3_txtID,0_fntID,43_WinText,350_x,130_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * playername 2
  234.     GUI_SetText (4_txtID,0_fntID,44_WinText,350_x,160_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * playername 3
  235.     GUI_SetText (5_txtID,0_fntID,45_WinText,350_x,190_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * playername 4
  236.                                                                                                         *
  237.     * delete players *****************************************************************************************************
  238.                                                                                                         *
  239.     GUI_SetIcon (01_gdtID,40_Library,080_x,108_y);                                                        * cut netlink 1
  240.     GUI_SetIcon (02_gdtID,40_Library,080_x,138_y);                                                        * cut netlink 2
  241.     GUI_SetIcon (03_gdtID,40_Library,080_x,168_y);                                                        * cut netlink 3
  242.                                                                                                         *
  243. **** delete players (old version with buttons) ***************************************************************************
  244. *    GUI_SetButton (01_gdtID,0_fntID,46_WinText,0_Library,120_x,138_y,5_Width,1_PressDown);                * delete players
  245. *    GUI_SetButton (02_gdtID,0_fntID,46_WinText,0_Library,120_x,168_y,5_Width,1_PressDown);                *
  246. *    GUI_SetButton (03_gdtID,0_fntID,46_WinText,0_Library,120_x,198_y,5_Width,1_PressDown);                *
  247. **************************************************************************************************************************
  248.                                                                                                         *
  249.     * chat menu *****************************************************************************************
  250.                                                                                                         *
  251. *    GUI_SetText (6_txtID,4_fntID,54_WinText,120_x,178_y,0_Style,16_cX,22_cA,25_cB,27_cC,0_Format);        * NameServer
  252.                                                                                                         *
  253.     GUI_SetText ( 7_txtID,0_fntID,50_WinText,080_x,228_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * Msg. Playername 1
  254.     GUI_SetText ( 8_txtID,0_fntID,51_WinText,080_x,258_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * Msg. Playername 2
  255.     GUI_SetText ( 9_txtID,0_fntID,52_WinText,080_x,288_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * Msg. Playername 3
  256.     GUI_SetText (10_txtID,0_fntID,53_WinText,080_x,318_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * Msg. Playername 4
  257.                                                                                                         *
  258.     GUI_SetTextButton (04_gdtID,0_fntID,48_WinText,6_Library,080_x,292_y,11_Width);                        * messageinputbox
  259.                                                                                                         *
  260.     * leveloptions **************************************************************************************
  261.                                                                                                         *
  262.     GUI_SetButton (06_gdtID,0_fntID,55_WinText,0_Library,420_x,360_y,5_Width,1_PressDown);                * leveloptions    
  263.                                                                                                         *
  264.     GUI_SetText (11_txtID,0_fntID,56_WinText,080_x,350_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "selected level"
  265.     GUI_SetText (12_txtID,1_fntID,57_WinText,225_x,350_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * selected level
  266.     GUI_SetText (13_txtID,0_fntID,58_WinText,080_x,364_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "soft mode"
  267.     GUI_SetText (14_txtID,1_fntID,153_WinText,225_x,364_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * on/off
  268.     GUI_SetText (22_txtID,0_fntID,157_WinText,080_x,378_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "chess mode"
  269.     GUI_SetText (23_txtID,1_fntID,153_WinText,225_x,378_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * on/off
  270.     GUI_SetText (15_txtID,0_fntID,150_WinText,080_x,392_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * "equipment points"
  271.     GUI_SetText (16_txtID,1_fntID,151_WinText,225_x,392_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * equipment points
  272.     GUI_SetText (18_txtID,0_fntID,152_WinText,080_x,420_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * "skillpoints"
  273.     GUI_SetText (19_txtID,1_fntID,59_WinText,225_x,420_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);       * skillpoints
  274.     GUI_SetText (20_txtID,0_fntID,155_WinText,080_x,434_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * "techlevel"
  275.     GUI_SetText (21_txtID,1_fntID,156_WinText,225_x,434_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * techlevel
  276.     GUI_SetText (24_txtID,0_fntID,158_WinText,080_x,406_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * "TimeOut"
  277.     GUI_SetText (25_txtID,1_fntID,159_WinText,225_x,406_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);      * timeout
  278.                                                                                                         *
  279.     * misc **********************************************************************************************
  280.                                                                                                         *
  281.     GUI_SetButton (10_gdtID,0_fntID,01_WinText,0_Library,420_x,400_y,5_Width,1_PressDown);                * cancel
  282.     GUI_SetButton (11_gdtID,0_fntID,02_WinText,0_Library,420_x,400_y,5_Width,1_PressDown);                * ok    
  283.  
  284.     [END]
  285.  
  286. *****************
  287. *                *
  288. * Leveloptions    *
  289. *                *
  290. **************************************************************************************************************************
  291.  
  292. :Leveloptions;
  293.     
  294.     GUI_SetWindow (0,0,640,480);
  295.  
  296.     GUI_SetText (0_txtID,2_fntID,110_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  297.  
  298.     GUI_SetListbox (0_gdtID,0_fntID,113_WinText,12_Library,060_x,120_y,8_Width);
  299.     GUI_SetListbox (1_gdtID,0_fntID,114_WinText,18_Library,060_x,142_y,8_Width);
  300.     GUI_SetListbox (2_gdtID,0_fntID,115_WinText,18_Library,060_x,164_y,8_Width);
  301.     GUI_SetListbox (3_gdtID,0_fntID,116_WinText,18_Library,060_x,186_y,8_Width);
  302.     GUI_SetListbox (4_gdtID,0_fntID,117_WinText,18_Library,060_x,208_y,8_Width);
  303.     GUI_SetListbox (5_gdtID,0_fntID,118_WinText,18_Library,060_x,230_y,8_Width);
  304.     GUI_SetListbox (6_gdtID,0_fntID,119_WinText,18_Library,060_x,252_y,8_Width);
  305.     GUI_SetListbox (7_gdtID,0_fntID,120_WinText,18_Library,060_x,274_y,8_Width);
  306.     GUI_SetListbox (8_gdtID,0_fntID,121_WinText,18_Library,060_x,296_y,8_Width);
  307.     GUI_SetListbox (9_gdtID,0_fntID,122_WinText,24_Library,060_x,318_y,8_Width);
  308.  
  309.     GUI_SetIcon (10_gdtID,30_Library,320_x,120_y);                                                        * up icon
  310.     GUI_SetIcon (11_gdtID,32_Library,320_x,155_y);                                                        * down icon
  311.  
  312.     GUI_SetButton (20_gdtID,0_fntID,01_WinText,0_Library,060_x,370_y,4_Width,1_PressDown);                * cancel
  313.     GUI_SetButton (21_gdtID,0_fntID,02_WinText,0_Library,463_x,370_y,4_Width,1_PressDown);                * continue
  314.  
  315.     GUI_SetButton (22_gdtID,0_fntID,135_WinText,0_Library,230_x,370_y,6_Width,1_PressDown);                * infos
  316. *        GUI_SetButton (23_gdtID,0_fntID,136_WinText,0_Library,371_x,115_y,7_Width);                                                     * map-inputs
  317. *        GUI_SetButton (24_gdtID,0_fntID,137_WinText,0_Library,371_x,115_y,7_Width);                                                     * user-inputs
  318.  
  319.     **********************************************************************************************************************
  320.                                                                                                         *
  321.     GUI_SetText (2_txtID,1_fntID,123_WinText,320_x,080_y,0_Style,1_cX,3_cA,00_cB,00_cC,1_Format);        * "selected map"
  322.     GUI_SetText (6_txtID,0_fntID,129_WinText,500_x,150_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);        * "soft mode"
  323.     GUI_SetButton (14_gdtID,0_fntID,130_WinText,6_Library,505_x,120_y,2_Width);                         * on/off
  324.     GUI_SetText (8_txtID,0_fntID,138_WinText,500_x,190_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);       * "chessmode"
  325.     GUI_SetButton (16_gdtID,0_fntID,139_WinText,6_Library,505_x,160_y,2_Width);                         * on/of
  326.     GUI_SetText (3_txtID,0_fntID,125_WinText,500_x,230_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);       * "equipment points"
  327.     GUI_SetTextButton (12_gdtID,0_fntID,124_WinText,6_Library,505_x,200_y,2_Width);                     * input: equipmentpoints
  328.     GUI_SetText (4_txtID,0_fntID,127_WinText,500_x,310_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);       * "skillpoints"
  329.     GUI_SetTextButton (13_gdtID,0_fntID,128_WinText,6_Library,505_x,280_y,2_Width);                     * input: skillpoints
  330.     GUI_SetText (7_txtID,0_fntID,132_WinText,500_x,340_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);       * "techlevel"
  331.     GUI_SetTextButton (15_gdtID,0_fntID,133_WinText,6_Library,505_x,320_y,2_Width);                     * input: techlevel
  332.     GUI_SetText (9_txtID,0_fntID,158_WinText,500_x,270_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);       * "timeout"
  333.     GUI_SetTextButton (17_gdtID,0_fntID,159_WinText,6_Library,505_x,240_y,2_Width);                     * input: timeout
  334.  
  335.     [END]
  336.  
  337. *************
  338. *            *
  339. * ReadMe    *
  340. *            *
  341. **************************************************************************************************************************
  342.  
  343. :ReadMe;
  344.     
  345.     GUI_SetWindow (0,0,640,480);
  346.  
  347.     GUI_SetText (0_txtID,2_fntID,130_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  348.  
  349.     GUI_SetTextbox (0);
  350.  
  351.     GUI_SetButton (00_gdtID,0_fntID,02_WinText,0_Library,400_x,340_y,4_Width,1_PressDown);
  352.  
  353.     GUI_SetIcon (1_gdtID,30_Library,490_x,130_y);
  354.     GUI_SetIcon (2_gdtID,32_Library,490_x,165_y);
  355.  
  356.     [END]
  357.  
  358. *************
  359. *            *
  360. * Arenamode    *
  361. *            *
  362. **************************************************************************************************************************
  363.  
  364. :ArenaMode;
  365.  
  366.     GUI_SetWindow (0,0,640,480);
  367.  
  368.     GUI_SetText (0_txtID,2_fntID,80_WinText,320_x,26_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  369.  
  370.     * inputboxes for playernames *****************************************************************************************
  371.                                                                                                         *
  372.     GUI_SetTextButton (0_gdtID,0_fntID,085_WinText,6_Library,180_x,130_y,9_Width);                        * Player 1
  373.     GUI_SetTextButton (1_gdtID,0_fntID,086_WinText,6_Library,180_x,162_y,9_Width);                        * Player 2
  374.     GUI_SetTextButton (2_gdtID,0_fntID,087_WinText,6_Library,180_x,194_y,9_Width);                        * Player 3
  375.     GUI_SetTextButton (3_gdtID,0_fntID,088_WinText,6_Library,180_x,226_y,9_Width);                        * Player 4
  376.                                                                                                         *
  377.     * buttons to toggle the players on/off *******************************************************************************
  378.                                                                                                         *
  379.     GUI_SetButton (4_gdtID,0_fntID,089_WinText,0_Library,470_x,130_y,2_Width,1_PressDown);                * Ein/Aus
  380.     GUI_SetButton (5_gdtID,0_fntID,089_WinText,0_Library,470_x,162_y,2_Width,1_PressDown);                * Ein/Aus
  381.     GUI_SetButton (6_gdtID,0_fntID,089_WinText,0_Library,470_x,194_y,2_Width,1_PressDown);                * Ein/Aus
  382.     GUI_SetButton (7_gdtID,0_fntID,089_WinText,0_Library,470_x,226_y,2_Width,1_PressDown);                * Ein/Aus
  383.                                                                                                         *
  384.     * print out the number of player *************************************************************************************
  385.                                                                                                         *
  386.     GUI_SetText (1_txtID,0_fntID,081_WinText,100_x,150_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "Player 1"
  387.     GUI_SetText (2_txtID,0_fntID,082_WinText,100_x,182_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "Player 1"
  388.     GUI_SetText (3_txtID,0_fntID,083_WinText,100_x,214_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "Player 1"
  389.     GUI_SetText (4_txtID,0_fntID,084_WinText,100_x,246_y,0_Style,1_cX,3_cA,00_cB,00_cC,0_Format);        * "Player 1"
  390.                                                                                                         *
  391.     * play by mail option ************************************************************************************************
  392.                                                                                                         *
  393.     GUI_SetText (5_txtID,0_fntID,090_WinText,395_x,297_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);        * "PlayByMail"
  394.     GUI_SetText (6_txtID,0_fntID,093_WinText,505_x,297_y,0_Style,1_cX,3_cA,00_cB,00_cC,2_Format);        * "select 2 players.."
  395.                                                                                                         *
  396.     GUI_SetButton (8_gdtID,0_fntID,092_WinText,0_Library,405_x,280_y,4_Width,1_PressDown);                * Off
  397.                                                                                                         *
  398.     * tutorial button ****************************************************************************************************
  399.                                                                                                         *
  400. *    GUI_SetButton (9_gdtID,0_fntID,096_WinText,0_Library,100_x,280_y,4_Width,1_PressDown);                * Tutorial
  401.                                                                                                         *
  402.     * cancel & OK ********************************************************************************************************
  403.                                                                                                         *
  404.     GUI_SetButton (10_gdtID,0_fntID,001_WinText,0_Library,100_x,340_y,4_Width,1_PressDown);                * Cancel
  405.     GUI_SetButton (11_gdtID,0_fntID,002_WinText,0_Library,405_x,340_y,4_Width,1_PressDown);                * OK
  406.                                                                                                         *
  407.     * gametype (singleplayer, multiplayer) *******************************************************************************    
  408.                                                                                                         *
  409.     GUI_SetText (7_txtID,1_fntID,094_WinText,320_x,80_y,0_Style,0_cX,2_cA,00_cB,00_cC,1_Format);        * "singleplayer"
  410.  
  411.     [END]
  412.  
  413. *************
  414. *            *
  415. * GameIntro    *
  416. *            *
  417. **************************************************************************************************************************
  418.  
  419. :GameIntro;
  420.     
  421.     GUI_SetWindow (0,0,640,480);
  422.  
  423.     GUI_SetTextOnly2 (00_gdtID,1_fntID,05_WinText,290_x,420_y,60_Width,30_Height);
  424.  
  425.     *GUI_SetButton (00_gdtID,0_fntID,05_WinText,0_Library,250_x,420_y,6_Width,1_PressDown);
  426.  
  427.     [END]
  428.  
  429. *****************
  430. *                *
  431. * DemoMessage    *
  432. *                *
  433. **************************************************************************************************************************
  434.  
  435. :DemoMessage;
  436.     
  437.     GUI_SetWindow (0,0,640,480);
  438.  
  439.     GUI_SetText (0_txtID,2_fntID,100_WinText,500_x,50_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  440.     GUI_SetText (2_txtID,0_fntID,006_WinText,420_x,150_y,0_Style,1_cX,3_cA,00_cB,00_cC,1_Format);    * not available in the demo
  441.     GUI_SetText (1_txtID,3_fntID,004_WinText,445_x,445_y,0_Style,1_cX,3_cA,0_cB,0_cC,0_Format);
  442.  
  443.     GUI_SetButton (00_gdtID,0_fntID,02_WinText,0_Library,425_x,300_y,6_Width,1_PressDown);
  444.  
  445.     [END]
  446.  
  447. *************
  448. *            *
  449. * Credits    *
  450. *            *
  451. **************************************************************************************************************************
  452.  
  453. :Credits;
  454.     
  455.     GUI_SetWindow (0,0,640,480);
  456.  
  457. *    GUI_SetText (0_txtID,2_fntID,160_WinText,500_x,50_y,0_Style,1_cX,3_cA,0_cB,0_cC,1_Format);
  458.  
  459.     GUI_SetButton (00_gdtID,0_fntID,07_WinText,0_Library,450_x,410_y,6_Width,1_PressDown);                * exit game
  460.     GUI_SetButton (01_gdtID,0_fntID,08_WinText,0_Library,250_x,410_y,6_Width,1_PressDown);                * back
  461.  
  462.     [END]
  463.