Jordan Brown
a1b89c3643
Removes redundant COMPONENT_INCOMPATIBLE crashes ( #37389 )
2018-04-25 06:53:43 -04:00
ninjanomnom
00a21c94f8
renames define to UNIQUE_PASSARGS
2017-12-19 18:15:00 -05:00
ninjanomnom
a93b957cb5
adds instanceless component dupe mode
2017-12-19 18:15:00 -05:00
Jordan Brown
4e01bba3b5
SendSignal optimization ( #33220 )
...
* SendSignal optimization
* Update component README
* Readd required null checks
2017-12-04 06:29:39 -05:00
Emmett Gaines
d56a47253e
Bitflag returns from component signals ( #33186 )
...
* For more useful returns from sendsignal
* removes a needless else/indentation
* cleanup
2017-12-01 14:09:25 -05:00
Emmett Gaines
f76ccb8de0
fixes null parent in destroy for components ( #32351 )
...
* fixes parent being null in destroy
* extends qdel
2017-11-08 09:35:09 +13:00
Jordan Brown
82a4ba34f0
Fixes TakeComponent ( #32156 )
...
* Fixes TakeComponent
* Add the note about OnTransfer and COMPONENT_INCOMPATIBLE
* Fix behaviour
* Missed datum.dm
2017-10-30 09:52:18 +01:00
Jordan Brown
82e70ff429
Allows components to qdel from Initialize
2017-10-26 00:01:19 -05:00
Jordan Brown
49feced945
RegisterSignal() can now accept a list ( #31098 )
...
* RegisterSignal may now accept a list of signals
* Update old calls to RegisterSignal()
2017-09-30 14:58:52 +02:00
Jordan Brown
8fdea0d473
SendSignal() speedup ( #30929 )
...
* Rename component.dm to _component.dm
* Merges RecieveSignal() into SendSignal()
* Makes ComponentActivated() and AfterComponentActivated() async
2017-09-23 20:31:03 +10:00
Jordan Brown
e89917c3db
Updates out of date documentation ( #30181 )
...
* Updates out of date documentation
* Grammor
2017-08-28 14:51:37 -05:00
Jordan Brown
fc41bf41ef
Cleans up component Initialization ( #29891 )
...
* Cleans up component Initialization
* Add LoadComponent()
2017-08-22 09:26:56 +12:00
Jordan Brown
3c56d0f4f3
Ports duplicated slipping code to a component ( #29628 )
...
* Ports duplicated slipping code to a component
* Makes metal not slippery
* asdf
* Instead of cherry picking like an idiot I could just copy paster
* OOP
* And blood, don't forget Fry's blood!
* Further fixes
* A more generic fashion
* Use the new system
* Fixes
* Fix cartridge type
* Remove inertia
2017-08-09 16:06:15 +02:00
Jordan Brown
452c5ce360
Makes GetComponent() faster using typecache magic ( #29523 )
...
Added /proc/type2parent which takes a type (string, or type) and returns it's parent type (initial(x.parent_type) doesn't work)
Instead of being a raw list of components, /datum/var/datum_components is now associated list keyed by type with some bells and whistles to make GetComponent() calls faster
2017-08-02 09:58:53 +12:00
shizcalev
99624b8e74
further spellchecking
2017-07-31 23:09:08 -04:00
Jordan Brown
0321e6bd85
DCS Continued ( #29324 )
...
Adds's documentation to the DCS system, refactors to improve the caller API
2017-07-25 09:44:19 +12:00