| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | 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/+293 | |
| | | | | | | | 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/+91 | |
| | | |||||
| * | 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 | |
| | | | |||||
| | * | Fix silly bug in min function | Arne Dußin | 2020-11-18 | -3/+25 | |
| | | | |||||
| | * | Add polygon graph | Arne Dußin | 2020-11-17 | -1/+369 | |
| | | | |||||
| | * | Add intersection point algorithm | Arne Dußin | 2020-11-15 | -116/+151 | |
| | | | |||||
| | * | Fix the polygon point containment algorithm | Arne Dußin | 2020-11-12 | -29/+83 | |
| | | | | | | | | | | | | | | | | | The algorithm before was really not working for a lot of edge cases and very difficult to adapt. This version is definitely not the be-all and end-all, but it should work for most (well, hopefully all) cases. After refactoring and hopefully simplifying and straightening out the logic a little more, it should be verifiable. | ||||
| | * | Add polygon that can check if a point is inside | Arne Dußin | 2020-11-11 | -2/+257 | |
| | | | | | | | | | | | ..except for one super super edgy edge case, but I wanted to get this algorithm out into a commit before I ruin it completely (probably) | ||||
| * | | Merge pull request #17 from LordSentox/fix-ghost-tools | Max Pernklau | 2020-11-16 | -0/+8 | |
| |\ \ | | | | | | | Fix ghost tools | ||||
| | * \ | Merge branch 'fix-dim-markers' into fix-ghost-tools | Arne Dußin | 2020-11-15 | -0/+10 | |
| | |\ \ | |||||
| | * | | | Fix deletion and wall tool ghosts | Arne Dußin | 2020-11-15 | -0/+8 | |
| | | |/ | |/| | |||||
| * | | | Merge pull request #16 from LordSentox/fix-dim-markers | Arne Dußin | 2020-11-15 | -0/+10 | |
| |\ \ \ | |/ / |/| / | |/ | Fix the dimension indicators persisting after add | ||||
| | * | Fix the dimension indicators persisting after add | Arne Dußin | 2020-11-15 | -0/+10 | |
| |/ | | | | | 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 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/+312 | |
| | | |||||
| * | 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/+414 | |
| | | |||||
| * | Make it so icons can rotate | Arne Dußin | 2020-11-08 | -34/+73 | |
| | | |||||
| * | Make icons deletable | Arne Dußin | 2020-11-06 | -0/+1 | |
| | | |||||
| * | Bump up version | Arne Dußin | 2020-11-06 | -1/+1 | |
| | | | | | | The basic editor milestone was hit, so it was time to bump up the version number. YAY | ||||
| * | Add icon tool | Arne Dußin | 2020-11-06 | -25/+188 | |
| | | |||||
| * | Remove test svg render | Arne Dußin | 2020-11-05 | -8/+0 | |
| | | |||||
| * | Add (very) basic path-drawing | Arne Dußin | 2020-11-03 | -2/+435 | |
| | | |||||
