home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 14 / 14.iso / s / s005 / 12.ddi / MAHJONGG / OS2_HELP_MAHJONGG.HLP (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1993-04-22  |  63.1 KB  |  1,042 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Mahjongg Solitaire ΓòÉΓòÉΓòÉ
  3.  
  4. The tile matching game Mahjongg Solitaire is a one-player version derived from 
  5. the famous Chinese game Mahjongg. Matching tile pairs can be removed in a 
  6. simple 'point-and-click' manner, using a mouse. 
  7.  
  8. The rest of this help material is organized as follows: 
  9.  
  10. o How to play Mahjongg 
  11.  
  12.    - Explanations and rules of the Mahjongg game 
  13.  
  14. o Menus and Commands 
  15.  
  16.    - Game 
  17.    - Moves 
  18.    - View 
  19.    - Help 
  20.  
  21. o Creating your Own Games 
  22.  
  23.    - Editing a Mahjongg Game. 
  24.  
  25. o Command Line Syntax 
  26.  
  27.   Mahjongg takes the following command line arguments: 
  28.  
  29.     MAHJONGG filename [/MIN] /[MAX] [/AUToplay] [/TILES=tiles]
  30.  
  31.    filename    Start Mahjongg with this game file loaded 
  32.    MIN         Start Mahjongg minimized 
  33.    MAX         Start Mahjongg maximized 
  34.    AUToplay    Start Mahjongg in autoplay mode 
  35.    tiles       filename of dynamic link library containing the tile set to be 
  36.                used 
  37.  
  38. o Acknowledgements 
  39.  
  40.    - Acknowledgements. 
  41.  
  42.  
  43. ΓòÉΓòÉΓòÉ 2. How to Play the Game ΓòÉΓòÉΓòÉ
  44.  
  45. When Mahjongg is first started, a set of Tiles, arranged in a geometric 
  46. pattern, can be seen. Tiles are 3-dimensional blocks. In a real Mahjongg game 
  47. they are made out of bamboo and can be stacked on top of each other. This 
  48. 3-dimensionality of the tiles is visualized by showing the top, left and front 
  49. parts of each tile. The next two pictures show a tile and two tiles stacked on 
  50. top of each other. 
  51.  
  52. Suits of tiles: 
  53.  
  54. There are different suits of tiles and for each suit there is a rule of how the 
  55. pairs can be matched. Tiles can only be matched when they are of the same suit. 
  56.  
  57. Character Suit 
  58.  
  59. Bamboo Suit 
  60.  
  61. Dots Suit 
  62.  
  63. Dragons Suit 
  64.  
  65. Winds Suit 
  66.  
  67. Note:   For the above 5 suits an exact match is required. For instance, a 
  68. bamboo 1 tile matches only to another bamboo 1 tile. 
  69.  
  70. Flowers Suit 
  71.  
  72. Seasons Suit 
  73.  
  74. Note:   For the above 2 suits any tile matches any other tile in the same suit. 
  75.  
  76. Number of tiles: 
  77.  
  78. There are a total of 144 tiles. For the flowers and seasons suits, there is 
  79. only one of each tile. For all other suits, there are four of each tile. 
  80.  
  81. Removable Tiles: 
  82.  
  83. A tile is said to be removable if it is free on the left or right side and if 
  84. there is no other tile stacked on top of it. Hence tiles can be removed from 
  85. the left or right side or from the top of the stack of piles. 
  86.  
  87. Using the Mouse to remove Tiles: 
  88.  
  89. When the mouse pointer passes over a removable tile (and if the Use Hand Cursor 
  90. option is turned on) the pointer turns into a pointing hand . Such tiles can be 
  91. selected by clicking the select mouse button over them. A border in the color 
  92. of sizing window borders will be drawn around the tile to emphasize its 
  93. selected state. Once a tile is selected, the general arrow pointer will only 
  94. turn into a hand when the pointer is over a tile that is removable and matches 
  95. the already selected tile. Clicking such a tile will remove both tiles. This is 
  96. called "removing a pair of matching tiles". 
  97.  
  98. If you click on a tile which is not selectable (no hand pointer shown) the 
  99. system will emit a beep. These warning beeps can be turned off in the Settings 
  100. Notebook, which is accessed via the View  menu. 
  101.  
  102. Objective: 
  103.  
  104. The objective of the game is to remove as many pairs of tiles as possible. 
  105.  
  106. Showing a List of Possible Moves: 
  107.  
  108. By selecting  Show in the  Moves  menu, each possible move will be briefly 
  109. shown by highlighting all tile pairs which can be removed. If there are no more 
  110. possible moves a panel will be displayed, giving you the option to start a new 
  111. game. 
  112.  
  113. This function can also be accessed by pressing the direct manipulation button 
  114. on your mouse while over a tile. A pop-up menu will allow you to select Show 
  115.  
  116. Starting a New Game: 
  117.  
  118. By selecting  New (Deal) in the  Game  menu, all tiles are shuffled and laid 
  119. out in the 3-dimensional geometric pattern typical to this type of game. 
  120.  
  121. Game Types: 
  122.  
  123. By selecting  Open in the  Game  menu, you can switch among different layouts 
  124. of game tiles. These layouts are stored along with all the necessary 
  125. information in game files. The layout determines the difficulty of a game. From 
  126. the games shipped with Mahjongg, the Default, Gizeh, and Tower Bridge games are 
  127. not as often solvable as the Taj Mahal game. Hence, the last one is easier to 
  128. play, but not as challenging. 
  129.  
  130. Note:   The solvability of a game can be forced by selecting the solvable 
  131. option in the Settings Notebook. 
  132.  
  133.  
  134. ΓòÉΓòÉΓòÉ 3. Menus and Commands ΓòÉΓòÉΓòÉ
  135.  
  136. The menus are organized into the following main topics: 
  137.  
  138. o Game 
  139. o Moves 
  140. o View 
  141. o Help 
  142.  
  143.  
  144. ΓòÉΓòÉΓòÉ 3.1. The Game Menu ΓòÉΓòÉΓòÉ
  145.  
  146. The game menu contains choices to start a new (freshly dealt) game, to load and 
  147. save game files, to have the computer play in demo mode and to exit this 
  148. program. 
  149.  
  150. o New (Deal) 
  151.  
  152.    - Random 
  153.    - Same 
  154.    - Select 
  155.  
  156. o Default Game 
  157. o Open a Game File 
  158. o Save a Game File 
  159. o Save a Game File under a New Name 
  160. o Auto Play 
  161. o Exit 
  162.  
  163.  
  164. ΓòÉΓòÉΓòÉ 3.1.1. New (Deal) ΓòÉΓòÉΓòÉ
  165.  
  166. Takes all tiles, shuffles and redistributes them. Hence, a new game is started. 
  167.  
  168. If the game options are set to generate solvable games, an attempt is made to 
  169. generate a game which is solvable. 
  170.  
  171. By default, the tiles are shuffled in a random fashion. However, it is also 
  172. possible to have the same game redealt, or a selected game may be dealt 
  173. instead. 
  174.  
  175. Random    Shuffle the tiles randomly. 
  176. Same      Redeal the same game as the previous one. 
  177. Select    Select a specific game (see also 'Select A Game'). 
  178.  
  179.  
  180. ΓòÉΓòÉΓòÉ 3.1.2. Default Game ΓòÉΓòÉΓòÉ
  181.  
  182. Mahjongg. comes with one default game layout built into the program. This menu 
  183. choice selects this game layout and starts a fresh game. Other game layouts are 
  184. provided as *.MAH game files. They can be loaded with the Open a Game File menu 
  185. choice, or by dragging a *.MAH game file onto the currently running Mahjongg 
  186. game. 
  187.  
  188.  
  189. ΓòÉΓòÉΓòÉ 3.1.3. Open a Game File ΓòÉΓòÉΓòÉ
  190.  
  191. The essence of a Mahjongg game is the geometrical configuration of the tiles. 
  192. This configuration, plus some information about this game (like title, author 
  193. etc.), is saved in *.MAH files. Initially Mahjongg comes with the following 
  194. game files: 
  195.  
  196. Castle    The tiles build the outline of a medieval castle. 
  197. Gizeh     The tiles build three larger pyramids similar to the ones in Gizeh. 
  198. Taj Mahal The tiles build the outlines of the Taj Mahal mausoleum. 
  199. Tower Bridge The tiles build a bridge modeled after the Tower Bridge in London. 
  200.  
  201. For a description of the structure of *.MAH files see Mahjongg Game File 
  202. Structure 
  203.  
  204.  
  205. ΓòÉΓòÉΓòÉ 3.1.4. Save a Game File ΓòÉΓòÉΓòÉ
  206.  
  207. Saves the current geometrical configuration to the current game file. If there 
  208. is no current game file, a prompt for a file name appears. 
  209.  
  210. The default games delivered with Mahjongg are protected with the read-only 
  211. attribute; they can not be saved under their own names. If variations of those 
  212. files are desired, they must be saved under another name. 
  213.  
  214. Note:   Only the geometrical configuration is saved, not the position of the 
  215. tiles. Ongoing games can not be saved to continue playing later on! 
  216.  
  217.  
  218. ΓòÉΓòÉΓòÉ 3.1.5. Save a Game File under a New Name ΓòÉΓòÉΓòÉ
  219.  
  220. Same as Save a Game File but it always prompts for a new file name. 
  221.  
  222.  
  223. ΓòÉΓòÉΓòÉ 3.1.6. Auto Play ΓòÉΓòÉΓòÉ
  224.  
  225. Starts to play the game automatically. This is very useful for demos, since it 
  226. always starts a new game after it has finished one, and keeps on playing. 
  227.  
  228. The speed of the auto play can be adjusted in the Settings Notebook, which is 
  229. accessed via the View  menu. 
  230.  
  231.  
  232. ΓòÉΓòÉΓòÉ 3.1.7. Exit ΓòÉΓòÉΓòÉ
  233.  
  234. Quits this program. If you have changed any of the Settings you will be asked 
  235. whether to save them before the game is finished. 
  236.  
  237. Note:   This is the same as selecting Close on the system menu. 
  238.  
  239.  
  240. ΓòÉΓòÉΓòÉ 3.2. The Moves Menu ΓòÉΓòÉΓòÉ
  241.  
  242. The moves menu allows the editing of moves by either taking the last move back 
  243. or replaying the last move that was taken back. If you are desperate, it allows 
  244. you to cheat a little bit on the next move and it can show you all the 
  245. currently possible moves. 
  246.  
  247. o Tack Back 
  248. o Replay 
  249. o Show Replay 
  250. o Cheat on the next move 
  251. o Show next moves 
  252.  
  253.  
  254. ΓòÉΓòÉΓòÉ 3.2.1. Take Back the Previous Action ΓòÉΓòÉΓòÉ
  255.  
  256. A rather large list of the last user actions is kept by this program.  The Take 
  257. Back choice will undo the most recent user action.  The Take Back command may 
  258. be repeated as many times as there are actions on the Take Back list.  Take 
  259. Back actions may be redone by the  Replay command. 
  260.  
  261.  
  262. ΓòÉΓòÉΓòÉ 3.2.2. Replay the Last Take Back Action ΓòÉΓòÉΓòÉ
  263.  
  264. Replay re-executes the most recent Take Back action on the Take Back list. It 
  265. may be repeated as many times as there are still moves on the Take Back list. 
  266.  
  267.  
  268. ΓòÉΓòÉΓòÉ 3.2.3. Show the Last Replayed Action ΓòÉΓòÉΓòÉ
  269.  
  270. Show Replay highlights the most recently replayed move from the Replay list. 
  271. The color used to highlight the tiles is blue (a blueprint to the solution :-). 
  272.  
  273. This option is useful for going backwards through a solvable game. For example, 
  274. when a new game was generated using the solvable options, continuous replays 
  275. should show the solution, as all necessary moves were put onto the undo stack 
  276. during the generation of the solution. 
  277.  
  278.  
  279. ΓòÉΓòÉΓòÉ 3.2.4. Cheat on the next move ΓòÉΓòÉΓòÉ
  280.  
  281. This allows you to remove a non-matching pair of tiles on the next move. (Use 
  282. only when desperate to see the finishing fireworks :-). 
  283.  
  284. You will notice that you always have to cheat at least a second time if you 
  285. cheated once. 
  286.  
  287.  
  288. ΓòÉΓòÉΓòÉ 3.2.5. Show the Next Possible Moves ΓòÉΓòÉΓòÉ
  289.  
  290. Each pair of tiles that could be removed as the next move is highlighted for 
  291. half a second (depending on the selected speed option). The intent is to give 
  292. some help on how to proceed. 
  293.  
  294. The highlighting of tiles is coded in the following colors: 
  295.  
  296. Green     All four tiles of this suit and value can be removed. It is safe to 
  297.           remove these four tiles without blocking any future moves. 
  298. Red       Three tiles can be removed. This is the most dangerous situation as 
  299.           the removal of the wrong pair can block moves later on. Best delay 
  300.           the removing until it becomes clear which two of these three form a 
  301.           pair. 
  302. Yellow    These two tiles can be removed against each other. However, they 
  303.           might be paired up wrong and their removal could block possible moves 
  304.           in the future. Often there is no choice but to remove them in order 
  305.           to go on at all. 
  306.  
  307. When no more moves are possible a message box is displayed to inform you. 
  308.  
  309. The speed at which possible moves are displayed can be adjusted in the Settings 
  310. Notebook, which is accessed via the View  menu. 
  311.  
  312.  
  313. ΓòÉΓòÉΓòÉ 3.2.6. Show all tiles matching the one pointed at with the mouse ΓòÉΓòÉΓòÉ
  314.  
  315. All tiles that match the one pointed at by the mouse pointer are highlighted 
  316. for half a second (depending on the selected speed option). The intent is to 
  317. give some help on how to proceed, but note that the shown tiles are not 
  318. necessarily removable! The tiles are highlighted in the color violet. 
  319.  
  320.  
  321. ΓòÉΓòÉΓòÉ 3.3. The View Menu ΓòÉΓòÉΓòÉ
  322.  
  323. The view menu allows switching back and forth between play and edit mode, 
  324. bringing up a settings notebook, or saving the settings. The settings may be 
  325. saved from this menu into the file MAHJONGG.INI. 
  326.  
  327. o Play 
  328. o Edit 
  329. o Timer 
  330. o Matches 
  331. o Settings 
  332. o Save Settings 
  333.  
  334.  
  335. ΓòÉΓòÉΓòÉ 3.3.1. Play Mode ΓòÉΓòÉΓòÉ
  336.  
  337. This is the normal mode. Games can be played in this mode. From Edit Mode a 
  338. switch back to Play Mode can only be made when there is a complete 
  339. configuration with 144 tiles. 
  340.  
  341.  
  342. ΓòÉΓòÉΓòÉ 3.3.2. Edit Mode ΓòÉΓòÉΓòÉ
  343.  
  344. Switches to Edit Mode, where the geometric configuration of tiles and the game 
  345. information can be modified. More information about editing can be found in 
  346. Editing a Mahjongg Game. 
  347.  
  348.  
  349. ΓòÉΓòÉΓòÉ 3.3.3. Timer Display ΓòÉΓòÉΓòÉ
  350.  
  351. Displays or hides the timer window. The timer is started when the window is 
  352. displayed. The timer is suspended when the Mahjongg window is deactivated and 
  353. resumed when the game is activated again. When there are no more moves, or the 
  354. game was finished successfully, the timer stops. The timer is reset upon 
  355. starting a new game. 
  356.  
  357.  
  358. ΓòÉΓòÉΓòÉ 3.3.4. Timer Display Window ΓòÉΓòÉΓòÉ
  359.  
  360. The time since this game started is displayed here. The timer is suspended when 
  361. the Mahjongg window is deactivated and resumed when the game is activated 
  362. again. When there are no more moves, or the game was finished successfully, the 
  363. timer stops. The timer is reset upon starting a new game. 
  364.  
  365. The timer window is initially overlaid on the titlebar. It can be moved 
  366. anywhere else on the desktop. However, once moved it will not follow the 
  367. Mahjongg window any more, but stay where you have placed it. 
  368.  
  369.  
  370. ΓòÉΓòÉΓòÉ 3.3.5. Number of Possible Matches ΓòÉΓòÉΓòÉ
  371.  
  372. Optionally the number of possible matches can be displayed. 
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ 3.3.6. Number of Possible Matches Window ΓòÉΓòÉΓòÉ
  376.  
  377. This window displays the number of the currently possible matches. A match 
  378. between three or four tiles is counted as one, despite the fact that there are 
  379. several ways in which such tiles can be paired for removal. 
  380.  
  381. The matches window is initially overlaid on the titlebar. It can be moved 
  382. anywhere else on the desktop. However, once moved it will not follow the 
  383. Mahjongg window any more, but stay where you have placed it. 
  384.  
  385.  
  386. ΓòÉΓòÉΓòÉ 3.3.7. Settings ΓòÉΓòÉΓòÉ
  387.  
  388. Brings up a Settings Notebook to adjust options of the Mahjongg game. 
  389.  
  390.  
  391. ΓòÉΓòÉΓòÉ 3.3.8. Save Settings ΓòÉΓòÉΓòÉ
  392.  
  393. The settings, selectable in the settings notebook, are saved into the 
  394. MAHJONGG.INI file of the current directory, These settings are used as defaults 
  395. whenever the Mahjongg game program is started. The saved settings include the 
  396. warning beep, animation speed, game type, and background color. 
  397.  
  398.  
  399. ΓòÉΓòÉΓòÉ 3.4. The Help Menu ΓòÉΓòÉΓòÉ
  400.  
  401. The help menu contains choices for fast access to special sections of this help 
  402. information. The following choices are available: 
  403.  
  404. o Help Contents 
  405. o General Help 
  406. o Keys Help 
  407. o Using Help 
  408. o Game Information 
  409. o Product Information 
  410.  
  411.  
  412. ΓòÉΓòÉΓòÉ 3.4.1. Help Contents ΓòÉΓòÉΓòÉ
  413.  
  414. Displays the table of contents to the help topics. 
  415.  
  416.  
  417. ΓòÉΓòÉΓòÉ 3.4.2. General Help ΓòÉΓòÉΓòÉ
  418.  
  419. Explains the working of this program, its options, and how to play Mahjongg. 
  420.  
  421.  
  422. ΓòÉΓòÉΓòÉ 3.4.3. Keys Help ΓòÉΓòÉΓòÉ
  423.  
  424. There is no full keyboard interface to play the Mahjongg game. A mouse is 
  425. required; there are, however, a couple of accelerator keys to access menu 
  426. functions: 
  427.  
  428. Ctrl+C    Accelerator for Cheat 
  429.  
  430. Ctrl+N    Accelerator for New (Deal) 
  431.  
  432. Ctrl+P    Accelerator for Auto Play 
  433.  
  434. Ctrl+R    Accelerator for Replay 
  435.  
  436. Ctrl+S    Accelerator for Show 
  437.  
  438. Ctrl+T    Accelerator for Take Back 
  439.  
  440. Ctrl+Y    Accelerator for Show Replay 
  441.  
  442. F1        Accelerator for Get help about this program 
  443.  
  444. F3        Accelerator for Exit this program 
  445.  
  446. Alt + Backspace The standard accelerator for Undo is mapped to Take Back 
  447.  
  448.  
  449. ΓòÉΓòÉΓòÉ 3.4.4. Using Help ΓòÉΓòÉΓòÉ
  450.  
  451. Explains how to use the help facility. 
  452.  
  453.  
  454. ΓòÉΓòÉΓòÉ 3.4.5. Game Information ΓòÉΓòÉΓòÉ
  455.  
  456. If the loaded game contains some information in a help file, it can be accessed 
  457. via this menu item. If there is no such information, this item will not be 
  458. selectable. 
  459.  
  460.  
  461. ΓòÉΓòÉΓòÉ 3.4.6. Product Information ΓòÉΓòÉΓòÉ
  462.  
  463. This choice shows a panel with the game's copyright, and its version and name. 
  464. It also shows the title, author and copyright notice of the current game file 
  465. loaded into Mahjongg. 
  466.  
  467.  
  468. ΓòÉΓòÉΓòÉ 4. The Settings Notebook ΓòÉΓòÉΓòÉ
  469.  
  470. This notebook is used to set the various options available. The options are: 
  471.  
  472. o Animation Speed 
  473. o Warning Beeps 
  474. o Generation of solvable games 
  475. o Use Hand Cursor 
  476. o Automatic Hint Display 
  477. o Visibility Calculations 
  478. o Animate Tiles 
  479. o 3D View 
  480. o Sounds 
  481. o Background Color 
  482. o Background Bitmap 
  483. o Tile Set 
  484. o Game Information 
  485. o Game Icon 
  486.  
  487.  
  488. ΓòÉΓòÉΓòÉ 4.1. The Options Page ΓòÉΓòÉΓòÉ
  489.  
  490. Mahjongg currently supports the following options: 
  491.  
  492. o Animation Speed 
  493. o Warning Beeps 
  494. o Generation of solvable games 
  495. o Use Hand Cursor 
  496. o Automatic Hint Display 
  497. o Visibility Calculations 
  498. o Animate Tiles 
  499. o 3D View 
  500.  
  501. Furthermore, it is possible to invoke the following actions on the controls 
  502. presented on this page. 
  503.  
  504. o Undo 
  505. o Defaults 
  506.  
  507. Note:   Options are saved in the MAHJONGG.INI file and changes apply to all 
  508. Mahjongg games! 
  509.  
  510.  
  511. ΓòÉΓòÉΓòÉ 4.1.1. Animation Speed ΓòÉΓòÉΓòÉ
  512.  
  513. The speed of the animation during 'Auto Play' and during the execution of the 
  514. 'Show' command can be set with this option. 
  515.  
  516.  
  517. ΓòÉΓòÉΓòÉ 4.1.2. Warning Beeps ΓòÉΓòÉΓòÉ
  518.  
  519. Mahjongg will issue a warning beep whenever the selected move would be illegal. 
  520. This option allows warning beeps to be turned off. 
  521.  
  522.  
  523. ΓòÉΓòÉΓòÉ 4.1.3. Generation of solvable games ΓòÉΓòÉΓòÉ
  524.  
  525. When this option is turned on, Mahjongg tries to generate a solvable game. The 
  526. algorithm used is not always able to find a solvable game. If no solution was 
  527. found, a message will say how many tiles could not be placed. If there are only 
  528. a small number of non placed tiles you might want to retry to get a solvable 
  529. game. If there is a large number of unplaced tiles, then the given 
  530. configuration is likely to not have solvable solutions at all. 
  531.  
  532. Note: All configurations which come with Mahjongg are solvable. However, it is 
  533. possible to create completely unsolvable games in the Edit mode. 
  534.  
  535.  
  536. ΓòÉΓòÉΓòÉ 4.1.4. Use Hand Cursor ΓòÉΓòÉΓòÉ
  537.  
  538. When this option is turned on, Mahjongg will use a pointing hand cursor  to 
  539. indicate whether a tile under the cursor is selectable. Otherwise it just uses 
  540. an arrow cursor, not giving any hints about selectability of tiles. 
  541.  
  542.  
  543. ΓòÉΓòÉΓòÉ 4.1.5. Automatic Hint Display ΓòÉΓòÉΓòÉ
  544.  
  545. When this option is turned on, Mahjongg will automatically show all tiles which 
  546. can be removed against the current selected tile. The hints are colored 
  547. differently when a pair, three tiles, or all four tiles of the same suit and 
  548. value can be removed. 
  549.  
  550. The highlighting of tiles is coded in the following colors: 
  551.  
  552. Green     All four tiles of this suit and value can be removed. It is safe to 
  553.           remove these four tiles without blocking any future moves. 
  554. Red       Three tiles can be removed. This is the most dangerous situation as 
  555.           the removal of the wrong pair here can block moves later on. Best 
  556.           delay the removing until it becomes clear which two of these three 
  557.           form a pair. 
  558. Yellow    These two tiles can be removed against each other. However, they 
  559.           might be paired up wrong and their removal could block possible moves 
  560.           in the future. Often there is no choice but to remove them in order 
  561.           to go on at all. 
  562.  
  563.  
  564. ΓòÉΓòÉΓòÉ 4.1.6. Visibility Calculations ΓòÉΓòÉΓòÉ
  565.  
  566. When this option is turned off, Mahjongg will cut down on visibility 
  567. calculations for tiles. That might speed up the display time (especially for 
  568. initial and new game displays). However, it gives away some clues as to where 
  569. hidden tiles are located. 
  570.  
  571.  
  572. ΓòÉΓòÉΓòÉ 4.1.7. Animate Tiles ΓòÉΓòÉΓòÉ
  573.  
  574. When this option is turned on, Mahjongg will animate tile removals. Depending 
  575. on the tile set selected, all or just some of the tiles may be removed in an 
  576. animated fashion. 
  577.  
  578.  
  579. ΓòÉΓòÉΓòÉ 4.1.8. 3D View ΓòÉΓòÉΓòÉ
  580.  
  581. There are two different 3D views available. You may select either one according 
  582. to personal preference. 
  583.  
  584.  
  585. ΓòÉΓòÉΓòÉ 4.1.9. Undo Options Page Modifications ΓòÉΓòÉΓòÉ
  586.  
  587. Any modifications done since the invocation of the settings notebook to this 
  588. page are undone, i.e. they are set to the values as they were upon opening the 
  589. notebook. 
  590.  
  591.  
  592. ΓòÉΓòÉΓòÉ 4.1.10. Reset Options Page to Defaults ΓòÉΓòÉΓòÉ
  593.  
  594. The options on this page are reset to the system defaults. The defaults are 
  595. Warning Beeps on, Solvable game generation on, use the hand pointer, do not 
  596. automatically display hints, visibility calculations are off, and animation is 
  597. on. 
  598.  
  599.  
  600. ΓòÉΓòÉΓòÉ 4.1.11. Getting help for the Options Page ΓòÉΓòÉΓòÉ
  601.  
  602. Pressing this button or the F1 accelerator key will bring you into the help 
  603. system. 
  604.  
  605.  
  606. ΓòÉΓòÉΓòÉ 4.2. The Sounds Page ΓòÉΓòÉΓòÉ
  607.  
  608. If your OS/2 has the multimedia extensions (MMPM/2) installed, Mahjongg will 
  609. allow the attachment of sounds to various events. For example, the selection 
  610. and removal of tiles can be accented by playing the sound of tiles clicking 
  611. against each other. 
  612.  
  613. o Enable Sounds 
  614.  
  615. Furthermore, it is possible to invoke the following actions on the controls 
  616. presented on this page. 
  617.  
  618. o Undo 
  619. o Defaults 
  620. o Test Play a Sound 
  621.  
  622.  
  623. ΓòÉΓòÉΓòÉ 4.2.1. Enable Sounds ΓòÉΓòÉΓòÉ
  624.  
  625. This decides whether the attached sounds are used or not. 
  626.  
  627.  
  628. ΓòÉΓòÉΓòÉ 4.2.2. Undo Sounds Page Modifications ΓòÉΓòÉΓòÉ
  629.  
  630. Any modifications done since the invocation of the settings notebook to this 
  631. page are undone, i.e. they are set to the values as they were upon calling this 
  632. dialog. 
  633.  
  634.  
  635. ΓòÉΓòÉΓòÉ 4.2.3. Reset Sounds Page to Defaults ΓòÉΓòÉΓòÉ
  636.  
  637. The options on this page are reset to the system defaults. The default sounds 
  638. are enabled and reset to the originally delivered sound files. 
  639.  
  640.  
  641. ΓòÉΓòÉΓòÉ 4.2.4. Test Play a Sound ΓòÉΓòÉΓòÉ
  642.  
  643. The sound currently shown in the entry field will be played. 
  644.  
  645.  
  646. ΓòÉΓòÉΓòÉ 4.2.5. Getting help for the Sounds Page ΓòÉΓòÉΓòÉ
  647.  
  648. Pressing this button or the F1 accelerator key will bring you into the help 
  649. system. 
  650.  
  651.  
  652. ΓòÉΓòÉΓòÉ 4.3. The Color Background Page ΓòÉΓòÉΓòÉ
  653.  
  654. Mahjongg allows the background color to be adjusted according to personal 
  655. preference. 
  656.  
  657. o Background Color 
  658. o Use Color 
  659.  
  660. Furthermore, it is possible to invoke the following actions on the controls 
  661. presented on this page. 
  662.  
  663. o Undo 
  664. o Defaults 
  665. o Apply 
  666.  
  667.  
  668. ΓòÉΓòÉΓòÉ 4.3.1. Background Color ΓòÉΓòÉΓòÉ
  669.  
  670. A background color can be selected by adjusting the red, green, and blue 
  671. components of the color. A preview rectangle shows the color of the current 
  672. selection. 
  673.  
  674.  
  675. ΓòÉΓòÉΓòÉ 4.3.2. Use Color ΓòÉΓòÉΓòÉ
  676.  
  677. This decides whether this color is used or a bitmap file is displayed as the 
  678. background. There is one built-in background bitmap. Additional game files may 
  679. specify their own background bitmaps. For more details see Editing a Mahjongg 
  680. Game and Background Bitmap Page. 
  681.  
  682. This toggle is coupled with the Use Bitmap field on the Background Bitmap Page. 
  683.  
  684.  
  685. ΓòÉΓòÉΓòÉ 4.3.3. Undo Color Background Page Modifications ΓòÉΓòÉΓòÉ
  686.  
  687. Any modifications done since the invocation of the settings notebook to this 
  688. page are undone, i.e. they are set to the values as they were upon calling this 
  689. dialog. 
  690.  
  691.  
  692. ΓòÉΓòÉΓòÉ 4.3.4. Reset Color Background Page to Defaults ΓòÉΓòÉΓòÉ
  693.  
  694. The options on this page are reset to the system defaults. The default 
  695. background color is composed of Red 24, Green 127 and Blue 223. 
  696.  
  697.  
  698. ΓòÉΓòÉΓòÉ 4.3.5. Apply this Background Color ΓòÉΓòÉΓòÉ
  699.  
  700. The color currently selected is applied to the Mahjongg board, to see how it 
  701. looks. 
  702.  
  703.  
  704. ΓòÉΓòÉΓòÉ 4.3.6. Getting help for the Color Background Page ΓòÉΓòÉΓòÉ
  705.  
  706. Pressing this button or the F1 accelerator key will bring you into the help 
  707. system. 
  708.  
  709.  
  710. ΓòÉΓòÉΓòÉ 4.4. Bitmap Background Page ΓòÉΓòÉΓòÉ
  711.  
  712. Mahjongg allows the background bitmap to be selected according to personal 
  713. preference. 
  714.  
  715. o Use Bitmap 
  716. o Background Bitmap File 
  717.  
  718. Furthermore, it is possible to invoke the following actions on the controls 
  719. presented on this page. 
  720.  
  721. o Undo 
  722. o Defaults 
  723. o Apply 
  724.  
  725.  
  726. ΓòÉΓòÉΓòÉ 4.4.1. Use Bitmap ΓòÉΓòÉΓòÉ
  727.  
  728. This decides whether this bitmap file is displayed as the background or a color 
  729. is used. There is one built-in 'DEFAULT' background bitmap. For more details 
  730. about background colors, see the Background Color Page. 
  731.  
  732. This toggle is coupled with the Use Color field on the Background Color Page. 
  733.  
  734.  
  735. ΓòÉΓòÉΓòÉ 4.4.2. Background Bitmap File ΓòÉΓòÉΓòÉ
  736.  
  737. The file name of a background bitmap can be specified here. 
  738.  
  739.  
  740. ΓòÉΓòÉΓòÉ 4.4.3. Undo Background Bitmap Modifications ΓòÉΓòÉΓòÉ
  741.  
  742. Any modifications done since the invocation of the settings notebook to this 
  743. page are undone, i.e. they are set to the values as they were upon opening this 
  744. notebook. 
  745.  
  746.  
  747. ΓòÉΓòÉΓòÉ 4.4.4. Reset Background Bitmap Page to Defaults ΓòÉΓòÉΓòÉ
  748.  
  749. The options on this page are reset to the system defaults. The default 
  750. background bitmap, 'DEFAULT', is built into the Mahjongg program and is always 
  751. available. 
  752.  
  753.  
  754. ΓòÉΓòÉΓòÉ 4.4.5. Apply this Background Bitmap ΓòÉΓòÉΓòÉ
  755.  
  756. The bitmap currently selected is applied to the Mahjongg board, to see how it 
  757. looks. 
  758.  
  759.  
  760. ΓòÉΓòÉΓòÉ 4.4.6. Getting help for the Background Bitmap Page ΓòÉΓòÉΓòÉ
  761.  
  762. Pressing this button or the F1 accelerator key will bring you into the help 
  763. system. 
  764.  
  765.  
  766. ΓòÉΓòÉΓòÉ 4.5. Tile Set Page ΓòÉΓòÉΓòÉ
  767.  
  768. Mahjongg allows a customized tile set to be selected according to personal 
  769. preference. 
  770.  
  771. o Tile Set File 
  772.  
  773. Furthermore, it is possible to invoke the following actions on the controls 
  774. presented on this page. 
  775.  
  776. o Undo 
  777. o Defaults 
  778. o Apply 
  779.  
  780.  
  781. ΓòÉΓòÉΓòÉ 4.5.1. Tile Set File ΓòÉΓòÉΓòÉ
  782.  
  783. The file name of the dynamic link library containing the tile set can be 
  784. specified here. 
  785.  
  786. To create a customized tile set see, the instructions in: Creating your own 
  787. Tile Set. 
  788.  
  789.  
  790. ΓòÉΓòÉΓòÉ 4.5.2. Undo Tile Set Selections ΓòÉΓòÉΓòÉ
  791.  
  792. Any modifications done since the invocation of the settings notebook to this 
  793. page are undone, i.e. they are set to the values as they were upon opening this 
  794. notebook. 
  795.  
  796.  
  797. ΓòÉΓòÉΓòÉ 4.5.3. Reset Tile Set to Defaults ΓòÉΓòÉΓòÉ
  798.  
  799. The options on this page are reset to the system defaults. The default tile 
  800. set, 'DEFAULT', is built into the Mahjongg program and is always available. 
  801.  
  802.  
  803. ΓòÉΓòÉΓòÉ 4.5.4. Apply this Tile Set ΓòÉΓòÉΓòÉ
  804.  
  805. The currently selected tile set is applied to the Mahjongg board, to see how it 
  806. looks. 
  807.  
  808.  
  809. ΓòÉΓòÉΓòÉ 4.5.5. Getting help for the Tile Set Page ΓòÉΓòÉΓòÉ
  810.  
  811. Pressing this button or the F1 accelerator key will bring you into the help 
  812. system. 
  813.  
  814.  
  815. ΓòÉΓòÉΓòÉ 4.6. File Information Page ΓòÉΓòÉΓòÉ
  816.  
  817. This page allows the editing of the texts delivering descriptions of the game: 
  818.  
  819. Title     Game Title which is displayed in the title bar of the window. 
  820. Author    Creator of this game. Displayed in the product information window. 
  821. Comment   Copyright notice or any line of information to be displayed along 
  822.           with the author's name in the product information window. 
  823. HelpFile  Name of a file containing specific information about this particular 
  824.           game. It will be displayed when Game Information choice in the Help 
  825.           menu is selected. This file must be an IPF compiled *.HLP file, 
  826.           containing at least one panel with the resource ID 2000. The ids 
  827.           2000-2999 are reserved for use in this file. See the file DEFAULT.IPF 
  828.           for an example. 
  829.  
  830.  
  831. ΓòÉΓòÉΓòÉ 4.6.1. Undo Game Information Modifications ΓòÉΓòÉΓòÉ
  832.  
  833. Any modifications done since the invocation of the settings notebook to this 
  834. page are undone, i.e. they are set to the values as they were upon opening this 
  835. notebook. 
  836.  
  837.  
  838. ΓòÉΓòÉΓòÉ 4.6.2. Reset Game Information Page to Defaults ΓòÉΓòÉΓòÉ
  839.  
  840. The options on this page are reset to the system defaults, which are empty 
  841. strings for each of the entries. 
  842.  
  843.  
  844. ΓòÉΓòÉΓòÉ 4.6.3. Getting help for the Game Information Page ΓòÉΓòÉΓòÉ
  845.  
  846. Pressing this button or the F1 accelerator key will bring you into the help 
  847. system. 
  848.  
  849.  
  850. ΓòÉΓòÉΓòÉ 4.7. Icon Page ΓòÉΓòÉΓòÉ
  851.  
  852. This page allows the editing of the icon for this game. The icon is stored as 
  853. an extended .ICON attribute of the game file. 
  854.  
  855. o Create another... 
  856. o Edit... 
  857.  
  858. Furthermore, it is possible to invoke the following actions on the controls 
  859. presented on this page. 
  860.  
  861. o Undo 
  862. o Defaults 
  863. o Apply 
  864.  
  865.  
  866. ΓòÉΓòÉΓòÉ 4.7.1. Create another Icon ΓòÉΓòÉΓòÉ
  867.  
  868. This will bring up the Icon Editor with the default Mahjongg game icon loaded, 
  869. allowing you to generate your own customized icon. 
  870.  
  871.  
  872. ΓòÉΓòÉΓòÉ 4.7.2. Edit the Icon ΓòÉΓòÉΓòÉ
  873.  
  874. This will bring up the Icon Editor with the current icon loaded, allowing you 
  875. to generate your own customized icon. 
  876.  
  877.  
  878. ΓòÉΓòÉΓòÉ 4.7.3. Undo Icon Modifications ΓòÉΓòÉΓòÉ
  879.  
  880. Any modifications done since the invocation of the settings notebook to this 
  881. page are undone, i.e. they are set to the values as they were upon opening this 
  882. notebook. 
  883.  
  884.  
  885. ΓòÉΓòÉΓòÉ 4.7.4. Reset Icon to Default ΓòÉΓòÉΓòÉ
  886.  
  887. The options on this page are reset to the system defaults. The default icon 
  888. will be loaded from the current game layout file or from the Mahjongg program 
  889. if the file does not have an icon. 
  890.  
  891.  
  892. ΓòÉΓòÉΓòÉ 4.7.5. Apply this Icon ΓòÉΓòÉΓòÉ
  893.  
  894. The icon currently selected is applied to the Mahjongg game, to see how it 
  895. looks. 
  896.  
  897.  
  898. ΓòÉΓòÉΓòÉ 4.7.6. Getting help for the Background Bitmap Page ΓòÉΓòÉΓòÉ
  899.  
  900. Pressing this button or the F1 accelerator key will bring you into the help 
  901. system. 
  902.  
  903.  
  904. ΓòÉΓòÉΓòÉ 5. Editing a Mahjongg Game ΓòÉΓòÉΓòÉ
  905.  
  906. In Edit mode, it is possible to change an existing game or to generate a 
  907. completely new game. A game consists of the geometric layout information of the 
  908. tiles, the board size, and some additional information like the author of this 
  909. game and a copyright statement or a comment line which will be displayed along 
  910. with the product information. 
  911.  
  912. During Edit mode a dialog box with the following fields and buttons is 
  913. displayed, allowing the manipulation of some game aspects: 
  914.  
  915. dx        Board Width 
  916. dy        Board Height 
  917. Level     Level currently being edited. The tiles on this level are drawn in 
  918.           red, tiles below this level are drawn in black to gray (the further 
  919.           down the more gray), and tiles above are displayed in blue. 
  920. Reset     Resets all fields to the state when edit mode was entered. This is a 
  921.           short cut to do a Cancel and then enter edit mode again. 
  922. Cancel    Cancel edit mode and go back to play mode without making any of the 
  923.           changes during edit mode permanent. 
  924. OK        This is only available when there are 144 tiles placed on the board. 
  925.           It will make this the current game to be played and returns to play 
  926.           mode. (same as Play Mode in the View menu). 
  927.  
  928. Tiles in the current level (displayed in red) can be removed by simply clicking 
  929. on them with the selection mouse button. Clicking on the background inserts a 
  930. tile if it does not overlap any other tile on that level. The tile is inserted 
  931. such that the clicked spot becomes the lower left corner of the tile. 
  932.  
  933. Clicking with the direct manipulation button pops up a menu allowing you to 
  934. clear, insert or delete rows, columns, levels, or all tiles (clear only). These 
  935. functions are useful to operate on several tiles at once instead of having to 
  936. click on each one. 
  937.  
  938. The additional information is accessible through the Settings Notebook. 
  939.  
  940.  
  941. ΓòÉΓòÉΓòÉ 5.1. Mahjongg Game File Structure ΓòÉΓòÉΓòÉ
  942.  
  943. Mahjongg game files are written in a GML-like tag language. As these files can 
  944. be conveniently manipulated in Mahjongg's edit mode, it is not needed to edit 
  945. these files in a text editor at all. This file structure description is just 
  946. here for completeness: 
  947.  
  948. :GAME  type    = "Mahjongg Solitaire 2.00"
  949.        name    = "Mahjongg 2.00"
  950.        help    = "MAHJONGG.HLP"
  951.        tileset = "DEFAULT"
  952.        author  = "J╨ærg von K╨önel"
  953.        about   = "The Original Game Layout"
  954.        .
  955. :BOARD dx     = 16
  956.        dy     = 8
  957.        x_stat = '14.0'
  958.        y_stat = '6.5'
  959.        bitmap = "DEFAULT"
  960.        color  = "RGB(24,127,223)"
  961.        use    = "BITMAP" | "COLOR"
  962.        .
  963. :LEVEL 0.
  964.   (12.0, 7.0), (11.0, 7.0), ...
  965.   ...
  966. :LEVEL 1.
  967.   ...
  968. :LEVEL n.
  969.   ...
  970. :ELEVEL.
  971. :EGAME.
  972.  
  973. The :GAME. and :Board. tags are obvious in their use. The type attribute on the 
  974. :GAME. tag defines the version of Mahjongg used to create this file. The use 
  975. attribute on the Board tag defines whether the background is painted in the 
  976. given color or the bitmap is used. 
  977.  
  978. It is important to note that the dx and dy fields describe the board size in 
  979. number of tiles that can be placed on the board in x and y directions. The 
  980. editor is currently limited to handle only the following maximal values: 
  981. dx=3-30, dy=3-20 and Levels=0-12. 
  982.  
  983. The :LEVEL. tags are used to describe the tiles on each level. Starting at 
  984. Level 0, each tile is described as a coordinate pair in board coordinates. 
  985. Tiles can only be placed on whole (.0) or half (.5) coordinates. 
  986.  
  987.  
  988. ΓòÉΓòÉΓòÉ 6. Various Dialog Windows ΓòÉΓòÉΓòÉ
  989.  
  990. Mahjongg makes use of various dialog windows to display information or messages 
  991. to the user. 
  992.  
  993.  
  994. ΓòÉΓòÉΓòÉ 6.1. No more Moves Dialog ΓòÉΓòÉΓòÉ
  995.  
  996. When the Show next moves choice from the Moves menu is selected or when the 
  997. Automatic Hint Display is active, and there are no more possible moves, this 
  998. dialog is displayed. It is possible to select 'New' which starts a new game, 
  999. 'Retry' which restarts the current game, 'Exit' which quits Mahjongg 
  1000. altogether, or 'Cancel' which just quits this dialog. 
  1001.  
  1002.  
  1003. ΓòÉΓòÉΓòÉ 6.2. Select Initial Level Dialog ΓòÉΓòÉΓòÉ
  1004.  
  1005. When you play Mahjongg for the first time, or if you have not saved the 
  1006. settings, this dialog will be shown. You may select between levels to start 
  1007. with 
  1008.  
  1009. Why not? It's free! 
  1010.  This is the easiest mode. It generates only solvable games, uses the hand 
  1011.  cursor, and displays automatically matching tiles. 
  1012.  
  1013. I like subtle hints. 
  1014.  This mode still generates only solvable games and uses the hand cursor. It 
  1015.  does not display matching tiles automatically. 
  1016.  
  1017. Hints? Me? Never! 
  1018.  Well, you have asked for it. Neither does the generation of a new game ensure 
  1019.  its solvability nor does it display a hand cursor or matching tiles. 
  1020.  
  1021. Note:   All options can be changed separately in the Settings Notebook, which 
  1022. is accessed via the View menu. 
  1023.  
  1024.  
  1025. ΓòÉΓòÉΓòÉ 6.3. Select A Game ΓòÉΓòÉΓòÉ
  1026.  
  1027. New games are usually generated at random. By choosing the Select menu item in 
  1028. the New Game submenu a dialog is shown which allows the selection of the random 
  1029. seed which is used to generate a game. The Range is from 0 to 65536. 
  1030.  
  1031.  
  1032. ΓòÉΓòÉΓòÉ 7. Acknowledgements ΓòÉΓòÉΓòÉ
  1033.  
  1034. I would like to thank all those who have dared to try the Mahjongg Beta 
  1035. releases. Your bug reports and suggestions have made the Mahjongg Solitaire 
  1036. program what it is today. 
  1037.  
  1038. Special thanks go to my wife Karin von K╨önel who was patient enough to animate 
  1039. the dragon in the product information box, and to Ki-Sook Chung for drawing the 
  1040. Chinese mahjongg characters in the product information box. 
  1041.  
  1042.