aboutsummaryrefslogtreecommitdiff
path: root/src/tool/wall_tool.rs
Commit message (Collapse)AuthorAgeLines
* Add constant for the grid accuracyArne Dußin2020-11-10-3/+3
| | | | | 0.5 was used as a magical number throughout the code for that until now, which I now changed.
* Remove unused importsArne Dußin2020-11-10-1/+1
|
* Add configuration optionsArne Dußin2020-11-09-10/+17
|
* Add icon toolArne Dußin2020-11-06-10/+4
|
* Change wall tool to not cancel when clickingArne Dußin2020-11-01-1/+1
|
* Make walls 10cm thick instead of constant pixel valuesArne Dußin2020-11-01-2/+2
|
* Refactor a major part of the projectArne Dußin2020-11-01-17/+19
| | | | | | | | | | In order to be able to save and load the map, a major rework of the code seemed necessary, since Vector2 and Rectangle of raylib do not implement serialize, and it seems cleanest to use the serialize/deserialize traits of serde, to save for instance to RON. ToolShed was renamed to Editor, since it should better show, that it does quite a bit more than harbour tools. The map data is now centrally saved in the editor, instead of decentralised in the tool structs.
* Remove commented out codeArne Dußin2020-10-31-13/+0
|
* Make walls thickerArne Dußin2020-10-31-1/+16
| | | | | Walls were really hard to see, especially on High-DPI Monitors, so I made them stand out more
* Add wall toolArne Dußin2020-10-31-0/+79
The wall tool is currently just one pixels lines, which must be changed in the future, of course, but this is also to test changing between tools.