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.

187 lines
5.2 KiB

  1. #include "windows.h"
  2. #include "tp.h"
  3. taipei ICON tp.ico
  4. STRINGTABLE
  5. BEGIN
  6. IDSNAME, "taipei"
  7. IDSTITLE, "Taipei!"
  8. END
  9. taipei ACCELERATORS
  10. begin
  11. VK_F2, IDDNEWGAME, VIRTKEY
  12. VK_F1, IDDHINT, VIRTKEY
  13. VK_BACK, IDDBACKUP, VIRTKEY
  14. end
  15. taipei MENU FIXED
  16. BEGIN
  17. POPUP "Game"
  18. BEGIN
  19. MENUITEM "&New Game\tF2", IDDNEWGAME
  20. MENUITEM "&Select Game..." IDDSELECTGAME
  21. MENUITEM "Start &Over", IDDSTARTOVER
  22. MENUITEM "&Backup\tBkSp", IDDBACKUP
  23. MENUITEM "&Autoplay", IDDAUTOPLAY
  24. END
  25. POPUP "Options"
  26. BEGIN
  27. MENUITEM "&Color...", IDDCOLOR
  28. MENUITEM "&No Beeps", IDDSHADDUP
  29. MENUITEM "&Lighten Tile Sides", IDDLIGHTEN
  30. MENUITEM "&Darken Tile Sides", IDDDARKEN
  31. END
  32. POPUP "Help"
  33. BEGIN
  34. MENUITEM "&Hint\tF1", IDDHINT
  35. MENUITEM "&Tiles...", IDDTILES
  36. MENUITEM "&Peek...", IDDPEEK
  37. MENUITEM SEPARATOR
  38. MENUITEM "&About Taipei...", IDMABOUT
  39. END
  40. END
  41. 1 bitmap crak1.bmp
  42. 2 bitmap crak2.bmp
  43. 3 bitmap crak3.bmp
  44. 4 bitmap crak4.bmp
  45. 5 bitmap crak5.bmp
  46. 6 bitmap crak6.bmp
  47. 7 bitmap crak7.bmp
  48. 8 bitmap crak8.bmp
  49. 9 bitmap crak9.bmp
  50. 10 bitmap blibbet.bmp
  51. 11 bitmap dot2.bmp
  52. 12 bitmap dot3.bmp
  53. 13 bitmap dot4.bmp
  54. 14 bitmap dot5.bmp
  55. 15 bitmap dot6.bmp
  56. 16 bitmap dot7.bmp
  57. 17 bitmap dot8.bmp
  58. 18 bitmap dot9.bmp
  59. 19 bitmap bam1.bmp
  60. 20 bitmap bam2.bmp
  61. 21 bitmap bam3.bmp
  62. 22 bitmap bam4.bmp
  63. 23 bitmap bam5.bmp
  64. 24 bitmap bam6.bmp
  65. 25 bitmap bam7.bmp
  66. 26 bitmap bam8.bmp
  67. 27 bitmap bam9.bmp
  68. 28 bitmap north.bmp
  69. 29 bitmap south.bmp
  70. 30 bitmap east.bmp
  71. 31 bitmap west.bmp
  72. 32 bitmap white.bmp
  73. 33 bitmap chung.bmp
  74. 34 bitmap fat.bmp
  75. 35 bitmap summer.bmp
  76. 36 bitmap winter.bmp
  77. 37 bitmap spring.bmp
  78. 38 bitmap autumn.bmp
  79. 39 bitmap bamboo.bmp
  80. 40 bitmap plum.bmp
  81. 41 bitmap orchid.bmp
  82. 42 bitmap mum.bmp
  83. 43 bitmap blibbet.bmp
  84. 101 bitmap crak1bw.bmp
  85. 102 bitmap crak2bw.bmp
  86. 103 bitmap crak3bw.bmp
  87. 104 bitmap crak4bw.bmp
  88. 105 bitmap crak5bw.bmp
  89. 106 bitmap crak6bw.bmp
  90. 107 bitmap crak7bw.bmp
  91. 108 bitmap crak8bw.bmp
  92. 109 bitmap crak9bw.bmp
  93. 110 bitmap blibbetb.bmp
  94. 111 bitmap dot2bw.bmp
  95. 112 bitmap dot3bw.bmp
  96. 113 bitmap dot4bw.bmp
  97. 114 bitmap dot5bw.bmp
  98. 115 bitmap dot6bw.bmp
  99. 116 bitmap dot7bw.bmp
  100. 117 bitmap dot8bw.bmp
  101. 118 bitmap dot9bw.bmp
  102. 119 bitmap bam1bw.bmp
  103. 120 bitmap bam2bw.bmp
  104. 121 bitmap bam3bw.bmp
  105. 122 bitmap bam4bw.bmp
  106. 123 bitmap bam5bw.bmp
  107. 124 bitmap bam6bw.bmp
  108. 125 bitmap bam7bw.bmp
  109. 126 bitmap bam8bw.bmp
  110. 127 bitmap bam9bw.bmp
  111. 128 bitmap north.bmp
  112. 129 bitmap south.bmp
  113. 130 bitmap east.bmp
  114. 131 bitmap west.bmp
  115. 132 bitmap white.bmp
  116. 133 bitmap chungbw.bmp
  117. 134 bitmap fatbw.bmp
  118. 135 bitmap summerbw.bmp
  119. 136 bitmap winterbw.bmp
  120. 137 bitmap springbw.bmp
  121. 138 bitmap autumnbw.bmp
  122. 139 bitmap bamboobw.bmp
  123. 140 bitmap plumbw.bmp
  124. 141 bitmap orchidbw.bmp
  125. 142 bitmap mumbw.bmp
  126. 143 bitmap blibbetb.bmp
  127. 200 bitmap tp.bmp
  128. SELECTGAME DIALOG LOADONCALL MOVEABLE DISCARDABLE 74, 45, 97, 48
  129. CAPTION "Select Game Number:"
  130. STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
  131. FONT 8, "MS Shell Dlg"
  132. BEGIN
  133. CONTROL "Ok" IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 10, 23, 37, 14
  134. CONTROL "Cancel" IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 52, 23, 37, 14
  135. CONTROL "" IDGAMENUMBER, "edit", ES_LEFT | WS_BORDER | WS_TABSTOP | WS_CHILD, 10, 6, 78, 12
  136. END
  137. ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 121, 35, 86, 89
  138. STYLE WS_DLGFRAME | WS_POPUP
  139. FONT 8, "MS Shell Dlg"
  140. BEGIN
  141. CONTROL "Taipei!" IDNULL, "static", SS_CENTER | WS_CHILD, 0, 9, 86, 10
  142. CONTROL "Version 2.00" IDNULL, "static", SS_CENTER | WS_CHILD, 0, 21, 86, 9
  143. CONTROL "Copyright ) 1987" IDNULL, "static", SS_CENTER | WS_CHILD, 0, 33, 86, 8
  144. CONTROL "Bogus Software" IDNULL, "static", SS_CENTER | WS_CHILD, 0, 46, 86, 8
  145. ICON "taipei" IDNULL, 11, 61, 16, 21
  146. CONTROL "Ok" IDOK, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 39, 65, 37, 14
  147. END
  148. TILEHELP DIALOG LOADONCALL MOVEABLE DISCARDABLE 59, 15, 195, 159
  149. STYLE WS_DLGFRAME | WS_POPUP
  150. FONT 8, "MS Shell Dlg"
  151. BEGIN
  152. CONTROL "Craks" IDCRAKS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 40, 101, 31, 12
  153. CONTROL "Bams" IDBAMS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 83, 100, 28, 12
  154. CONTROL "Dots" IDDOTS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 126, 100, 28, 12
  155. CONTROL "Dragons" IDDRAGONS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 101, 115, 41, 12
  156. CONTROL "Seasons" IDSEASONS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 56, 115, 39, 12
  157. CONTROL "Flowers" IDFLOWERS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 11, 115, 40, 12
  158. CONTROL "Winds" IDWINDS, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 146, 115, 31, 12
  159. CONTROL "Ok" IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 79, 137, 37, 14
  160. CONTROL "Text" IDNULL, "static", SS_BLACKFRAME | WS_CHILD, 1, 2, 192, 93
  161. END
  162. PEEK DIALOG LOADONCALL MOVEABLE DISCARDABLE 59, 15, 195, 159
  163. STYLE WS_DLGFRAME | WS_POPUP
  164. FONT 8, "MS Shell Dlg"
  165. BEGIN
  166. CONTROL "Ok" IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 79, 137, 37, 14
  167. CONTROL "Text" IDNULL, "static", SS_BLACKFRAME | WS_CHILD, 1, 2, 192, 93
  168. END
  169. #include <ntverp.h>
  170. #define VER_FILETYPE VFT_APP
  171. #define VER_FILESUBTYPE VFT2_UNKNOWN
  172. #define VER_FILEDESCRIPTION_STR "Original Taipei Game"
  173. #define VER_INTERNALNAME_STR "taipei\0"
  174. #include "common.ver"