1469 Commits

Author SHA1 Message Date
Florian Nücke
f79287e81e Made the palette indicator returned by gpu.setForeground/setBackground as well as gpu.get the actual index or nil instead of true/false. 2014-06-09 16:56:35 +02:00
Florian Nücke
67b4ebf39d Looking palette of t3 gpu/screen when setting simple color for better matches. Closes #292. 2014-06-09 16:13:48 +02:00
Florian Nücke
8f969e5a64 Spaces. 2014-06-09 13:56:57 +02:00
Florian Nücke
b21df2462c Merge git://github.com/gamax92/OpenComputers 2014-06-09 13:55:15 +02:00
Florian Nücke
12ae22eb30 Updated native lib with a couple of bugfixes (for Windows for now, others will be recompiled and updated after it's confirmed that the fixes actually work). 2014-06-08 23:45:11 +02:00
gamax92
7d2e1c77fb Reduce memory usage 2014-06-08 11:34:14 -06:00
Florian Nücke
ac811de85d More palette index checks to avoid getting into a derpy state. 2014-06-06 13:15:32 +02:00
Florian Nücke
bc202641e8 Throwing an actual error back to Lua if palette index is invalid (instead of returning nil, message). 2014-06-06 12:48:49 +02:00
Florian Nücke
1eae552aeb Added setting for hologram render distance.
Added some settings for easier debugging.
Minor refactoring.
2014-06-05 23:14:53 +02:00
Florian Nücke
fdf0f8f2bc Import cleanup. 2014-06-04 22:53:10 +02:00
Florian Nücke
55b5041149 The copy-paste strikes again. 2014-06-04 22:42:54 +02:00
Florian Nücke
254f48c208 Fixed abstract bus card recipe.
Fixed array converter.
2014-06-04 22:25:28 +02:00
Florian Nücke
0e6963d3d9 Added scan method for abstract bus. 2014-06-04 20:46:50 +02:00
Florian Nücke
d55343116a Updated SGT2 API. 2014-06-04 20:28:15 +02:00
Florian Nücke
f123a41d2d Added screen.getKeyboards() to allow listing keyboards attached to a screen.
Generating new random key for special persistence whenever a computer is started, making it pretty much impossible for users to inject custom code into the persistence logic.
Fixed font texture.
2014-06-04 20:09:02 +02:00
Florian Nücke
dca93b0627 Got rid of the 'magic pixel' in the font texture. 2014-06-04 19:05:59 +02:00
Florian Nücke
9b15478e14 Made HTTP requests not use userdata, instead the handle it returns can now be used the same way as sockets (except it can't be written to).
Disabled userdata for the time being, looks like it will need some major time investment to track down that crash...
Removed active GC before resuming states, since that could cause execution of user code (__gc metamethod), and sandboxed __gc metamethod some more.
2014-06-04 18:55:41 +02:00
Florian Nücke
cb5a83ebbe Fixed pure userdata being left on the stack during synchronized calls, potentially leading to unpersistable states. 2014-06-04 14:55:20 +02:00
Florian Nücke
cb69a4b386 Fixed blacklist not working when empty (because, exists is true if the list is empty...) 2014-06-04 12:58:26 +02:00
Florian Nücke
4931f8e84a Fixed access to client-only method in screen click logic. 2014-06-03 22:21:10 +02:00
Florian Nücke
8642a4a559 Another go at fixing that native crash, better luck this time? 2014-06-03 20:58:10 +02:00
Florian Nücke
7cc239ebe3 Fixed LuaJ fallback.
Fixed boot address not being saved.
2014-06-03 17:36:21 +02:00
Florian Nücke
9991f4a5fc Should fix crash in native lib by avoiding the crashing JNLua metacall.
Rendering floppy labels on the floppy in the inventory.
2014-06-03 16:58:11 +02:00
Florian Nücke
d99bc5815c Forcing updates on light emitting blocks occasionally (every 2 seconds) to properly update lighting because MC's lighting needs to see a doctor. 2014-06-02 17:56:34 +02:00
Florian Nücke
1aa4eea798 Merge pull request #282 from Kodos-Atoz/patch-1
Update robot.names
2014-06-02 17:53:13 +02:00
Kodos Atoz
350f0f9c85 Update robot.names
Added Crypto.  And Kodos, because hey why not.
2014-06-02 10:48:26 -05:00
Florian Nücke
09cabc902d Added simple schematic builder program. 2014-06-02 14:10:46 +02:00
Florian Nücke
3546e4a846 Fixed items being placeable in disabled container slots in robot inventory. 2014-06-02 13:25:25 +02:00
Florian Nücke
faa314f790 Fixed AIOOB in robot inventory size computation. 2014-06-02 13:17:07 +02:00
Florian Nücke
07755515de Added support for recursive conversion (i.e. converters can push values that need to be converted again, such as item stacks) and support for pushing cyclic maps / lists. Closes #278. 2014-06-02 00:24:48 +02:00
Florian Nücke
6f3f9cc260 Fixes small creatures (e.g. chickens) taking damage standing on hologram projectors. Because the size was evil. Or something. I don't even. #lolwatminecraft 2014-06-01 20:50:53 +02:00
Florian Nücke
1743968924 Fixed Waila support for screens. 2014-06-01 20:30:20 +02:00
Florian Nücke
83debc3288 Added warning icon when trying to type on a screen without a keyboard (mostly for robots). 2014-06-01 19:27:13 +02:00
Florian Nücke
403f1ffbd2 Showing reduced (screen-less) GUI for robots without screens built into them. 2014-06-01 18:20:11 +02:00
Florian Nücke
f9e1f6f1f5 Requiring a CPU and RAM in robot before allowing it to be assembled. 2014-06-01 17:32:07 +02:00
Florian Nücke
b3991c25ba Fixed http request persistence.
Fixed repeated userdata persistence.
Fixed internet.request not blocking when no data was available.
2014-05-31 16:46:04 +02:00
Florian Nücke
6174673447 Fixed items being replaced when used not being handled properly in robots (e.g. buckets), closes #279. 2014-05-31 02:51:40 +02:00
Florian Nücke
4c39ee547c Fixed screen resolution changes not being applied to the GUI without re-opening it. 2014-05-31 01:45:33 +02:00
Florian Nücke
22d020004c Bind GPU to screen in kernel, to allow boot errors to show up on the screen before an OS binds it.
Set resolution and depth to max in GPU's crash display (bluescreen).
2014-05-31 01:02:42 +02:00
Florian Nücke
6ef0e5d26c Fixed case tier not being set when assembling robots (leading to always getting a tier 1 case when disassembling). 2014-05-31 00:38:48 +02:00
Florian Nücke
46394bcef1 Fixed breaking / unloading robots crashing on servers. 2014-05-31 00:29:39 +02:00
Florian Nücke
1c115d9139 Some more fixes. 2014-05-30 17:00:22 +02:00
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