Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-07-22 | cIsThread: Reset m_ShouldTerminate after the thread has stopped (#4258) | peterbell10 | 1 | -1/+1 | |
This allows threads to be restarted after stopping. Fixes #4257 | |||||
2017-10-21 | cWorld Threads: Seperate initialization and thread start. | peterbell10 | 1 | -4/+2 | |
Prevents nullptr dereferences before Start has been called. | |||||
2016-12-15 | Fixed minecart destruction using deallocated memory. | Mattes D | 1 | -0/+2 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -13/+13 | |
2015-10-04 | Fixed a race condition between chunk loader and generator. | Mattes D | 1 | -28/+4 | |
When using ChunkWorx to generate multiple chunks, the server would sometimes fail an assert because it would generate a chunk even when it was successfully loaded. This was caused by chunks queued in cWorld's m_SetChunkDataQueue and thus being marked as "InQueue" although they were already loaded. Solved by adding a new parameter to chunk coord callbacks specifying whether the operation succeeded or failed, and using that instead of the chunk presence flag to decide whether to generate or not. | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -1/+1 | |
2015-06-14 | Fixed log files' timestamps | Tiger Wang | 1 | -2/+2 | |
Also made Release mode log less technical information about the world storage threads. | |||||
2014-12-10 | Added a cWorld:PrepareChunk function. | Mattes D | 1 | -14/+44 | |
It prepares the chunk - loads or generates it and lights it. The spawn prepare process uses this function. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -2/+2 | |
2014-09-30 | Removed WSSCompact | Tiger Wang | 1 | -2/+0 | |
2014-09-05 | WorldStorage no longer queues chunks into generator. | Mattes D | 1 | -16/+7 | |
2014-09-05 | Rewritten chunk status to specify whether the chunk is in queue. | Mattes D | 1 | -5/+6 | |
This fixes #1370. | |||||
2014-09-03 | commit | LO1ZB | 1 | -1/+1 | |
2014-09-03 | hopefully the last commit for removing y-coord from chunks. :) | LO1ZB | 1 | -1/+1 | |
2014-08-28 | remove y-coord from chunks | LO1ZB | 1 | -14/+14 | |
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -1/+1 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -3/+3 | |
2014-07-17 | Basic style fixes. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -2/+2 | |
This was mostly done automatically and then visually inspected for obvious errors. All //-style comments should have a 2-space separation from the code, and 1 space after the comment sign. | |||||
2014-07-04 | Removed world-saving log messages. | madmaxoft | 1 | -30/+5 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=1518 | |||||
2014-05-11 | Fixed a warning and a complaint about a never-read variable. | archshift | 1 | -1/+0 | |
2014-04-08 | Removed check for enqueuing a chunk that is already enqueued to be loaded | Tycho | 1 | -1/+1 | |
This remaval is safe as cWorldStorage checks for duplicate chunks when dequeuing and removes an expensive iteration whilst holding the queue lock | |||||
2014-01-17 | Added user setting compression factor | Tycho | 1 | -5/+5 | |
2014-01-06 | Fixed wrong enqueueing. | madmaxoft | 1 | -2/+9 | |
Fixes #505. | |||||
2014-01-02 | fixed a few remaining issues with worldstorage | Tycho Bickerstaff | 1 | -18/+3 | |
2014-01-02 | rewrote queue not to use promises for waits | Tycho Bickerstaff | 1 | -14/+7 | |
2013-12-31 | refactored chunk Queue to seperate class | Tycho Bickerstaff | 1 | -92/+44 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-08-19 | Moved entities into the Entities subfolder. | madmaxoft | 1 | -1/+1 | |
2013-08-11 | Each world now ticks in a separate thread. | madmaxoft | 1 | -0/+9 | |
2013-05-28 | Fixed previous commit | madmaxoft@gmail.com | 1 | -2/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1528 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-04-13 | Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick() | madmaxoft@gmail.com | 1 | -8/+4 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-27 | Made Anvil the default storage schema | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@894 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: WorldStorage-related files in a separate subfolder | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@882 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Generating-related files in a separate subfolder | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-15 | Added a true "all chunks saved" message for the save-all console command (FS #215) | madmaxoft@gmail.com | 1 | -0/+26 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@738 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-06-14 | Attempt to bring sanity to newlines across systems. | cedeel@gmail.com | 1 | -379/+379 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-27 | Improved logging on mis-configuration in cPlayer and cWorldStorage | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@505 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-05-25 | Merged the composable_generator branch into the trunk | madmaxoft@gmail.com | 1 | -60/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-24 | Reverted the previous commit - it is useless, since entities still depend heavily on cWorld | madmaxoft@gmail.com | 1 | -14/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-23 | Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers) | madmaxoft@gmail.com | 1 | -14/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-14 | Split chunk data into separate arrays; decoupled most sources from cChunk.h dependency | madmaxoft@gmail.com | 1 | -9/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-13 | Fixed the server not waiting for the world to save completely before stopping | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@410 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-12 | Gotten rid of stricmp MSVC warnings | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@406 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-10 | Fixed *nix threading issue; | madmaxoft@gmail.com | 1 | -4/+5 | |
Thread objects now use variable names consistent with MCS convention; Fixed a few *nix threading cornercases git-svn-id: http://mc-server.googlecode.com/svn/trunk@392 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-07 | Added the Anvil level format (MCA) support, read-only for the time being. Now MCS can read your worlds from the official server :) | madmaxoft@gmail.com | 1 | -1/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@380 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-03-06 | World storage names are now case-INsensitive | madmaxoft@gmail.com | 1 | -2/+2 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@373 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Improved threading performance by reducing thread-hopping in queue locks (cs unlocked before event set) | madmaxoft@gmail.com | 1 | -12/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@341 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Chunk now has an indicator of load failure; Chunk generator uses cChunkStay | madmaxoft@gmail.com | 1 | -0/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-28 | Implemented synchronous chunk loading; optimized cChunkStay interface for speed (though still unused ;) | madmaxoft@gmail.com | 1 | -5/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@336 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-26 | Implemented chunk loading without generating on load-failure | madmaxoft@gmail.com | 1 | -10/+34 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@331 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-20 | Using own ASSERT() that logs to file | faketruth | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-18 | Thread-safe chunk generation, storage and generator are queried for progress while initializing server | madmaxoft@gmail.com | 1 | -7/+45 | |
Note that this commit breaks foliage generation - there are no trees in the chunks generated! git-svn-id: http://mc-server.googlecode.com/svn/trunk@292 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-17 | Chunk coords mostly "upgraded" to include the Y coord for future compatibility | madmaxoft@gmail.com | 1 | -14/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@285 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Chunks are now marked as saved | madmaxoft@gmail.com | 1 | -2/+10 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@277 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-16 | Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properly | madmaxoft@gmail.com | 1 | -45/+136 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-15 | Fixed a deadlock in WorldStorage | faketruth | 1 | -3/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@265 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-02-13 | Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it. | madmaxoft@gmail.com | 1 | -0/+256 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6 |