| Commit message (Collapse) | Author | Age | Lines |
| | |
|
| | |
|
| |
|
|
|
| |
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.
|
| |
|
|
|
| |
At least under windows a very high CPU and GPU load was noticed, which
is why this change was made.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
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.
|
| | |
|
| |
|
|
|
| |
The map can be dragged around, but since the grid is not yet infinitely
big, it feels quite weird to zoom and drag
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|