1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-29 00:23:23 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/shared/peripheral
SquidDev 62cf921cc6 Allow modems to handle being attached to multiple computers
- Introduce a ModemState, which shares the open channels across all
   modem instances of a wired modem.
 - Keep a set of computers for all modem peripherals.
 - Keep a map of computers -> (string, peripheral) for wired modem
   peripherals. We shouldn't need this one, as you cannot attach one
   modem to another, but it's good to be consistent.

One major change here is that modems will continue to be "on", even if
no computers are attached. This would substantially increase
implementation complexity, so I think this is an acceptable compromise
for now.

Should fix #74
2018-11-17 11:52:12 +00:00
..
commandblock Java 8. Java 8. Does whatever Java 8 can. 2017-07-25 21:10:48 +01:00
common Attempt to cut out a lot of synchronized calls 2018-08-25 21:17:48 +01:00
diskdrive Attempt to cut out a lot of synchronized calls 2018-08-25 21:17:48 +01:00
modem Allow modems to handle being attached to multiple computers 2018-11-17 11:52:12 +00:00
monitor Merge pull request #577 from SquidDev-CC/ComputerCraft/feature/get-blink 2018-09-28 16:23:00 +01:00
printer Attempt to cut out a lot of synchronized calls 2018-08-25 21:17:48 +01:00
speaker Clamp the volume for all sounds, rather than just notes 2018-10-12 12:05:31 +01:00
PeripheralType.java Add full block wired modems 2018-02-21 15:40:08 +00:00