| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Add constant for the grid accuracy | Arne Dußin | 2020-11-10 | -9/+14 |
| | | | | | | 0.5 was used as a magical number throughout the code for that until now, which I now changed. | |||
| * | Fix some style errors | Arne Dußin | 2020-11-10 | -6/+28 |
| | | | | | | Fixed the last warnings and ran clippy on the project. Fixed where appropriate and taught clippy otherwise. Now runs through clean. | |||
| * | Remove unused imports | Arne Dußin | 2020-11-10 | -4/+3 |
| | | ||||
| * | Add dimension indicator without direct value editing | Arne Dußin | 2020-11-10 | -4/+159 |
| | | ||||
| * | Fix next icon still being drawn when tool is inactive | Arne Dußin | 2020-11-10 | -31/+51 |
| | | | | | | | | The icon that would be placed next, but is not on the map was always drawn once the icon-tool was activated once. This is no longer the case. Also, the tool now saves the last icon that was selected and keeps the rotation of it between placements, which I deemed more intuitive. | |||
| * | Fix editor not using the configured keybindings | Arne Dußin | 2020-11-09 | -11/+6 |
| | | ||||
| * | Remove instant exit key in favour of OS-keys | Arne Dußin | 2020-11-09 | -1/+4 |
| | | ||||
| * | Add configuration options | Arne Dußin | 2020-11-09 | -46/+413 |
| | | ||||
| * | Make it so icons can rotate | Arne Dußin | 2020-11-08 | -32/+71 |
| | | ||||
| * | Make icons deletable | Arne Dußin | 2020-11-06 | -0/+1 |
| | | ||||
| * | Add icon tool | Arne Dußin | 2020-11-06 | -25/+181 |
| | | ||||
| * | Remove test svg render | Arne Dußin | 2020-11-05 | -8/+0 |
| | | ||||
| * | Add (very) basic path-drawing | Arne Dußin | 2020-11-03 | -2/+360 |
| | | ||||
| * | Combine zooming in and zooming out into one function | Arne Dußin | 2020-11-02 | -51/+36 |
| | | | | | | 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 120 | Arne Dußin | 2020-11-02 | -0/+1 |
| | | | | | | At least under windows a very high CPU and GPU load was noticed, which is why this change was made. | |||
| * | Remove TODO that is done | Arne Dußin | 2020-11-02 | -1/+0 |
| | | ||||
| * | Tether on zoom | Arne Dußin | 2020-11-02 | -5/+18 |
| | | ||||
| * | Change wall tool to not cancel when clicking | Arne Dußin | 2020-11-01 | -1/+1 |
| | | ||||
| * | Add basic deletion tool | Arne Dußin | 2020-11-01 | -7/+83 |
| | | ||||
| * | Make zoom-levels whole numbers to combat round-err | Arne Dußin | 2020-11-01 | -2/+28 |
| | | | | | | | | | The grid was offset at certain zoom-levels and lower positions, so for now I just made only whole zoom-levels possible, which removes the offset. However, I consider this a band-aid-solution. Maybe change from f32 to f64 and try out if that fixes it? Otherwise, a different algorithm might work. | |||
| * | Change pretty config of RON output format | Arne Dußin | 2020-11-01 | -0/+1 |
| | | ||||
| * | Add feature to load and save to a test swap-file | Arne Dußin | 2020-11-01 | -4/+45 |
| | | ||||
| * | Make walls 10cm thick instead of constant pixel values | Arne Dußin | 2020-11-01 | -2/+2 |
| | | ||||
| * | Refactor a major part of the project | Arne Dußin | 2020-11-01 | -123/+581 |
| | | | | | | | | | | | 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 stub for deletion tool | Arne Dußin | 2020-11-01 | -2/+28 |
| | | ||||
| * | Remove commented out code | Arne Dußin | 2020-10-31 | -13/+0 |
| | | ||||
| * | Make walls thicker | Arne Dußin | 2020-10-31 | -1/+16 |
| | | | | | | Walls were really hard to see, especially on High-DPI Monitors, so I made them stand out more | |||
| * | Add wall tool | Arne Dußin | 2020-10-31 | -16/+141 |
| | | | | | | | 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 grid | Arne Dußin | 2020-10-30 | -2/+28 |
| | | ||||
| * | Make rooms a little bit brighter | Arne Dußin | 2020-10-30 | -6/+6 |
| | | ||||
| * | Rewrite project to use raylib instead of piston | Arne Dußin | 2020-10-30 | -219/+219 |
| | | | | | | 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ßin | 2020-10-29 | -21/+71 |
| | | ||||
| * | Make map draggable | Arne Dußin | 2020-10-29 | -4/+33 |
| | | | | | | 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 grid | Arne Dußin | 2020-10-29 | -29/+149 |
| | | ||||
| * | Add option to abort adding a rectangle | Arne Dußin | 2020-10-28 | -1/+4 |
| | | ||||
| * | Add possibility to draw rectangles | Arne Dußin | 2020-10-28 | -6/+92 |
| | | ||||
| * | Add simple grid that can be scrolled | Arne Dußin | 2020-10-28 | -1/+40 |
| | | ||||
| * | Initialise empty rust project | Arne Dußin | 2020-10-20 | -0/+3 |
