Commit Graph

356 Commits

Author SHA1 Message Date
Aryn
d0c0315d53 Added documentation, split ConnectionManager.dm, removed some unused procs.
Added a proc to find the other zone in an edge for future procs.
Fixed the stupid .int again.
2014-02-21 08:39:04 -07:00
Aryn
0089ae6282 Fixed some weird bugs concerning space and the creation thereof. 2014-02-21 08:39:04 -07:00
Aryn
f95d0f9a98 Fixed some zone.remove() bugs:
Turf should be set back to no gas overlays.
Debug mode checks if zone actually contains turf
(might be useful in turf replacement.)
2014-02-21 08:39:03 -07:00
Aryn
bae9fad90b Added Z-level support for ZAS, disabled by default to save CPU.
- Use #define ZLEVELS or uncomment it in _docs.dm to turn it on.
2014-02-21 08:38:51 -07:00
Aryn
4c27af0bb9 Added Z-level support. 2014-02-21 08:38:44 -07:00
Aryn
c9b9b18807 Removed debugging flag. 2014-02-19 18:28:32 -07:00
Aryn
6fbe320f88 Fixed bugs pertaining to connection updates.
- Unanchored windows did not split zones.
 - Phantom connections left behind by closed doors.
2014-02-19 18:26:04 -07:00
Aryn
0814bdb36f Added some documentation. 2014-02-19 18:24:37 -07:00
Aryn
a2d992ef5c Fixed inexplicable reversions. 2014-02-19 17:11:09 -07:00
Aryn
83fdc0942c Completed arduous process of standardizing new code. 2014-02-19 16:56:53 -07:00
Aryn
bc971b01ea New ZAS version, stable and efficient. Git broke the everything so it's in one commit. 2014-02-19 16:47:53 -07:00
Zuhayr
e870d614c2 Mass correction of controler to controller. 2014-01-25 03:15:13 +10:30
Ccomp5950
283df26fa7 Merge branch 'dev-freeze' of github.com:Baystation12/Baystation12 into dev 2014-01-23 00:19:01 -06:00
Ccomp5950
c028db481e Merge branch 'master' of https://github.com/Baystation12/Baystation12 into dev-freeze
Conflicts:
	code/modules/mob/living/carbon/monkey/diona.dm
	code/modules/reagents/Chemistry-Machinery.dm
2014-01-23 00:05:53 -06:00
SkyMarshal
8badd4de18 Fixes an error with the explosions-deleting-zone-air detection. 2014-01-22 22:49:37 -07:00
LBraindead
f58487a0e9 Update ZAS_Zones.dm
ZAS adjustments
2014-01-18 00:14:01 +01:00
LBraindead
d1874bec2e Update Functions.dm
ZAS adjustments
2014-01-18 00:10:39 +01:00
Ccomp5950
83ef93c41c Merge pull request #4270 from Baystation12/master
Merge master into Dev
2014-01-11 18:18:03 -08:00
SkyMarshal
350c1500cf Patches some logic holes in ZAS, specifically rebuilding and deletion. Fixes #4273 2014-01-11 11:34:57 -07:00
Ccomp5950
cbcd3d1468 Merge pull request #4265 from SkyMarshal/heatfix
Heatfix
2014-01-10 18:47:53 -08:00
SkyMarshal
9cae391e0e Adds developer-level access to ZAS settings.
Fixes bug which would always let heat move through doors.
2014-01-10 16:48:16 -07:00
SkyMarshal
ccaef844bf Fixes derpiness with ZAS heat transfer. 2014-01-10 16:40:06 -07:00
SkyMarshal
890491da61 Fixes ZAS silliness with SoftDelete 2014-01-10 16:38:08 -07:00
Mloc-Argent
dfe18845be Merge remote-tracking branch 'upstream/dev-freeze' into dev 2014-01-09 17:42:30 +00:00
SkyMarshal
37ec915386 Reverts some geometry code to a functional state.
Fixes #4045
2014-01-08 23:00:11 -07:00
SkyMarshal
8ecfd56540 Some turf cleanup and the like. Trace gases are now properly handled by ZAS on world load.
Fixes #2485
2014-01-08 21:36:03 -07:00
SkyMarshal
81d9483e72 Tweaks the zone rebuilding logic to prevent doors being ignored.
Fixes #4046
2014-01-08 17:47:41 -07:00
SkyMarshal
7531bf6c64 Patched holes in SoftDelete that were causing null reference errors.
Fixes #3892
2014-01-08 17:45:09 -07:00
LBraindead
9e752d7c79 Update Fire.dm
a bit of rebalancing that should fix the eternal-fire bug
2014-01-01 23:19:27 +01:00
Mloc-Argent
33805e639b Implements hooks, an easier way to write code to be called at startup/roundstart/roundend.
Current hooks are "startup", "roundstart", and "roundend".
Most stuff in world/New() has been moved over to the startup hook.
Roundstart and roundend have no hooks yet.

