Commit Graph

338 Commits

Author SHA1 Message Date
mwerezak
9fea39dea2 Quick fix for engine core flow imbalance
A more thorough fix should probably involve providing a way for players
to control the flow rate.

Also tweaks emitters and allows collectors to be read using a multitool.
2014-08-25 20:37:07 -04:00
mwerezak
3cd0cdf27f Fixes freezers never quite reaching their thermostat temperature 2014-08-23 10:52:57 -04:00
mwerezak
88a2c21764 Fixes #6123 2014-08-22 21:38:53 -04:00
mwerezak
47b32122d4 Updates disposal bin pressurization
Also tweaks flasher power use.
2014-08-07 19:31:17 -04:00
mwerezak
319b9181e6 Improves h/e radiation 2014-08-06 10:36:49 -04:00
mwerezak
018079beb5 Fixes gas mixture bugs, other bugs, and cleanup
In particular, gas_mixture/remove() was not accounting for
group_multiplier when determining the maximum amount of gas to remove
Also cleans up the interface for gas_mixture/heat_capacity().
2014-08-05 17:04:17 -04:00
mwerezak
d662c5e804 Fixes issues with group_multiplier, filtering lists 2014-08-04 20:56:22 -04:00
mwerezak
b7c13bc4b6 Allows atmos helpers to be used with portable_atmos 2014-08-04 16:53:13 -04:00
mwerezak
c9f16ec665 Fixes freezer UI bug 2014-08-04 14:48:47 -04:00
mwerezak
a772d9094c Optimizes pipe network updating 2014-08-04 13:29:09 -04:00
mwerezak
c640729b4d Rewrite of passive gate, updates air injector 2014-08-04 13:28:48 -04:00
mwerezak
14b57e3560 Pipe networks now cache their total volume 2014-08-03 22:41:31 -04:00
mwerezak
6eb2fe3028 Device working volumes are configurable from setup 2014-08-03 22:11:45 -04:00
mwerezak
5d0ce492b7 Updates dual port vent pumps 2014-08-03 15:17:28 -04:00
mwerezak
8d04a83e97 Updates gas coolers, upgrading of coolers/heaters 2014-08-03 14:34:31 -04:00
mwerezak
ecdd9b62e9 Omni-devices 2014-08-03 01:38:31 -04:00
mwerezak
3647fa4d7d Adds gas mixing proc and updates gas mixer
Also includes a whole bunch of fixes and updates for atmos machinery
2014-08-02 18:35:57 -04:00
mwerezak
d034511ee6 Updates gas filter 2014-08-01 22:59:13 -04:00
mwerezak
f0016df4f3 Adds gas filtering proc 2014-08-01 20:37:48 -04:00
mwerezak
400c1b5cf6 Fixes mistake in scrubbing calculation 2014-08-01 19:33:57 -04:00
mwerezak
cb413454a3 Optimizes atmos machine power updates
Makes power usage but atmos machinery less accurate but reduces lag
somewhat.
2014-07-27 03:35:25 -04:00
mwerezak
293855c48e Generalizes pumping and filtering
So that people can pump and filter gasses without worrying about the
thermodynamics too much.
2014-07-26 16:15:40 -04:00
mwerezak
3f6c1ff622 Cleanup, adds setup parameters for atmos machinery
Allows atmos machinery efficiency to be adjusted in setup.dm
Limits flow rates when moving gas from a turf to avoid very high pressures being created when they shouldn't be.
Attempts to limit processing when there isn't much gas to be moved, for performance.
Reverts all changes to _gas_mixture.dm
2014-07-26 13:50:25 -04:00
mwerezak
11c9f3bb9b Updates scrubbers 2014-07-26 12:23:35 -04:00
mwerezak
ef4a740a02 Adds entropy, thermal energy procs to new gas mix 2014-07-24 17:36:57 -04:00
mwerezak
79d4c444c2 Merge remote-tracking branch 'upstream/dev' into power-net
Conflicts:
	code/ATMOSPHERICS/components/binary_devices/pump.dm
	code/game/machinery/alarm.dm
	code/game/machinery/spaceheater.dm
2014-07-24 16:04:41 -04:00
Mloc-Argent
d5e9851b62 integrate XGM into the code
New turf proc: assume_gas().  Maps to air.adjust_gas_temp().
Lots of optimizations to processing, fire, lighting, HasEntered() and
 more.
Zones now process all fire data and existance in one go, fire objects
 only handle spreading.
Most code has been ported straight so some of it mightn't be ideally
 structured for the new gas_mixtures.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2014-07-22 19:52:12 +01:00
