Commit Graph

6 Commits

Author SHA1 Message Date
Mykhailo Bykhovtsev
94f215c014 Fixing Z level cable update and substations (#5937)
Oh boi, this one is a tiny in terms of lines, yet a huge impact. It absolutely solves problem with powernet bug of cables not updating through Z levels properly. Spend lots of time and especially intellectual effort to debug this thing and finally comparing Bay's code and debugging ours showed that lines 359 and 364 should be power_list(T, src, 12) because that stands for marked and we have unmarked cables.

Fixes Z level update of cables, now it updates them properly. So the substations work. Fixes #5165 , Fixes #5883 , Fixes #5655

Fixes mapping of cables

Increases charge of runtime SMES

Adds Z powernet to runtime levels for debug and tests

Adds Z level supply pipes and vents for debugging and tests
2019-01-14 10:55:46 +02:00
Mykhailo Bykhovtsev
21cbff31d4 SMES and APC update (#5578)
SMES now show how much of input they receive

SMES and APC estimates how much time it will take to deplete it.

Runtime map now uses its SMES, and it is wired to TEG's

Added Stack and Queue data structures for use
2018-12-05 15:43:10 +02:00
Lohikar
b4fdd35a1e MZ Fixes (#4936)
changes:

Fixes a regression in GetAbove/GetBelow() that caused passing an atom that wasn't directly on the map to return a false negative.
Fixes runtime's broken Z1 MZ by moving it to Z2.
Fixes some outdated Z-level defines on Runtime.
Moves z_levels global to SSatlas for easier debugging.
Atlas will now list the size of the world in its MC entry.
Map diffs are fucked up because of the index shift, nothing on the maps themselves was actually changed beyond adding a blank Z at the bottom.

Fixes #4692.
2018-06-26 23:16:23 +03:00
Lohikar
ef7bf447a3 Make runtime sort of multiz (#4064) 2018-01-07 11:22:04 +02:00
Lohikar
61b5203d24 Runtime Map Loading (#3597)
changes:

Maps are no longer compiled in, instead loaded directly from the DMMs at runtime.
Z level defines have been moved from the config to map datums.
Unit tests now use typecaches.
DMMS now actually works.
DMMS has been updated slightly.
DMMS is now capable of loading simple lists of non-text types.
DMMS is now faster when loading many types without mapped in attributes and when loading area instances.
Asteroid generation is now defined on the map datum instead of being hard-coded in SSasteroid.
Holodeck presets are now defined on the map datum.
Atmos machinery now uses Initialize().
2017-10-18 23:07:34 +03:00
Lohikar
4ed82ce486 Add Runtime Station (#3350)
Ports Runtime Station from /tg/, a debugging map meant to speed up boot time during development.
Also adds RTGs, a low-output (< 10 kW) upgradable buildable infinite power source, and allows placement of cables on catwalks.
2017-08-29 12:39:35 -05:00