aboutsummaryrefslogtreecommitdiff
path: root/src/tool/room_tool.rs
Commit message (Collapse)AuthorAgeLines
* Change to f64 as the preferred floating point numberArne Dußin2020-11-27-4/+4
|
* Add simple tool sidebar guiArne Dußin2020-11-20-4/+12
|
* Fix the dimension indicators persisting after addArne Dußin2020-11-15-0/+6
| | | | | The dimension indicators were drawn very for the blink of an eye when starting a rect that comes after the first. This commit should fix that.
* 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 dimension indicator without direct value editingArne Dußin2020-11-10-2/+9
|
* Add configuration optionsArne Dußin2020-11-09-11/+16
|
* Add icon toolArne Dußin2020-11-06-10/+4
|
* Refactor a major part of the projectArne Dußin2020-11-01-14/+11
| | | | | | | | | | 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.
* Add wall toolArne Dußin2020-10-31-6/+3
| | | | | | 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.
* Snap rooms to the gridArne Dußin2020-10-30-2/+10
|
* Make rooms a little bit brighterArne Dußin2020-10-30-6/+6
|
* Rewrite project to use raylib instead of pistonArne Dußin2020-10-30-0/+81
Sorry piston.. I really tried liking you, but I just couldn't :/ It's not you, it's me. What am I saying? It's you, sorry not sorry.