Commit Graph

10 Commits

Author SHA1 Message Date
philippe lhardy
02fda1fc2e refactoring, deploy Position and XYGridIterator
- try to use more Position instead of (x,y)
  - create PositionWithDpeth for its specific usage in path finding
- create a XYGridITerator that walk cells from grid X then Y.
2020-12-28 20:05:10 +01:00
philippe lhardy
0bab1d51b1 minor chnages / renaming / path painting
- draw resolved path as showAll correctly
it was displaying all direction of same cell as solution while only one direction is ok
- Renderer renaming for class rendering cells
- draw directions as arrows
2020-12-28 13:16:35 +01:00
philippe lhardy
afbe26065b prepare for hexagon display & other models
- display cell as hexagon is Display.mHexagon if set ( not default )
will need a checkbox to set this
- various new models preparation...
2020-12-27 15:41:27 +01:00
philippe lhardy
e146199ba0 Split Display (gui) and Maze (work), prepare for another model
- prepare for a shorter storage model without any resolution
2020-12-20 19:18:17 +01:00
philippe lhardy
99d9aeb242 add weird obfuscated code for fun 2020-12-12 12:12:26 +01:00
philippe lhardy
81441d7f17 Add reverse that allow to switch interior/exterior of a labyrinth
- invert create a new labyrinth walls are path of previous.
  - grow then new labrynth is bigger, else shrink.
2020-12-09 23:02:29 +01:00
philippe lhardy
bf918333bf wall half closure control + layers
- add onewaywall option to create a wall if there is not step back
- add layers of maze
- load minetest scheme .we with onewall option
2020-11-05 19:50:42 +01:00
philippe lhardy
52a2d3f1e3 read a .we minetest schema
- use ground has maze walls
2020-11-04 22:12:17 +01:00
philippe lhardy
8af19bdb59 first .osm format import
- import osm convert it to Drawing and use it as resolved path.
- Not ready , first test over lab/valbonne_oct_2020.osm
2020-10-31 15:44:23 +01:00
philippe lhardy
c69d068caf add Save Text support and rework package
- move maze within package maze
2020-10-17 21:08:16 +02:00