1
0
Commit Graph

8664 Commits

Author SHA1 Message Date
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
Tri125
9f6192687f Big Magma Cube can now spawn
Following the same method as the Slime, Magma Cube can now spawn with the size of 1, 2 or 4.
2015-05-06 23:56:08 -04:00
Tri125
63af47832d Fixed the sound issue with the MagmaCube
-Name of the sound is correctly capitalized

-Get the appropriate sound depending on its size
2015-05-06 23:12:17 -04:00
tycho
448df85e56 Added support for additional data in the ParticleEffect Packet
Also started refactoring how broadcasts are handled
2015-05-07 03:47:46 +01:00
Mattes D
69ec6e105f Merge pull request #1953 from mc-server/bearbin-fadwp
Properly fix the docs for FindAndDoWithPlayer.
2015-05-06 22:24:10 +02:00
Alexander Harkness
9544020477 Merge pull request #1952 from mc-server/coverity-fix
Actually empty the open list
2015-05-06 20:41:17 +01:00
Alexander Harkness
aa3450808d Properly fix the docs for FindAndDoWithPlayer.
Removed F accidentially added.

Made the two FindAndDoWithPlayers documentation consistent.
2015-05-06 19:59:43 +01:00
Alexander Harkness
68614e7224 Added info about case-sensitivity of FindAndDoWithPlayer 2015-05-06 18:39:03 +01:00
wiseoldman95
40af96b100 AI - Safer WouldBurnAt() 2015-05-06 20:01:06 +03:00
wiseoldman95
753dfb950a AI - Better shade cover 2015-05-06 20:01:06 +03:00
worktycho
7771091099 Actually empty the open list 2015-05-06 17:26:59 +01:00
wiseoldman95
b8aa38b18d (duplicate) AI - Livestock escape fixed, water jumping fixed 2015-05-06 17:23:07 +03:00