mwerezak
d49c005d9b Reverts vent status broadcast change 2014-07-21 20:44:59 -04:00
mwerezak
2ea947b15e Some cleanup for pumps and vent pumps 2014-07-19 17:01:28 -04:00
mwerezak
c46904a3b6 Merge remote-tracking branch 'upstream/dev' into power-net
Conflicts:
	code/ATMOSPHERICS/components/binary_devices/pump.dm
	code/ATMOSPHERICS/components/binary_devices/volume_pump.dm
	code/ATMOSPHERICS/components/unary/vent_pump.dm
	code/ATMOSPHERICS/pipes.dm
2014-07-18 15:02:07 -04:00
Loganbacca
c4abe1f5d5 Pipe cleanup
- Tidied up a couple of remaining pipes
- Removed overlapping pipes
- Removed step_x, step_y vars
2014-07-18 13:43:08 +00:00
Loganbacca
fb6c928c4d Atmos update tweaks
- Updated pump and volume pump icons
- Reverted air scrubber icon
- Fixed passive gate icon
- Updated pipe_item sprites
- Fixed an oversight in the pipe color check
- Cleaned up the map
2014-07-18 13:41:59 +00:00
Loganbacca
e05b5c0bfb Pipe rendering rewrite
- Complete rewrite of pipe rendering code. It now selects icons from a shared cache.
- Manifolds and other devices (pumps, filters, etc.) now match the color of the connected pipes.
- Updated omni devices to use the shared cache.
- Set separate pipe color definitions.
- Cleaned up a lot of pipe code, converting it to absolute paths and removing old commented out code.
- Tweaked t-ray rendering code.
- Tweaked pipe painter.
- Enhanced pipe checking debug command.
- Expanded tank capacity and resprited them.
2014-07-18 13:39:39 +00:00
mwerezak
46533d299c Merge remote-tracking branch 'loganbacca/atmosmerge' into power-net 2014-07-16 16:17:26 -04:00
mwerezak
5ca36fcadb Merge branch 'dev' into power-net
Conflicts:
	code/game/machinery/Freezer.dm
	code/ATMOSPHERICS/components/unary/heat_source.dm
	code/modules/organs/organ_external.dm

Also updated:
	code/ATMOSPHERICS/components/binary_devices/pump.dm
	nano/templates/gas_pump.tmpl
2014-07-16 16:14:52 -04:00
Loganbacca
0dd2397ef7 Atmos update tweaks
- Updated pump and volume pump icons
- Reverted air scrubber icon
- Fixed passive gate icon
- Updated pipe_item sprites
- Fixed an oversight in the pipe color check
- Cleaned up the map
2014-07-16 21:37:43 +12:00
Loganbacca
35f75ce805 Merge remote-tracking branch 'remotes/upstream/dev' into atmosmerge 2014-07-16 21:36:41 +12:00
mwerezak
3c65c7dda4 Vent pumps now draw power 2014-07-16 00:47:38 -04:00
mwerezak
ec676896bc Some gas pump cleanup 2014-07-16 00:45:38 -04:00
mwerezak
aeb3537ae4 Improves update_use_power() proc
Now no longer misses power usage on the tick that it is called
2014-07-15 20:35:10 -04:00
mwerezak
1011800d78 Updates gas heaters
Gas heaters now draw power.
Removed the heat_resevoir base type because it was dumb and unused.
Adds a circuit board for gas heaters.
2014-07-15 20:34:48 -04:00
mwerezak
f207888316 Replaces the volume gas pump 2014-07-15 19:31:02 -04:00
mwerezak
5718c907ea Adds a flow rate meter to pump UI
Also fixes a stupid merge error.
2014-07-15 13:05:58 -04:00
mwerezak
39789d56b8 Merge remote-tracking branch 'loganbacca/atmosmerge' into power-net
Conflicts:
	code/ATMOSPHERICS/components/binary_devices/pump.dm
2014-07-15 12:12:08 -04:00
Loganbacca
6b64fb5e77 Pipe rendering rewrite
- Complete rewrite of pipe rendering code. It now selects icons from a shared cache.
- Manifolds and other devices (pumps, filters, etc.) now match the color of the connected pipes.
- Updated omni devices to use the shared cache.
- Set separate pipe color definitions.
- Cleaned up a lot of pipe code, converting it to absolute paths and removing old commented out code.
- Tweaked t-ray rendering code.
- Tweaked pipe painter.
- Enhanced pipe checking debug command.
- Expanded tank capacity and resprited them.
2014-07-14 19:12:22 +12:00
mwerezak
05fc761fd4 Adds NanoUI for gas pumps showing loading level 2014-07-13 12:39:48 -04:00
mwerezak
57b5b1d13e Cleans up pump power usage 2014-07-13 11:00:15 -04:00
mwerezak
7e65984ae2 Implements pump power draw 2014-07-12 20:09:41 -04:00
mwerezak
3fb3efe401 Adds a gas entropy system for pumps 2014-07-12 20:09:08 -04:00
mwerezak
b78c918c58 Moved h/e constant to setup.dm, included units 2014-07-11 14:29:30 -04:00