menu.ddh 831 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. (include "button.ddh")
  2. # menu world
  3. (class world_menu dd_world
  4. (group
  5. # background
  6. (def float bg_rotation)
  7. (def dd_meshColour bg)
  8. # logo
  9. (def dd_meshTexture logo)
  10. # menu buttons
  11. (def Button button[3])
  12. (def int buttonTotal)
  13. (def avdl_program buttonProgram)
  14. (def float buttonClickCol[3])
  15. (def float buttonActiveCol[3])
  16. (def float buttonInactiveCol[3])
  17. # text display
  18. (def Button textButton)
  19. # font
  20. (def dd_string3d font)
  21. (def int selection)
  22. (def int selectionClick)
  23. (def int isMovingToNewWorld)
  24. (function void create (group))
  25. (function void onload (group))
  26. (function void resize (group))
  27. (function void update (group))
  28. (function void draw (group))
  29. (function void key_input (group char key))
  30. (function void mouse_input (group int button int type))
  31. (function void clean (group))
  32. )
  33. ) # menu world