| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Change to client-server structure | Arne Dußin | 2021-01-12 | -0/+1 |
| | | ||||
| * | Rename PolygonRoom to just Room | Arne Dußin | 2021-01-11 | -40/+37 |
| | | ||||
| * | Rect rooms are now normal polygon rooms in data | Arne Dußin | 2021-01-11 | -113/+31 |
| | | | | | | | | Before there was an extra data type for rectangular rooms. This is now changed, with the rectangle tool remaining, to create these often required rooms faster, but the data type is just a normal polygon that is generated from a rect to reduce redundancy. | |||
| * | Fix warnings | Arne Dußin | 2021-01-08 | -3/+16 |
| | | ||||
| * | Fix CLI not capturing keyboard | Arne Dußin | 2021-01-08 | -14/+25 |
| | | | | | | | This is not a very nice solution and is due to limitations of raylib. Since I want to change the way input is handled in the future this is an okay solution, but when overhauling the input needs to be changed. | |||
| * | Rename save to write for vim mnemonics compatibility | Arne Dußin | 2021-01-08 | -6/+6 |
| | | ||||
| * | Merge branch 'master' into snapping | Arne Dußin | 2021-01-06 | -350/+826 |
| |\ | ||||
| | * | Merge pull request #25 from LordSentox/better-polygons | Arne Dußin | 2021-01-06 | -332/+435 |
| | |\ | | | | | | | Change to polygongraph instead of polygon in roomtool | |||
| | | * | Change to polygongraph instead of polygon in roomtool | Arne Dußin | 2020-12-27 | -332/+435 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The polygon room tool used a convoluted process for determining what the user actually wants to draw. I have changed to the polygon graph instead, which makes the checks easier and restricts the user a bit less. In the process however I found a serious problem with my handling float, so everything needed to change to margin compares (which I of course should have done in the beginning. Guys, take the warning seriously and don't ignore it for ten years like I did. It will come back to haunt you.. apparently) instead of direct equality. | |||
| | * | | Add loading capabilities back | Arne Dußin | 2021-01-06 | -1/+113 |
| | | | | ||||
| | * | | Add CLI with save feature | Arne Dußin | 2021-01-06 | -16/+278 |
| | | | | ||||
| * | | | Position indicator is now dependent on current snapping | Arne Dußin | 2021-01-05 | -7/+12 |
| | | | | ||||
| * | | | Merge branch 'master' into snapping | Arne Dußin | 2021-01-05 | -0/+51 |
| |\| | | ||||
| | * | | Add indicator to show where the mouse is pointing | Arne Dußin | 2020-12-28 | -2/+51 |
| | |/ | ||||
| * / | Add snapping module to replace the rigid grid snapping | Arne Dußin | 2020-12-31 | -18/+282 |
| |/ | ||||
| * | Add previously missing docs where appropriate | Arne Dußin | 2020-12-21 | -34/+410 |
| | | ||||
| * | Add dimensional indicator with scaling | Arne Dußin | 2020-12-20 | -121/+253 |
| | | ||||
| * | Add new dimension indicator | Arne Dußin | 2020-12-16 | -175/+98 |
| | | ||||
| * | Add constant for default colours and selection tool | Arne Dußin | 2020-12-16 | -97/+297 |
| | | ||||
| * | Refactor to make interaction between tools easier | Arne Dußin | 2020-12-15 | -769/+1168 |
| | | ||||
| * | Merge pull request #21 from LordSentox/wall-join | Max Pernklau | 2020-11-29 | -4/+30 |
| |\ | | | | | | | Make walls join nicer in corners | |||
| | * | Merge branch 'master' into wall-join | Max Pernklau | 2020-11-29 | -181/+169 |
| | |\ | |/ |/| | ||||
| * | | Limit grid inaccuracy to half a pixel | Arne Dußin | 2020-11-28 | -18/+27 |
| | | | | | | | | | | | | | | | | | | | | | Before, the grid was calculated accumutatively, which was pretty alright. However, with some zoom levels towards the bottom of the screen there was a discrepancy between the grid and something drawn. This should be fixed now, since this update makes the grid use the same method of calculation for every grid cell that everything else uses to calculate points. Also, sub-pixel positions are rounded for the grid, while they were floored before, which should improve accuracy. | |||
| * | | Change to f64 as the preferred floating point number | Arne Dußin | 2020-11-27 | -180/+159 |
| | | | ||||
| | * | Make walls join nicer in corners | Arne Dußin | 2020-11-27 | -4/+30 |
| |/ | ||||
| * | Merge branch 'polygon-deletion' | Arne Dußin | 2020-11-26 | -21/+83 |
| |\ | ||||
| | * | Make polygons deletable | Arne Dußin | 2020-11-26 | -21/+83 |
| | | | | | | | | | | | | | Before, the deletion tool was not targeting polygons. I also took the liberty to broaden the functionality of the surface trait, which now can check if a rectangle or polygon is contained. | |||
| * | | Print polygon that makes the earcutting algo panic | Arne Dußin | 2020-11-26 | -4/+7 |
| |/ | ||||
| * | Change prints to logs where necessary | Arne Dußin | 2020-11-25 | -9/+11 |
| | | | | | | There were quite a few places, where I hardcoded a print in. Most of these should use the logger instead, so I fixed it. | |||
| * | Fix clippy lints and add polygon tool button icon | Arne Dußin | 2020-11-25 | -4/+3 |
| | | ||||
| * | Add polygon rooms that can actually kind of be used | Arne Dußin | 2020-11-25 | -69/+271 |
| | | | | | | | It's still kind of strange to use the polygon tool, but at least it seems stable enough so I'm confident enough (and sick enough of it) to release it into the wild. | |||
| * | Add unstable polygon room tool | Arne Dußin | 2020-11-24 | -8/+69 |
| | | ||||
| * | Fix polygon corners not always running counterclockwise | Arne Dußin | 2020-11-24 | -14/+101 |
| | | ||||
| * | Merge branch 'triangulation' into polygon-rooms | Arne Dußin | 2020-11-23 | -345/+830 |
| |\ | ||||
| | * | Add triangulation function | Arne Dußin | 2020-11-23 | -12/+49 |
| | | | ||||
| | * | Fix corner case not being handled | Arne Dußin | 2020-11-23 | -2/+97 |
| | | | | | | | | | | | | | | | | | Previously, the algorithm to check, if a line-segment is inside a polygon did not have a special case for when the start or end of the segment is on a polygon corner. In case this corner is reflexive, checking against one line between this corner and an adjacent one may not be enough. | |||
| | * | Add ear clipping algorithm | Arne Dußin | 2020-11-23 | -6/+201 |
| | | | ||||
| | * | Move containment of points/ lines into trait | Arne Dußin | 2020-11-21 | -86/+105 |
| | | | ||||
| | * | Move polygon functions into own mod | Arne Dußin | 2020-11-21 | -9/+15 |
| | | | | | | | | | | | The math module was starting to be mostly polygon files and functions, so those got their own subfolder to make the math module less of a mess. | |||
| | * | Apply clippy lints | Arne Dußin | 2020-11-21 | -11/+5 |
| | | | ||||
| | * | Add unit tests for triangle | Arne Dußin | 2020-11-21 | -0/+57 |
| | | | ||||
| | * | Add triangle struct and triangulation template | Arne Dußin | 2020-11-21 | -101/+183 |
| | | | ||||
| * | | Add unfinished polygon room tool | Arne Dußin | 2020-11-20 | -2/+127 |
| |/ | | | | | | | When adding the polygon room tool, a problem with drawing polygons arised. Drawing a simple, but nonregular polygon is not something that is supported by raylib, so further additions to the math library are needed. | |||
| * | Change to different GUI style | Arne Dußin | 2020-11-20 | -0/+7 |
| | | ||||
| * | Fix tools not working | Arne Dußin | 2020-11-20 | -3/+5 |
| | | | | | | | | Since the tool sidebar was always setting the currently active tool and that meant even when no change occured, the tool was being deactivated and reactivated, nothing happened except for the icon tool. Now, it's checked if any change is necessary in the editor | |||
| * | Remove unused imports | Arne Dußin | 2020-11-20 | -1/+0 |
| | | ||||
| * | Add simple tool sidebar gui | Arne Dußin | 2020-11-20 | -30/+155 |
| | | ||||
| * | Merge branch 'polygon' | Arne Dußin | 2020-11-18 | -3/+976 |
| |\ | ||||
| | * | Implement bounding box function | Arne Dußin | 2020-11-18 | -21/+138 |
| | | | ||||
| | * | Add self intersection for polygon graphs | Arne Dußin | 2020-11-18 | -20/+142 |
| | | | ||||
