mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00

This integer parameter appears in all of the game's anim_length, flash_length and redraw methods, but the documentation only described it properly in the section for anim_length. The section for flash_length refers you to anim_length for the description of all the parameters, but unhelpfully, it did so without a conveniently clickable (in HTML) cross-reference. And the section for game_redraw missed out the description of 'int dir' completely, which is particularly unhelpful since that's the function most likely to actually need to care about it! (Even if forward and reversed move animations look different, they _probably_ still have the same duration, so it's more likely that anim_length would ignore 'dir' and redraw would use it than vice versa.)
This is the README accompanying the source code to Simon Tatham's puzzle collection. The collection's web site is at <https://www.chiark.greenend.org.uk/~sgtatham/puzzles/>. The puzzle collection is built using CMake <https://cmake.org/>. To compile in the simplest way (on any of Linux, Windows or Mac), run these commands in the source directory: cmake . cmake --build . The manual is provided in Windows Help format for the Windows build; in text format for anyone who needs it; and in HTML for the Mac OS X application and for the web site. It is generated from a Halibut source file (puzzles.but), which is the preferred form for modification. To generate the manual in other formats, rebuild it, or learn about Halibut, visit the Halibut website at <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>.
Description
Languages
C
93.3%
JavaScript
1.4%
Objective-C
1.1%
CMake
1.1%
HTML
0.8%
Other
2.2%