1
0
Commit Graph

8575 Commits

Author SHA1 Message Date
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
Woazboat
689fe6041c Changed Vector3 Equals function to avoid using memcmp 2015-05-08 15:12:33 +02:00
Woazboat
8a50918d2a Tracer::signum function now returns int
convert c style casts to c++ static casts

Changed fabs() to std::abs()
2015-05-08 15:12:32 +02:00
Woazboat
c74bfc35d6 Check for zero length vector in Trace
Added hasNonZeroLength member function to Vector3
2015-05-08 15:12:32 +02:00
Woazboat
0d003a2d2a Changed Tracer::m_NormalTable to static array
Was previously instantiated for every trace
2015-05-08 15:12:32 +02:00
Mattes D
237d8fa501 Merge pull request #1960 from mc-server/FixInterPluginCalls
Fix inter plugin calls
2015-05-08 00:18:41 +02:00
Mattes D
fee690a3d1 Fixed inter-plugin calls.
When an inter-plugin call failed due to function not found, the server would maul the LuaState and "yield".
Fixes #1959.
2015-05-07 23:03:04 +02:00
Mattes D
ceac39c4cd Added Lua C API checks in Debug builds. 2015-05-07 23:03:02 +02:00
worktycho
011126293b Merge pull request #1949 from SafwatHalaby/burn
AI - Better shade cover
2015-05-07 21:58:02 +01:00
Tri125
429e545167 Fixed #1893
Quartz ore now stack properly
2015-05-07 11:49:11 -04:00
Mattes D
4888f671d1 Merge pull request #1951 from mc-server/BroadcastRefactor
Added support for sending additional data in the ParticleEffect packet
2015-05-07 16:14:56 +02:00