Garry's Mod

Garry's Mod

Wiremod Canary
Showing 311-320 of 327 entries
< 1 ... 30  31  32  33 >
Update: 12 Nov, 2023 @ 6:44pm

Update CanTopLeft for certain EGP Objects (#2844)

Update: 12 Nov, 2023 @ 6:43pm

Fix unused variable regression

Shouldn't be marking variables as used by assigning to them

Update: 12 Nov, 2023 @ 4:18pm

Add lambdas to E2 (#2829)

* Initial lambda implementation

* Add ops on creation

* New implementation

* Functions are now tables, containing parameter signature, return type and inner function
* function:getParameterTypes()
* function:getReturnType()
* Don't reset global variables on , fixing issue with top level locals not working as upvalues since they'd be reset by the runtime. I don't think this would actually affect anyone since you shouldn't be able to use variables before they're assigned, but it's only behavior anyway.

* Fix missing parity change

I'd already fixed this bug with functions that have return values but this was not fixed for functions without return values. Also added a test case for this.

* More tests, enforce returns at compile time

* Add tests to ensure variadic parameters, void parameters and implicit parameters aren't allowed

* Fix lambdas potentially not returning at all codepaths like functions now are expected to do. Added a test for that.

* Fix early returns

I should stop prematurely optimizing this.. This is like the third or second time I've made this mistake lol

* Fix highlighting

Actually a really easy fix. Surprising

* Fix merge regression

Update: 12 Nov, 2023 @ 3:44pm

Make functions a compile time construct on (#2789)

* Don't allow overriding functions with

* Add nested function warning

* Lower base op cost

5 ops on , 8 without

* Remove extra 4 ops

* Add tests and fix methods

Update: 11 Nov, 2023 @ 9:13pm

Add selfaware functions for E2 extensions (#2823)

* Add selfaware functions for E2 extensions

* Optimize

* Lessons in futility

Update: 11 Nov, 2023 @ 1:21pm

Fix bad parented poly position (#2838)

Mitigate globalpos error if object does not have angle
Add forgotten network string

Update: 9 Nov, 2023 @ 7:23pm

Add keyword as an alternative to (#2832)

Update: 9 Nov, 2023 @ 2:02pm

Revert new $ behavior, deprecate $ (#2794)

Update: 9 Nov, 2023 @ 12:50pm

Add check to registerCallback

Fixes #2819

Update: 9 Nov, 2023 @ 12:47pm

Fix malformed

Fixes #2824