1
0
Commit Graph

5461 Commits

Author SHA1 Message Date
Tycho
8be3a8f7dc Implemented Allocation Pool use by cChunkData 2014-05-23 17:18:11 +01:00
Tycho
6991c2dd84 Use placement new to initalise objects 2014-05-23 15:48:09 +01:00
Tycho
5a76eab4c0 Merge branch 'chunksparsing/structs' into AllocationPool 2014-05-23 15:02:55 +01:00
Tycho
41692da30c Ignore CTest files 2014-05-23 15:01:27 +01:00
Tycho
4b23472097 Fixed if spaces 2014-05-21 21:46:20 +01:00
Tycho
4124eac15d Added callback for stopping starvation mode 2014-05-21 21:30:08 +01:00
Tycho
88c61a2e96 Fixed reversed comparisons to null 2014-05-21 21:18:14 +01:00
Tycho
485752de82 Implemented Allocation Pool 2014-05-21 20:59:04 +01:00
Tycho
93c0dcb1fe Added space to ChunkData.cpp 2014-05-21 20:26:43 +01:00
Tycho
bd880603a5 Changed cChunkData::SetMeta to return a bool indicating whether the value changed 2014-05-21 20:18:09 +01:00
Tycho
5929ffbc40 Fixed stylistic issues 2014-05-21 20:08:34 +01:00
Tycho
024027db89 Renamed cChunkBuffer to cChunkData 2014-05-21 19:58:48 +01:00
Tycho
cdd3d11496 Fixed minor style issues 2014-05-21 18:33:54 +01:00
Tycho
8a0d3f7921 Fixed issue with types not being defined for an unused parameter 2014-05-18 15:37:17 +01:00
Tycho
f451075c1f derp 2014-05-17 15:32:28 +01:00
Tycho
016b8f7b99 C++11 2014-05-17 15:19:35 +01:00
Tycho
1f98f21dd1 fixed assignment bugs and Skylight bug 2014-05-17 15:11:58 +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
worktycho
029e9a826a test code does not need testing 2014-05-17 13:05:12 +01:00
worktycho
8bb8c2ca7d Don't start mcserver up in coverage builds
Starting the server up is not a test.
2014-05-17 13:04:40 +01:00
Tycho
97dc7d8f66 Added some more tests 2014-05-11 19:40:32 +01:00
Tycho
c46f240d81 Added several more testsfor arrays and coordinates 2014-05-11 19:24:09 +01:00
Tycho
5d39ecc64b Fixed bug that caused Array Setters to always create segments 2014-05-11 18:42:38 +01:00
Tycho
a6940445f6 test 0 values 2014-05-11 18:29:47 +01:00
Tycho
9568c223ff SkyLight defaults to 0xFF 2014-05-11 18:24:21 +01:00
Tycho
79ab80718e Cerated array copy tests for block and skylight 2014-05-11 15:57:56 +01:00
Tycho
9278bb732d Fixed a bug in writting zeros to a non-allocated section 2014-05-11 15:52:02 +01:00
Tycho
009f749962 Coverage builds are called MCServer not MCServer_debug 2014-05-10 18:07:50 +01:00
Tycho
7ca33bd832 Fixed stupid error 2014-05-10 17:56:59 +01:00
Tycho
43fc1471a1 Merge branch 'master' into chunksparsing/structs 2014-05-10 17:55:43 +01:00
Tycho
7ebb0afd4e Fail build on error 2014-05-10 17:52:46 +01:00
Tycho
4e6499c1c2 Don't run start test under gcov 2014-05-10 17:51:20 +01:00
Tycho
6124b5208c quite gcov take 4 2014-05-10 17:47:45 +01:00
Tycho
0adb5c94b8 Fixed stupid buffer overflow in array setblocks 2014-05-10 17:46:49 +01:00
STRWarrior
079f8cd535 Fixed the console saying no plugins are loaded. 2014-05-10 17:55:39 +02:00
Mattes D
ba847421bb Merge pull request #995 from mc-server/Portal_Pigman
Portal zombie pigman
2014-05-10 17:24:35 +02:00
Tycho
ba25f6b524 Add arries copies tests 2014-05-10 16:15:45 +01:00
STRWarrior
4ca178f24a Fixed compile problem. 2014-05-10 17:09:48 +02:00
Tycho
29d5f8eb0a Added new test 2014-05-10 16:08:08 +01:00
STRWarrior
7f3683cfab A portal block now chooses a number between 2000 and 0 2014-05-10 17:03:02 +02:00
STRWarrior
3b1f11bd6a Each time a portal block receives a tick it has a 1 in 500 chance of spawning a zombie pigman. 2014-05-10 16:43:06 +02:00
Tycho
0940747f3b Added some more tests 2014-05-10 15:30:48 +01:00
Tycho
cb6200345c Fixed bug in setting metas 2014-05-10 15:19:06 +01:00
Tycho
83a7b2333f quieted gcov 4 2014-05-10 14:44:20 +01:00