Changes

Summary

  1. Adjusted Shift code to support Phantom slots (commit: 0a18ae3) (details)
  2. Transactor Optimization (commit: e342084) (details)
Commit 0a18ae34ff13d25f28cae204717f48a13a26f774 by CovertJaguar
Adjusted Shift code to support Phantom slots

Yes, this also was stolen from Railcraft. Its also much more robust than
the code BC was using.
(commit: 0a18ae3)
The file was removedcommon/buildcraft/core/inventory/TransactorVanillaSided.java
The file was modifiedbuildcraft_resources/lang/buildcraft/en_US.properties (diff)
The file was removedcommon/buildcraft/core/inventory/TransactorForgeSided.java
The file was modifiedcommon/buildcraft/core/gui/BuildCraftContainer.java (diff)
Commit e3420842feff347b617176b8c808e460e87df795 by CovertJaguar
Transactor Optimization

It was an O(n^2) operation to insert an item. Now its just O(n). The
functions for checking to see if a stack is valid in a slot are
expensive and should never be called more than once per slot, let alone
n^2 times (where n is the length of the inventory).

Additionally, by wrapping inventory in a slot iterator, I was able to
eliminate the need to handle FSided and VSided differently from
IInventory.
(commit: e342084)
The file was addedcommon/buildcraft/core/inventory/InventoryIterator.java
The file was addedcommon/buildcraft/core/inventory/InventoryIteratorSided.java
The file was modifiedcommon/buildcraft/core/inventory/TransactorSimple.java (diff)
The file was modifiedcommon/buildcraft/core/inventory/TransactorRoundRobin.java (diff)
The file was modifiedcommon/buildcraft/core/inventory/Transactor.java (diff)
The file was addedcommon/buildcraft/core/inventory/InventoryIteratorSimple.java
The file was modifiedcommon/buildcraft/core/inventory/InventoryWrapperSimple.java (diff)