Commit Graph

24 Commits

Author SHA1 Message Date
DokaDoka
6c5c763f67 feat(resource/zoneCreator): undo last point for poly zones
closes #346
2023-08-02 13:25:12 +10:00
Linden
9d98b9aada chore: types
mostly types anyway.
2023-07-31 16:29:27 +10:00
Linden
310b9720bc fix(client/zoneCreator): require input confirmation 2023-06-17 16:11:08 +10:00
Linden
b3b49b1cbd fix: missing and invalid types and parameters 2023-02-25 18:20:14 +11:00
DokaDoka
8a785b9fe8 fix(resource/zoneCreator): revert to using event for addSuggestion 2023-01-13 22:28:41 +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
Malcolm
ccf29592fb feat(resource/zoneCreator): lastZone arg and camera-aligned movement 2023-01-07 16:27:12 +11:00
Linden
08a725105b fix(client/zones): disable marker rotation 2022-12-17 06:21:22 +11:00
DokaDoka
c141d011d1 tweak(resource/zoneCreator): specify vec2 2022-12-11 23:46:55 +11:00
Scully
231d1c3c77 feat: improved RedM support (#162)
* Improvements + remove redm keybind system as it's pointless
2022-11-26 13:05: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
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
Linden
3084265bbb refactor(server/zoneCreator): output format and path, security fix
Don't allow players to trigger ox_lib:saveZone without ace permissions.
Write created_zones to root.
Use explicit vectors and set name as a string.
2022-09-14 15:19:01 +10:00
Linden
c95fd8ecf4 refactor(client/zoneCreator): create temporary thread
Move the on-tick thread into the startCreator function, and kill it once
creatorActive is set to false.
2022-09-14 15:15:36 +10:00
Linden
107d812dc3 refactor(client/zoneCreator): restrict command access
Includes fix for zone name.
2022-09-14 00:56:56 +10:00