1
0
Commit Graph

8585 Commits

Author SHA1 Message Date
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
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
Mattes D
87f1cf5622 InfoReg: Fixed EntireCommand handling for MultiCommandHandler().
The EntireCommand wasn't propagated into the handlers.
2015-05-10 21:39:04 +02:00
Mattes D
cbb1eff17a Added the EntireCommand parameter to HOOK_EXECUTE_COMMAND.
Fixes #1996.
2015-05-10 21:37:46 +02:00
Tiger Wang
1cb1347c53 Merge pull request #1977 from mc-server/warnings
Warnings and logic fixes
2015-05-10 13:15:13 +01:00
Tiger Wang
9c490293b8 Merge remote-tracking branch 'origin/master' into warnings
Conflicts:
	src/Mobs/Monster.cpp
	src/Vector3.h
2015-05-10 12:16:20 +01:00
Tiger Wang
11ef1fd24a Fixed some warnings and logic errors in Monster.cpp 2015-05-10 12:14:55 +01:00
Mattes D
92bb28ef6d Merge pull request #1985 from SafwatHalaby/lessPathCalcs
PathFinder - Less calculations per tick
2015-05-10 08:32:06 +02:00
wiseoldman95
8a576a0a35 PF - Less calcs per tick 2015-05-10 09:08:42 +03:00
Mattes D
ca949447ee Merge pull request #1954 from mc-server/MoreStyleCheck
More style checking.
2015-05-09 13:22:59 +02:00
Mattes D
756d310318 Added check against "Type const &" and "Type const *". 2015-05-09 12:58:56 +02:00
Mattes D
846d16315a CheckBasicStyle: checks spaces around * and &. 2015-05-09 12:58:55 +02:00
Mattes D
c13b1931ff More style checking.
Spaces around some operators are checked.
2015-05-09 12:58:54 +02:00
jammet
61300ab9ef Rabbit and cooked rabbit now stackable
And corrected the alphabetical ordering.
2015-05-09 12:56:23 +02:00
Mattes D
92b8cd2f2a Merge pull request #1956 from Tri125/master
Fixed Magma cube sound and spawn size
2015-05-09 12:44:57 +02:00
worktycho
e2e206d81b Fixed remaing pragmas 2015-05-09 10:59:08 +01:00
worktycho
4dcd9a9924 clang diagnostic not diagnostics
fixed clang pragmas
2015-05-09 10:55:40 +01:00
Safwat Halaby
a30fb91a13 Merge pull request #1968 from SafwatHalaby/patch-2
Update Contributing.MD
2015-05-09 12:35:28 +03:00
Alexander Harkness
049ff67416 Merge pull request #1973 from Tri125/QuartzStack
Fixed #1893 : Quartz can now stack
2015-05-09 06:58:29 +01:00
Tristan
4642a50d62 GetSizeName of cSlime and cMagmaCube is now static 2015-05-08 20:50:05 -04:00
worktycho
523db778d9 Merge pull request #1972 from Woazboat/CodeCleanup_refactored
Fixed compiler warning overrides in Vector3.h
2015-05-09 00:25:38 +01:00
Woazboat
eaba777a0e Fixed compiler warning overrides in Vector3.h 2015-05-09 01:15:45 +02:00
NiLSPACE
4d459d39ee Merge pull request #1971 from mc-server/worktycho-patch-1
Move chunk position accesses after the chunk validity checks
2015-05-09 00:51:34 +02:00
Tiger Wang
218010cd96 Fixed some Visual Studio warnings 2015-05-08 23:32:02 +01:00
worktycho
1cef39cb73 Move chunk position accesses after the chunk validity checks 2015-05-08 23:20:22 +01:00
Mattes D
9329c2c2cb Merge pull request #1945 from Woazboat/CodeCleanup_refactored
Small code cleanup - clean version
2015-05-08 21:52:41 +02:00
Safwat Halaby
60f150e77d Update Contributing.MD
Double space is rendering as a single space so I changed the comment line a bit, the new version is clearer anyway.
Added an exception to CamelCase (single letter vars)
2015-05-08 19:59:14 +03:00
Alexander Harkness
46bdc6c2c6 Fix build URLs, now .tar.gz 2015-05-08 17:20:59 +01:00
Alexander Harkness
aee46a222f Merge pull request #1957 from SafwatHalaby/patch-1
Added pre-commit hook to CONTRIBUTING.md5
2015-05-08 17:00:02 +01:00
Safwat Halaby
f410ce5987 Added pre-commit hook to CONTRIBUTING.md
Also added some other missing stuff.
2015-05-08 18:58:36 +03:00
Alexander Harkness
68683c5848 Merge pull request #1967 from jammet/patch-4
Corrected hopper recipe
2015-05-08 16:11:16 +01:00
jammet
3853db94e2 Corrected hopper recipe 2015-05-08 17:06:39 +02:00
Alexander Harkness
05db1904f9 Fixed syntax error 2015-05-08 15:13:58 +01:00
Alexander Harkness
6d07cb43ef Merge pull request #1966 from SafwatHalaby/Spaces
Spaces in cPath
2015-05-08 15:10:56 +01:00
wiseoldman95
290bc2e377 Spaces in cPath 2015-05-08 17:08:15 +03:00
Woazboat
eb84ffe5a6 Added float comparison warning overrides to Vector3::hasNonZeroLength 2015-05-08 15:12:33 +02:00
Woazboat
ed404bc2f6 Ignoring Clang warnings for strict float comparison in Vector::Equals() 2015-05-08 15:12:33 +02:00