Commit Graph

22 Commits

Author SHA1 Message Date
Neerti
fdabe51ee8 Linter Introduction + Cleanup (#8085)
* Adds linter defines to repo.

* Uncomments linter defines already in the code.

* Resolves unreachable code linter errors.

* Nukes decade+ old syndie specops code except for computer since that's mapped in?????

* Resolves procs has no parent linter error.

* Proc signature fixes

* Bad comments

* "In" danger

* Type safety

* Implied nested list abuse

* Top level ..() usage

* Sleepy coder typos

* Invalid kwargs calls

* Pointless returns

* Linter hacks (see full message)

Byond doesn't care and it has no effect but linter doesn't like var/proc
for holding references to procs, despite that it's valid byond code.

Also, the linter seems to have serious issues figuring out relative
proc names. This commit is a sort of take-it-or-leave-it thing. It's not
required, it just cuts down on warnings, but this code is valid DM code.

* WHATEVER THIS IS

* Trick dreamchecker linter into ignoring this file's sins in it's weird use of vars

* Fix list decoration syntax - Its a list, not list of lists

- To declare that a var is a list you can `var/list/blah = list()` syntax or the `var/blah[0]` syntax.  Both do exactly the same thing. But if you do `var/list/blah[0]` that is just like doing `var/list/list/blah = list()`

* Hopefully stops the ai holder subtype folder from going quantum and sometimes changes capitalization over time, and incidentally causing 20+ linter errors.

* Fixes unwrapped negated object in list linter error.

* Resolves colon-like list accessing linter error.

* Turns linter on in linter config.

* Fixes closet indentation properly and cleans up suit storage unit switch.

Co-authored-by: Aronai Sieyes <arokha@arokha.com>
Co-authored-by: Leshana <Leshana@users.noreply.github.com>
2021-05-25 18:17:26 -09:00
ShadowLarkens
971a95bc0a TGUI 4.0 & Camera Console 2020-07-30 17:48:11 -07:00
Neerti
1890248594 Adds status indicator visibility as a pref and finishes everything up. 2020-07-19 16:59:11 -04:00
Aronai Sieyes
f204ae9385 2 new mech equipments (#6889)
* Adds atom/movable cloaking framework

* Mecha omni-shield generator

* Mecha cloaking generator

* Clean up various mech code and allow overrides lower

* DME update

* Adds fighters

* Missed a color check in colorable gunpods

* Update code/modules/mob/living/simple_mob/subtypes/animal/giant_spider/lurker.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-29 14:53:56 -07:00
Aronai Sieyes
717a4cc585 Add buildmode AI status indicators 2020-02-23 11:52:34 -05:00
kevinz000
84ea3c0931 JFC 2018-10-14 19:45:38 -07:00
Atermonera
f776cc0513 Merge pull request #5517 from Anewbe/hud_invis
Low alpha now makes HUDs and tooltips not show up on you
2018-08-24 15:47:22 -07:00
Anewbe
e8c9a44fbc Low alpha now makes HUDs and tooltips not show up on you 2018-08-22 18:00:10 -05:00
Anewbe
eebb627f00 Partially ports the GLOB system 2018-08-14 18:14:09 -05:00
Arokha Sieyes
0e7f365286 Fix SSAO mode mouse opacity problem
Fixes the title!
2018-05-14 11:00:46 -04:00
Arokha Sieyes
634527aa5b Ports 'fake' SSAO from /tg/ as a preference
Allows players to pick whether they want this visual feature or not. Basically adds drop-shadows to objects and stuff. It's off by default.
2018-05-09 14:49:00 -04:00
Arokha Sieyes
98eb796021 Colorblindness 2018-05-03 17:58:22 -04:00
Leshana
530c3e9a07 Fixes fullbright mode hiding lighting overlays.
Fullbright plane master being above lighting plane master is important, shouldn't be removed.
2018-03-29 20:20:47 -04:00
Aronai Sieyes
7d3aec96fd Arranges lots of things into planes (#5072)
* Rearranges a billion things into planes

* Make cryotubes fancy

* Update Travis

* Fix hiding logic
2018-03-28 12:59:12 -07:00
Arokha Sieyes
0c0f09fe68 POLARIS: Fix several Destroy()s 2018-02-20 10:00:23 -05:00
Aronai Sieyes
52fe8ba6e4 Make Darksight Great Again (#4626)
* Polaris port of darksight adjusting

* I really need to stop doing this, don't I?
2018-01-25 18:01:33 -06:00
Neerti
c2670a2bd5 Makes Overlay Hidden w/o Mesons 2018-01-22 16:12:35 -05:00
Arokha Sieyes
1558cd47df 3 Fixes (#4600)
* POLARIS: Do this lazily

* POLARIS: Speed up visible_message and audible_message

* POLARIS: Destroy this list rather than cutting it, for future safety
2018-01-21 16:17:04 -06:00
Arokha Sieyes
1348077678 Wearing a mouse on your head stops mesons from working (#4584)
* POLARIS: Simplify Destroy on plane_master

If we're being Destroyed, the mob probably is too. Their job to remove references to us though.

* POLARIS: What if I want to wear a mouse on my head
2018-01-18 22:24:14 -06:00
Arokha Sieyes
17907b4486 Fix 3 server errors (#4578)
* POLARIS: Lighting runtime for accessing a list that might not exist

* POLARIS: Lazily clear these lists

* POLARIS: Just return the normal hint in Destroy on plane holders
2018-01-18 22:23:43 -06:00
Arokha Sieyes
b67d43d237 POLARIS: Sanity check in plane_holder
This was related to a bug we encountered. The bug doesn't affect you, but it makes sense to give this sanity check here too.
2018-01-17 21:18:50 -05:00
Arokha Sieyes
f2fef6f410 Planes Framework (#4545)
* Polaris initial plane upstream merge

* POLARIS: Fix RIG visors with new plane system, and material scanner VIS_FULLBRIGHT

* POLARIS: Fix GetFlatIcon so that cameras and id pictures don't show the HUD overlays.

* POLARIS: Adds a 'alter values' proc for plane master ease of tweaking

Setting stuff like colorblindness variety and things.

* Remove NIF reference, fix lighting layer define

* Handle effects above lighting plane

* Moved all layer defines to planes+layers.dm
* Fixed overlays that are supposed to be above lighting to use the PLANE_LIGHTING_ABOVE

* Merge: 3000% human/update_icons() speed improvement

* Merge: Avoid ghosts pointing at things
2018-01-17 13:45:54 -06:00