1
0
Commit Graph

8579 Commits

Author SHA1 Message Date
Tiger Wang
e4eb039704 Merge pull request #1919 from mathias-github/patch-1
Added Guardian and Rabbit to DefaultMonsters in Overworld
2015-05-02 16:10:51 +01:00
Tiger Wang
2919d08883 Update submodules 2015-05-02 15:57:49 +01:00
wiseoldman95
3586f25853 AI - Better daylight handling 2015-05-02 14:32:33 +03:00
wiseoldman95
16b6fc9b5d PathFinding - Chunk querying optimization and improve cPath::IsSolid 2015-05-02 14:16:16 +03:00
Mattes D
a762e8a54a CheckBasicStyle: Can check individual files or git commits. 2015-05-02 13:02:18 +02:00
Mattes D
81274b6ee9 APIDump: Added an "apishow" command.
Launches the webbrowser to show the locally exported API docs.
2015-05-02 12:26:19 +02:00
Mattes D
aa142757db Merge pull request #1920 from wiseoldman95/SquashedPathFinder
Implemented A* Pathfinding and updated monster.cpp to use it.
2015-05-01 13:47:48 +02:00
wiseoldman95
1b0e21e0b2 A* Pathfinding and better monster AI 2015-05-01 13:18:47 +03:00
Mattes D
259132d17e Merge pull request #1924 from mc-server/BlockAreaCountNonAir
Added cBlockArea:CountNonAirBlocks API function.
2015-05-01 11:49:41 +02:00
Mattes D
a3c4b7580b Added cBlockArea:CountNonAirBlocks API function. 2015-04-30 23:16:33 +02:00
Mattes D
46bb4788cf Merge pull request #1923 from mc-server/ReadWholeFileFix
Fixed bindings for cFile:ReadWholeFile().
2015-04-30 12:57:17 +02:00
Mattes D
8d4a87d2c4 Fixed bindings for cFile:ReadWholeFile().
Fixes #1914
2015-04-30 11:44:42 +02:00
Mattes D
4bf3b874e3 Merge pull request #1922 from mc-server/BlockAreaExt
cBlockArea extensions
2015-04-30 10:39:15 +02:00
Mattes D
daacbf4d7b APIDump: Added documentation for cBlockArea:GetNonAirCropRelCoords. 2015-04-30 09:53:10 +02:00
Woazboat
c31092c2d5 Changed fabs() to std::abs() 2015-04-29 17:17:43 +02:00
Woazboat
d1ad08169e braces in Tracer::mNormalTable initializer in separate lines 2015-04-29 17:12:45 +02:00
Mathias
17343d8215 Added Guardian and Rabbit to DefaultMonsters in Overworld 2015-04-29 18:07:26 +03:00
Mattes D
ca90f6d280 Added cBlockArea::msSimpleCompare merge strategy. 2015-04-29 15:45:48 +02:00
Mattes D
fc95501f68 Added cBlockArea:GetNonAirCropRelCoords() API function.
Fixes #1915.
2015-04-29 15:14:22 +02:00
jammet
6e3c584f07 Clay blocks are handled with the OreHandler 2015-04-29 10:14:34 +02:00
Woazboat
f7d88ff4e0 Added extra braces to initialization of Tracer::m_NormalTable 2015-04-29 02:21:37 +02:00
Woazboat
723aca2bfa And another cs fix I overlooked 2015-04-29 01:39:08 +02:00
Woazboat
ca5b3e5776 Fixed comments according to cs 2015-04-29 01:37:16 +02:00
Woazboat
2359fc6705 Fix HasNonZeroLength name
now 100% more cs compliant
2015-04-29 00:27:15 +02:00
Woazboat
3d1bd544b0 Changed Tracer::m_NormalTable to static array
Was previously instantiated for every trace
2015-04-29 00:14:42 +02:00
Mattes D
491b75a8a4 Merge pull request #1913 from wiseoldman95/fixCompatibleProtocols
Updated MC versions in ProtocolRecognizer.h
2015-04-28 08:43:39 +02:00
wiseoldman95
231ba3af53 Updated MC versions in ProtocolRecognizer.h 2015-04-28 09:16:09 +03:00
Mattes D
3fac9beb64 Updated MC versions in readme.txt 2015-04-28 07:57:46 +02:00
Woazboat
2f264dba71 Changed Vector3 Equals function to avoid using memcmp 2015-04-28 02:54:45 +02:00
Woazboat
496e5b1000 Tracer signum function now returns int 2015-04-28 02:51:21 +02:00
Woazboat
797e3130d2 Check for zero length vector in Trace
Added hasNonZeroLength member function to Vector3
2015-04-28 02:47:36 +02:00
Woazboat
4e8b4981d8 convert c style casts to c++ static casts 2015-04-28 02:26:25 +02:00
worktycho
facb6e7416 Merge pull request #1909 from Woazboat/CodeCleanup
cSetChunkData constructor explicitly requires std::move()
2015-04-27 21:11:56 +01:00
Woazboat
e240cab523 Removed redundant temp iterator. std::list.erase already returns
iterator to next valid list element
2015-04-27 21:54:36 +02:00
Woazboat
6caf08da99 cSetChunkData constructor explicitly requires std::move() instead of
unsafely stealing data
2015-04-27 21:18:56 +02:00
Tiger Wang
b10336ad64 Fix explosions trying to write to unread blockarea 2015-04-26 19:17:08 +01:00
worktycho
27413bcec3 Update contributing.md with C++11 2015-04-26 13:27:05 +01:00
Mattes D
d16ded3aff Updated the Core. 2015-04-25 22:33:07 +02:00
Mattes D
0de768b56d Merge pull request #1897 from mc-server/Restrictions
Restrictions
2015-04-25 22:32:13 +02:00
Mattes D
b5998873e4 cPlayer now checks restrictions.
Fixes #1331.
2015-04-25 21:05:43 +02:00
Mattes D
9c5797f27d Added player restrictions to the DB and API. 2015-04-25 21:05:35 +02:00
Mattes D
80baa2b056 Merge pull request #1896 from mc-server/FindAndDoWithPlayerRace
Eliminate race condition in cRoot::FindAndDoWithPlayer
2015-04-25 18:58:11 +02:00
Mattes D
b7d1d701b9 Plugin removes its command registrations and webtabs when unloaded.
Fixes #1890.
2015-04-25 18:11:14 +02:00
worktycho
20593dcb35 Eliminate race condition in cRoot::FindAndDoWithPlayer
Avoid a race condition where a player gets deleted during the FindAndDoWithPlayer callback by moving the callback into DoWithPlayer.
2015-04-24 12:45:44 +01:00
Mattes D
0bfcd62556 Merge pull request #1894 from mc-server/RefactorManualBindingsTemplates
Refactored ManualBindings' callbacks using templates.
2015-04-23 22:52:34 +02:00
Mattes D
a89d5f53fd Refactored ManualBindings' callbacks using templates.
This is a bit easier to read, has better error reporting and fixes a few subtle bugs.
Fixes #1889.
2015-04-23 22:20:31 +02:00
jammet
e42beb51ab Digging up a clay block spawns 4 clay items.
Fixes #1884.
Closes #1891.
2015-04-23 21:39:10 +02:00
Mattes D
a41f21f76f Merge pull request #1892 from mc-server/DoWithPlugin
Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
2015-04-23 21:36:17 +02:00
Mattes D
08624348f4 Implemented cPluginManager:DoWithPlugin(), fixed ForEachPlugin().
Both functions are exported as static.
2015-04-23 19:41:01 +02:00
jammet
6f0eafdc3a Nether Quartz is handled in the Ore handler.
Fixes #1885, Closes #1888
2015-04-23 15:21:14 +02:00