Garry's Mod

Garry's Mod

Wiremod Canary
Showing 321-327 of 327 entries
< 1 ... 31  32  33 >
Update: 3 Nov, 2023 @ 4:37pm

Add flexes and eye posing to E2 (#2810)

* Add flex and eye functions
Add prototypes for bone scale and jiggle functions
Make entity:bones() return a copy its output

* E2Descriptions
Reduced and dynamicized cost for entity:getFlexes()

* setEyeTarget e2descriptions
Changed position (cost) of setFlexWeight(nn) (30 -> 10)

* Remove references to bone jiggle and scale

* Update E2Descriptions

Update: 3 Nov, 2023 @ 4:36pm

Objectify EGP (#2646)

* Create EGP object type, objectify EGP functions.

* Finish the rest of the egpobjects

* Some lints

* Clean up and refactor EGP.Objects.Base initialization

* Use metatables for EGPObject
Add egpobject:toString()

* Have egpRemove return null egpobject.
Remove unnecessary code.

* Silly workaround because I forgot how functions work.

* Add index operators to EGP objects

* Added E2Descriptions
Genericized EGP object creation functions (will be used later for indexless functions)
Add xwl:egpHasObject(xeo)
Fixed removed EGP objects not equal to NULL

* Make EGP:EditObject call Obj:EditObject
Method will be removed in a later PR

* Various additions
- Added wirelink:egpCreate, creates an EGP Object prototype that is not initialized
- Added egpobject:initialize to initialize EGP Object prototypes
- Added xeo:unload(), removes the object while keeping its object intact
- Added xeo:isLoaded() to see if object is initialized
- Added xeo:egpIndex(n) to set and replace indexes of EGP Objects
- Added xeo:egpSize(nn), :egpPos(nn), :egpPos(nnn) to better facilitate moving operations
- Added xeo:egpPosAng(), returns vector of x, y, angle
- Added xeo:egpPos(nnnn), sets x, y, x2, and y2 for lines
- Added xeo:egpSetVertices(...), sets vertices of EGP Object
- Added xeo:egpCopy(xeo) to copy one EGP object to another
- Added angle to EGP baseObj and baseObj:SetPos
- Nodiscard a bunch of functions
- Changed EGP.Objects to use lowercase name in most cases
- Bug fix for xwl:egpParent(xeoxeo)
- Deduplicated some E2Descriptions

* Minor bug fix

* Add order methods

* Minor fix for removing objects that don't exist

* Removed egpCreate, bugfixes
- Added auto-generated egp<Type>(index, table) constructors, replaces egpCreate
- Added xeo:draw/:hide, replaces :initialize/:unload
- Moved NULL_EGPOBJECT as a field of EGP
- Made EGP:CreateObject() never return nil
- Fixed some EGP functions erroneously returning nil
- Changed xeo:egpOrderAbove/:egpOrderBelow to use EGP objects instead of index

* Rename xeo:egpobjectContainsPoint to simply :containsPoint

* forgot e2description

* Fix nodraw

* Fix set on poly-like object, add EGP object inheritance.

* Rename every xeo function
Add xeo:parent(), returns parent object
Minor fixes and optimizations, chiefly with function returns
Remove xeo:egpIndex(n), indexes should be irrelevant
Removed redundant xeo:egpObjectType() that I swore I already removed

* Add EGP object inheritance. Reduces LOC.
+Other miscellaneous fixes to make this work.

* E2Descriptions.
Fix getMaterial returning entity.

* Minor code reduction

* Update to compiler rewrite

* Minor update

* Lint and minor optimize drawing for RoundedBox
Simplify drawing for RoundedBoxOutline
Lints

* Fix problems with polys
Massively simplify global pos getting
Split getting global vertices into different function
Fixed bad egpo indexget
Harden EGPObjects against bad inputs
Change some small syntax things

* Fix oversight
+ minor change of local scope

Update: 2 Nov, 2023 @ 3:14pm

Add Queues to E2 File Extension (#2763)

* File conversion to queue + fixes:
- Add queuing for file load operations
- Added cvar wire_expression2_file_max_queue to limit number of queued files
- Added event fileList(sr) to eventify fileListClk
- Added file<Load/Write/List>Queued() to return number of queued elements
- Added outputs to various functions for debugging
- Added various exceptions
- Increased file Load/Write/List op cost to 100 (from 20)
- Decreased op costs of certain functions
- Fixes runOnFile triggering when runOnFile is not set
- Fixes runOnList triggering when runOnFileList is not set
- Deprecate runOn*- and *Clk-type functions
- Removed some previously useless code
- Removed old delay system

* lints

* Reduced network strings
Optimize some small things
Fixed backwards *Queue functions

* Fix comment

* Add fileWritten event

* Fix typo
Avoid race condition with event fileWritten

Update: 31 Oct, 2023 @ 2:11pm

Fix bad timer name (#2821)

Account for self.data not existing in timer

Update: 30 Oct, 2023 @ 10:43pm

Temporary friendslist patch

Update: 30 Oct, 2023 @ 1:52pm

Add canary deploy workflow

Update: 30 Oct, 2023 @ 1:33pm

Initial addon creation.