Commit Graph
23 Commits
Author SHA1 Message Date
David Malchin a9648fb45f fix(points): grid inconsistencies (#37) 2025-08-10 02:20:46 +02:00
Linden cc6aed591f chore: adjust links 2025-03-29 21:46:58 +11:00
Linden fb2225e373 chore: add copyright notices to each file
Some people accidentally, mistakenly, and without any malicious intent forget to attribute code from this resource to its source. This change will hopefully assist people, so that they do not make that mistake again.
2025-03-18 18:46:09 +11:00
Linden ff2e765b60 fix(points): store all points within range in nearbyZones
Previously this only stored points with the nearby
method.
2025-03-18 05:36:57 +11:00
Linden 39ec1d3df5 feat(points): utilise the grid system 2025-03-10 16:42:00 +11:00
Linden 62a0a2fe0b feat(client/points): add new getter functions 2023-04-20 15:55:06 +10:00
ErrorismxandLinden a2772a87b4 fix(client/points): nil index when nearby point is removed (#186)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2022-12-30 21:15:12 +11:00
Linden 511241e03c refactor(client/points): ensure coords are a vector 2022-12-20 08:09:35 +11:00
Linden 0e9ad23fb3 fix: types 2022-10-02 20:19:35 +11:00
Linden 025a8eb168 tweak(client/points): set point.isClosest 2022-09-21 01:51:17 +10:00
Linden 9a17b9bac5 perf(client/points): apply optimisations used in zones
"SphereZones" are really just points with some extra overhead, but the module
had some overall improvements to improve performance.
Includes type definitions for sumneko.
2022-09-14 07:45:03 +10:00
Linden 26538b8148 refactor(imports): assign modules directly to lib namespace
Mostly a change for improved intellisense with sumneko lua.
Includes some type fixes and deprecation notices.
2022-09-14 01:20:50 +10:00
Linden be8b740937 feat(client/points): set cache.coords
See last commit description.
2022-09-11 11:08:26 +10:00
Linden 155dc617f8 refactor(points): support single argument for lib.points.new 2022-04-21 15:18:50 +10:00
Linden e7ede94866 fix(points): remove tick value when clearing interval 2022-04-18 23:18:39 +10:00
Linden 65a5bab623 perf(points): use interval for on-frame thread 2022-04-14 14:50:27 +00:00
Linden 0a21924d39 feat(points): get closest point 2022-04-14 11:08:56 +00:00
Linden 21e0edd115 feat(points): remove points 2022-04-14 10:58:17 +00:00
Linden c2bfb83816 fix(imports/points): incorrect var ref
Them feels when you forget to push a commit before making a release.
2022-03-25 10:58:46 +00:00
Linden 500315ddaa refactor(imports/points): rename point.callback to point.inside 2022-03-25 10:41:48 +00:00
Linden 3b18ca2b33 perf(imports/points): only insert into nearby if point uses callback 2022-03-25 10:38:32 +00:00
Linden 33681a1557 feat(imports/points): onEnter method 2022-03-16 01:18:10 +00:00
Linden 2ce934c41a feat(imports/points): distance checks and interaction api
WIP. Set callback functions when exiting and standing in range of
a set point. Primary callback is called on-frame and can be used
to check for key presses, distance, draw markers, etc.
2022-03-13 03:22:09 +00:00