Commit Graph
100 Commits
Author SHA1 Message Date
worktycho 7e0dc0f9bc Merge pull request #2117 from Seadragon91/clang_errors
Fixed missing overrides and added a ignore flag for reserved macro for clang version 3.6 and higher.
2015-05-23 15:31:49 +01:00
tycho 2b844e3680 Add build_tools and Self_test as cache options, so that CLion can detect them 2015-05-23 06:36:45 -07:00
worktycho 26c9c34780 Fixed wrong copy/paste
Fixes CID 110962
2015-05-23 11:30:15 +01:00
worktycho c0d7b4d569 Merge pull request #2030 from beeduck/master
Issue #1868 and Issue #1984
2015-05-21 07:50:30 +01:00
worktycho 1bdd205eb8 Merge pull request #2073 from SafwatHalaby/rand
Path recalculation improvements
2015-05-20 22:40:25 +01:00
worktycho eaedd5f19d Merge pull request #2074 from SafwatHalaby/rmUnique
Removed UniquePTR from PathFinder
2015-05-20 13:06:51 +01:00
tycho d9d4adc2a5 Moved no buffering command line argument to tclap 2015-05-20 01:50:04 +01:00
tycho 7c196ffde6 Move commlog arguments over to TCLAP 2015-05-20 01:50:04 +01:00
worktycho 8026133078 Don't verify certificate
Temporary Hot-fix for #2072
2015-05-19 21:25:38 +01:00
tycho 2e98bfc4e9 Add support for setting ports through command line 2015-05-18 17:26:12 +01:00
tycho c2303ac4cf Fix max slots logic to only override if acctually present. 2015-05-18 15:43:26 +01:00
worktycho c94134ec5e Fix FastRandom seeding
Fixes #1815
Fixes #2021
2015-05-17 13:16:18 +01: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
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
worktycho 774609b405 Merge pull request #2022 from mc-server/ForEachCommandAPIFix
Fixed cPluginManager:ForEachCommand() and ForEachConsoleCommand()
2015-05-14 19:13:06 +01: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
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
worktycho 1cef39cb73 Move chunk position accesses after the chunk validity checks 2015-05-08 23:20:22 +01:00
worktycho 011126293b Merge pull request #1949 from SafwatHalaby/burn
AI - Better shade cover
2015-05-07 21:58:02 +01:00
worktycho 7771091099 Actually empty the open list 2015-05-06 17:26:59 +01:00
worktycho 18a268a961 Merge pull request #1943 from mc-server/revert-1917-CodeCleanup
Revert "Small code cleanup"
2015-05-05 22:08:49 +01:00
worktycho ee939cf8c8 Revert "Small code cleanup" 2015-05-05 22:08:40 +01:00
worktycho f3101f1d04 Merge pull request #1917 from Woazboat/CodeCleanup
Small code cleanup
2015-05-05 21:38:08 +01:00
worktycho f71d693302 Merge pull request #1939 from SafwatHalaby/Polising
AI - More conservative use of ResetPathFinding, some polishing
2015-05-05 14:09:16 +01:00
worktycho 6df0e877e8 Print Build info as part of the crash information 2015-05-04 09:07:03 +01:00
worktycho facb6e7416 Merge pull request #1909 from Woazboat/CodeCleanup
cSetChunkData constructor explicitly requires std::move()
2015-04-27 21:11:56 +01:00
worktycho 27413bcec3 Update contributing.md with C++11 2015-04-26 13:27:05 +01: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
worktycho d02c908670 Merge pull request #1786 from mc-server/pipelineSyntax
Added pipelining syntax for generators
2015-03-21 21:08:33 +00:00
worktycho 7089b68030 Style fixes 2015-03-21 19:45:01 +00:00
worktycho d966200a6c Fixed alignment 2015-03-21 19:35:25 +00:00
worktycho 29e267cac0 Merge pull request #1817 from bibo38/bugfix1715
Changed Variable types of Endianness.h to uniform UInt* types
2015-03-17 20:42:13 +00:00
worktycho d16dc5a1db Merge pull request #1816 from bibo38/bugfix1715
Bugfix 1715
2015-03-17 17:56:14 +00:00
worktycho 83531707f3 Merge pull request #1811 from mc-server/grass
Fixed grass spread, closes #1743
2015-03-15 12:16:37 +00:00
worktycho 45fa2d98db Fixed Bug in cChunkData.
FIxed a bug where if the index was not aligned with the sections empty sections would not be set in the correct location.
2015-03-10 20:32:01 +00:00
worktycho 96def00c7c Fix clang compile error 2015-01-27 14:53:35 +01:00
worktycho 19121d2962 Wrap debug variable in ifdef
avoidss unused variable error in clang
2015-01-22 20:12:51 +01:00
worktycho 6758c1d2a1 correct comment to say milliseconds 2015-01-17 22:24:25 +00:00
worktycho dcdecc0ca7 Add make as a required program for *nix 2014-12-26 14:27:26 +00:00
worktycho 9fde173142 Init Mojang API pointer
Fixes CID 90583
2014-12-23 00:41:46 +00:00
worktycho d5dfacae87 Fixed formatstring 2014-10-23 23:23:34 +01:00
worktycho 25ebedbe45 Use universal references 2014-10-16 15:11:35 +01:00
worktycho fff9e50109 Aligned simulators 2014-10-12 12:44:59 +01:00
worktycho daadde2077 Fix style 2014-10-12 12:18:52 +01:00
worktycho 6a448be88c Fix spaces 2014-10-12 12:17:29 +01:00
worktycho 8dfeb6e324 Update World.cpp 2014-10-12 12:15:52 +01:00
worktycho 1a07dc897d Fix lambda capture 2014-10-11 14:43:06 +01:00
worktycho c3479f7557 Fix flag name in gcc 4.6 and earlier 2014-10-09 10:07:58 +01:00
worktycho 5cf1ba092e Enabled C++11 in gcc 2014-10-09 09:53:16 +01:00
worktycho a20bd0dbbd Update CMakeLists.txt 2014-10-05 23:44:55 +01:00
worktycho 80fe8d7789 Update Chunk.cpp 2014-09-28 17:57:01 +01:00
worktycho c40f65ad83 Update creatable.cpp 2014-09-27 15:29:11 +01:00
worktycho cc73b70211 Update IncrementalRedstoneSimulator.inc 2014-09-27 15:24:01 +01:00
worktycho 88a07bd184 Update IncrementalRedstoneSimulator.inc 2014-09-27 15:19:32 +01:00
worktycho 20101fab99 Correct method name. 2014-09-27 15:04:08 +01:00
worktycho 94a0d04d58 Set chunk data 2014-09-27 14:49:03 +01:00
worktycho 4f8818748e Add data accessor. 2014-09-27 14:46:50 +01:00
worktycho 02db79d725 Update Plugin.h 2014-09-26 19:00:26 +01:00
worktycho 411c69b420 Merge pull request #1419 from mc-server/redstoneTests
Added test mocking to IncrementalRedstoneSimulator
2014-09-26 16:04:26 +01:00
worktycho e3e7bc21f7 Merge pull request #1447 from cedeel/patch-2
A few compiler warning fixes
2014-09-23 08:15:22 +01:00
worktycho 1f0b6eeaf3 Actually set default 2014-09-09 12:18:20 +01:00
worktycho bd810b80a6 use the correct ASSERT 2014-09-08 21:31:47 +01:00
worktycho 64071aeda9 capitalisation error 2014-09-08 17:45:23 +01:00
worktycho 4613fabd45 derp 2014-09-08 15:15:31 +01:00
worktycho 5f207c8bb7 If server fails init, save any changed or generated settings. 2014-09-08 14:57:58 +01:00
worktycho 22b4511640 Update SetFlags.cmake 2014-09-06 18:11:42 +01:00
worktycho f7d06f093e Wrong cmake var 2014-09-06 14:55:06 +01:00
worktycho 8b5ad667d9 Improve error message 2014-09-06 14:49:40 +01:00
worktycho f22b9aa5f4 Should now compile in clang 3.0 2014-09-06 14:38:47 +01:00
worktycho de30a8c8c6 Make sure packets are valid
Fixes CID 66408, 66409 and 72045
2014-09-01 18:18:07 +01:00
worktycho 468c2558d6 Removed isDone check
The same data is returned by executeStep so why execute a call when you have the data.
2014-08-31 21:26:02 +01:00
worktycho 361b7d5379 Changed null check to assert
Changed the null check to clarify that the function should not be called before the entity has been attached to a world.
2014-08-31 21:14:42 +01:00
worktycho 3e7332c70c Delete the entity before removing from the list
Old code was calling dereference on invalid iterator
2014-08-31 20:28:41 +01:00
worktycho b6d77d9679 Init RankMgr pointer to NULL 2014-08-31 20:26:08 +01:00
worktycho 365d2447d0 Check range of y in HasNearLog
Fixes #803
2014-08-31 00:15:48 +01:00
worktycho 4315deb90b Added parenthasies 2014-07-13 16:07:35 +01:00
worktycho e1a561286a Fixed Issue with Comparing agast the wrong chest, potentially causing crashes. 2014-07-13 16:03:14 +01:00
worktycho 132b367316 CopyPaste Error
Fixes CID 70460.
2014-07-13 15:32:44 +01:00
worktycho 64697f0cab Another COpyPaste Error
Fixes CID 70461
2014-07-13 15:29:43 +01:00
worktycho 4a6d606f74 Made CreateProjectile a pointer 2014-07-13 15:16:49 +01:00
worktycho bfc485bfe2 Fix CopyPaste error that ment a_MaxRelX wasdn't checked
Fixes CID 70464
2014-07-13 15:05:54 +01:00
worktycho 0fb236bfe4 typo 2014-06-30 22:21:22 +01:00
worktycho 84272fb155 Added dependecy of tolualib on lua 2014-06-30 22:21:07 +01:00
worktycho afda11a495 Changed comment 2014-06-30 19:33:10 +01:00
worktycho fb5d88b17e Merge pull request #1129 from mc-server/CodeCoverageCondition
Moved CodeCoverage into a separate cmake condition.
2014-06-27 19:24:02 +01:00
worktycho 833d328435 Added MSVC guard 2014-06-27 11:07:03 +01:00
worktycho 9e1829e4e6 Update SetFlags.cmake 2014-06-27 10:45:43 +01:00
worktycho 62669f64de Update SetFlags.cmake 2014-06-27 10:27:02 +01:00
worktycho 25a0264cc4 Check GridSize for 0
Fixes CID 68226 and CID 66437
2014-06-26 19:04:56 +01:00
worktycho b832a202ab Add Null check to SendBlockTo
Fixes CID 43611
2014-06-26 18:30:02 +01:00
worktycho 03da9ae3c4 Merge pull request #1125 from Howaner/Entities
Add entity health saving.
2014-06-24 15:23:55 +01:00
worktycho 3c0452ebef Fixed missing break
Fixes CID 68409
2014-06-22 14:17:07 +01:00
worktycho 119ba562d5 Fixed invalid iterator
Fixes CID 60408
2014-06-22 14:15:41 +01:00
worktycho 63ce2e8b37 Fixed compile errors 2014-06-22 12:30:37 +01:00