Removed the unused "newbanjob.dm" file and associated verbs/topics.
Bumped RECOMMENDED_VERSION up to 501.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-11-25 21:16:09 +00:00
Nanai
cba1a9585d Medical Hoopery
Added eyes as an internal organ, removed the eye-stat var on mobs and changed it to properly direct it to eye damage. Altered all reference.

Updated the sleeper to allow for ejection of the beakers and occupants in panel.

Updated the body scanner to check for prosthetics/mechanized organs, and inform the individual of the blind disability.

Laid the groundwork for mechanical and assisted internal organs.

Groundwork for chemical: Peridaxon, a chemical that allows for the slow regeneration from organ damage.
2013-11-14 12:40:30 -05:00
Mloc
ad9139304d Merge pull request #3864 from comma/master
VG ZAS Fire stolen
2013-11-03 08:33:03 -08:00
Chinsky
a210c1b613 derp XOR 2013-11-03 20:31:50 +04:00
Chinsky
8274114e47 VG ZAS Fire stolen 2013-11-03 20:28:26 +04:00
Mloc-Argent
593c10d9f5 Fix for trace_gases getting massive and killing the server.
Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-11-02 21:30:44 +00:00
Mloc
2a52e94d18 Hopefully. Hopefully was the key word.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-27 15:50:07 +00:00
Mloc
a1fd865b1a (hopefully) Final fix for ZAS for 0.1.4.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-27 12:08:40 +00:00
Mloc
5234b1394b Moves around some ZAS stuff and fixes some things in FEA gas mixtures.
ShareSpace now can take a gas mixture as an argument, alongside the usual list of tiles.
Three new procs on gas mixtures, add() multiply() and divide().  Self explanatory.
Zones with unsimulated tiles that sleep will now reset themselves to the average air.
assume_air will only add air to sleeping zones with unsimulated tiles if it can wake the zone up.

Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-23 22:04:31 +01:00
Mloc-Argent
24994ec752 Small work on making zones wake up on geometry changes.
Also added sleeping for zones with unsimulated tiles; unfortunately it probably won't happen for ages due to a dichotomy paradox.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
2013-10-13 19:44:12 +01:00
Mloc
c35261f0fd Much better solution to the zone geometry bug.
Adds a unsim_check_directions var to simulated turfs, which is similar in use to air_check_directions but points to unsimulated or space tiles instead of open air tiles.

Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-10 10:25:20 +01:00
Mloc
6466d17736 Fix for ChangeTurf and update_air_properties not handling geometry changes correctly.
Signed-off-by: Mloc <colmohici@gmail.com>
2013-10-09 12:49:50 +01:00
SkyMarshal
8111178b6e Updates the zone-sleeping code to account for turf changes. 2013-10-05 12:38:33 -07:00
SkyMarshal
cffa100caa Reverted both LordBraindead and my own work on firecode back to when it was stable. Fixed some issue with phantom-fires-in-pipes. Removed some useless things left over from FEA. 2013-10-05 00:32:02 -07:00
SkyMarshal
92f389546b Removes the gas mask filtering stuff from gas mixtures. Moved it into the relevant "life" code. 2013-09-11 12:09:23 -07:00
SkyMarshal
add3ed71c0 Added new two-tile hazard door sprites, thanks to Ravensdale, and fixed a derp with the new ZAS sleeping stuff. 2013-09-11 11:43:42 -07:00
SkyMarshal
f76f5ae532 First pass on experimental change that allows zones to "Sleep" 2013-09-11 11:43:42 -07:00
Zuhayr
c7942b7eaf Merge pull request #3651 from SkyMarshal/airfixes
ZAS update, needs testing.
2013-09-07 05:46:04 -07:00
SkyMarshal
9c87960852 Bluh. 2013-09-06 21:11:46 -07:00
SkyMarshal
301de25bae Fixes the not-considering-actual-geometry issue. 2013-09-06 21:07:34 -07:00
SkyMarshal
7d0c1f047a There we go, rebuilding works right now. Also has a slightly bugged verb that demonstrates how the rebuilding works, but you need to somehow prevent a zone from updating for it to show more than one "id" 2013-09-06 21:03:46 -07:00