Guest User

Untitled

a guest
Apr 11th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. %Procedures that involve the buttons
  2.  
  3. forward procedure armor_selection
  4. forward procedure armor_buttons
  5. forward procedure mission_selection
  6. forward procedure mission1
  7.  
  8. %Screen where buttons will be drawn
  9.  
  10. body proc armor_selection
  11.  
  12. Font.Draw ("Please select your armor you will be using for your SPARTAN career.", 100, 600, font2, white)
  13.  
  14. Font.Draw ("(Only Click your Selection Once)", 200, 570, font2, white)
  15.  
  16. cio_armor_display := Pic.Scale (cio_armor, 290, 470)
  17.  
  18. Pic.Draw (cio_armor_display, 0, 0, picCopy)
  19.  
  20. fotus_armor_display := Pic.Scale (fotus_armor, 290, 470)
  21.  
  22. Pic.Draw (fotus_armor_display, 260, 0, picCopy)
  23.  
  24. rogue_armor_display := Pic.Scale (rogue_armor, 290, 470)
  25.  
  26. Pic.Draw (rogue_armor_display, 540, 0, picCopy)
  27.  
  28. orbital_armor_display := Pic.Scale (orbital_armor, 290, 470)
  29.  
  30. Pic.Draw (orbital_armor_display, 790, 0, picCopy)
  31.  
  32. mark6_armor_display := Pic.Scale (mark6_armor, 290, 470)
  33.  
  34. Pic.Draw (mark6_armor_display, 1070, 0, picCopy)
  35.  
  36.  
  37. end armor_selection
  38.  
  39. %Procedure for buttons
  40.  
  41. body proc armor_buttons
  42. cio_armor_button := GUI.CreateButton (100, 490, 0, "C.I.O. Armor", mission_selection)
  43. GUI.SetColor (cio_armor_button, 41)
  44.  
  45. fotus_armor_button := GUI.CreateButton (360, 490, 0, "Fotus Armor", mission_selection)
  46. GUI.SetColor (fotus_armor_button, 24)
  47.  
  48. rogue_armor_button := GUI.CreateButton (635, 490, 0, "Rogue Armor", mission_selection)
  49. GUI.SetColor (rogue_armor_button, 55)
  50.  
  51. orbital_armor_button := GUI.CreateButton (880, 490, 0, "Orbital Armor", mission_selection)
  52. GUI.SetColor (orbital_armor_button, 40)
  53.  
  54. mark6_armor_button := GUI.CreateButton (1150, 490, 0, "Mark VI Armor", mission_selection)
  55. GUI.SetColor (mark6_armor_button, 48)
  56. end armor_buttons
  57.  
  58. %Procedure buttons must initiate
  59.  
  60. body proc mission_selection
  61.  
  62. put "hi"
  63.  
  64. end mission_selection
  65.  
  66. %Deployment (for lack of a better term) of procedures
  67. armor_selection
  68. armor_buttons
Advertisement
Add Comment
Please, Sign In to add comment