Menu

Commit [r2113]  Maximize  Restore  History

Fix three bugs in libsoko. Add path-component calculation to libmath.

Trunk:
- Fix sokobans which do not leave enough room for oxyds.
- Fix a logic error in libsoko when polist.wall_two is calculated.
- Fix sokobans which are not path-connected (this happens in real life
as a matter of design and might appear in connection with chessobans).
Those sokobans will always use the "circle"-game at the end.
- For the above bugfix, an already existing check for connected components
has been extended and outsourced to libmath: lib.math.mark_components.
It includes two different algorithms.
- Add refman section about lib.math.mark_components.
- Fix typo in refman in section 5.2.7.

Note:
- Points 1 and 3 are those bugs mentioned in r2047.

andreasl 2010-07-16

changed /trunk/data/levels/lib/libmath.xml
changed /trunk/data/levels/lib/libsoko.xml
changed /trunk/doc/reference/enigma-ref.texi
/trunk/data/levels/lib/libmath.xml Diff Switch to side-by-side view
Loading...
/trunk/data/levels/lib/libsoko.xml Diff Switch to side-by-side view
Loading...
/trunk/doc/reference/enigma-ref.texi Diff Switch to side-by-side view
Loading...