summaryrefslogtreecommitdiffstats
path: root/src/Globals.h (unfollow)
Commit message (Expand)AuthorFilesLines
2021-01-11zlib -> libdeflate (#5085)Tiger Wang1-32/+52
2020-09-25Deleted BiomeDef.h and ChunkDef.h from Globals.h (#4885)KingCol131-2/+1
2020-09-05Streamline startup sequenceTiger Wang1-4/+4
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
2020-07-13Remove unnecessary includesTiger Wang1-13/+0
2020-05-16Upgrade to C++17 [CMake] (#4717)Tiger Wang1-0/+6
2020-05-16Update logging code to reduce unnecessary string copying:Peter Bell1-23/+20
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
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-6/+0
2019-08-26Improved testing framework. (#4376)Mattes D1-37/+25
2018-02-05Deal with covered switches consistently (#4161)peterbell101-0/+3
2018-01-03Add the fmt library (#4065)peterbell101-81/+20
2017-09-11Replace ItemCallbacks with lambdas (#3993)peterbell101-14/+0
2017-09-02Revert "Replace ItemCallbacks with lambdas (#3948)"LogicParrot1-0/+14
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
2017-07-28Tentative fix for player-limit race condition (#3862)Tiger Wang1-1/+3
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
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
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
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
2015-05-16Initial implementation of IniFile overloadingtycho1-1/+1
2015-05-09More style checking.Mattes D1-2/+2
2015-03-21Unified cByteBuffer types.Mattes D1-3/+7
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
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
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
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
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
2014-09-04Globals.h: Added Floor and Ciel casting, C++ cast cleanups, etcarchshift1-4/+36
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
2014-07-17Fixed basic whitespace problems.madmaxoft1-5/+5
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
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
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
2014-01-06Disabled the type conversion MSVC warning.madmaxoft1-1/+3
2014-01-05Changed the release version of ASSERT.Diusrex1-1/+1
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
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
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-19Fixed general failings with everything. Fixes #211.Alexander Harkness1-12/+13
2013-10-09Added static cFile functions to Lua API.madmaxoft1-1/+1
2013-08-07Removed Squirrel.madmaxoft1-6/+0
2013-03-05IPv6: Windows XP doesn't have the inet_pton() function, resorting to custom-formatting the addressmadmaxoft@gmail.com1-0/+3
2013-03-05IPv6 support + removed cTCPLink from Lua APImadmaxoft@gmail.com1-0/+1
2013-02-27Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it.madmaxoft@gmail.com1-1/+2
2012-11-08Removed the SquirrelVM.madmaxoft@gmail.com1-1/+3
2012-10-13Preparation for multiple fluid simulators.madmaxoft@gmail.com1-0/+2
2012-10-06BlockArea writing support (BlockTypes with BlockMeta only)madmaxoft@gmail.com1-0/+3
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-1/+1
2012-09-23Source files cleanup: OSSupport-related files in a separate subfolder, renamed.madmaxoft@gmail.com1-6/+6
2012-09-04Fixed preprocessor definitions in Linuxmadmaxoft@gmail.com1-3/+3
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
2012-08-16MCServer should run just fine on Android now :Dfaketruth1-0/+6
2012-08-15Compiles on Android! Added Eclipse project, import it into your workspace and it should be runnable on Android!faketruth1-0/+6
2012-08-03Fixed a few gcc pedantic warnings; made BLOCKTYPE an unsigned char type.madmaxoft@gmail.com1-0/+2
2012-07-13Fixed case comparison - used the builtin functionmadmaxoft@gmail.com1-12/+0
2012-07-13fixed /tp commandlapayo94@gmail.com1-0/+12
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-202/+202
2012-06-02Fixed Linux compilation complaining about min() and max(), hopefully forever. Use std::min() and std::max()madmaxoft@gmail.com1-0/+5
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-1/+9
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-0/+9
2012-03-24Removed the split between 1.2.3 and 1.1, left only 1.2.3 codemadmaxoft@gmail.com1-8/+0
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
2012-03-06Fixed rev 373 not compiling on linuxmadmaxoft@gmail.com1-0/+5
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
2012-03-01Started carefully moving to 1.2.2faketruth1-0/+1
2012-02-21Changed ASSERT() to not cause warnings during compilefaketruth1-1/+9
2012-02-20Using own ASSERT() that logs to filefaketruth1-7/+1
2012-02-18Moved stdarg.h inclusion into Globals.hmadmaxoft@gmail.com1-0/+1
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
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
2012-02-07Rewritten all packets to use buffers instead of direct sockets, for future cSocketThreads compatibility.madmaxoft@gmail.com1-0/+2
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
2012-02-01sprintf() begone! Replaced with StringUtils' Printf()madmaxoft@gmail.com1-5/+6
2012-02-01auto_ptr fix 2madmaxoft@gmail.com1-1/+1
2012-02-01Introducing StringUtils - the place to be if you are a generic string routine :) No more sprintf()!madmaxoft@gmail.com1-0/+9
2012-01-30More cFile cleanup; removed old format writing for block entitiesmadmaxoft@gmail.com1-0/+1
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