aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
Commit message (Collapse)AuthorAgeLines
* Change to different GUI styleArne Dußin2020-11-20-0/+7
|
* Add simple tool sidebar guiArne Dußin2020-11-20-1/+9
|
* Fix some style errorsArne Dußin2020-11-10-0/+2
| | | | | Fixed the last warnings and ran clippy on the project. Fixed where appropriate and taught clippy otherwise. Now runs through clean.
* Add dimension indicator without direct value editingArne Dußin2020-11-10-0/+6
|
* Remove instant exit key in favour of OS-keysArne Dußin2020-11-09-1/+4
|
* Add configuration optionsArne Dußin2020-11-09-1/+27
|
* Add icon toolArne Dußin2020-11-06-2/+1
|
* Remove test svg renderArne Dußin2020-11-05-8/+0
|
* Add (very) basic path-drawingArne Dußin2020-11-03-2/+12
|
* Combine zooming in and zooming out into one functionArne Dußin2020-11-02-5/+8
| | | | | There was a lot of duplicate and hacky code in the zooming functions, so I made them cleaner while hopefully staying true to the idea.
* Limit FPS to 120Arne Dußin2020-11-02-0/+1
| | | | | At least under windows a very high CPU and GPU load was noticed, which is why this change was made.
* Tether on zoomArne Dußin2020-11-02-2/+2
|
* Refactor a major part of the projectArne Dußin2020-11-01-7/+8
| | | | | | | | | | 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-4/+4
| | | | | | 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.
* Rewrite project to use raylib instead of pistonArne Dußin2020-10-30-115/+31
| | | | | 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.
* Make grid "infinite"Arne Dußin2020-10-29-21/+8
|
* Make map draggableArne Dußin2020-10-29-4/+28
| | | | | The map can be dragged around, but since the grid is not yet infinitely big, it feels quite weird to zoom and drag
* Make rectangles zoom together with the gridArne Dußin2020-10-29-29/+19
|
* Add option to abort adding a rectangleArne Dußin2020-10-28-1/+4
|
* Add possibility to draw rectanglesArne Dußin2020-10-28-6/+92
|
* Add simple grid that can be scrolledArne Dußin2020-10-28-1/+40
|
* Initialise empty rust projectArne Dußin2020-10-20-0/+3