ularnpc.rc 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. #include <windows.h>
  2. #include "ularnpc.rh"
  3. IDM_MENU1 MENU
  4. {
  5. POPUP "&Game"
  6. {
  7. MENUITEM "&Save", IDM_GAME_SAVE
  8. MENUITEM SEPARATOR
  9. MENUITEM "&Quit", IDM_GAME_QUIT
  10. }
  11. POPUP "&Commands"
  12. {
  13. MENUITEM "Wait", IDM_COMMANDS_WAIT
  14. MENUITEM "&wield", IDM_COMMANDS_WIELD
  15. MENUITEM "&Wear", IDM_COMMANDS_WEAR
  16. MENUITEM "&Take off", IDM_COMMANDS_TAKEOFF
  17. MENUITEM "&Quaff", IDM_COMMANDS_QUAFF
  18. MENUITEM "&Read", IDM_COMMANDS_READ
  19. MENUITEM "&Cast", IDM_COMMANDS_CAST
  20. MENUITEM "&Eat", IDM_COMMANDS_EAT
  21. MENUITEM "&Drop", IDM_COMMANDS_DROP
  22. MENUITEM "&Close door", IDM_COMMAND_CLOSE
  23. }
  24. POPUP "&Show"
  25. {
  26. MENUITEM "&Discoveries", IDM_SHOW_DISCOVERIES
  27. MENUITEM "&Inventory", IDM_SHOW_INV
  28. MENUITEM "&Tax", IDM_SHOW_TAX
  29. MENUITEM "&Pack weight", IDM_SHOW_PACKWEIGHT
  30. }
  31. POPUP "&Display"
  32. {
  33. MENUITEM "&Redraw", IDM_DISPLAY_REDRAW
  34. MENUITEM "&Beep", IDM_DISPLAY_BEEP
  35. MENUITEM "&Font", IDM_DISPLAY_FONT
  36. }
  37. POPUP "&Help", HELP
  38. {
  39. MENUITEM "&Help", IDM_HELP_HELP
  40. MENUITEM "&Version", IDM_HELP_VERSION
  41. MENUITEM SEPARATOR
  42. MENUITEM "&About", IDM_HELP_ABOUT
  43. }
  44. }
  45. STRINGTABLE
  46. {
  47. IDM_GAME_QUIT, "Quit VLarn"
  48. IDM_GAME_SAVE, "Save the game and exit."
  49. IDM_COMMANDS_WAIT, "Wait for a turn."
  50. IDM_COMMANDS_WIELD, "Wield a weapon."
  51. IDM_COMMANDS_WEAR, "Wear some armour or a shield."
  52. IDM_COMMANDS_TAKEOFF, "Take of your armour or shield."
  53. IDM_COMMANDS_QUAFF, "Quaff a potion."
  54. IDM_COMMANDS_READ, "Read a book or scroll."
  55. IDM_COMMANDS_CAST, "Cast a spell."
  56. IDM_COMMANDS_EAT, "Eat something from your inventory."
  57. IDM_COMMANDS_DROP, "Drop something from your inventory."
  58. IDM_COMMAND_CLOSE, "Close an open door."
  59. IDM_DISPLAY_REDRAW, "Redraw the screen."
  60. IDM_DISPLAY_BEEP, "Toggle beep."
  61. IDM_DISPLAY_FONT, "Set the font to use for messages and status line."
  62. IDM_HELP_HELP, "How to play ularn."
  63. IDM_HELP_VERSION, "Show the version info."
  64. IDM_HELP_ABOUT, "About ularn."
  65. IDM_SHOW_DISCOVERIES, "Show magic items and spells discovered."
  66. IDM_SHOW_TAX, "Show the amount of tax outstanding."
  67. IDM_SHOW_INV, "Show your current inventory."
  68. IDM_SHOW_PACKWEIGHT, "Show the weight of items carried."
  69. }
  70. IDD_DIALOG1 DIALOG 0, 0, 109, 37
  71. EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
  72. STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  73. CAPTION "Who are you?"
  74. FONT 8, "MS Sans Serif"
  75. {
  76. CONTROL "", IDC_EDIT_NAME, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 4, 4, 100, 12, 0
  77. CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 4, 20, 50, 14
  78. CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 56, 20, 50, 14
  79. }
  80. IDD_ABOUT DIALOG 0, 0, 240, 120
  81. EXSTYLE WS_EX_DLGMODALFRAME | WS_EX_CONTEXTHELP
  82. STYLE DS_MODALFRAME | DS_3DLOOK | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  83. CAPTION "About VLarn..."
  84. FONT 8, "MS Sans Serif"
  85. {
  86. CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 96, 100, 50, 14
  87. CONTROL "Frame1", -1, "static", SS_ETCHEDFRAME | WS_CHILD | WS_VISIBLE, 8, 9, 224, 82, 0
  88. CONTROL "VLarn 5.0", -1, "static", SS_CENTER | WS_CHILD | WS_VISIBLE, 16, 20, 208, 11, 0
  89. CONTROL "VLarn by Jeffrey H. Johnson, based on v1.6 by Julian Olds", -1, "static", SS_CENTER | WS_CHILD | WS_VISIBLE, 16, 64, 208, 10, 0
  90. CONTROL "ULarn by Phil Cordier is based on Larn by Noah Morgan", -1, "static", SS_CENTER | WS_CHILD | WS_VISIBLE, 16, 40, 208, 10, 0
  91. CONTROL "Updated by Josh Brandt and David Richerby", -1, "static", SS_CENTER | WS_CHILD | WS_VISIBLE, 16, 52, 208, 10, 0
  92. }