Commit Graph
39 Commits
Author SHA1 Message Date
DokaDoka 8a785b9fe8 fix(resource/zoneCreator): revert to using event for addSuggestion 2023-01-13 22:28:41 +11:00
DokaDoka ba9380b39a feat(client/zones): ensure polyzone is coplanar 2023-01-13 22:26:50 +11:00
DokaDoka 6e10ebe464 feat(client/zones): break triangle creating loop of it is going to deadloop 2023-01-13 16:08:37 +11:00
DokaDoka 0e052ed7c5 fix(client/zones): get diagonal offsets in 2d
avoids floating point weirdness with the z coord
2023-01-13 16:07:25 +11:00
DokaDoka 6bfd6091d7 refactor(client/zones): break polygon into triangles with the ear clipping method 2023-01-07 19:16:36 +11:00
DokaDoka 0284e646a7 refactor(resource/zoneCreator): last zone and axis mode tweaks
- don't cancel command if last zone is invalid for selected zone type
- change movement mode key to C to be with most of the other controls
- display current axis mode
- display camera-aligned axes in addition to grid axes for display mode 3 & 4
2023-01-07 17:45:25 +11:00
DokaDoka 4794af7ae0 refactor(resource/zoneCreator): general cleanup
- improved spacing
- remove redundant thread
- fix chat suggestion registration and change to export
2023-01-07 17:37:45 +11:00
DokaDoka 61a940a188 refactor(client/zones): redo triangle algorithm 2022-12-13 14:29:23 +11:00
DokaDoka c141d011d1 tweak(resource/zoneCreator): specify vec2 2022-12-11 23:46:55 +11:00
DokaDoka 4da4756f7a fix(resource/zoneCreator): floating point error mitigation 2022-10-02 11:43:10 +10:00
DokaDoka a84f2586cb fix(client/zoneCreator): rotation output 2022-10-01 15:24:51 +10:00
DokaDoka 52728feb95 fix(interface/menu): getOpenMenu() returns id rather than entire menu 2022-09-25 11:10:19 +10:00
DokaDoka 0014dfbe1f fix(client/zones): expand vectors
for oal enjoyers
2022-09-21 14:45:22 +10:00
DokaDoka ad219b2508 feat(client/zones): debug walls
brings the debug display more in line with the creator
2022-09-20 23:52:56 +10:00
DokaDoka 6fdc1973e4 fix(client/zoneCreator): box zone length and width 2022-09-20 23:31:35 +10:00
DokaDoka d37324eeed feat(client/zoneCreator): display modes
add option to display zones as a wireframe, with solid walls, axis helper or both solid walls and axis helper
2022-09-15 21:19:10 +10:00
DokaDoka 18fa0b6391 fix(client/zoneCreator): no more wild rhombus 2022-09-15 20:57:10 +10:00
DokaDoka 5efec8a114 fix(client/zoneCreator): prevent canceling from opening pause menu 2022-09-15 20:56:10 +10:00
DokaDoka d90f218ae5 feat(client/zoneCreator): command suggestion 2022-09-15 00:21:16 +10:00
DokaDoka c8ecc169ca tweak(client/zoneCreator): activate controls when starting creator 2022-09-15 00:20:46 +10:00
DokaDoka eef6e049e8 feat(resource/zoneCreator): target output format 2022-09-15 00:01:29 +10:00
DokaDoka 6fb18c740a feat(resource/zoneCreator): change output format in dialog 2022-09-15 00:00:53 +10:00
DokaDoka 0ecb968202 feat(resource): zone creator 2022-09-14 00:05:08 +10:00
DokaDoka d2178ca258 fix(interface/context): correct id if a float is received
- the array part of a mixed options table registers a '1.0' and so on, this is not how the option is recorded on the lua side
2022-06-04 22:12:04 +10:00
DokaDoka 9a019d61ed tweak(vehicleProperties): increase timeout when setting properties 2022-06-01 15:09:49 +10:00
DokaDoka d52d5adac2 fix(zones): debug thickness misalignment and standardize defaults
all total sizes now default to 4
2022-05-14 12:45:50 +10:00
DokaDoka 14ce365de1 fix(zones): thickness workaround
thickness is calculated incorrectly by glm.polygon.contains so this is required until it is fixed
2022-05-14 12:34:12 +10:00
DokaDoka 6a8ebb5a0d chore(zones): rearrange variables 2022-05-11 13:38:27 +10:00
DokaDoka 2a1ae2e287 feat(zones): consistent zone debug appearance
through merging debugPoly and debugBox
2022-05-11 13:36:36 +10:00
DokaDoka 38dbc2ac34 refactor(zones): create data.triangles even if the polygon is convex 2022-05-11 13:34:06 +10:00
DokaDoka 9b5ac35ab3 refactior(zones): make makeTriangles available outside of getTriangles 2022-05-11 13:29:18 +10:00
DokaDoka 1080efb0cf fix(vehicleProperties): wait until entity exists before setting vehicle properties 2022-05-08 17:36:17 +10:00
DokaDoka 18f55ffefe refactor(zones): handle multiple points in the same horizontal line
- new intersection points are generated per vertical coord present in the original polygon rather than per vertex and are grouped together rather than associated directly with the parent
- hopefully better code structure and organisation for the entire triangle generating section
2022-05-01 12:49:56 +10:00
DokaDoka 65787d3b6d fix(zones): draw complex polygons properly
convex polygons are split into triangles more simply
complex polygons are split into trapezoids and then triangles to be drawn
2022-04-29 00:41:21 +10:00
DokaDoka de201dcf03 feat(zones): box
streamlined rectangle polygon creation for the lazy, with rotation
2022-04-26 23:06:23 +10:00
DokaDoka adb110d8d8 feat(imports/zones): basic glm polygon zones
build on the points structure
2022-04-25 20:28:10 +10:00
DokaDoka b935d9b58c fix(resource/streaming): don't use HasModelLoaded for everything 2021-12-24 11:36:16 +11:00
DokaDoka cb0b99e147 fix(resource/streaming): print default when limit is nil 2021-12-24 09:42:14 +11:00
DokaDoka a17a8c464b fix(resource/streaming): use correct variable names 2021-11-17 19:33:48 +11:00