Commit Graph

224 Commits

Author SHA1 Message Date
Bjorn Neergaard
5601eaf56e Fix Mixer NanoUI size 2015-11-28 17:16:20 -05:00
Bjorn Neergaard
404642b25b Update the rest of the Atmos stuff 2015-11-27 23:17:15 -05:00
Bjorn Neergaard
2feedfa009 Update Cryo, NanoUI states, add new contains() helper 2015-11-27 21:21:52 -05:00
Bjorn Neergaard
b897fb6d72 Fix NanoUIs flashing, update Tanks, Solars, and Canisters 2015-11-27 15:30:18 -05:00
Bjorn Neergaard
1a44e3d851 Refactor NanoUI API
Also update NanoUI-using code to the new API.
2015-11-26 07:11:31 -05:00
Bjorn Neergaard
4e5edf396a Update NanoUI
* Update NanoUI to the latest version, ported from Baystation12
* Update the Air Alarm UI
* Make changes to subsystems and some machines to make the new NanoUI
work
2015-11-26 07:11:27 -05:00
Tkdrg
3308f76efb Improves speed of redraw_lighting()
No longer uses animate() when unneeded, because animate() is slow.
Also turns Clamp() into a macro to reduce proccall overhead.

The whitespace changes in atmos are needed because of the way the
preprocessor handles macros.

Thank you MrPerson for helping with this.
2015-11-06 23:36:03 -03:00
duncathan
6a316f1bba fixes #11918 2015-10-04 07:39:00 -06:00
bear1ake
f697ae90f5 removes a bunch of .0 2015-09-10 20:57:30 +09:00
duncathan
b86464f573 woo more runtimes 2015-09-08 22:59:18 -06:00
duncathan
36ba00fa6e distro fix 2015-09-07 11:19:01 -06:00
duncathan
a4b0a7e1bf fixes roundstart atmos 2015-09-07 06:40:04 -06:00
duncathan
fdf8fde258 fixes a race condition causing roundstart runtimes with certain atmos components 2015-09-05 23:18:48 -06:00
duncathan
4fc54c238c fixes components not gc'ing; minor tweaks to QDEL_HINT_FINDREFERENCE 2015-09-04 22:09:01 -06:00
duncathan
b6d91e2aa0 Makes pipes garbage collect gracefully 2015-09-01 22:25:13 -06:00
duncathan
381139422c Merge branch 'master' of https://github.com/tgstation/-tg-station into pipecleanup
Conflicts:
	_maps/map_files/MiniStation/MiniStation.dmm
	code/ATMOSPHERICS/atmospherics.dm
	code/ATMOSPHERICS/components/binary_devices/pump.dm
	code/ATMOSPHERICS/components/components_base.dm
	code/ATMOSPHERICS/components/unary_devices/cryo.dm
	code/ATMOSPHERICS/components/unary_devices/vent_pump.dm
	code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm
	code/ATMOSPHERICS/pipes/manifold.dm
	code/ATMOSPHERICS/pipes/manifold4w.dm
	code/ATMOSPHERICS/pipes/simple.dm
	code/_compile_options.dm
	code/controllers/subsystem/garbage.dm
	code/game/machinery/bots/mulebot.dm
	code/modules/mob/living/carbon/alien/say.dm
	code/modules/mob/living/simple_animal/bot_swarm/swarmer.dm
	html/changelogs/.all_changelog.yml
2015-09-01 20:29:00 -06:00
duncathan
51c09f16bf makes all Destroy()'s return properly 2015-08-31 00:21:01 -06:00
duncathan
b5d6e00cea makes atmos machinery return properly from destroy() 2015-08-30 23:18:03 -06:00
duncathan
48a06b96dd fixing pipe gc 2015-08-28 20:37:44 -06:00
duncathan
d9f816279b Merge branch 'master' of https://github.com/tgstation/-tg-station into pipecleanup 2015-08-26 00:24:22 -06:00
Jordie
bdd6a75382 Merge pull request #11119 from phil235/VaporizeMethodReaction
reagents reaction() now has more application method
2015-08-19 19:23:17 +10:00
duncathan
cead1653c0 changes associative lists to standard lists; updates MiniStation.dmm 2015-08-17 21:46:39 -06:00
duncathan
1f00982cc3 Merge branch 'master' of https://github.com/tgstation/-tg-station into pipecleanup
Conflicts:
	code/ATMOSPHERICS/components/components_base.dm
2015-08-17 16:19:22 -06:00
duncathan
b58b2694da missed something 2015-08-17 00:13:26 -06:00
duncathan
3a3ce839f9 2nd pass
minor change to atmosinit
changes heat exchanging pipes to be a subtype of atmospherics/pipe
  eventually this will allow us to make h/e manifolds (even 4-way)
removes a bunch of comments
2015-08-17 00:08:46 -06:00
duncathan
99234185de first pass of cleanup
makes simple pipes more OOP
adjusts defines; puts them in __DEFINES/atmospherics.dm
adds DEVICE_TYPE_LOOP define, which is used in a bunch of the for loops
2015-08-16 23:10:57 -06:00
duncathan
ca09f34c3a this was a far better solution 2015-08-14 17:26:07 -06:00
duncathan
589c1ed165 components' pipes now show on plating 2015-08-14 15:08:53 -06:00
phil235
d2a4024e7f reagent reaction() now use more methods. Instead of just INGEST or TOUCH, we now have INGEST (for injection, ingestion), TOUCH (for splashing), PATCH (for patch application and blob attack), and VAPOR (for smoke, foam and spray application).
- TOUCH no longer transfer reagent by default, it's now only used for touch based effect like being flammable when touched by fuel or you and your stuff being acided when touched by acid).

