StrawWagen
1c4338ade4
Less index calls on the two most offending funcs ( #3274 )
2025-03-02 12:33:35 -05:00
StrawWagen
6c128bf0f0
dont finalize gpu on fullupdate ( #3272 )
2025-02-26 17:11:20 -05:00
Astralcircle
3c4b5fddc2
Speedometer improvements ( #3271 )
...
* Speedometer code improvements
* Minor changes
2025-02-21 12:00:42 -05:00
thegrb93
62d6a66461
Fix nil angle ( #3266 )
2025-02-18 14:52:47 -05:00
thegrb93
03162ba839
Add text length limit to egp objects ( #3269 )
2025-02-18 14:52:36 -05:00
Astralcircle
dbed3cf164
entities() E2 function ( #3257 )
2025-02-13 19:40:00 -05:00
LengthenedGradient
ee170bb1b9
Add Vehicle Inputs To Cam Controllers And EGP Huds ( #3263 )
...
* Add Vehicle Inputs To Cam Controllers And EGP Huds
Adds a "Vehicle" input to Cam Controllers and EGP Huds, inline with Pod Controllers.
I understand this is somewhat redundant for Cam Controllers but I feel it's relevant.
I am working on some addon stuff where a seat may not exist on spawn (generated by another entity). In this case, wire I/O is a reliable way to persist linkages through dupes.
* Add 'Vehichles' Input To Pod Controller And EGP
Instead of adding 'Vehichle' to Cam Controllers and EGP
* Update gmod_wire_pod.lua
* Fix
Redundant check removed.
2025-02-13 17:57:59 -05:00
Astralcircle
f5e78e1400
Fix #3261 ( #3262 )
2025-02-10 15:34:28 -05:00
shroobloom
afaf942ca8
Fix modifyChat exploit ( #3259 )
2025-02-05 00:46:34 -05:00
Astralcircle
a667672c3b
Factorial function micro-optimization ( #3258 )
...
* Factorial function micro-optimization
* Formatting
2025-02-03 17:37:27 -05:00
rubisetcie
e39a632c7a
Added languages for max_wire_... convars ( #3255 )
2025-01-31 19:16:36 -05:00
Astralcircle
c75ee43ff1
``factorial(n)
`` function ( #3253 )
...
* factorial(n) function
* Use local function
* Woops
* Return NaN if the number is less than 0
* Update function
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
2025-01-30 03:49:35 -05:00
Astralcircle
61b976c026
Keypad improvements ( #3252 )
...
* Don't overwrite default fonts
* Keypad improvements
* Back comment
* DisplayText
* New line at the end
* ply:GetPos() --> ply:GetShootPos()
* ply:GetPos() --> ply:GetShootPos()
2025-01-26 07:34:28 -05:00
Astralcircle
f30caf38a7
propDissolve function ( #3241 )
...
* propDissolve function
* Better descriptions
2025-01-24 21:03:37 -05:00
unknao
a818821ed9
Update gmod_wire_cameracontroller.lua ( #3249 )
2025-01-24 21:03:23 -05:00
vMajx
77ae270b4e
Removed unused cost variable ( #3245 )
...
* Removed unused cost variable
* Removed unused cost variable for maxIndex
2025-01-18 22:55:56 -06:00
Denneisk
16d6d43ebf
Fix downloads when reloading file extension ( #3234 )
...
* Mitigate download issues with file extension
* Simplify timer
2025-01-06 08:43:40 -05:00
Denneisk
4262b11969
Mitigate some issues with reserved words ( #3236 )
...
* Add entity:getClass
* Remove some common reserved words
* lint
2025-01-06 08:43:28 -05:00
unknao
c4d0ca9855
Add a max distance input to the cam controller ( #3237 )
...
* add max distance input for wire cam
* hack for changing zoom without scrolling first
* made the sync message unreliable
2025-01-06 08:42:19 -05:00
Astralcircle
886ef66aa9
Fix invalid return of of e:weapon() ( #3238 )
2025-01-03 21:05:40 -05:00
Redox
45c2987bbc
Holo net improvements ( #3210 )
...
* Use MAX_EDICT_BITS
* Cleanup
* Use right bit amount for bones
* Use new gmod global
* Use MAX_EDICT_BITS global
* Use MAX_EDICT_BITS in wires networking
2024-12-30 04:07:58 -05:00
Astralcircle
525512ee7e
E2 Pickup events ( #3229 )
2024-12-26 23:17:34 -05:00
unknao
9ef330c136
Fix lambda timers timerSetDelay not accounting for repetitions. ( #3226 )
...
* Add entity:parentToAttachment()
* Fix design oversight on timerSetDelay.
* removed unnecessary logic
2024-12-26 23:17:18 -05:00
Denneisk
93b7900481
Fix old array getter operations ( #3230 )
2024-12-25 16:48:03 -05:00
Denneisk
1c14312b14
Fix try/catch would not pop excess scopes ( #3216 )
...
* Fix try/catch would not pop excess scopes
* Set scope directly
* Add test
2024-12-16 00:10:22 -05:00
Astralcircle
80c4eb069e
New is* E2 functions ( #3220 )
...
* New is* functions
* entity:weapons() optimization
* Missing description
2024-12-16 00:08:12 -05:00
Redox
eb9451ce59
Add e2 func entity:isAsleep ( #3219 )
2024-12-14 03:44:03 -05:00
Astralcircle
b6c0954b02
tickRealInterval function ( #3218 )
...
* tickRate function
* tickRealInterval
* Forgot
2024-12-14 03:43:40 -05:00
Astralcircle
3350456e76
Angle core optimizations ( #3214 )
...
* Angle core optimizations
* Linter pass
* Linter pass
2024-12-11 16:51:04 -05:00
Denneisk
254aa69180
Add reserved words ( #3201 )
2024-12-10 14:34:07 -05:00
Astralcircle
6a9bc3cd56
Remove dead code ( #3212 )
...
It just deletes what should already be deleted.
2024-12-10 14:33:34 -05:00
Denneisk
530fcfcb0e
fix EGP Emitter calling draw with nil ( #3209 )
2024-12-07 14:46:01 -05:00
Denneisk
fbe1bed5ba
Remove cmd argument from flex/eyetarget functions ( #3204 )
2024-12-06 02:55:22 +00:00
Denneisk
928f14bf5f
Add holo local pos/ang ( #3203 )
2024-12-06 02:55:04 +00:00
Astralcircle
fa25826a45
Some improvements in color core ( #3206 )
...
Do not create new colors where possible
2024-12-05 19:20:54 -05:00
Denneisk
79f14291fa
Add new E2 hash functions ( #3199 )
...
* Add hash functions
* Add the rest of them
Why not?
Increased size limit
* Change to hard throw
* Remove return (I forgot to commit this)
2024-12-04 14:25:55 -05:00
Denneisk
6a1216128b
Rewrite E2 table clone function/partial table extension modernization ( #3195 )
...
* Rewrite table copy functions
Add shallow table copying
Add table perf function
Minor optimizations and cleanups
* E2descriptions
* Remove references to arrayCopy
It was a stub, NOT AI-generated. I swear.
* Combine these loops
* Remove unnecessary return statement
* Add test
2024-12-04 19:24:09 +00:00
Denneisk
99271ee5ff
Limit @autoupdate
directive executions ( #3191 )
...
* Guard autoupdate directive handler from multiple runs
Add some warning reporting to autoupdate directive
Annotate directive_handlers (doesn't really work :P)
* Try to prevent the editor from ever failing to close
* Rewrite to error on client/server if @autoupdate is in same file
@autoupdate is still ignored beyond 1 instance
2024-12-03 15:57:29 +00:00
Denneisk
95698bad74
Fix bad EGPObject invalid function ( #3197 )
2024-12-03 15:54:11 +00:00
Astralcircle
a722233f1a
Micro-optimizations for base_wire_entity ( #3192 )
...
* base_wire_entity optimizations
* Do not create new vectors
* table.IsEmpty -> halos[1] == nil
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
* Revert some changes
---------
Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
2024-12-02 19:45:13 -05:00
Redox
831bc00035
Add e2 timer limit convar ( #3196 )
2024-12-02 16:24:24 +00:00
Denneisk
a735a00932
Fix timers would not be cleaned up ( #3194 )
2024-12-02 03:34:58 +00:00
Denneisk
049edb0b56
Add bonemerging and model bone parenting to holos ( #3189 )
...
* Add holoBonemerge
* Add holo bone parenting
Add entity model bone functions
2024-12-01 18:11:17 -05:00
Denneisk
9ad5f1ede9
Small random cleanups ( #3188 )
...
* Fix incorrect return
* Remove unused function
2024-11-30 00:08:58 +00:00
Astralcircle
8f8368cc19
Add e:propSleep(n) to propcore ( #3187 )
...
* e:propSleep(n)
* Add description
* Use :IsValid instead of IsValid
Co-authored-by: Denneisk <20892685+Denneisk@users.noreply.github.com>
---------
Co-authored-by: Denneisk <20892685+Denneisk@users.noreply.github.com>
2024-11-28 19:26:56 +00:00
Denneisk
6476d2902b
Increase precision of dot bounds check in EGP:DrawPath ( #3184 )
...
* Increase precision of dot bounds check
* Change to LT/GT equal
Minor optimization
* Remove extra end
2024-11-19 19:28:49 -05:00
Astralcircle
dcd69a0609
Improve wire_holograms_display_owners ( #3183 )
...
* Improve wire_holograms_display_owners
Improves code performance and enhances text readability. Red color may be hard to see in certain situations, whereas white text with a black shadow remains clear in all conditions.
* Use surface.*
* Use Surface.SetFont outside the loop
* Use DebugOverlay font
2024-11-18 17:45:24 -05:00
Redox
43976e5675
Fix startup error ( #3182 )
2024-11-17 23:44:30 +00:00
Denneisk
01fa17cdf7
Fix setting angle was always relative ( #3180 )
...
Added ragdollGetAng to reduce confusion with ragdollSetAng
2024-11-17 13:47:24 -05:00
Denneisk
d96229615e
Remove bone-keyed caches in bone extension ( #3181 )
...
* Remove bone2entity
* Remove bone2index
* Remove unnecessary return argument
2024-11-17 13:47:06 -05:00