Florian Nücke
06e0bda2d6
Finalized new robot upgrade rendering implementation.
...
Added rendering for inventory upgrade.
2014-05-30 16:07:15 +02:00
Florian Nücke
d3da20e150
Minor correction in JavaDoc.
2014-05-29 21:32:49 +02:00
Florian Nücke
2eb41614c0
Avoid overshadowing imports.
2014-05-29 20:34:17 +02:00
Florian Nücke
8540f2eed0
Fixed energy glitch in robots carried over from 1.2.
2014-05-29 19:07:33 +02:00
Florian Nücke
fcc0dc85c3
Hide robots in creative tab. They have to be assembled to be useful.
2014-05-29 18:00:23 +02:00
Florian Nücke
3459ff19a2
Nicer disassembler GUI with progress bar.
...
Fixed power consumption in robot assembler and disassembler.
Tweaked energy consumption of the two a bit, too.
Made charger, assembler and disassembler accept power directly.
2014-05-29 16:16:04 +02:00
Florian Nücke
96243ddfc2
Defaulting to OpenOS for loot disks (avoids empty disks if stack is copied directly instead of via the generateChestContent method).
2014-05-28 16:29:17 +02:00
Florian Nücke
137204dea1
Retry setting primaries automatically, mainly to avoid confusion when creation was impossible due to lack of memory.
2014-05-28 16:27:27 +02:00
Florian Nücke
e04d497fe9
Fixed incorrect check leading to components not always being properly initialized before sent to clients.
...
Exposing finishConnect on internet card for those who think they need it.
2014-05-28 16:01:57 +02:00
Florian Nücke
a33df79f4f
Some fixes and improvements to userdata handling.
...
- Ensure to check for userdata in tables.
- Using local table to track userdata by proxy, allowing the use of metatables reducing the memory consumption.
- Ensure to re-use proxies to avoid duplication across save/load and proper behavior for `==`.
2014-05-28 15:12:49 +02:00
Florian Nücke
1ddb6841dd
Removed type from the 'fromComputerCraft' factory methods in the FileSystem API to remove the dependency on the CC API.
2014-05-28 13:13:05 +02:00
Florian Nücke
81268ac186
Made text buffer render callback return whether the contents changed since last call, using that to force update screen GUI size when necessary.
2014-05-28 01:38:19 +02:00
Florian Nücke
a2182c7d8e
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
...
Conflicts:
build.properties
2014-05-27 22:43:43 +02:00
Florian Nücke
82be46c7b8
Fixed the fix...
v1.2.12
2014-05-27 21:19:18 +02:00
Florian Nücke
3fd5fb0944
Instead of two separate methods, introduced Container interface that's passed to item drivers for environment creation.
...
Also used in the FileSystem.asManagedEnvironment methods now.
2014-05-27 17:42:24 +02:00
Florian Nücke
a81697cc22
Fixed \r\n counting as double newline in text.wrap()
2014-05-26 18:37:19 +02:00
Florian Nücke
4d3c0a0bb9
Reworked blacklist/whitelist. Must now contain either the exact domain to blacklist/whitelist or an IP address, optionally in CIDR notation (only for IPv4).
...
Fixed process module being derped since moving it out of the kernel.
Fixed potential NPE in fs componente since components are created client side (because screens).
Added limit for size of stuff requested via HTTP.
2014-05-24 20:12:14 +02:00
Florian Nücke
6853e8c736
Floppy inject/eject sounds in computer case.
...
Hack to make disk access sounds more general (needed because robots now also can have disks *and* hard drives... and t3 cases).
Fixed error if no robot names are present.
Less derpy robot copying (creative mode... stupid creative mode).
2014-05-24 06:08:41 +02:00
Florian Nücke
8e91a49313
Disallow screen and keyboard in upgrade containers, since that's illogical and derpy.
...
Made assembler send progress more often to make progress bar move more smoothly.
2014-05-24 03:23:58 +02:00
Florian Nücke
e77b6e5b24
Added capacitor upgrade.
...
No longer autoflushing connector buffer on disconnect, only done for tile entities (allows capacitor upgrade to save its charge).
2014-05-24 00:35:39 +02:00
Florian Nücke
ddd8e18aef
Fixed robot energy storage somewhat.
...
Improved picking of robots (avoid duplicate component ids).
2014-05-23 18:55:19 +02:00
Florian Nücke
e443205eac
Fixed component reorganization on inventory resize.
2014-05-23 15:49:53 +02:00
Florian Nücke
7ccf3ef645
Revert "Made simple components default to neighbor visibility, added extended interface to additional control over visibility (while keeping it simple)."
...
This reverts commit 299860e1ab1b7bc2932bb9aade2964eb8212041a.
2014-05-23 14:31:16 +02:00
Florian Nücke
7580289af0
Calling update method on items in robot inventory. This allows stuff like autorepair on tinker tools to work, for example.
...
Added damage handler for tinker tools.
2014-05-23 14:24:17 +02:00
Florian Nücke
fae12c980f
Shift-rightclicking screen with keyboard will trigger a touch signal instead of doing nothing.
2014-05-23 13:41:28 +02:00
Florian Nücke
0c6584411f
Progress info (percent + remaining time) as progress bar tooltip in robot assembler.
2014-05-23 13:28:26 +02:00
Florian Nücke
68b9cc17c4
Inventory scrolling robot GUI.
...
Limiting maximum inventory space in robots (regardless of number of upgrades) to 64.
2014-05-23 04:17:19 +02:00
Florian Nücke
dd28370487
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
2014-05-22 22:51:48 +02:00
Florian Nücke
3913cf3fdc
Fixed filesystem module misbehaving when no fs is mounted at root level.
v1.2.11
2014-05-22 22:43:36 +02:00
Florian Nücke
c9938d9d8d
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
...
Conflicts:
build.properties
src/main/scala/li/cil/oc/client/renderer/tileentity/ScreenRenderer.scala
src/main/scala/li/cil/oc/common/tileentity/Screen.scala
2014-05-22 22:42:02 +02:00
Florian Nücke
5fb147e58c
Version bump.
...
Added Photoshop files with block and item textures (mostly as backup, but some people might find them useful as a basis for their own textures or for re-texturing OC).
2014-05-22 21:15:29 +02:00
Florian Nücke
31ed1efb31
Checking for actual contents when computing screen fill rate and using it to determine whether to even try to render the screen contents or not.
2014-05-22 18:33:28 +02:00
Florian Nücke
8c6af2f8d5
Corrected a trait name in class transformer (yay refactoring).
...
Keyboards behave the same visually as logically. Leads to ugly cable rendering nearby (connecting to thin air) but avoids movement glitches. Closes #264 .
2014-05-22 17:45:53 +02:00
Florian Nücke
0218929bc1
Adjusted chunkloader upgrade texture.
2014-05-22 17:41:05 +02:00
Florian Nücke
2630b32474
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
2014-05-21 14:22:47 +02:00
Florian Nücke
c2b7ce740c
Added check to ensure methods that have to be added by the class transformer are not made final in a superclass.
2014-05-21 12:40:52 +02:00
Florian Nücke
4023942d5d
Less magic numbers.
...
Basic chunk loader upgrade implementation, still needs testing.
2014-05-21 06:41:42 +02:00
Florian Nücke
bff2da757b
Added op command to enable/disable wireless r-tree rendering for debugging.
...
Using robot move command to update wireless network cards in r-tree instead of polling position in update.
2014-05-20 18:07:15 +02:00
Florian Nücke
4e9efca258
Minor cleanup.
2014-05-20 16:24:59 +02:00
Florian Nücke
9225d8b01e
Increased likelyhood to find dig program.
2014-05-20 16:09:01 +02:00
Florian Nücke
d7143f5ff7
Cleaned up inventory util class some.
...
Added upgrade to allow choosing slot robot drops into / sucks from and change its equipped tool.
Fixed formatting bug in tooltip code, realized most of the code was unneeded because the font renderer can do it -.-
2014-05-20 16:00:04 +02:00
Florian Nücke
c28cfa69fc
Disassembler won't return buckets in recipes anymore.
2014-05-20 00:46:14 +02:00
Florian Nücke
e22cec01e6
Allow specifying a texture font's char size in the text file defining the characters in the texture. Also loading said text file via MC's resource system which should make it replaceable using resource packs. Probably.
2014-05-20 00:12:55 +02:00
Florian Nücke
299860e1ab
Made simple components default to neighbor visibility, added extended interface to additional control over visibility (while keeping it simple).
...
Adapter now acts as a ... booster for simple components with visibility == neighbors.
2014-05-19 18:29:25 +02:00
Florian Nücke
02bdcce0f6
Fixed NPE in disassembler.
2014-05-19 11:25:25 +02:00
Florian Nücke
3c355c21ea
Disassembler now works for navigation upgrade, too.
2014-05-19 10:54:31 +02:00
Florian Nücke
5f5a55357d
More work on disassembler.
2014-05-19 10:10:15 +02:00
Florian Nücke
9cd5518d9a
General underpery and started work on disassembler.
2014-05-18 19:53:34 +02:00
Florian Nücke
c3bdbefc46
Make sure to register oredict entries after item registration, confuses some mods otherwise.
2014-05-18 01:06:48 +02:00
Florian Nücke
28a3f54f89
Made angel upgrade use an event.
...
Added missing recomputation trigger for RAM and component counts.
2014-05-17 19:06:39 +02:00