Daniel Ratcliffe
7647369e2d
Merge pull request #446 from Wilma456/moduledir
...
Add folder /rom/modules
2018-01-12 14:10:50 +00:00
Daniel Ratcliffe
4b4208e724
Merge pull request #476 from SquidDev-CC/hotfix/printer-clear
...
Fix the printer overwriting the current page
2018-01-12 13:59:51 +00:00
Daniel Ratcliffe
2a16a1df85
Merge pull request #486 from Wilma456/extensionfix
...
Fix Bug in Paint and Edit
2018-01-12 13:59:15 +00:00
Daniel Ratcliffe
25f7c58400
Merge pull request #494 from SquidDev-CC/hotfix/collision-aabb
...
Fix getCollisionBoundingBox not using all AABBs
2018-01-12 13:57:50 +00:00
Daniel Ratcliffe
c3db91f11f
Merge pull request #485 from Luca0208/patch-1
...
Removed the "the" that was too much(In /rom/help/cd.txt)
2018-01-12 13:56:48 +00:00
Daniel Ratcliffe
8c66ce03d4
Merge pull request #475 from Wilma456/ioline
...
Fix io.lines()
2018-01-12 13:56:21 +00:00
Daniel Ratcliffe
2be2a0625e
Merge pull request #502 from SquidDev-CC/hotfix/missing-overlay
...
Fix turtle overlay not being rendered in items
2018-01-12 13:54:59 +00:00
Daniel Ratcliffe
c904d5041b
Merge pull request #499 from SquidDev-CC/hotfix/null-network
...
Fix ComputerCraftAPI.getWirelessNetwork() failing
2018-01-12 13:54:33 +00:00
SquidDev
632762768e
Add workaround for incorrect overload of getDrops being overridden
...
Closes #2
2017-12-30 19:03:32 +00:00
SquidDev
c69ba205f8
Merge pull request #502 from SquidDev-CC/ComputerCraft/hotfix/missing-overlay
...
Fix turtle overlay not being rendered in items
2017-12-24 21:49:01 +00:00
SquidDev
019f4dbea9
Fix turtle overlay not being rendered in items
2017-12-24 21:44:55 +00:00
SquidDev
259ea41ce3
Merge pull request #499 from SquidDev-CC/ComputerCraft/hotfix/null-network
...
Fix ComputerCraftAPI.getWirelessNetwork() failing
2017-12-10 15:39:59 +00:00
SquidDev
11290f7204
Fix ComputerCraftAPI.getWirelessNetwork() failing
...
I've got to admit, it is super embarrassing that a) I didn't notice this
when testing and b) no one else has noticed until now.
2017-12-10 15:37:40 +00:00
SquidDev
abd06133fb
More binary compatibility stubs for ILuaAPI
2017-12-07 09:24:44 +00:00
SquidDev
29a3a0c48f
Bump version
2017-12-07 09:08:15 +00:00
SquidDev
2728c63512
Add back ILuaAPI
...
This ensures binary compatibility with all those evil mods (Plethora)
which CC internals.
2017-12-07 09:06:47 +00:00
SquidDev
f3b11bc1c2
Copy over CCTweaks's command system
...
This adds several commands which may be useful for server owners. It'd
be nice to integrate this into ComputerCraft itself, but the associated
command framework is quite large so we'd have to think about it.
2017-12-06 15:51:51 +00:00
SquidDev
04590befb3
Add support for viewing arbitrary computers in a GUI
...
Important terminal (such as terminal size) is packed into the the
coordinate fields.
2017-12-06 15:43:25 +00:00
SquidDev
4e9034f910
Make http.websocket call synchronous in bios.lua
...
I thought I'd done this already, but it's possible it got lost during a
rebase.
2017-12-06 09:28:38 +00:00
SquidDev
ba9cfa3764
Bump version
...
Also add CurseGradle support
2017-12-01 20:05:26 +00:00
SquidDev
341e3e2f89
Merge pull request #497 from SquidDev-CC/ComputerCraft/feature/pocket-map
...
Add map-like rendering for pocket computers
2017-12-01 19:41:07 +00:00
SquidDev
3f70ca5192
Merge pull request #492 from SquidDev-CC/ComputerCraft/feature/fun-turtle-rendering
...
Improve vertex transformation system
2017-12-01 19:39:33 +00:00
SquidDev
f11bfc53ee
Use IComputer instead of ServerComputer on the client
2017-12-01 19:32:15 +00:00
SquidDev
61e3967b8e
Merge pull request #494 from SquidDev-CC/ComputerCraft/hotfix/collision-aabb
...
Fix getCollisionBoundingBox not using all AABBs
2017-12-01 19:19:17 +00:00
SquidDev
add86ea100
Merge pull request #491 from SquidDev-CC/ComputerCraft/feature/api-api
...
Provide an API for registering custom APIs
2017-12-01 19:18:40 +00:00
SquidDev
dd51c89278
Add map-like rendering for pocket computers
2017-12-01 11:28:15 +00:00
SquidDev
788d783745
Fix getCollisionBoundingBox not using all AABBs
...
Closes #493
2017-11-22 10:52:28 +00:00
SquidDev
35da60543e
Improve turtles by 200%
...
Every other mod has some fun feature, so should we. And yes, this was
worth the 400 lines it took to implement.
2017-11-21 00:34:35 +00:00
SquidDev
ce7923d248
Improve vertex transformation system
...
This migrates TurtleMultiModel's current vertex transformation system
into something more powerful and "correct". Namely, it has the following
improvements:
- Handles all position formats (float, byte, etc...)
- Correctly translates normals of quads
- Reorders faces if the winding order is reversed
2017-11-21 00:18:03 +00:00
SquidDev
55847460c5
Provide an API for registering custom APIs
...
ILuaAPI has been moved to dan200.computercraft.api.lua. One creates
a new API by registering an instance of ILuaAPIFactory. This takes an
instance of IComputerSystem and returns such an API.
IComputerSystem is an extension of IComputerAccess, with methods to
access additional information about the the computer, such as its label
and filesystem.
2017-11-19 18:23:38 +00:00
SquidDev
893524b0a8
Mark computers as changed when changing on state
...
Previously they were not marked as such, meaning computer state was not
broadcast to the client until blinking state changed.
2017-11-19 15:23:12 +00:00
SquidDev
8fb3ae405f
Ensure we don't strip any whitespace
2017-11-19 15:04:21 +00:00
SquidDev
aa447ec101
Fix term.getTextScale() not using the main monitor
2017-11-19 14:03:48 +00:00
SquidDev
56b1cb4521
Fixup README a little
2017-11-19 13:48:17 +00:00
SquidDev
90cc24614c
Add a subjectively fancy logo
2017-11-15 18:20:22 +00:00
SquidDev
d7301ff15e
Merge pull request #412 from Wilma456/ComputerCraft-1/textfix
...
Add Check to textutils.tabulate/pagedTabulate
2017-11-15 16:58:13 +00:00
SquidDev
1cf10c5c47
Merge pull request #490 from zardyh/ComputerCraft/master
...
Propagate errors arising from API loading
2017-11-15 16:51:26 +00:00
SquidDev
6691ec8e3a
Merge pull request #390 from Wilma456/ComputerCraft-1/errormsg
...
Show fs error in paint and edit
2017-11-15 16:39:37 +00:00
SquidDev
a9f77221ff
Merge pull request #469 from Wilma456/ComputerCraft-1/newrecipe
...
Add more Recipes to Recipebook
2017-11-15 16:35:27 +00:00
SquidDev
dd3b69a633
Rebranding!
...
I feel kinda guilty about this, but it's probably a good idea to make it
clear that this isn't "actual, proper, stable" ComputerCraft.
2017-11-15 16:25:10 +00:00
hydraz
d766f8b34e
Propagate errors arising from API loading
2017-11-15 14:22:36 -02:00
SquidDev
2ae6fb47e7
Move CommandComputer into a child package
...
Means we can be a little more organised where we put the additional
commands.
2017-11-15 15:57:10 +00:00
SquidDev
dd5698241b
Add support for running multiple computers at the same time
...
- ComputerThread constructs multiple threads instead of just one,
depending on a config options.
- The synchronized blocks of PeripheralAPI.PeripheralWrapper have been
shifted a little to ensure no deadlocks occur.
2017-11-15 13:30:40 +00:00
SquidDev
ed8e9d7817
Add support for enabling Lua's debug library
...
Whilst I'm pretty sure this is safe for general use, I'm disabling this
by default for now. I may consider enabling it in the future if no
issues are found.
2017-11-15 12:18:10 +00:00
SquidDev
6c29b44c3c
Merge pull request #440 from Wilma456/ComputerCraft-1/iomulti
...
Make io.write() accept multiple args
2017-11-15 11:47:33 +00:00
SquidDev
0caa133089
Merge pull request #454 from SquidDev-CC/ComputerCraft/hotfix/lazy-computer-peripheral
...
[WIP] Only instantiate ServerComputer on tile ticks
2017-11-15 11:42:54 +00:00
SquidDev
a8b08bd971
Remove apis.HTTPRequest
...
I evidently duplicated this during some rebase, more fool me.
2017-11-15 11:39:48 +00:00
SquidDev
c9181a121f
Merge pull request #395 from SquidDev-CC/ComputerCraft/feature/websocket
...
Websocket support
2017-11-15 11:39:02 +00:00
SquidDev
30f4e0829f
Add websocket support to HTTP API
...
This uses Netty's websocket functionality, meaning we do not have to
depend on another library.
As websockets do not fit neatly into the standard polling socket model,
the API is significantly more event based than CCTweaks's. One uses
http.websocket to connect, which will wait until a connection is
established and then returns the connection object (an async variant is
available).
Once you have a websocket object, you can use .send(msg) to transmit a
message. Incoming messages will fire a "websocket_message" event, with
the URL and content as arguments. A convenience method (.receive())
exists to aid waiting for valid messages.
2017-11-15 11:32:17 +00:00
SquidDev
2155fce036
Merge pull request #486 from Wilma456/ComputerCraft-1/extensionfix
...
Fix Bug in Paint and Edit
2017-11-14 23:55:14 +00:00