1
0
Commit Graph

8721 Commits

Author SHA1 Message Date
Alexander Harkness
d48825fa81 Fix sapling probability.
Probability is 5% of leaves drop a sapling.

This should really be different for jungle leaves (2.5%) and the Fortune enchantment should increase the probability.
2015-05-17 14:23:16 +01:00
Alexander Harkness
519677c847 Merge pull request #2040 from mc-server/Random
Fix FastRandom seeding
2015-05-17 14:17:38 +01:00
worktycho
c94134ec5e Fix FastRandom seeding
Fixes #1815
Fixes #2021
2015-05-17 13:16:18 +01:00
Alexander Harkness
a22f0795f6 Should disable coveralls. 2015-05-17 09:32:56 +01:00
Alexander Harkness
54b69d0bb8 Merge pull request #2038 from mc-server/InventoryFix
Fixed inventory handling.
2015-05-17 07:13:40 +01:00
Mattes D
f3d6da29f7 Fixed inventory handling.
Fixes #2035.
2015-05-16 23:22:50 +02:00
Safwat Halaby
4ace226dcd Merge pull request #2033 from mc-server/BreakIntoDebugger
Lua: Break into ZBS debugger on API errors.
2015-05-16 22:59:42 +03:00
Mattes D
1240c76cb4 Lua: Break into ZBS debugger on API errors. 2015-05-16 16:19:18 +02:00
Mattes D
0b536701b4 Merge pull request #2029 from mc-server/bedPatch
Bed uses bottom two bits for direction not three
2015-05-16 14:11:56 +02:00
tycho
36fe8ee5f5 Added deoxy comments 2015-05-16 12:46:43 +01:00
worktycho
6350e4f279 Bed uses bottom two bits for direction not three 2015-05-16 12:07:38 +01:00
worktycho
0da8c7392e Fix service Main 2015-05-16 10:47:04 +01:00
tycho
c96849f431 Move make_unique into a namespace to avoid ADL issues
this prevents VS finding std::make_unique for constructors that take types from std
2015-05-16 10:47:04 +01:00
tycho
b9efa02c80 Initial implementation of IniFile overloading 2015-05-16 10:46:51 +01:00
tycho
da58620d45 Added TCLAP 2015-05-16 10:46:51 +01:00
SafwatHalaby
4ffc6621a9 PathFinder uses UniquePtr for cell map. 2015-05-16 10:38:58 +02:00
Alexander Harkness
5a1be26203 Newsletter, content tweak. 2015-05-15 19:01:13 +01:00
worktycho
4605f4f174 Merge pull request #2024 from mc-server/revert-2023-smartPointers
Revert "PathFinder - smart pointers"
2015-05-15 18:55:01 +01:00
worktycho
5c3a85fba1 Revert "PathFinder - smart pointers" 2015-05-15 18:54:45 +01:00
worktycho
c6658af155 Merge pull request #2023 from SafwatHalaby/smartPointers
PathFinder - smart pointers
2015-05-15 18:53:16 +01:00
SafwatHalaby
a8878dd2b6 uniquePTR 2015-05-15 20:25:44 +03:00
Alexander Harkness
dd3c3f2574 Unify shields. 2015-05-15 18:16:32 +01:00
Alexander Harkness
f986f6d23d Removed tip4commit. 2015-05-15 18:14:06 +01:00
worktycho
774609b405 Merge pull request #2022 from mc-server/ForEachCommandAPIFix
Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand()
2015-05-14 19:13:06 +01:00
Mattes D
163aebf8ca Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand()
The functions would leak one value on the Lua stack for each enumerated command.
Fixes #2017.
2015-05-14 19:46:18 +02:00
Mattes D
c3804f08c8 Merge pull request #2018 from mc-server/ProbDif
Fixed possible crash in cProbabDistrib
2015-05-14 17:23:23 +02:00
STRWarrior
67b6b71a5b Fixed possible crash in cProbabDistrib
It could divide through 0 which causes a crash
2015-05-14 16:49:13 +02:00
Mattes D
80f2e1eb66 Merge pull request #2010 from TwiddleStick/patch-2
Update World.cpp
2015-05-14 13:41:22 +02:00
Mattes D
43fecf48e3 Merge pull request #2006 from mc-server/ManualBindingsWorld
Moved cWorld manual bindings out into a separate file.
2015-05-14 08:15:40 +02:00
Martin Fahy
8f0f421ae4 Update World.cpp
Fixed minor typos in comments, simply trying to understand the code base to fix issue regarding no sound when lighting is produced, no change to actual code.
2015-05-13 23:05:44 -04:00
Mattes D
06506da0b1 Merge pull request #2007 from mc-server/AllCommandsThroughHook
All in-game commands go through the OnExecuteCommand hook.
2015-05-13 21:33:26 +02:00
Mattes D
af5d7da0f4 Merge pull request #2008 from mc-server/InfoDumpLinks
Info dump links
2015-05-13 21:30:18 +02:00
Mattes D
b34fd9c6d9 InfoDump: Added DownloadLocation to forum post generator. 2015-05-13 19:24:57 +02:00
Mattes D
394192bdaf InfoDump: Added support for links.
Also fixed processing of lists and list items.
2015-05-13 19:20:53 +02:00
Mattes D
2cdc2a16e4 Fixed chat message manipulation by plugins.
Plugins, in their OnChat hook, can change the chat message sent by a player.
2015-05-13 18:45:29 +02:00
Mattes D
f36b00f4d4 All in-game commands go through the OnExecuteCommand hook.
Everything that has a slash at the beginning, doesn't matter if it is a registered command or not.
2015-05-13 18:31:01 +02:00
Mattes D
15771e4759 Moved cWorld manual bindings out into a separate file. 2015-05-13 11:30:57 +02:00
Mattes D
0686b55901 Merge pull request #2001 from mc-server/BindingsCleanup
Bindings cleanup
2015-05-12 10:29:55 +02:00
Mattes D
a729cba82e CIBuild: Added action labels 2015-05-12 09:21:43 +02:00
Mattes D
4b97569b3a ToLua now generates cLuaState::Push() and GetStackValue()
For classes exported through ToLua it generates the cLuaState::Push() and cLuaState::GetStackValue() functions, as well as the supporting forward declarations and typedefs.
Renamed virtual_method_hooks.lua to BindingsProcessor.lua since it no longer provides virtual method hooks and instead does additional processing when generating the bindings.
2015-05-12 09:20:54 +02:00
Tiger Wang
c10e83c02d Fixed creative click-outside
* Fixes #1995
2015-05-11 23:21:46 +01:00
Tiger Wang
30b17bcb97 Improved hoppers
* Fixes #1994
2015-05-11 22:58:27 +01:00
Mattes D
3ddd2f567c ToLua: Fixed LuaJit compatibility. 2015-05-11 16:19:01 +02:00
Mattes D
4083bc7005 AllToLua: Removed unneeded virtual method hooks. 2015-05-11 16:11:53 +02:00
Mattes D
7d66162e3c Merge pull request #2000 from mc-server/CommandHandling
Command handling
2015-05-11 10:39:45 +02:00
Mattes D
66945e4847 APIDump: Added linkification to hook return values. 2015-05-10 23:14:25 +02:00
Mattes D
dd10ffb63a OnExecuteCommand hook can override the command result (crXXX). 2015-05-10 23:11:30 +02:00
Mattes D
693ffb689c Exported cPluginManager:ExecuteConsoleCommand() to Lua API.
Fixes #1999.
2015-05-10 22:51:16 +02:00
Mattes D
6c53abed23 Call HOOK_EXECUTE_COMMAND even for unknown console commands.
This allows plugins such as Aliases to intercept even unknown commands.
2015-05-10 21:46:25 +02:00
Mattes D
b356419a07 StringUtils: Fixed StringSplitWithQuotes().
The function would crash when given a string that started with the delimiter.
2015-05-10 21:39:14 +02:00