1
0
Commit Graph

10279 Commits

Author SHA1 Message Date
Mattes D
6310d0d286 Merge pull request #3244 from cuberite/minecart_chest
Close chest window if minecart is destroyed
2016-07-01 08:45:11 +02:00
Lukas Pioch
9b96c0d18d Close chest window if minecart is destroyed 2016-06-30 11:08:09 +02:00
Mattes D
9af664dc73 Merge pull request #3232 from cuberite/LuaCallback
Lua callback
2016-06-30 10:42:58 +02:00
Mattes D
bf88312a16 Converted cLuaState::cCallbackPtr into a UniquePtr. 2016-06-27 20:51:53 +02:00
Mattes D
7a6670d1d1 Removed dead code related to callbacks. 2016-06-27 20:51:52 +02:00
Mattes D
257c5a1a54 cPluginManager: Use a callback for command handler registration. 2016-06-27 20:51:52 +02:00
Mattes D
24853397ef LuaState: Implemented proper locking for cCallback. 2016-06-27 20:51:51 +02:00
Mattes D
fb4c3fc4d9 Changed cLuaWindow callbacks to use cLuaState::cCallback. 2016-06-27 20:51:50 +02:00
Mattes D
a473725121 Removed the cPluginLua::cResettable class.
The functionality provided by that class has been superseded by cLuaState::cCallback, with better multithreading support.
2016-06-27 20:51:50 +02:00
Mattes D
b7e1a66815 Changed world tasks to use cLuaState::cCallback. 2016-06-27 20:51:49 +02:00
Mattes D
4489a89fde Changed plugin hook registrations to use cLuaState::cCallback. 2016-06-27 20:51:49 +02:00
Mattes D
af8c96026d Removed cWebPlugin, WebAdmin uses cLuaState::cCallback. 2016-06-27 20:51:48 +02:00
Mattes D
1f75d45222 Added cLuaState::cCallback for representing (resettable) Lua callbacks. 2016-06-27 20:51:48 +02:00
Mattes D
1462e4f70e Self tests (#3242)
* SelfTests: Added a cEvent stress-test.

* cNetwork: Fixed startup event hang.

The original code used to hang with a ~ 1:50000 chance, because on Linux the cEvent was destroyed before its "Set()" returned.
2016-06-26 14:51:12 +01:00
NiLSPACE
4e2c92d15f Merge pull request #3240 from cuberite/grownvisualizer
added Grown visualizer to the Generator documentation
2016-06-24 14:42:09 +02:00
NiLSPACE
a2795beb56 added Grown visualizer to the Generator documentation 2016-06-24 13:36:25 +02:00
Alexander Harkness
e03851a78f Added ltdTM to BACKERS 2016-06-23 15:24:25 +01:00
Mattes D
5ee6643804 Merge pull request #3228 from cuberite/SeparateSelfTests
Separate self tests
2016-06-19 14:57:14 +02:00
Mattes D
8610083a8e cNetwork: Fixed possible hang when terminating immediately after init. 2016-06-18 13:12:12 +02:00
Mattes D
4d9769a484 SelfTests: More logging for EnumInterfaces. 2016-06-18 13:12:11 +02:00
Mattes D
96034810df Flush immediately after each line when running tests. 2016-06-18 13:12:11 +02:00
Mattes D
ea47247dc7 SelfTests: Print a quick message on test start. 2016-06-18 13:12:10 +02:00
Mattes D
36eefbf0f2 SelfTests: Removed the unneeded cSelfTests class. 2016-06-18 13:12:10 +02:00
Mattes D
aa4b3ebf2f SelfTests: Fixed HTTPMessageParser tests for out-of-source builds. 2016-06-18 13:12:09 +02:00
Mattes D
82e81c01a2 SelfTests: Fixed missing override keyword in EchoServer. 2016-06-18 13:12:09 +02:00
Mattes D
75a81cf753 SelfTests: Moved BoundingBox test to a separate project. 2016-06-18 13:12:09 +02:00
Mattes D
a781be5456 SelfTests: Moved SchematicFileSerializer test into a separate project. 2016-06-18 13:12:08 +02:00
Mattes D
db17f585af SelfTests: Moved cCompositeChat test to a separate project. 2016-06-18 13:12:08 +02:00
Mattes D
ab6f68b42c SelfTests: Moved ByteBuffer test to a separate project. 2016-06-18 13:12:07 +02:00
Mattes D
3d164a77cb SelfTests: Organized into solution folders. 2016-06-18 13:12:07 +02:00
Mattes D
3184433756 Moved NetworkInterfaceEnum test to a separate test project. 2016-06-18 13:12:06 +02:00
Mattes D
ec998e821f Merge pull request #3224 from QUSpilPrgm/master
Add an activation flag to the block metadata of droppers and dispensers
2016-06-16 21:54:09 +02:00
QUSpilPrgm
33cd7f4e75 - Add a activation flag to droppers and dispensers. Previously droppers and dispensers shot items with every block update.
- Fixes a range check inside cIncrementalRedstoneSimulator::Simulate
2016-06-15 10:33:49 +02:00
Mattes D
b403ad4d68 Merge pull request #3227 from cuberite/NormalizeVectorApi
Normalized Vector3 API to use the same capitalization as everything else
2016-06-12 07:57:47 +02:00
Mattes D
ce30e3f666 Normalized Vector3 API to use the same capitalization as all else. 2016-06-10 17:59:33 +02:00
Mattes D
456ffa5bd6 Merge pull request #3225 from cuberite/FixAutoAPI
Fixed auto-generated api
2016-06-05 21:18:52 +02:00
Mattes D
c2759186c0 Bindings: Fixed cBoundingBox API. 2016-06-05 18:23:16 +02:00
Mattes D
fbe9866524 Bindings: Add a const-ptr variant to all stack getter functions 2016-06-05 17:20:50 +02:00
Mattes D
fc874ed57d Merge pull request #3219 from QUSpilPrgm/master
Update dispenser code to let them act more like in Vanilla
2016-06-04 13:08:15 +02:00
QUSpilPrgm
f1192c6860 Makes tall grass and large flowers bonemealable
Adds the bonemeal particle effect to some more places
2016-06-03 15:45:49 +02:00
QUSpilPrgm
706257f8fb Update Dispensers and let them act more like in Vanilla
- Added code to make bonemeal, potions, minecarts, XP bottles and boats work inside dispensers
- Dispensers are now able to place TNT if the block is transparent but not air
- Added return value that indicates the success of pumpkin, melon, sugarcane and cactus growing functions
- Changed return value of "GrowRipePlant" so that it actually indicates if the block was able to grow
- Fixed "GrowSugarcane" and "GrowCactus" in "GrowRipePlant" so that it only grows them a single block
2016-06-03 15:45:49 +02:00
Mattes D
beb3660c42 Debuggers: Added the forgotten Inject.lua file.
This works as a test for inter-plugin calls, the "testcall" command injects this file into the Core plugin.
2016-06-02 14:43:19 +02:00
Tiger Wang
a5ec2d8ca2 Fixed fall damage
* Fixes #3216
2016-06-01 23:46:24 +01:00
Mattes D
5618e453e6 LuaState: Inter-plugin calls now support simple tables. (#3220) 2016-05-31 00:01:55 +01:00
Mattes D
bbcf2d6bd6 Merge pull request #3078 from cuberite/AddTerrainGenDocs
Add terrain gen docs
2016-05-29 19:14:22 +02:00
Mattes D
a53371be0f Docs: Added TOC and GrownBiomes to generator docs. 2016-05-29 19:12:48 +02:00
Mattes D
1d0bfead3e Added GrownBiomeGenVisualiser. 2016-05-29 19:12:47 +02:00
PlasmaPower
b4d9732fe9 Added GetTeamNames to cScoreboard (#3217)
Resolves #3210
2016-05-29 19:12:18 +02:00
Alexander Harkness
bac71cb513 Fixed remaining issue from #3199 (#3207)
Added an alias for oak boats as oakboat, as the other boats have.
2016-05-29 16:27:11 +02:00
QUSpilPrgm
a567b36a8a Don't let redstone blocks power adjacent blocks. (#3214)
* Don't let redstone blocks power adjacent blocks.
This fixes issue #2966
2016-05-28 21:48:36 +01:00