- PATCH does no transfer of its own (but actual patches code do make a transfer) but is used for touch effect that ignore clothes and protection (blob attacks, patches effect going through hardsuits)

- VAPOR does reagent transfer but it takes into account clothing protection

Fixes a typo in humanoid/get_permeability_prot
Fixes acid splashing on objects not destroying it. Fixes acid splashing on turf not destroying objects on the turf.

Changed damp rag smothering code a bit.

Blob Smoke now doesn't do anything.
2015-08-09 14:23:12 +02:00
MrStonedOne
94829456d1 Fixes some pipenet bugs in components_base 2015-07-25 23:15:49 -07:00
MrStonedOne
4e971a7e57 Moves build_network to air's initialize, Removes initialize() from atmos machinery 2015-07-25 23:08:02 -07:00
phil235
81255953c7 Merge pull request #10690 from duncathan/atmoshotfixes
Fixes manual valve sprites and n2o scrubbing AND ventcrawling too now
2015-07-19 22:45:54 +02:00
duncathan
7be382cd7f fixes ventcrawling; minor cleanup of a couple other things 2015-07-19 13:13:51 -06:00
Caden Depatie
b5131b49dd saving atmos one letter at a time
fixes a typo that prevents the nanoUI coming up when interacting with the gas mixer
2015-07-19 12:28:41 -04:00
duncathan
b194b1e4af the comment in filters too, why not 2015-07-18 14:45:48 -06:00
duncathan
104c1349a1 fixes manual valve sprites and n2o scrubbing 2015-07-18 14:22:53 -06:00
Remie Richards
57b05f5a18 Merge pull request #10493 from phil235/SmokeFoamBuff
Foam&Smoke buff, some tweaks to sorium/ldm effect, plus some fixes.
2015-07-18 03:45:38 +01:00
Cheridan
77c4ad733d Merge pull request #10593 from MrStonedOne/LifeSupportFailureCheckOxygenLevelsAtOnce
Scrubber Re-balance
2015-07-17 19:51:42 -05:00
MrStonedOne
f4b267ac74 Fixed scrubbers runtiming 2015-07-17 15:48:21 -07:00
duncathan
423abf3355 fixes heaters/freezers and cryo tubes 2015-07-17 14:39:59 -06:00
MrStonedOne
2f255406ac Gives the large portable scrubber 3x3 scurbbing power
Also fixes portable scrubbers a bit

Conflicts:
	code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm
2015-07-16 20:13:02 -07:00
phil235
3e9ab4e3c1 Merge branch 'master' of https://github.com/tgstation/-tg-station into SmokeFoamBuff
Conflicts:
	code/ATMOSPHERICS/atmospherics.dm
	code/__HELPERS/unsorted.dm
	code/game/objects/items/weapons/tanks/watertank.dm
	code/modules/reagents/Chemistry-Recipes.dm
2015-07-16 14:09:12 +02:00
duncathan
8c2519e115 merge conflicts 2015-07-16 04:54:11 -06:00
duncathan
ae417d2a03 Merge branch 'master' of https://github.com/tgstation/-tg-station into atmosrefactor2
Conflicts:
	code/ATMOSPHERICS/atmospherics.dm
	code/ATMOSPHERICS/components/binary_devices/binary_atmos_base.dm
	code/ATMOSPHERICS/components/binary_devices/passive_gate.dm
	code/ATMOSPHERICS/components/binary_devices/pump.dm
	code/ATMOSPHERICS/components/binary_devices/volume_pump.dm
	code/ATMOSPHERICS/components/trinary_devices/filter.dm
	code/ATMOSPHERICS/components/trinary_devices/mixer.dm
	code/ATMOSPHERICS/components/trinary_devices/trinary_base.dm
	code/ATMOSPHERICS/components/unary_devices/Freezer.dm
	code/ATMOSPHERICS/components/unary_devices/cryo.dm
	code/ATMOSPHERICS/components/unary_devices/unary_base.dm
	code/ATMOSPHERICS/components/unary_devices/vent_scrubber.dm
	code/modules/events/vent_clog.dm
	code/modules/mob/living/carbon/human/species.dm
	config/admins.txt
2015-07-16 04:27:25 -06:00
duncathan
280373489b fixes things per aran's request 2015-07-16 03:34:18 -06:00
Firecage
4688c2c969 Fixes proc arguments 2015-07-15 23:52:35 +02:00
MrStonedOne
38aeb528df Scrubber tweaks + related air alarm tweaks.
Scrubbers now use power.
How much depends on what its doing, how many gases its set to filter, etc.
Scrubbers can now pull from a 3x3 area around them at a major power cost!

Air alarms given some new environmental modes to account for this.
2015-07-13 07:10:07 -07:00
duncathan
e074fb7856 makes air flow; fixes EVERYTHING 2015-07-11 18:45:19 -06:00
duncathan
0e004e3939 fixes runtimes 2015-07-11 02:47:31 -06:00
duncathan
2a8cd506ef fixes update_icon 2015-07-11 02:47:28 -06:00