Commit Graph

286 Commits

Author SHA1 Message Date
Ethan
5e6db9d024 feat(client/notification): add support for native audio sounds (#455) 2024-04-03 14:48:08 +11:00
Linden
1ab6d3dd00 fix(streamingRequest): missing asset name in error message 2024-04-02 17:02:46 +11:00
Linden
1e3b2cb567 feat(locale): locale hotloading 2024-04-01 19:16:53 +11:00
Linden
09ca963f26 refactor(resource): load extra modules 2024-04-01 19:15:04 +11:00
Linden
989462da7d feat(imports/server): getFilesInDirectory 2024-04-01 19:13:51 +11:00
Linden
0f0c7a6591 refactor(streamingRequest): internal method for request functions
- TS package type inference for request functions.
- Type fix for Lua's waitFor callback.
- Lua request functions cannot return nil.
2024-03-31 16:15:44 +11:00
Linden
1456f4493e refactor(class): remove support for class.init 2024-03-25 20:48:09 +11:00
Linden
e031f19bea refactor(class): improve types 2024-03-25 20:14:49 +11:00
ANTOND
10db769f41 fix(types): optional params in getClosest* (#519) 2024-03-19 18:01:52 +11:00
GiroudMathias
f4d43e533d feat(client/marker): add marker options (#520)
add BobUpAndDown, FaceCamera, Rotate, Texture for markers
2024-03-18 18:52:34 +11:00
Linden
2190cd32f4 refactor(waitFor): use GetGameTimer to timeout callbacks
Corrected error message output to ms.
Resolves #518.
2024-03-18 18:48:57 +11:00
Linden
356f46d7ef fix(class): only show warning if constructor is undefined 2024-03-13 00:01:17 +11:00
Linden
d105ebe7fe refactor(class): improve types 2024-03-12 19:54:33 +11:00
Linden
8180feaa8c fix(class): disallow calling constructor from objects 2024-03-12 19:54:11 +11:00
Linden
0d1140a54e feat(class): true private fields 2024-03-12 17:37:18 +11:00
Linden
6f4f11ddb5 feat(class): deprecate init in favour of constructor 2024-03-12 16:10:57 +11:00
Linden
3135058310 refactor(class): stricter type-checking 2024-03-12 16:09:28 +11:00
Linden
105d265792 feat(class): add temporary super method during class init 2024-03-11 14:58:54 +11:00
Linden
92dc3688f8 feat(class): recursive instanceOf and isClass method 2024-03-11 11:21:07 +11:00
Linden
de49dff9b0 feat(class): add instanceOf method 2024-03-11 09:06:58 +11:00
Linden
d806668c65 refactor(class): use mixins for default class methods 2024-03-11 09:06:36 +11:00
Kenshin13
acfb665459 fix(imports/require): resource source extraction in getModuleInfo (#504) 2024-02-24 01:17:06 +11:00
David Malchin
744744c147 fix(require): return false when module returns false (#502) 2024-02-17 22:04:36 +11:00
Linden
82dfb8d882 fix(waitFor): type corrections 2024-02-02 13:45:01 +11:00
Linden
0e816ecfc0 fix(waitFor): allow timeout to be disabled 2024-01-20 17:29:36 +11:00
Linden
0f7d1c165f refactor(imports/streaming): remove default timeout 2024-01-17 17:38:34 +11:00
Linden
6817ae6649 fix(imports/waitFor): normalise timeout 2024-01-17 17:37:44 +11:00
Linden
fd112ca03c fix(addCommand): catch errors in command handler
+ additional minor changes.
Use DoesPlayerExist native.
Mark addCommand cb as async.
2024-01-17 16:42:26 +11:00
iLLeniumStudios
5dfd14d69d feat(logger/loki): Support for tenants when running Loki in multi-tenant mode (#477) 2024-01-15 12:10:08 +11:00
Thomas
8c057ac10e feat: markers (#460) 2023-12-29 14:59:40 +11:00
Linden
1d449d407d chore(class): remove sample code 2023-12-24 16:12:59 +11:00
Linden
be55ef8d85 feat(string): string module
See ignored review from PR #469.
2023-12-20 08:26:33 +11:00
Linden
dc0720a39e refactor(class): syntax and method changes
Remove .new field when creating a new class.
Remove setMetamethod.
Support super inheritance.
2023-12-19 14:32:36 +11:00
Linden
0c2f0ec68e fix(require): chunk name and error path for load/loadjson 2023-12-19 09:04:29 +11:00
Linden
8a5232c056 refactor(class): type checking 2023-12-18 11:21:28 +11:00
Linden
955acabd3c feat(class): basic class implementation
wip, feedback appreciated.
2023-12-18 00:15:17 +11:00
Linden
5657b5f924 feat(math): math.hextorgb
Resolves #467.
2023-12-11 07:43:32 +11:00
ali-exacute
5d5a0cc511 feat(math): math.clamp (#468) 2023-12-11 07:16:37 +11:00
Linden
fdbf0ac114 refactor(cron): refresh currentDate after 1s
May help with rare task failure on startup (#457).
2023-12-10 10:09:21 +11:00
Linden
80a2a7c39d feat(locale): add lib.getLocale for sharing locales between resources 2023-12-09 19:28:01 +11:00
Linden
048edfa86f feat(require): add load/loadjson functions 2023-12-07 18:24:14 +11:00
Linden
aebe248e39 refactor: localise globals to prevent shadowing
See #456.
2023-12-07 08:36:40 +11:00
Andy
62ff7345b9 feat(imports): server-side entity iterators (#458)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2023-12-07 08:25:31 +11:00
Armands Vilciņš
2aeade72f0 feature(locale): support nested locales (#463) 2023-12-07 07:44:50 +11:00
Sergio
6c40dd2889 feat(imports/addKeybind): support secondary keybind (#450) 2023-11-28 10:34:53 +11:00
FjamZoo
e72c9bc1c8 fix(require): support asset protection garbage (#443) 2023-11-08 02:07:54 +11:00
Linden
167a068d85 feat(server/cron): getTimeAsString 2023-10-23 16:50:57 +11:00
Linden
2a1d6aa2ae refactor(server/cron): run jobs in a new thread
Better for error handling.
2023-10-23 16:50:29 +11:00
Austin Dunn
0b5ad76721 feat(math): add normal to rotation method (#431) 2023-10-23 16:49:58 +11:00
Manason
c9246bb392 feat: added lib.print to print different log levels to console (#425)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2023-09-22 16:39:00 +10:00