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.

65 lines
1.6 KiB

  1. #include "windows.h"
  2. #include "golf.h"
  3. STRINGTABLE
  4. begin
  5. IDSOOM, "Insufficient Memory. Close one or more Applications."
  6. IDSAppName, "Golf"
  7. IDSNoCardOnKing, "Can't play card on King"
  8. IDSNotAdjacent, "Not adjacent to card on pile"
  9. IDSWinner, "Congratulations!"
  10. IDSGameOver, "Game Over - %2d cards left"
  11. IDSGameOverS, "Game Over - 1 card left"
  12. IDSRecordTitle, "Games\tWins\t1-5\t6-10\t11-15\t16-20\t21-25\t26-30\t31-35"
  13. end
  14. Golf ICON golf.ico
  15. Golf MENU
  16. BEGIN
  17. POPUP "&Game"
  18. BEGIN
  19. MENUITEM "&New\tF2", IDM_NEWGAME
  20. MENUITEM "&Backup\tBkSp", IDM_OPTIONSUNDO
  21. MENUITEM "&Record...", IDM_GAMERECORD
  22. MENUITEM SEPARATOR
  23. MENUITEM "E&xit", IDM_EXIT
  24. END
  25. POPUP "&Options"
  26. BEGIN
  27. MENUITEM "&Deck...", IDM_OPTIONSDECK
  28. MENUITEM "&Messages", IDM_OPTIONSERROR
  29. END
  30. POPUP "&Help"
  31. BEGIN
  32. MENUITEM "&Index\tF1", MENU_INDEX
  33. MENUITEM "&How to Play", MENU_HOWTOPLAY
  34. MENUITEM "&Commands", MENU_COMMANDS
  35. MENUITEM "&Using Help", MENU_USINGHELP
  36. MENUITEM SEPARATOR
  37. MENUITEM "&About Golf...", IDM_ABOUT
  38. END
  39. END
  40. Golf ACCELERATORS
  41. begin
  42. VK_F2, IDM_NEWGAME, VIRTKEY
  43. VK_F1, MENU_INDEX, VIRTKEY
  44. VK_BACK, IDM_OPTIONSUNDO, VIRTKEY
  45. end
  46. rcinclude golf.dlg
  47. #include <ntverp.h>
  48. #define VER_FILETYPE VFT_APP
  49. #define VER_FILESUBTYPE VFT2_UNKNOWN
  50. #define VER_FILEDESCRIPTION_STR "Entertainment Pack Golf Game"
  51. #define VER_INTERNALNAME_STR "golf\0"
  52. #include "common.ver"