diff options
| author | Simon Tatham <anakin@pobox.com> | 2021-09-13 11:09:54 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2021-09-13 11:13:08 +0100 |
| commit | 42cbd7688a7f05e0a5d56a603a04293307c1e1b2 (patch) | |
| tree | 021b6394749d95da0105a58c35abf44817fa4c1b /html | |
| parent | 88358f064351e867c73e46783a239265ff9fef7a (diff) | |
| download | puzzles-42cbd7688a7f05e0a5d56a603a04293307c1e1b2.zip puzzles-42cbd7688a7f05e0a5d56a603a04293307c1e1b2.tar.gz puzzles-42cbd7688a7f05e0a5d56a603a04293307c1e1b2.tar.bz2 puzzles-42cbd7688a7f05e0a5d56a603a04293307c1e1b2.tar.xz | |
Add missing documentation of 'int dir' parameters.
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.)
Diffstat (limited to 'html')
0 files changed, 0 insertions, 0 deletions