summaryrefslogtreecommitdiffstats
path: root/src/Globals.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-04-21Make Windows go brrrr, not tick. tick. tick. (#5201)Tiger Wang1-2/+4
* Fixes #5140
2021-04-12Fix sending incorrect date values on world changeTiger Wang1-5/+13
Yak shave: make more things use cTickTime. Fix a couple of incorrect modulo-on-millisecond-value by making them use WorldTickAge.
2021-03-28Fix Windows XP to 7 compatibility (#5167)Tiger Wang1-5/+7
* Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API
2021-03-05Prepare ChunkData for BlockState storage (#5105)Tiger Wang1-0/+6
* Rename ChunkData Creatable test * Add missing Y-check in RedstoneWireHandler * Remove ChunkDef.h dependency in Scoreboard * Prepare ChunkData for BlockState storage + Split chunk block, meta, block & sky light storage + Load the height map from disk - Reduce duplicated code in ChunkData - Remove saving MCSBiomes, there aren't any - Remove the allocation pool, ref #4315, #3864 * fixed build * fixed test * fixed the debug compile Co-authored-by: 12xx12 <44411062+12xx12@users.noreply.github.com>
2021-02-20Mark UNREACHABLE with intrinsicsTiger Wang1-2/+10
2021-02-10MSVC warningsTiger Wang1-26/+0
2021-02-08CompositeChat: use variants12xx121-0/+20
2021-01-26Fix debug macro situation (#5114)Tiger Wang1-16/+14
Use the standard NDEBUG.
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-32/+52
+ Use libdeflate + Use std::byte * Fix passing temporary to string_view + Emulate make_unique_for_overwrite
2020-09-25Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol131-2/+1
* Removed BiomeDef.h * Removed ChunkDef.h from Globals.h * Added to CONTRIBUTORS. * Re-added empty last line to Globals.h * Included stddef and StringUtils in BiomeDef.h * Fixed build tools compiling. It compiles, but at what cost? * Added include to src/Generating/Trees.h * Include added in ChunkGeneratorThread.h * Moved rearranged includes in LineBlockTracer.cpp * Re-arrange headers in ChunkInterface.cpp * Included ChunkDef.h in Path.h * Included ChunkDef.h in NBTChunkSerializer.h * Rearranged included and added required includes to headers. * Removed unnecessary included in StringUtils.h.
2020-09-05Streamline startup sequenceTiger Wang1-4/+4
* Clean up cRoot & main * Move some OS-specifics into OSSupport
2020-08-19Add FileStream wrapperTiger Wang1-0/+1
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-5/+0
2020-07-19Precompile unordered_map/setTiger Wang1-11/+12
+ Add inclusions to Globals.h * Sort Globals.h - Remove sys/stat.h from Globals.h
2020-07-13Remove unnecessary includesTiger Wang1-13/+0
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-0/+6
* Make our CMake slightly less insane
2020-05-16Update logging code to reduce unnecessary string copying:Peter Bell1-23/+20
* Write into a single fmt::memory_buffer * Use string_view instead of AString for listener callbacks * Also collapsed vFLOG and vLOG functions into one per formatting type
2020-05-10Cleanup unneeded globals (#4736)peterbell101-37/+2
2020-05-09Enable C++17 in buildPeter Bell1-0/+7
2020-05-07Remove old Android leftovers (#4722)Mat1-6/+0
2020-05-05Update fmt to 6.2.0 (#4718)peterbell101-1/+1
* Update fmt to 6.2.0
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-6/+0
The BlockID.h file was removed from Globals.h and renamed to BlockType.h (main change) The BlockInfo.h file was removed from Globals.h (main change) The ENUM_BLOCK_ID and ENUM_ITEM_ID enum names were replaced with ENUM_BLOCK_TYPE and ENUM_ITEM_TYPE (cosmetics) The various enums, such as eDimension, eDamageType and eExplosionSource were moved from BlockType.h to Defines.h, together with the helper functions for converting between them and strings (StringToDimension et al.) (minor) Many inline functions were moved from headers to their respective cpp files, so that BlockType.h could be included only into the cpp file, rather than the header. That broke our tests a bit, since they pick bits and pieces out of the main code and provide stubs for the rest; they had to be re-stubbed and re-verified. eMonsterType values are no longer tied to E_ITEM_SPAWN_EGG_META_* values
2019-08-26Improved testing framework. (#4376)Mattes D1-37/+25
2018-02-05Deal with covered switches consistently (#4161)peterbell101-0/+3
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2018-01-03Add the fmt library (#4065)peterbell101-81/+20
* Replaces AppendVPrintf with fmt::sprintf * fmt::ArgList now used as a type safe alternative to varargs. * Removed SIZE_T_FMT compatibility macros. fmt::sprintf is fully portable and supports %zu. * Adds FLOG functions to log with fmt's native formatting style.
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-14/+0
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-0/+14
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5.
2017-09-01Replace ItemCallbacks with lambdas (#3948)peterbell101-14/+0
2017-08-28Add TOLUA_EXPOSITION for readabilitypeterbell101-0/+4
2017-08-03Remove double includes part 2 (#3890)peterbell101-2/+5
2017-07-30cParsedNBT: Improved error reporting (#3876)peterbell101-2/+4
* cParsedNBT: Improved error reporting * Fix typos
2017-07-28Tentative fix for player-limit race condition (#3862)Tiger Wang1-1/+3
* Attempts to fix #2257 Derived from d233e9843148313c71fbaba96ccff660e47b07b1 * Changed player count type to int * Clarified certain actions
2017-07-21Remove commentpeterbell101-1/+0
2017-07-21Simplify SizeCheckpeterbell101-6/+2
2017-07-21Remove stricmp macro in favour of NoCaseComparepeterbell101-2/+0
2017-07-21Remove alignment macrospeterbell101-7/+0
2017-07-21Remove smart pointer macrospeterbell101-5/+0
2017-07-17Allocate redstone component handlers upfrontpeterbell101-4/+3
2017-06-22NetworkSingleton: Fixed a throw warning in VS2017. (#3792)Mattes D1-3/+3
Also fixed the misleading name.
2017-06-19MSVC Debug builds: Added operator new redirection to provide more info. (#3781)Mattes D1-0/+18
2017-06-19LuaState: Fixed VS2017's throw warnings for destructors. (#3779)Mattes D1-2/+9
2016-08-04Fixed RasPi builds of unit tests.Mattes D1-6/+13
On RasPi with gcc 4.8.2, the asserts wouldn't compile when tests were enabled. Enforced the assumption that ASSERT code is generated only in Debug builds.
2016-06-18Flush immediately after each line when running tests.Mattes D1-54/+55
2016-02-24Removed old and wrong code from Globals.h.Mattes D1-16/+1
2016-02-05Bulk clearing of whitespaceLogicParrot1-6/+6
2015-11-05MSVC: Reviewed warnings, disabled a useless one, re-enabled an old one.Mattes D1-3/+1
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-1/+1
2015-09-25Namechange to CuberiteMattes D1-1/+1
2015-09-15Increase robustness of the logging subsystemtycho1-1/+19
2015-07-31Unified the doxy-comment format.Mattes D1-4/+4
2015-07-14Improved mapsTiger Wang1-0/+2
2015-06-19Externalized cPrefabPiecePool self-test.Mattes D1-6/+10
2015-06-06ComparatorsTiger Wang1-4/+3
2015-06-05Daemon support on Linux.Anthony Birkett1-0/+1
Added null console log listener, avoid printf() when stdout is closed.
2015-06-04Skip unknown cflag for Apple clang & remove cSemaphoreCengiz Can1-1/+0
2015-05-16Move make_unique into a namespace to avoid ADL issuestycho1-3/+7
this prevents VS finding std::make_unique for constructors that take types from std
2015-05-16Initial implementation of IniFile overloadingtycho1-1/+1
2015-05-09More style checking.Mattes D1-2/+2
Spaces around some operators are checked.
2015-03-21Unified cByteBuffer types.Mattes D1-3/+7
cByteBuffer now reads and writes any of the [U]Int<N> types.
2015-02-12LuaAPI: Added client TLS support for TCP links.Mattes D1-1/+2
2015-02-04Exported cServerHandle and cNetwork:Listen to Lua.Mattes D1-0/+1
Also added an example to the NetworkTest plugin.
2015-01-22Added newline to logged messages in the tests.Mattes D1-8/+12
2015-01-22Extracted Google connection testTycho1-0/+10
2015-01-11Initial convertion of a_Dt to std::chronoTycho1-0/+1
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
2015-01-11Created new type cTickTime and rewrote cWorld::TickThread to use itTycho1-0/+3
2014-11-29Added a basic stacktracing for assert and signal failures.Mattes D1-2/+3
2014-11-26Merge remote-tracking branch 'origin-master' into c++11Tiger Wang1-2/+2
2014-10-24Moved the chrono include into Globals.Mattes D1-0/+2
2014-10-24SuggestionsTiger Wang1-2/+1
2014-10-23Removed the "conditional expression is constant" warning.Mattes D1-2/+4
MSVC spits out many of these on its own std libraries.
2014-10-20Migrated cSleep and cTimer to std::chronoTiger Wang1-1/+0
2014-10-19Removed obsolete tr1::shared_ptr.Mattes D1-13/+2
2014-10-19Migrated random generators to std::randomTiger Wang1-0/+1
2014-10-19Use std::threadTiger Wang1-1/+1
2014-10-12Fix spacesworktycho1-2/+2
2014-10-10Moved a few objects to unique_ptrtycho1-0/+7
2014-10-10Fixed MSVC compilation.Mattes D1-0/+3
2014-10-09Float/Ciel: If it's going to use C++11, it might as well take advantage of itarchshift1-20/+6
2014-10-09Use static casts instead of C casts, add floor-cast functionsarchshift1-4/+36
2014-09-26Fixed UNUSED macro so that it doesn't require type knowledge.madmaxoft1-1/+10
Introduced new UNUSED_VAR macro that is used when type knowledge is available (for local variables).
2014-09-17Added first test to show the object can be createdTycho1-0/+21
2014-09-04Revert "Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etc"archshift1-36/+4
This reverts commit 472efa8174626a00ffdf5b39e1a44ac419cd3698. Apparently we don't support some of these features quite yet (darn you C++98!)
2014-09-04Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etcarchshift1-4/+36
Snow Golems must also be above 64Y to spawn snow (as of 1.8).
2014-08-12Renamed LoggersTycho1-1/+1
2014-08-10First Implementatation of new Loggin frameworkTycho1-1/+1
2014-08-03Fixed a ToLua warning - operator = not supported.madmaxoft1-2/+2
2014-07-21Style: Normalized to no spaces before closing parenthesis.madmaxoft1-4/+4
2014-07-21Style: Normalized spaces after if, for and while.madmaxoft1-1/+1
2014-07-19Fixed style: spaces after commas.madmaxoft1-1/+1
2014-07-17Fixed spaces around single-line comments.madmaxoft1-11/+11
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft1-5/+5
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-06-30Fixed size_t printfing under MinGW.Mattes D1-3/+18
2014-06-17Moved Effects.h to EntityEffects.h, added initial implarchshift1-1/+0
2014-05-30Test failures break into MSVC debugger.madmaxoft1-0/+6
2014-05-30Test failures are reported verbosely and into the debug console on Win.madmaxoft1-2/+18
2014-05-27Fixed test globals to work with precompiled headersTycho1-12/+36
2014-05-01Fixed MSVC2013 compilation.Mattes D1-1/+1
2014-04-25Fixed C++11 check for SharedPtr.madmaxoft1-1/+1
2014-04-25Added shared_ptr handling for C++03 mode.madmaxoft1-3/+7
2014-04-24Declared a SharedPtr that hopefully resolves on all platforms.madmaxoft1-1/+9
MSVC2008 has it in std::tr1, all the others in std.
2014-04-24Initial C++ SSL classes.madmaxoft1-2/+4
2014-04-03Fixed a few MSVC type warnings.Mattes D1-0/+3
2014-03-28Fixed non-virtual destructors warnings.madmaxoft1-2/+8
2014-03-14Added Noreturn attribtes to a couple of functions and made a missing noreturn an errorTycho1-2/+9
2014-03-14Added NORETURN macroTycho1-0/+4
2014-03-14Fixed xofts issuesTycho1-1/+2
2014-03-12Fixed commaTycho1-2/+2
2014-03-12Added additional macros to support the MSVC size_t format and changed all formats to use the macrosTycho1-0/+4
2014-03-12Fixed printf format compatabiltyTycho1-0/+5
2014-03-12Fixed comments an assertTycho1-1/+1
2014-03-11Added macros to follow format string checking through wrappersTycho1-0/+4
2014-03-11Unified Vector classesandrew1-0/+8
2014-03-10Fixed test assertsTycho1-3/+4
2014-03-09Be more parinoid about int sizesTycho1-2/+16
2014-03-09Globals.h is now warnings free again.Tycho1-2/+0
Also turned off Wpadded as it is indicates potental performance issues rather than potential bugs
2014-03-01g_BlockXXX => cBlockInfo::XXXandrew1-0/+1
2014-02-20Thread safe cMap managerandrew1-3/+3
2014-01-26Added support for overide in c++11 supporting varients of gcc/clangTycho1-2/+4
2014-01-23PolarSSL is fully used for 1.3.2 protocol encryption.madmaxoft1-0/+3
2014-01-09Move biome definition to separate filesBill Derouin1-0/+1
2014-01-07Disabled an unneeded MSVC warning.madmaxoft1-4/+7
Also sorted the enabled warnings by their numerical code for easier searching..
2014-01-06Disabled the type conversion MSVC warning.madmaxoft1-1/+3
It was hitting way too many false positives.
2014-01-05Changed the release version of ASSERT.Diusrex1-1/+1
This was so a variable only used in ASSERT statements will not give a warning about not being used.
2014-01-05Making all of the useful level 4 warnings be active.Diusrex1-1/+13
2013-12-18Removed offending tr1/memory header inclusion.madmaxoft1-3/+0
We already use <memory> at line 160, this was a double include, additionally causing problems (#424).
2013-12-14Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h.STRWarrior1-0/+1
2013-11-27Fixed a load of issues, clang autodetection works now.Alexander Harkness1-1/+0
This fixes issue #210. This also removes the disableasm option, so it would be wise to remove it from any scripts that use it. I also removed a random line in the middle of globals.h, why was it there?
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-19Fixed general failings with everything. Fixes #211.Alexander Harkness1-12/+13
My editor fixed some extra tabs in globals.
2013-10-09Added static cFile functions to Lua API.madmaxoft1-1/+1
2013-08-07Removed Squirrel.madmaxoft1-6/+0
This compiles under Windows, but is untested in Linux.
2013-03-05IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the addressmadmaxoft@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1257 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1253 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-27Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it.madmaxoft@gmail.com1-1/+2
Still not perfect - chunk and region calculations can be made into a single CPU instruction - SAR - but not all compilers are known to support that (">>" operator on signed datatypes needs to perform arithmetic shift, C/C++ standard makes it implementation-specific; MSVC and GCC do what we need, LLVM unknown) git-svn-id: http://mc-server.googlecode.com/svn/trunk@1224 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-08Removed the SquirrelVM.madmaxoft@gmail.com1-1/+3
It has been crashing the server. http://forum.mc-server.org/showthread.php?tid=610 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1024 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com1-0/+2
Moved all simulators into a subfolder. Replaced cWaterSimulator and cLavaSimulator with a generic cFluidSimulator. Moved original fluid simulation into cClassicFluidSimulator. Fluid simulator parameters (MaxHeight, Falloff) are read from the world.ini file (can have nether-like lava with lower falloff) git-svn-id: http://mc-server.googlecode.com/svn/trunk@956 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-06BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com1-0/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-6/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-04Fixed preprocessor definitions in Linuxmadmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@831 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-17Packets now parse themselves from a cByteBuffer object (1st part of packeting rewrite, http://forum.mc-server.org/showthread.php?tid=524 )madmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@744 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-0/+6
The server is also stoppable from Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@743 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+6
Disabled Squirrel for Android cLog now logs to Android LogCat as well Fixed Lua so it compiles on Android Removed/commented out exceptions in JsonCpp so it compiles on Android git-svn-id: http://mc-server.googlecode.com/svn/trunk@741 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-0/+2
git-svn-id: http://mc-server.googlecode.com/svn/trunk@711 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13Fixed case comparison - used the builtin functionmadmaxoft@gmail.com1-12/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@663 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-13fixed /tp commandlapayo94@gmail.com1-0/+12
made cWorld::DoWithPlayer case insensitive git-svn-id: http://mc-server.googlecode.com/svn/trunk@662 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-202/+202
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-02Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()madmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@539 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-1/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24Removed the split between 1.2.3 and 1.1, left only 1.2.3 codemadmaxoft@gmail.com1-8/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@429 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-09Using the _DEBUG macro for *nix debug builds as well; trying to force 8-byte alignment on critical sections ( http://forum.mc-server.org/showthread.php?tid=384 )madmaxoft@gmail.com1-18/+47
git-svn-id: http://mc-server.googlecode.com/svn/trunk@387 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-06Fixed rev 373 not compiling on linuxmadmaxoft@gmail.com1-0/+5
git-svn-id: http://mc-server.googlecode.com/svn/trunk@375 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-05ChunkSender: Chunks are now compressed and sent to clients from a separate threads, proper passive waiting between threads. Not much tested, just appears to work :)madmaxoft@gmail.com1-1/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@365 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-01Started carefully moving to 1.2.2faketruth1-0/+1
Clients can get up to the login packet, after which the server tries to send chunks but in the wrong format and the client disconnects git-svn-id: http://mc-server.googlecode.com/svn/trunk@347 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-21Changed ASSERT() to not cause warnings during compilefaketruth1-1/+9
Added VERIFY(); it's the same as ASSERT() but also works in release builds VS2010 project uses warning level 4 git-svn-id: http://mc-server.googlecode.com/svn/trunk@305 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-20Using own ASSERT() that logs to filefaketruth1-7/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@297 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-18Moved stdarg.h inclusion into Globals.hmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@289 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-16Chunk 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 properlymadmaxoft@gmail.com1-2/+18
git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-13Rewritten 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.com1-0/+21
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-07Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com1-0/+2
Moved data sending from cPacket into cSocket git-svn-id: http://mc-server.googlecode.com/svn/trunk@240 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01Rewritten cAuthenticator to make use of the new cIsThread architecture - now authentication runs in a single separate thread for all clients;madmaxoft@gmail.com1-0/+11
Global player-kicking function (cServer, cRoot); More char * -> AString conversion git-svn-id: http://mc-server.googlecode.com/svn/trunk@221 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com1-5/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@216 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01auto_ptr fix 2madmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@211 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-0/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@209 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-30More cFile cleanup; removed old format writing for block entitiesmadmaxoft@gmail.com1-0/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@193 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-01-29VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization.madmaxoft@gmail.com1-0/+82
git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6