3543 Commits

Author SHA1 Message Date
Florian Nücke
ed81caa4ac Made call budgets configurable. 2014-10-07 19:15:43 +02:00
Florian Nücke
c9c5c66eb6 Alternative docstring pattern and added note to documentation. 2014-10-07 17:53:45 +02:00
Florian Nücke
09a7dd36bb Fixed robot movement. 2014-10-07 16:36:29 +02:00
Florian Nücke
092bd17a84 Added architecture switching on CPUs by shift-right clicking them.
Fixed an issue with synchronized calls potentially throwing limit reached exceptions.
2014-10-07 15:12:58 +02:00
Florian Nücke
ca68021166 Using item identifier instead of unlocalizedName in item stack converter. 2014-10-07 14:00:39 +02:00
Florian "Sangar" Nücke
af0533ca81 Merge pull request #593 from Mazdallier/patch-1
Update fr_FR.lang
2014-10-07 13:35:17 +02:00
Florian Nücke
98b03b271d Added marker interfaces for computer cases and server racks.
Extended robot marker interface with some more interfaces.
2014-10-07 13:32:51 +02:00
Florian Nücke
520a267275 Added NEI plugin to show component APIs in usage of items and blocks. 2014-10-07 12:18:31 +02:00
Mazdallier
40a9bde2eb Update fr_FR.lang 2014-10-07 11:52:54 +02:00
Florian Nücke
9ae98d54be Added callBudget method to MachineHost, allowing for CPU tier based machine speeds.
Call budget is now per machine, not per component per machine. This leads to potentially more forced synchronized calls, but is overall much more robust and reliable as a limit. In compensation, the fastest machines (T3 CPU) are now slightly faster than what was possible before.
2014-10-06 21:45:01 +02:00
Florian Nücke
45cc1f4259 Fixed keyboard can stay check. 2014-10-06 20:28:09 +02:00
Florian Nücke
62939fd461 Showing indicator for disk activity on disk drives, cases and server racks. 2014-10-06 17:29:13 +02:00
Florian Nücke
4f95b38d02 Added client side event for file system activity. 2014-10-06 15:13:40 +02:00
Florian Nücke
b3862a99d1 Lua-side implementation of getter/setter callbacks. 2014-10-06 14:16:15 +02:00
Florian Nücke
818caae9d0 Added getter/setter properties for callback annotation (not used yet) and cleaned up API some more. 2014-10-06 12:41:02 +02:00
Florian Nücke
34d876fcf9 Made AE2 presence check version specific to avoid log spam when <rv2 is present. 2014-10-05 22:19:48 +02:00
Florian Nücke
0ae9fe9fae Second attempt at fixing #573. 2014-10-05 21:32:53 +02:00
Florian Nücke
de9f8b68b7 Attempt to fix #573. 2014-10-05 20:01:10 +02:00
Florian Nücke
4bc1c725b8 Made slot querying available to Lua and made OpenOS pick primaries based on slot (picking smallest non-negative slot number for same types). 2014-10-05 18:54:46 +02:00
Florian Nücke
99119d2454 Re- re- re- refactoooor. 2014-10-05 18:26:56 +02:00
Florian Nücke
ef3bd0e229 Added parameter for template IMC registration to specify host type. 2014-10-05 18:15:10 +02:00
Florian Nücke
14d23781a6 Some more API refactoring.
Pulled the environment class specific worksWith method out of the item driver again, created new specialization interface for it.
2014-10-05 17:17:45 +02:00
Florian Nücke
7475f04380 Some more refactoring. 2014-10-05 16:39:16 +02:00
Florian Nücke
e35dfb960a Organized imports, splitting up multi imports of the format import pkg.{a, b, c} since those are a pain when merging stuff after imports changed. 2014-10-05 16:25:49 +02:00
Florian Nücke
3841fb4759 Got rid of component.ManagedComponent in favor of dogfooding prefab.ManagedEnvironment. 2014-10-05 16:19:19 +02:00
Florian Nücke
272b9000ff Added priority getter to NamedBlock interface. 2014-10-05 15:17:35 +02:00
Florian Nücke
bc842a150b Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into 1.4 2014-10-05 15:04:00 +02:00
Florian Nücke
28950dd5f4 Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-10-05 15:03:32 +02:00
Florian Nücke
bfa8914ab5 Fixed side check in tile entities failing in rare cases. Closes #590. 2014-10-05 15:02:57 +02:00
Florian Nücke
761058fa64 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into 1.4
Conflicts:
	src/main/scala/li/cil/oc/server/component/DebugCard.scala
