Commit Graph
100 Commits
Author SHA1 Message Date
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
worktychoandTycho 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
worktychoandTycho 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
worktychoandarchshift 0690788cdf Replaced strange algebra with dot product.
10 degrees is a completely arbitary constant I pulled from nowhere. Feel free to adjust this value.
2014-06-17 20:36:47 -07:00
worktycho 2f2071afc1 Merge pull request #1101 from Howaner/FenceGate
Fix fence gate redstone simulator.
2014-06-17 18:39:21 +01:00
worktycho 4fddbf9dfc Merge pull request #883 from mc-server/CutOffLighting
Lighting reads blocktypes only for blocks under heightmap.
2014-06-16 17:37:07 +01:00
worktycho d5a99d5b78 Remove windows bindings crutch 2014-06-14 13:48:12 +01:00
worktycho e10940d57c Fixed compile 2014-06-12 17:24:14 +01:00
worktychoandTycho 70c20d7772 Fixed constness 2014-06-11 17:17:19 +01:00
worktycho 7cb88e8c06 Added coverity badge 2014-06-11 10:21:24 +01:00
worktycho 3e25852382 Removed assert that is now informed by type system 2014-06-11 10:04:34 +01:00
worktycho 8695928dd1 Update GETTING-STARTED.md 2014-06-11 09:37:00 +01:00
worktycho 3c661d84c1 Merge pull request #1077 from mc-server/fuelfixes
Corrected the furnace fuels. Solves #1071
2014-06-07 19:02:11 +01:00
worktycho b925eb4ad4 Capitalising 2014-06-07 00:18:58 +01:00
worktycho 3275bbf01b Fix reading 64 bit values 2014-06-07 00:10:58 +01:00
worktycho 43342540c8 Fixed Time of day 2014-06-06 23:54:24 +01:00
worktycho 8c8c3ba5c4 Grammar 2014-06-06 14:37:11 +01:00
worktycho 702571024c Expanded GPU section 2014-06-06 14:02:54 +01:00
worktycho 2ed2f20a31 Fixed numbers 2014-06-06 11:38:29 +01:00
worktycho 34c06d8c39 typo 2014-06-06 10:29:10 +01:00
worktycho 413d90420d Start of GPU section. 2014-06-05 11:59:06 +01:00
worktycho 2de36c8ccc Merge pull request #1059 from mc-server/coverity_fixes
Coverity fixes
2014-06-04 12:23:28 +01:00
worktycho c94d0c8144 derp 2014-06-04 11:39:21 +01:00
worktycho ae37dfec8d Fixed bad coordinate 2014-06-04 11:29:08 +01:00
worktycho 98c575ebc2 Make sure m_StackSizeToBeUsedInRepair Always has a valid value 2014-06-04 11:12:06 +01:00
worktycho 85be62a8cd Removed unused field test 2014-06-04 11:02:17 +01:00
worktycho 87c4d0ea57 Initialise m_Callbacks field to NULL in empty constructor. 2014-06-04 10:58:09 +01:00
worktycho 750333855c abort does not take a parameter. 2014-06-01 17:23:02 +01:00
worktycho 476fdc9952 Use abort in SIGSEGV and SIGABRT handlers
This should cause Mcserver to generate core dumps when it crashes.
2014-06-01 17:05:51 +01:00
worktycho be10f07db0 Fix bug when a_Idx is not a multiple of SectionBLockCount 2014-05-29 19:44:36 +01:00
worktycho 901e3ec494 Derp 2014-05-29 19:35:47 +01:00
worktycho b50181e361 fix underflow
Wish c++ could specify saturating unsigned underflow.
2014-05-29 19:29:06 +01:00
worktycho 0cfee5d141 Fixed Wrong types in nibble sizeofs 2014-05-29 19:10:35 +01:00
worktycho 80fe19c0e2 Fixed overflow bug 2014-05-29 17:41:07 +01:00
worktycho d9c667d28f Add comment 2014-05-29 12:04:37 +01:00
worktycho 444cce1269 Cmake system name not System name 2014-05-28 21:39:28 +01:00
worktycho a2b741d904 derp 2014-05-28 20:41:34 +01:00
worktycho 1cf426d881 FreeBSD requires __POSIX_VISIBLE macro to be defined 2014-05-28 20:39:47 +01:00
worktycho 171e13de4f for compiliers other than msvc we need to tell lua that its building as a dll 2014-05-28 15:59:59 +01:00
worktycho 5a9e49fbeb Fix cmake errors in msvc 2014-05-28 11:49:36 +01:00
worktycho 6ce73ada6f Update GroupManager.h 2014-05-25 19:17:01 +01:00
worktycho d481f9ece3 Merge pull request #1030 from mc-server/betterthan950
A fix that is better than #950.
2014-05-25 18:40:32 +01:00
worktycho 16dbad8107 Merge pull request #1005 from SphinxC0re/LoadPluginfolder
Load pluginfolder
2014-05-18 16:48:32 +01:00
worktycho 7616895eb3 Fix assignment operators test 2014-05-17 14:35:08 +01:00
worktycho 4e841146b8 Fix assignment ops 2 2014-05-17 14:29:15 +01:00
worktycho d53c84a781 Add test for zeros 2014-05-17 14:07:49 +01:00
worktycho 7777da379d Fix assignment operators 2014-05-17 14:04:44 +01:00
worktycho a7a811af3a Add tests for assignment operator 2014-05-17 13:59:31 +01:00
worktycho 710656f84f Rewrote array copies test
Moved each patten test into its own scope to test all unallocated section code paths.
Moved 0's around so that they test the allocated sections code paths.
2014-05-17 13:39:28 +01:00
worktycho 4697133075 excluding tests excludes everything 2014-05-17 13:20:28 +01:00