home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 1999 November / maximum-cd-1999-11.iso / Battlezone II / Disk1 / data1.cab / Program_Executable_Files / data.pak / config_GAME_bzgame_init.cfg < prev    next >
Encoding:
Text File  |  1999-08-25  |  5.4 KB  |  225 lines

  1. // ================================
  2. // BATTLEZONE EDITOR INITIALIZATION
  3. // ================================
  4.  
  5. //
  6. // CONFIGURE FONTS
  7. //
  8. ConfigureInterface()
  9. {
  10.     // large font: bank gothic medium 12-point
  11.     CreateFont("LARGE", "bg12.bmf");
  12.  
  13.     // medium font: bank gothic medium 10-point
  14.     CreateFont("MEDIUM", "bg10.bmf");
  15.  
  16.     // small font: bank gothic medium 8-point
  17.     CreateFont("SMALL", "bg08.bmf");
  18.  
  19.     // tiny font: small fonts 5-point
  20.     CreateFont("TINY", "small.bmf");
  21.  
  22.     // use medium as the system font
  23.     CreateFont("SYSTEM", "bg10.bmf");
  24. }
  25.  
  26. //
  27. // CONFIGURE COLORS
  28. //
  29. ConfigureInterface()
  30. {
  31.     DefineColorGroup("DEFAULT")
  32.     {
  33.         // unselected, unhighlit, undisabled
  34.         Foreground(0, 255, 255, 255, 255);
  35.         Background(0, 0, 127, 255, 127);
  36.         Gradient(0, 0, 63, 127, 127);
  37.  
  38.         // selected, unhighlit, undisabled
  39.         Foreground(1, 255, 255, 255, 255);
  40.         Background(1, 190, 200, 255, 127);
  41.         Gradient(1, 122, 142, 226, 127);
  42.  
  43.         // unselected, highlit, undisabled
  44.         Foreground(2, 255, 255, 255, 255);
  45.         Background(2, 127, 191, 255, 127);
  46.         Gradient(2, 63, 95, 127, 127);
  47.  
  48.         // selected, highlit, undisabled
  49.         Foreground(3, 255, 255, 255, 255);
  50.         Background(3, 255, 255, 255, 127);
  51.         Gradient(3, 127, 127, 127, 127);
  52.     }
  53.  
  54.     DefineColorGroup("MAGENTA")
  55.     {
  56.         // unselected, unhighlit, undisabled
  57.         Foreground(0, 255, 255, 255, 255);
  58.         Background(0, 255, 0, 127, 127);
  59.         Gradient(0, 127, 0, 63, 127);
  60.  
  61.         // selected, unhighlit, undisabled
  62.         Foreground(1, 255, 255, 255, 255);
  63.         Background(1, 255, 190, 200, 127);
  64.         Gradient(1, 226, 122, 142, 127);
  65.  
  66.         // unselected, highlit, undisabled
  67.         Foreground(2, 255, 255, 255, 255);
  68.         Background(2, 255, 127, 191, 127);
  69.         Gradient(2, 127, 63, 95, 127);
  70.  
  71.         // selected, highlit, undisabled
  72.         Foreground(3, 255, 255, 255, 255);
  73.         Background(3, 255, 255, 255, 127);
  74.         Gradient(3, 127, 127, 127, 127);
  75.     }
  76.  
  77.     DefineColorGroup("LISTBOX")
  78.     {
  79.         // unselected, unhighlit, undisabled
  80.         Foreground(0, 255, 255, 255, 255);
  81.         Background(0, 0, 0, 0, 255);
  82.         Gradient(0, 0, 0, 0, 255);
  83.  
  84.         // selected, unhighlit, undisabled
  85.         Foreground(1, 255, 255, 255, 255);
  86.         Background(1, 127, 0, 63, 255);
  87.         Gradient(1, 127, 0, 63, 255);
  88.  
  89.         // unselected, highlit, undisabled
  90.         Foreground(2, 255, 255, 255, 255);
  91.         Background(2, 63, 63, 63, 255);
  92.         Gradient(2, 63, 63, 63, 255);
  93.  
  94.         // selected, highlit, undisabled
  95.         Foreground(3, 255, 255, 255, 255);
  96.         Background(3, 255, 0, 127, 255);
  97.         Gradient(3, 255, 0, 127, 255);
  98.     }
  99.  
  100.     DefineColorGroup("BLACKBLUE")
  101.     {
  102.         // unselected, unhighlit, undisabled
  103.         Foreground(0, 255, 255, 255, 255);
  104.         Background(0, 0, 0, 0, 255);
  105.         Gradient(0, 0, 0, 0, 255);
  106.  
  107.         // selected, unhighlit, undisabled
  108.         Foreground(1, 255, 255, 255, 255);
  109.         Background(1, 0, 63, 127, 255);
  110.         Gradient(1, 0, 63, 127, 255);
  111.  
  112.         // unselected, highlit, undisabled
  113.         Foreground(2, 255, 255, 255, 255);
  114.         Background(2, 63, 63, 63, 255);
  115.         Gradient(2, 63, 63, 63, 255);
  116.  
  117.         // selected, highlit, undisabled
  118.         Foreground(3, 255, 255, 255, 255);
  119.         Background(3, 0, 127, 255, 255);
  120.         Gradient(3, 0, 127, 255, 255);
  121.     }
  122.  
  123.     DefineColorGroup("BACKGROUND")
  124.     {
  125.         // unselected, unhighlit, undisabled
  126.         Foreground(0, 255, 255, 255, 255);
  127.         Background(0, 0, 0, 0, 127);
  128.         Gradient(0, 0, 0, 0, 127);
  129.  
  130.         // selected, unhighlit, undisabled
  131.         Foreground(1, 255, 255, 255, 255);
  132.         Background(1, 0, 0, 0, 127);
  133.         Gradient(1, 0, 0, 0, 127);
  134.  
  135.         // unselected, highlit, undisabled
  136.         Foreground(2, 255, 255, 255, 255);
  137.         Background(2, 0, 0, 0, 127);
  138.         Gradient(2, 0, 0, 0, 127);
  139.  
  140.         // selected, highlit, undisabled
  141.         Foreground(3, 255, 255, 255, 255);
  142.         Background(3, 0, 0, 0, 127);
  143.         Gradient(3, 0, 0, 0, 127);
  144.     }
  145.  
  146.     DefineColorGroup("WHITE")
  147.     {
  148.         // unselected, unhighlit, undisabled
  149.         Foreground(0, 255, 255, 255, 255);
  150.         Background(0, 255, 255, 255, 255);
  151.         Gradient(0, 255, 255, 255, 255);
  152.  
  153.         // selected, unhighlit, undisabled
  154.         Foreground(1, 255, 255, 255, 255);
  155.         Background(1, 255, 255, 255, 255);
  156.         Gradient(1, 255, 255, 255, 255);
  157.  
  158.         // unselected, highlit, undisabled
  159.         Foreground(2, 255, 255, 255, 255);
  160.         Background(2, 255, 255, 255, 255);
  161.         Gradient(2, 255, 255, 255, 255);
  162.  
  163.         // selected, highlit, undisabled
  164.         Foreground(3, 255, 255, 255, 255);
  165.         Background(3, 255, 255, 255, 255);
  166.         Gradient(3, 255, 255, 255, 255);
  167.     }
  168.  
  169.     DefineColorGroup("GROUPICON")
  170.     {
  171.         // unselected, unhighlit, undisabled
  172.         Foreground(0, 255, 255, 255, 255);
  173.         Background(0, 255, 255, 255, 255);
  174.         Gradient(0, 255, 255, 255, 255);
  175.  
  176.         // selected, unhighlit, undisabled
  177.         Foreground(1, 255, 255, 255, 255);
  178.         Background(1, 255, 0, 0, 255);
  179.         Gradient(1, 255, 0, 0, 255);
  180.  
  181.         // unselected, highlit, undisabled
  182.         Foreground(2, 255, 255, 255, 255);
  183.         Background(2, 255, 255, 255, 255);
  184.         Gradient(2, 255, 255, 255, 255);
  185.  
  186.         // selected, highlit, undisabled
  187.         Foreground(3, 255, 255, 255, 255);
  188.         Background(3, 255, 0, 0, 255);
  189.         Gradient(3, 255, 0, 0, 255);
  190.     }
  191. }
  192.  
  193. //
  194. // CONFIGURE CURSORS
  195. //
  196. ConfigureCursors()
  197. {
  198.     // DEFAULT CURSOR
  199.     CreateCursor("Default")
  200.     {
  201.         Size(32,32);
  202.         Hotspot(6, 6);
  203.         Image("cursor.tga");
  204.         Frames(0, 7);
  205.       }
  206.  
  207.     // HIGHLIGHT CURSOR
  208.     CreateCursor("Highlight")
  209.       {
  210.         Size(32,32);
  211.         Hotspot(6, 6);
  212.         Image("cursor.tga");
  213.         Frames(8, 15);
  214.       }
  215.  
  216.     // SET STANDARD CURSORS
  217.       StandardCursors()
  218.     {
  219.         Default("Default");
  220.         IBeam("Default");
  221.         Wait("Default");
  222.         No("Default");
  223.     }
  224. }
  225.