2014-10-05 14:24:44 +02:00
Florian Nücke
43f4ccb988 Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10
Conflicts:
	src/main/scala/li/cil/oc/server/component/DebugCard.scala
2014-10-05 14:13:02 +02:00
Florian Nücke
dfc7457e47 Added setting to allow disablng debug card functionality.
Added world getter to player values of debug card.
2014-10-05 13:46:29 +02:00
Florian Nücke
b408f62080 New wcwidth() implementation that uses a plain lookup table based on the unifont.hex file. Closes #591.
This allows use of all characters in the default unifont provided. I doubt there are any custom ones already anyway, but if there are, there is a small chance this will break some chars in those.
This also means that some characters that don't have an associated glyph now render (like 0x23FB), since unifont sneakily provides a small 'image' of the hexadecimal representation of those characters. Custom fonts will therefore also have to provide those as wide chars, but they don't have a reason to replace those anyway, because they're not defined, after all.
2014-10-05 13:33:36 +02:00
Florian Nücke
68e1b48316 Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-10-04 12:35:16 +02:00
Florian Nücke
45f62eeb9b Fixed platform architecture detection. Closes #588. 2014-10-04 12:33:19 +02:00
Florian Nücke
fd42428c53 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into 1.4
Conflicts:
	src/main/resources/assets/opencomputers/lang/zh_CN.lang
	src/main/scala/li/cil/oc/server/machine/luac/OSAPI.scala
	src/main/scala/li/cil/oc/util/LuaStateFactory.scala
2014-10-03 15:04:43 +02:00
Florian Nücke
b0d9c8d056 Merge branch 'master' of github.com:MightyPirates/OpenComponents into MC1.7
Conflicts:
	src/main/java/li/cil/occ/mods/vanilla/DriverInventory.java
2014-10-03 13:19:59 +02:00
Florian Nücke
998e228820 Little experiment to try and make the inventory driver respect permissions on inventories (using a fake player an isUseableByPlayer). 2014-10-03 13:11:41 +02:00
Florian Nücke
69df494977 Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2014-10-02 21:01:46 +02:00
Florian Nücke
a951fa145a Passing on optional parameters in robot API. v1.3.5 2014-10-02 21:01:27 +02:00
Florian Nücke
c57d705e9b Updated CC API. 2014-10-02 20:05:23 +02:00
Florian Nücke
a6a96c4e27 Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10
Conflicts:
	src/main/scala/li/cil/oc/server/component/robot/Robot.scala
2014-10-02 20:01:37 +02:00
Florian Nücke
01e448eddd Merge branch 'master' of github.com:MightyPirates/OpenComputers 2014-10-02 19:55:35 +02:00
Florian Nücke
eb94965142 Repackaging LuaJ and JNLua to avoid conflicts with other mods. Closes #586. 2014-10-02 19:55:19 +02:00
Florian Nücke
b9d6be07b2 Small robot fluid error message fix. 2014-10-02 12:34:15 +02:00
Florian "Sangar" Nücke
fbd4f85d78 Merge pull request #585 from ViKaleidoscope/patch-2
Update zh_CN.lang
2014-10-02 12:11:11 +02:00
Saku
73196affa7 Update zh_CN.lang 2014-10-02 17:25:40 +08:00
Florian Nücke
3727cfd69a Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into 1.4
Conflicts:
	src/main/resources/assets/opencomputers/lang/de_DE.lang
	src/main/resources/assets/opencomputers/lang/en_US.lang
	src/main/scala/li/cil/oc/common/event/ChunkloaderUpgradeHandler.scala
	src/main/scala/li/cil/oc/common/item/Tablet.scala
	src/main/scala/li/cil/oc/common/tileentity/Robot.scala
	src/main/scala/li/cil/oc/common/tileentity/RobotProxy.scala
	src/main/scala/li/cil/oc/util/ExtendedArguments.scala
2014-10-02 02:10:14 +02:00
Florian Nücke
6851a4f970 Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10
Conflicts:
	src/main/scala/li/cil/oc/server/component/robot/Player.scala
2014-10-01 18:37:59 +02:00
Florian Nücke
860130cff2 Fixed check for whether used item has been 'used up' in robots for cases where the stack is replaced by the interact function. Fixes #583. 2014-10-01 18:36:14 +02:00