1052 Commits

Author SHA1 Message Date
David Williams
6e8d9dfb75 Windows now uses standard C++ timer. I assume we weren't using it before because it wasn't present on older versions of Visual Studio?
Moved timer code to header.
2015-02-06 16:52:21 +01:00
David Williams
8cff2bb2da Moved random vectors to header files. 2015-02-06 16:43:29 +01:00
David Williams
eb45c97a61 Moved marching cubes tables to header file. 2015-02-06 16:37:08 +01:00
David Williams
d480935e38 Moved A* pathfinder data from .cpp to header. 2015-02-06 16:08:05 +01:00
David Williams
8065b709d1 Made Region header only. 2015-02-06 00:07:32 +01:00
Matt Williams
ecb3439d22 Reorder initialisation to silence -Wreorder warnings 2014-12-12 10:36:45 +00:00
David Williams
436e8d479c Compile fix. 2014-10-03 21:47:04 +02:00
David Williams
86357d66b7 Normalized line endings 2014-09-25 22:38:01 +02:00
David Williams
75df6621bd GCC fixes 2014-09-21 23:07:14 +02:00
David Williams
db2e62d2a8 Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples. 2014-09-21 17:57:42 +02:00
David Williams
f95cc6bfca Added comments and warnings. 2014-09-21 17:50:35 +02:00
David Williams
3a56a70f38 Put deprecated functions back in - lets remove them in the future after more thought. 2014-09-21 15:07:54 +02:00
David Williams
ccb9f8d564 Updated documentation. 2014-09-21 15:03:13 +02:00
David Williams
ae0c5b3702 Added comments and removed deprecated functions. 2014-09-21 14:47:46 +02:00
David Williams
33ec5e1d79 Added a couple of comments. 2014-09-21 12:16:54 +02:00
David Williams
d6a7b83698 Moved Pager to be a nested class of PagedVolume. 2014-09-21 11:42:12 +02:00
David Williams
db9a74fdb4 Moving Chunk to be a nested class of PagedVolume. 2014-09-21 10:27:55 +02:00
David Williams
71035029d1 More renaming blocks to chunks. 2014-09-20 23:27:28 +02:00
David Williams
0ab7f27f0f More renaming of block to chunk. 2014-09-20 21:27:26 +02:00
David Williams
f3a18befad More renaming of 'block' to 'chunk' 2014-09-20 21:17:21 +02:00
David Williams
8d7d88a7df Renamed a bunch of stuff from using 'block' to 'chunk' 2014-09-20 17:39:12 +02:00
David Williams
ede35435a0 Renamed UncompressedBlock to Chunk. 2014-09-20 17:26:57 +02:00
David Williams
880dcd8645 Fixed incorrect messages about temp files not being deleted. 2014-09-20 17:17:18 +02:00
David Williams
6f08184fcb Fixed initialization of blocks. 2014-09-19 17:02:44 +02:00
David Williams
25a1d95387 Renamed LargeVolume to PagedVolume, deleted SimpleVolume, and set up typedefs pointing LargeVolume and SimpleVolume to PagedVolume for backwards compatibility. 2014-09-19 16:50:24 +02:00
David Williams
3a08487dc2 Blocks now stored in an unordered_map (hash based) rather than a map. 2014-09-18 23:35:16 +02:00
David Williams
2602b00103 Simplifying code. 2014-09-18 16:54:14 +02:00
David Williams
b08974c197 Work on limiting memory usage. 2014-09-18 16:26:47 +02:00
David Williams
d2bbd6beba Some renaming. 2014-09-18 14:58:17 +02:00
David Williams
8dd026e095 Work on limiting maximum memory usage. 2014-09-18 14:51:43 +02:00
David Williams
38b8764129 Tidying up prefetch function. 2014-09-18 14:22:44 +02:00
David Williams
e88466ad4d Tidying flush function. 2014-09-18 14:14:08 +02:00
David Williams
277b6c7b9b Tidying up. 2014-09-17 23:53:14 +02:00
David Williams
916fe310ad Added function to purge null blocks. 2014-09-17 23:31:23 +02:00
David Williams
177eb16bec Tidying and commenting. 2014-09-17 21:40:27 +02:00
David Williams
daa93aab19 Tidying and commenting. 2014-09-17 21:27:52 +02:00
David Williams
98526d38d3 Crash fix. 2014-09-17 21:04:47 +02:00
David Williams
37f1ddaed2 Work on block storage. 2014-09-17 17:10:13 +02:00
David Williams
5b59bc2d8c Moved paging code into block constructor/destructor. 2014-09-17 13:35:43 +02:00
David Williams
2b47c959a5 Work on getUncompressedVoxel(). 2014-09-16 21:39:55 +02:00
David Williams
704eeaf948 Work on supporting no pager being attached. 2014-09-16 17:02:53 +02:00
David Williams
47ace554cc Making use of shared_ptr to track blocks. 2014-09-14 11:47:17 +02:00
David Williams
3cf8f38793 Merged Block and UncompressedBlock classes. 2014-09-13 23:38:11 +02:00
David Williams
5ff54c041f Renamed variable. 2014-09-13 23:14:07 +02:00
David Williams
c0a22de2df Removed a lot of compression-related code. 2014-09-13 12:20:56 +02:00
David Williams
302c6e688b More work eliminating compression from inside LargeVolume. 2014-09-13 11:59:51 +02:00
David Williams
bfe03142b7 Carefully dismanteling compression related code. 2014-09-13 11:30:52 +02:00
David Williams
4781ca5c42 Work on removing compression from LargeVolume. 2014-09-12 15:36:28 +02:00
David Williams
25860122b0 Fixed incorrect array indexing. 2014-08-25 23:07:29 +02:00
David Williams
d06dbdf054 Bit renaming. Old Array class is gone, and is replaced by the Array2D class which has also been renamed to Array. 2014-08-24 22:30:50 +02:00