Skip to content

Commit 79f9caa

Browse files
committed
Update to version-5099839837c54130 and add math.round
1 parent a31c8a5 commit 79f9caa

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

.luacheckrc

+10-6
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ stds.roblox = {
180180
StreamingPauseMode = read_write;
181181
StreamingTargetRadius = read_write;
182182
Terrain = read_only;
183+
TouchesUseCollisionGroups = read_write;
183184
BreakJoints = read_write;
184185
CalculateJumpDistance = read_write;
185186
CalculateJumpHeight = read_write;
@@ -191,6 +192,7 @@ stds.roblox = {
191192
JoinToOutsiders = read_write;
192193
MakeJoints = read_write;
193194
PGSIsEnabled = read_write;
195+
SetMeshPartHeads = read_write;
194196
SetPhysicsThrottleEnabled = read_write;
195197
UnjoinFromOutsiders = read_write;
196198
ZoomToExtents = read_write;
@@ -268,9 +270,9 @@ stds.roblox = {
268270

269271
-- Libraries
270272
math = def_fields({"abs", "acos", "asin", "atan", "atan2", "ceil", "clamp", "cos", "cosh",
271-
"deg", "exp", "floor", "fmod", "frexp", "ldexp", "log", "log10", "max", "min", "modf",
272-
"noise", "pow", "rad", "random", "randomseed", "sign", "sin", "sinh", "sqrt", "tan",
273-
"tanh", "huge", "pi"}),
273+
"deg", "exp", "floor", "fmod", "frexp", "huge", "ldexp", "log", "log10", "max", "min",
274+
"modf", "noise", "pi", "pow", "rad", "random", "randomseed", "round", "sign", "sin",
275+
"sinh", "sqrt", "tan", "tanh"}),
274276

275277
table = def_fields({"concat", "foreach", "foreachi", "getn", "insert", "remove", "sort",
276278
"pack", "unpack", "move", "create", "find"}),
@@ -358,14 +360,16 @@ stds.roblox = {
358360
AlignType = def_enum({"Parallel", "Perpendicular"}),
359361
AlphaMode = def_enum({"Overlay", "Transparency"}),
360362
AnalyticsEconomyAction = def_enum({"Default", "Acquire", "Spend"}),
361-
AnalyticsLogLevel = def_enum({"Trace", "Debug", "Infomation", "Warning", "Error",
363+
AnalyticsLogLevel = def_enum({"Trace", "Debug", "Information", "Warning", "Error",
362364
"Fatal"}),
363365
AnalyticsProgressionStatus = def_enum({"Default", "Begin", "Complete", "Abandon",
364366
"Fail"}),
365367
AnimationPriority = def_enum({"Idle", "Movement", "Action", "Core"}),
366368
AppShellActionType = def_enum({"None", "OpenApp", "TapChatTab",
367369
"TapConversationEntry", "TapAvatarTab", "ReadConversation", "TapGamePageTab",
368370
"TapHomePageTab", "GamePageLoaded", "HomePageLoaded", "AvatarEditorPageLoaded"}),
371+
AppShellFeature = def_enum({"None", "Chat", "AvatarEditor", "GamePage", "HomePage",
372+
"More", "Landing"}),
369373
AppUpdateStatus = def_enum({"Unknown", "NotSupported", "Failed", "NotAvailable",
370374
"Available"}),
371375
AspectType = def_enum({"FitWithinMaxSize", "ScaleWithParentSize"}),
@@ -785,8 +789,8 @@ stds.roblox = {
785789
VirtualInputMode = def_enum({"Recording", "Playing", "None"}),
786790
WaterDirection = def_enum({"NegX", "X", "NegY", "Y", "NegZ", "Z"}),
787791
WaterForce = def_enum({"None", "Small", "Medium", "Strong", "Max"}),
788-
WrapLayerDebugMode = def_enum({"None", "BindedCage", "LayerCage",
789-
"BindedCageAndLinks", "Reference"}),
792+
WrapLayerDebugMode = def_enum({"None", "BoundCage", "LayerCage",
793+
"BoundCageAndLinks", "Reference"}),
790794
WrapTargetDebugMode = def_enum({"None", "TargetCage"}),
791795
ZIndexBehavior = def_enum({"Global", "Sibling"}),
792796
}

src/generate.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -283,25 +283,26 @@ local function write_libraries(indent, output)
283283
"floor",
284284
"fmod",
285285
"frexp",
286+
"huge",
286287
"ldexp",
287288
"log",
288289
"log10",
289290
"max",
290291
"min",
291292
"modf",
292293
"noise",
294+
"pi",
293295
"pow",
294296
"rad",
295297
"random",
296298
"randomseed",
299+
"round",
297300
"sign",
298301
"sin",
299302
"sinh",
300303
"sqrt",
301304
"tan",
302305
"tanh",
303-
"huge",
304-
"pi",
305306
})
306307
write_item(output, indent, "table", {
307308
"concat",

0 commit comments

Comments
 (0)