Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
977 B

  1. /* menu.inc */
  2. ID_MENU MENU
  3. BEGIN
  4. POPUP "&Game"
  5. BEGIN
  6. MENUITEM "&New\tF2", IDM_NEW
  7. MENUITEM SEPARATOR
  8. MENUITEM "&Pause\tF3", IDM_PAUSE
  9. MENUITEM SEPARATOR
  10. MENUITEM "&Sound\tF4", IDM_SOUND
  11. MENUITEM "&Color", IDM_COLOR
  12. MENUITEM SEPARATOR
  13. MENUITEM "E&xit", IDM_EXIT
  14. END
  15. POPUP "&Skill"
  16. BEGIN
  17. MENUITEM "&Beginner", IDM_BEGIN
  18. MENUITEM "&Intermediate", IDM_INTER
  19. MENUITEM "&Expert", IDM_EXPERT
  20. MENUITEM SEPARATOR
  21. MENUITEM "&Room...", IDM_ROOM
  22. END
  23. POPUP "&Help"
  24. BEGIN
  25. MENUITEM "&Index\tF1", IDM_INDEX
  26. MENUITEM "&How to Play", IDM_HOW2PLAY
  27. MENUITEM "&Commands", IDM_COMMANDS
  28. MENUITEM "Using &Help", IDM_HELP_HELP
  29. MENUITEM SEPARATOR
  30. MENUITEM "&About Snake...", IDM_HELP_ABOUT
  31. END
  32. END
  33. ID_MENU_ACCEL ACCELERATORS
  34. BEGIN
  35. VK_F1, IDM_INDEX, VIRTKEY
  36. VK_F2, IDM_NEW, VIRTKEY
  37. VK_F3, IDM_PAUSE, VIRTKEY
  38. VK_F4, IDM_SOUND, VIRTKEY
  39. END