Florian Nücke
dae9c15a0a
Introduced tiers to robot upgrades.
...
Starting on robot assembler block.
2014-05-11 22:56:04 +02:00
Florian Nücke
0b47150e4b
Merge pull request #250 from SpiritedDusty/patch-3
...
fixes #249
2014-05-07 16:28:44 +02:00
SpiritedDusty
ccacfc430a
fixes #249
2014-05-06 20:11:06 -07:00
Florian Nücke
f2798786c0
Started to modularize robots, making experience an upgrade and introducing a bunch of events.
2014-05-07 03:43:23 +02:00
Florian Nücke
9264d3c3d0
Documented new API some more.
...
Fixed values returned from gpu.get.
Added parameter for vertical gpu.set.
2014-05-06 11:40:11 +02:00
Florian Nücke
e7c7ad31e6
Massive refactoring and redesign of how screens work, adding them to the API to allow re-use... to my huge surprise it seems to actually work so far. Rendering and some other parts will need some cleanup now.
...
Added environment creation method to item drivers that takes an entity instead of a tile entity, which might at some point be used for entity-based computers (e.g. more advanced robots, portable computers, ...)
Removed gpu.getSize, added screen.getAspectRatio.
I'm kind of afraid of merging this into the 1.7 branch... conflicts ahoy.
2014-05-05 21:45:48 +02:00
Florian Nücke
6d8e5dd841
Merge pull request #246 from bananagram/patch-1
...
Fix a typo in the wget usage summary.
2014-05-05 12:53:40 +02:00
bananagram
25ed64221a
Fix a typo in the usage summary
2014-05-04 19:03:39 -05:00
Florian Nücke
859716b77c
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
2014-05-02 13:34:36 +02:00
Florian Nücke
867f602183
Minor refactoring.
2014-05-02 13:25:55 +02:00
Florian Nücke
e1eaeb0e60
Made driver lookup available in the API.
2014-05-02 13:17:16 +02:00
Florian Nücke
2cea730d3d
Added Geolyzer block, returns hardness of blocks in a segment of a column of blocks per scan. Useful for generating holograms of the world and detecting minerals.
...
Some cleanup and refactoring.
2014-05-02 00:47:13 +02:00
Florian Nücke
e82f3af04d
Finished Linked Card implementation (point-to-point unlimited but energy extensive communication, including across dimensions).
...
Some changes to crafting, introducing custom recipe class to perform changes to crafted items (setting NBT data), because the crafting handler is not supposed to be used that way, apparently. WARNING: Breaks navigation upgrades!
Added size getter to network packets.
2014-05-01 21:24:51 +02:00
Florian Nücke
366fb98b10
Merge pull request #243 from Vexatos/patch-4
...
Created `note` API to allow note name based use of `computer.beep()`.
2014-04-30 17:59:29 +02:00
Vexatos
9dc2d2833b
Update note.lua
2014-04-30 17:57:08 +02:00
Vexatos
9de638e884
Some tweaks
2014-04-30 17:50:26 +02:00
Vexatos
20c1c1ac0a
Created note API
...
Functionality:
* `note.midi(n: number or string)`: Converts a note in string form (e.g. A#4 or Gb3, will be documented on the wiki) or a given frequency into the respective MIDI code
* `note.freq(n: number or string)`: Converts a note in string form (e.g. A#4) or a given MIDI code into the respective frequency
* `note.get(n: number)`: Converts a MIDI value back into a string; if you have a frequency to convert, just use note.get(note.midi(frequency))
* `note.ticks(n: number)`: Converts note block ticks (0-24) into MIDI code (34-58, respectively) and vice-versa. Useful for use with note blocks and OpenComponents
* `note.play(tone: string or number,duration: number)`: Plays a note from a string or MIDI code via computer.beep
2014-04-30 17:28:15 +02:00
Florian Nücke
6579c19e29
Cleaned up Items class - a lot. Mainly thanks to dogfooding the new Items API now.
...
Changed many OreDict entry names to be simpler and more consistent, adjusted recipes, hopefully didn't miss anything. Who am I kidding. Surely missed something.
Cleaned up blocks a little, too. Not that much, yet, because direct access is still needed by renderers for textures.
2014-04-30 16:25:53 +02:00
Florian Nücke
bb7dd9e966
Merge branch 'master' of github.com:MightyPirates/OpenComputers
v1.2.9
2014-04-30 12:54:27 +02:00
Florian Nücke
09911a8d2d
Bumping version number for MC1.7 hotfix, to keep version numbers synchronized.
2014-04-30 12:54:01 +02:00
Florian Nücke
bbff237d9d
Merge pull request #240 from Techokami/master
...
Further improved irc.lua, better display for actions, computer.beep() when nick is mentioned.
2014-04-29 21:13:03 +02:00
Techokami
1e3e0db7ce
More irc.lua cleanup
...
OC doesn't like to render tabs! Use spaces instead :)
2014-04-29 15:08:17 -04:00
Techokami
3090f95a11
Further improved irc.lua
...
Proper displaying of /me commands, and audio notification if your name
is said in chat (using the computer.beep() command)
2014-04-29 14:57:33 -04:00
Florian Nücke
b1cab2e35c
Tier two hologram with tricolor display (defaults to red, green, blue, can be changed individually).
...
Changed the looks of the hologram block a little.
Broke backwards compatibility in the hologram API, makes it more easily usable and was more or less required for colors anyway.
2014-04-29 17:50:41 +02:00
Florian Nücke
1694c10dfb
Some more work on userdata, allowing @Callback annotations and such, following same calling conventions as components.
...
Made internet card's HTTP request return a userdata value that wraps the request and can be polled using read().
2014-04-28 20:27:53 +02:00
Florian Nücke
17c31591dd
Adjusted default palette for 4 bit so that component.gpu.setForeground(colors.green, true) works as expected.
...
Fixed some scripts setting colors not saving the palette flag of the old color.
2014-04-28 14:17:57 +02:00
Florian Nücke
31ad516c25
Palette fixes and making the palette mutable (can set palette colors from Lua).
2014-04-28 14:04:13 +02:00
Florian Nücke
e0b35d4729
Basic implementation for new color system (6x8x5 for 8 bit, 16 grayscale palette, pure 16 color palette for 4 bit).
2014-04-28 03:38:49 +02:00
Christopher Trumbour
ed9c9f7a2c
Merge pull request #2 from MightyPirates/master
...
Syncronization
2014-04-27 19:24:34 -04:00
Florian Nücke
f36835511a
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
2014-04-28 00:24:23 +02:00
Florian Nücke
3b10f7d6f7
Fixed incorrect result for %I in os.date. Closes #238 .
v1.2.8
2014-04-28 00:21:46 +02:00
Florian Nücke
416735e32c
New API for fetching items and blocks provided by OpenComputers, abstracting things away a bit more and making it more easily extendable.
2014-04-27 21:05:25 +02:00
Florian Nücke
05c63c6a8d
Removed deprecated method from API.
2014-04-27 19:09:11 +02:00
Florian Nücke
2fd08248b4
Merge branch 'master' of github.com:MightyPirates/OpenComputers into one-three
...
Conflicts:
src/main/resources/assets/opencomputers/lua/kernel.lua
src/main/scala/li/cil/oc/server/component/machine/LuaJLuaArchitecture.scala
src/main/scala/li/cil/oc/server/component/machine/NativeLuaArchitecture.scala
2014-04-27 18:52:10 +02:00
Florian Nücke
0bf212f731
Fixed placement of blocks when using the angle upgrade near water(like) blocks. Closes #235 .
...
Fixed potential error when saving buffered filesystems, introduced with properly seekable file handles.
Robots now make a 'splash' noise when moving through water/fluids, instead of a block breaking one.
2014-04-26 20:26:01 +02:00
Florian Nücke
6a5d139130
Added (as of yet untested!) native library for FreeBSD.
2014-04-26 01:55:15 +02:00
Florian Nücke
4809a336c7
Screens of the same tier will now only form a multi-block screen if they are dyed in the same color. Closes #231 .
2014-04-25 15:59:15 +02:00
Florian Nücke
54cc679c37
Make shell stop parsing options at --
.
2014-04-25 15:45:14 +02:00
Florian Nücke
9d87cdbcb4
Merge pull request #233 from gamax92/master
...
Modify option parsing to ignore - and --, add support for equal sign
2014-04-25 15:08:11 +02:00
Florian Nücke
9b00d73abf
Nerfed tier one server a bit but buffed tier two and three servers by making them have 3 and 4 card slots, respectively. Closes #133 .
2014-04-25 15:04:13 +02:00
Robert Gadzerfraud
501e82411d
convert indentation to spaces
2014-04-24 18:39:27 -06:00
Robert Gadzerfraud
9afeb024d1
Modify option parsing to ignore - and --, add support for equal sign
2014-04-24 18:37:37 -06:00
Florian Nücke
30106ba4f5
Simplified OpenAL stuff for computer speaker a little (less get(0)).
2014-04-24 22:53:15 +02:00
Florian Nücke
23b3590c46
Merge pull request #232 from Wobbo/master
...
Small fixes to make besh work again
2014-04-24 22:08:29 +02:00
Wobbo
70faea9516
Small fixes to make besh work again
2014-04-24 22:06:10 +02:00
Florian Nücke
d5bd34b76d
Merge branch 'master' of github.com:MightyPirates/OpenComputers
2014-04-24 21:35:35 +02:00
Florian Nücke
a9cf5b2da3
Somewhat less broken besh, but something's still not right...
2014-04-24 21:35:17 +02:00
Florian Nücke
8978280e3c
Changed name of computer.bell to computer.beep and added option for frequency (20 - 2000Hz) and duration (0.05 to 5 seconds).
...
Forcing computer to sleep for the duration of the sound.
This is uncomfortably close to what should go into a sound card, but... it's just too nice not to have it in by default.
2014-04-24 21:28:22 +02:00
Christopher Trumbour
15fe592c08
Merge pull request #1 from MightyPirates/master
...
Update irc.lua
2014-04-24 13:56:13 -04:00
Florian Nücke
d9d7ad217f
Merge pull request #229 from JoshTheEnder/patch-1
...
Support actions in irc client.
2014-04-24 14:31:56 +02:00