3810 Commits

Author SHA1 Message Date
Florian Nücke
d2b51db61d Storing and restoring OpenGL attribs in robot renderer.
May help with some things rendering incorrectly if rendered after the robot, otherwise. Possibly.
2015-05-02 14:05:22 +02:00
Florian Nücke
c5eec99d75 Allow experience upgrade to consume bottles of enchanting and enchanted items for experience.
Kind of a late implementation for #129 :P
2015-05-01 22:44:05 +02:00
Florian Nücke
208c5b65e4 Added note in tooltip of microcontroller (and robot while at it) that they cannot connect to external components.
Should hopefully save people some head-scratching in the future.
Could have sworn the tooltip said that already, but was only the robot. Oh well!
2015-05-01 16:47:22 +02:00
Florian Nücke
b2dfdd25ee Don't initialize BluePower integration if present version is too old. Closes #1114.
Yay for API changes that are not reflected in minor/major version numbers \o/
2015-05-01 15:04:12 +02:00
Florian Nücke
e028924d61 Added -x option to cp.lua to allow not copying mounts, used in install.lua to avoid recursively copying target mount to itself.
Fixed deobf build shipping parts of the Railcraft API... sometimes Gradle confuses me greatly.
2015-05-01 12:16:55 +02:00
Florian Nücke
19afcabb7f Fixed piping broken in previous commit, also improved it a little.
Also make yes.lua handle closed output stream instead of bubbling the error (e.g. when program it pipes to finishes).
2015-05-01 11:51:06 +02:00
Florian Nücke
d77bc3d3d7 Added -u flag to cp.lua, added -u flag to install.lua. Closes #1092.
Run `/mnt/???/bin/install.lua -u` to update OpenOS more comfortably now, asks for each changed file, to avoid blindly overwriting user-changed files.
Made install.lua a bit more clever, looking for an actual mount point for an address, not blindly hoping that `/mnt/(first three chars of address)` exists. Also made it use the cp.lua on its own file system (since that's needed for updating the first time, e.g.).
2015-05-01 10:46:13 +02:00
Florian Nücke
a4214910c4 Some print->io.write. 2015-05-01 10:08:20 +02:00
Florian Nücke
cf89399cb5 Fixed derp in previous commit >_> 2015-04-30 13:33:25 +02:00
Florian Nücke
76b015c308 Fixed redstone input computation. 2015-04-30 13:27:34 +02:00
Florian Nücke
1e642a0a24 Added fallback beeping when failing to generate tones, using MC note sound. Closes #1023.
May not work, and some nuance is lost (beep length), but it's still better than nothing.
2015-04-30 12:23:04 +02:00
Florian Nücke
7d69f996cb Added handling for OOM errors when allocating hologram rendering data. Closes #1105. 2015-04-30 11:44:47 +02:00
Florian Nücke
d5f1280fc9 Added beep(short, short) and beep(String) to the Machine interface. Closes #1112.
Allows architectures (and components or anything else for that matter) to play custom tones and beep patterns.
2015-04-30 11:33:13 +02:00
Florian Nücke
495f341181 Make safe subset of debug.getinfo available in sandbox. Closes #1110. 2015-04-30 11:18:19 +02:00
Florian Nücke
2b0da714c7 Merge branch 'master-MC1.7.10' of https://github.com/Kubuxu/OpenComputers into master-MC1.7.10 2015-04-29 22:23:28 +02:00
Kubuxu
4c4051540b Make dmesg use new event capabilities. 2015-04-29 18:38:03 +02:00
Florian Nücke
f78d5a4277 Fixed potential log spam in disassembler. Closes #1107. 2015-04-29 18:24:42 +02:00
Kubuxu
4a036f89e3 Implement event.pullMultiple and event.pullFiltered 2015-04-29 18:20:29 +02:00
Florian Nücke
8b149e1df6 Merge branch 'RU_doc' of https://github.com/cyber01/OpenComputers into master-MC1.7.10 2015-04-29 16:19:37 +02:00
Florian Nücke
cb704dab33 Basic integration for IGWMod, providing manual pages for blocks and items. 2015-04-29 16:19:08 +02:00
Florian Nücke
15cc9a7146 Caching redstone devices for bluepower. 2015-04-29 16:18:21 +02:00
Florian Nücke
2886fdcd4d Reworked redstone logic to make it more modular. 2015-04-27 21:16:41 +02:00
Florian Nücke
4956271d62 Added support for BluePower's bundled redstone system. Closes #1103. 2015-04-27 20:34:47 +02:00
cyber01
a30f2d1295 Corrected mistakes 2015-04-27 19:04:05 +03:00
cyber01
6c85fd8e10 Added waypoint. Corrected mistakes 2015-04-27 19:01:39 +03:00
Florian Nücke
e547c877d2 Closing waypoint GUI when confirming new label. 2015-04-26 17:56:35 +02:00
Florian Nücke
0e995faa8a Mentioning waypoint in nav upgrade's manual entry. 2015-04-26 17:54:09 +02:00
Florian Nücke
5672cf8dc8 Added waypoint block, can be queried using navigation upgrades.
Fixed drones losing their name when changing their EEPROM.
2015-04-26 16:24:40 +02:00
Florian Nücke
226fa52315 Blacklisting hover upgrade in non-robot devices. 2015-04-25 23:42:19 +02:00
Florian Nücke
e6fca46ccc Merge branch 'patch-1' of https://github.com/Mstrodl/OpenComputers into master-MC1.7.10 2015-04-25 23:39:42 +02:00
Florian Nücke
01f63f7e90 Added hover upgrade to allow increasing robot flight height (tier two allows unlimited flight height, like it was in the olden days). 2015-04-25 23:39:04 +02:00
Florian Nücke
da7a5c6eb8 Fixed charger if power use is disabled. 2015-04-24 17:38:18 +02:00
Florian Nücke
69ee8263e5 Spawning OpenOS floppy in creative tablets in its container upgrade now. 2015-04-24 17:22:58 +02:00
Florian Nücke
62e54377b6 Made charger more generic to allow charging addon items. Also allow charging battery upgrades in the charger now.
Specifically, added `Chargeable` interface that can be implemented on items. This is what's used to actually charge items. This way the charger is also to (very slowly) charge items from other mods; built-in integration for now is for IEnergyContainerItem (CoFH) and IElectricItem (IC2).
Addon items can also provide an environment to be connected to the charger's network by providing an item driver that generates such an environment and has the slot type `Tablet`.
2015-04-24 17:22:24 +02:00
Florian Nücke
043548e78e Removed broken workaround for not progressing robot hover animation when game is paused. Closes #1101.
Because the bug in Mystcraft the workaround was required for in the first place has been fixed. \o/
2015-04-23 21:37:49 +02:00
Florian Nücke
d52ed578b7 Add mount point name to mount point class.
Allow template's assemble to return a `Number`, not only `Double`s.
2015-04-23 18:54:12 +02:00
Florian Nücke
fef2784141 Seems like implementing a SideOnly interface makes the whole class SideOnly, instead of just stripping the interface... oh well. Closes #1098. 2015-04-23 10:15:24 +02:00
Florian Nücke
1528a6ee24 Scratch that and let's do it again. Might silence the voices in my head (aka @Vexatos).
Changed robot upgrade rendering to allow being picky. A bit more overhead, but hey, what's a few sets among friends?
2015-04-22 23:26:41 +02:00
Florian Nücke
fda54f2f6f All right then, have a few methods to allow influencing which mount point to render your upgrades in. 2015-04-22 18:42:50 +02:00
Florian Nücke
9ac38ad1b2 Changed the way upgrades on robots are rendered, now using an interface on items instead of item renderer. Closes #1038.
More flexible and should also work in MC1.8...
2015-04-22 17:47:34 +02:00
Florian Nücke
20239780e1 Extended file system API to allow specifying a speed multiplier for file systems.
For now, valid range is [1,6]. Floppies use 1, HDDs use 2-4, Raid is 6.
Deprecated some internal FileSystem interface methods to allow simplifying the interface a bit when the time comes.
Let's hope nobody is shipping the API \o/
2015-04-22 15:21:43 +02:00
Florian Nücke
fa36908170 Allow using glowstone block to increase prints light level faster.
Block increases light level by 4, dust by 1 as before.
2015-04-22 12:58:58 +02:00
Florian Nücke
7207606960 Merge remote-tracking branch 'remotes/origin/updated_recipes' into master-MC1.7.10 2015-04-22 12:53:09 +02:00
Florian Nücke
57714dad27 Fixed ls -l in pure io mode. 2015-04-22 11:38:09 +02:00
Florian Nücke
4f70ea4152 Bump version number. 2015-04-22 11:22:33 +02:00
Florian Nücke
76172d0dfb Made env variables local (i.e. os.getenv/setenv will operate per process now), to avoid programs running in parallel (via piping) to interfere.
Copying env vars from last process to shell's env to avoid breaking compat. (cd.lua will still work that way, e.g.)
Closes #634.
2015-04-22 11:22:14 +02:00
Florian Nücke
6377a5824f sh.lua absorbed besh.lua's piping mechanics. RIP besh. 2015-04-22 10:43:34 +02:00
Florian Nücke
33bf52ae94 Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.7.10 2015-04-21 14:03:49 +02:00
Florian Nücke
6a811b6471 Fix oc_at.cfg in obf environment. 2015-04-21 14:03:15 +02:00
Florian "Sangar" Nücke
0b000b75bf Merge pull request #1095 from mpmxyz/patch-2
Fix: standard io streams being closable
2015-04-21 13:31:52 +02:00