Cruor
8b7c769ff9
Update speakers
2017-05-16 23:33:09 +02:00
Cruor
4101cb2dfb
Added help file for speakers
...
Added help file for speakers
2017-05-16 23:30:53 +02:00
Lignum
03794970ba
Merge master into startup-dir
2017-05-16 23:25:54 +02:00
Lignum
9d0afe9e18
Mention startup directories in whatsnew and changelog
...
Also makes the line endings in these files consistent to be LF only.
2017-05-16 23:22:34 +02:00
Daniel Ratcliffe
f833450a68
Changed permissions on deploy.sh
2017-05-16 21:57:57 +01:00
Daniel Ratcliffe
d6bf2c5dbc
Merge pull request #246 from SquidDev-CC/hotfix/at-stacked-block
...
Remove AT for Block.createStackedBlock
2017-05-16 21:38:49 +01:00
SquidDev
b5e75a86c8
Remove AT for Block.createStackedBlock
...
Access transformers do not propagate to sub classes, and so the access
transformer did not work here. Reverting to reflection fixes this issue.
2017-05-16 21:19:36 +01:00
Lignum
00943163c8
Replace type check with nil check
2017-05-16 21:53:50 +02:00
Lignum
eb9b7f3b8c
Ignore dirs inside startup directories
2017-05-16 21:50:35 +02:00
Daniel Ratcliffe
ba4b1e21fe
Merge pull request #238 from SquidDev-CC/feature/binary-handles
...
Refactor the filesystem and HTTP code
2017-05-16 20:02:34 +01:00
Daniel Ratcliffe
cd85a03429
Merge pull request #237 from Restioson/feature/speaker
...
[Peripheral] Speaker
2017-05-16 19:52:10 +01:00
Restioson
0113e7229f
Added speaker to whatsnew
2017-05-16 20:44:34 +02:00
Restioson
7e556acebc
Added Speaker to Changelog
2017-05-16 20:42:16 +02:00
Daniel Ratcliffe
aa8455e0b1
Merge pull request #245 from Wilma456/settings
...
Update Settings Help
2017-05-16 19:39:34 +01:00
Daniel Ratcliffe
2e22ca4ccf
Merge pull request #217 from SquidDev-CC/feature/logging
...
Add a basic logging system
2017-05-16 19:38:03 +01:00
Wilma456
68f4611abc
Add Default Settings
2017-05-16 20:35:46 +02:00
SquidDev
0e1135ed97
Disable peripheral logging by default
2017-05-16 19:35:07 +01:00
Daniel Ratcliffe
ebbdd29bd6
Merge pull request #243 from SquidDev-CC/feature/access-transformer
...
Replace reflection with access transformers
2017-05-16 19:25:10 +01:00
Daniel Ratcliffe
8c4331d15a
Added checks to window.setTextColor and window.setBackgroundColor
2017-05-16 19:23:08 +01:00
Restioson
4df4b91d09
Converted (!x == y) to x != y
2017-05-16 20:02:59 +02:00
Restioson
b28c565665
(Hopefully) addressed @dan200's concerns
...
Push your fix to thread safety if this doesn't cut it
2017-05-16 19:48:38 +02:00
SquidDev
efb0065ebd
Add config option to disable certain error messages
2017-05-16 15:59:09 +01:00
SquidDev
a0b6cbb671
Remove ILogger facade
...
Just use global Log4j logger on the ComputerCraft class.
2017-05-16 15:49:55 +01:00
SquidDev
44ba4069c1
Print stack traces/add logging messages in several places
...
This will hopefully make it easier to track down various issues which
might otherwise go unnoticed or provide little information.
The main areas modified are those that external APIs may provide values
for or interact with: various providers and ILuaObject/IPeripheral
implementations. However, we do also log in a couple of other places
which indicate a problem with this, or another, mod.
2017-05-16 15:49:55 +01:00
SquidDev
bdc438fc62
Add a basic logging system
...
This adds a common ILogger interface and two built-in loggers - one
which prints to stdout, the other using a Log4J logger. These are split
up as not to cause dependency issues for emulators.
The stdout logger is enabled by default, but the ComputerCraft mod class
will swap over to using FML's mod specific logger, which provides a more
consistent look with the rest of Minecraft.
2017-05-16 15:49:55 +01:00
Restioson
b3c49db761
Made Speaker threadsafe & fix warnings
2017-05-15 17:42:29 +02:00
Restioson
7ff4631a9f
@gegy1000 strikes again
2017-05-15 17:42:29 +02:00
Restioson
aad81bead7
Fix style
...
@gegy1000 don't say *I* get distracted
2017-05-15 17:42:29 +02:00
Restioson
88b55934c7
Fix castException
2017-05-15 17:42:29 +02:00
Restioson
42962dcd48
Fix Noisy turtles not in creative - Thanks @SquidDev
2017-05-15 17:42:29 +02:00
Restioson
093d2ea89f
Added PocketSpeaker & corrected blockmodel for turtle speaker
2017-05-15 17:42:29 +02:00
Restioson
97a6679510
Dammit, I hope my git history works now!
2017-05-15 17:38:50 +02:00
Restioson
a3b0e4e993
Added speaker as turtle peripheral
2017-05-15 17:38:50 +02:00
Restioson
3bf15a3798
Added speaker model - potentially glitched
2017-05-15 17:38:50 +02:00
Restioson
dc96f2121a
Fix Speaker not playing sounds on break and replace for entire Lua session
2017-05-15 17:38:50 +02:00
Restioson
2899246dbc
Fix speaker peripheral API
2017-05-15 17:38:50 +02:00
gegy1000
2444245b80
Speaker rendering and name
2017-05-15 17:38:50 +02:00
Restioson
a748d0167b
Fixed Speaker being recognized as Disk Drive. Massive thanks to @SquidDev
2017-05-15 17:38:50 +02:00
Restioson
6cf1801f7e
Changed method names to camelCaser
2017-05-15 17:38:50 +02:00
Restioson
61c08afc7f
Implemented speaker. It's broken though - thinks it's a Disk Drive
...
~~Damn Tile Entities these days, always with their identity crises~~
2017-05-15 17:38:50 +02:00
Restioson
61dc61d356
Attempt to fix git history #2
2017-05-15 17:36:29 +02:00
Daniel Ratcliffe
7f365c5102
Merge pull request #232 from SquidDev-CC/feature/remove-duplicate-history
...
Do not insert empty or duplicate entries into shell history
2017-05-15 14:00:15 +01:00
Daniel Ratcliffe
42874073e9
Merge pull request #230 from SquidDev-CC/feature/dye-improvements
...
Dye improvements
2017-05-14 21:45:33 +01:00
SquidDev
63cdc7a72e
Replace reflection with access transformers
...
This makes the code slightly neater and allows us to catch places where
the variable/function has been renamed between versions.
2017-05-14 17:01:14 +01:00
SquidDev
cf7308dbc8
Fix holes appearing in coloured turtles
...
There was a very small gap between the turtle frame and the top of the
turtle body. This increases the height of the body by one pixel, adding
a little bit of overlap and ensuring the frame renders on top fixes
this issue.
2017-05-14 16:02:15 +01:00
SquidDev
b37dbbd0af
Allow dying pocket computers too
...
This splits up the pocket computer textures and models into the frame
(off, on, blinking), colour layer (normal, advanced, custom) and modem
light.
2017-05-14 15:02:56 +01:00
SquidDev
a6b870dfbb
Expand IPocketAccess.getLight/setLight to use RGB colours
...
This allows us to restore the modem light to its original colour.
2017-05-14 14:22:20 +01:00
SquidDev
6426255bd4
Remove getColour and setColour methods from ITurtleAccess
...
This allows us to remove the m_Colour field from TurtleBrain
2017-05-14 14:17:55 +01:00
SquidDev
8c36eccfef
Allow dying turtles arbitrary colours
...
- Makes ITurtleItem implement IColourableItem
- Only cache one turtle item model for all colours, rather than one for
each colour.
- Allow ITurtleAccess to set an arbitrary colour.
2017-05-14 14:17:55 +01:00
SquidDev
88de097c1c
Add more general item colouring system
...
This allows for other items, such as turtles, to be dyed in the future.
This also adds support for the ore dictionary, meaning you can use other
mod's dyes to colour items.
2017-05-14 14:17:54 +01:00