summaryrefslogtreecommitdiffstats
path: root/src/MobCensus.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-02-05Deal with covered switches consistently (#4161)peterbell101-4/+1
* 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()
2015-06-02Fixed warnings in MSVC.Mattes D1-0/+4
It complained about undefined return values or using uninitialized variables.
2015-05-24Made -Weverything an error.tycho1-1/+1
2015-05-19Make -Werror disabling file onlytycho1-1/+2
Ad fix a load of warnings
2015-05-09More style checking.Mattes D1-2/+2
Spaces around some operators are checked.
2014-07-17Fixed spaces around single-line comments.madmaxoft1-1/+1
There should be at least two spaces in front and one space after //-style comments.
2014-07-17Fixed basic whitespace problems.madmaxoft1-1/+1
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines.
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-1/+1
2013-12-20Fixed minor warnings.madmaxoft1-3/+5
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-20Fixed memory leaks in cMobCensus, moved GetSpawnRate() to cMonster.madmaxoft1-56/+20
2013-10-18Adapted code style.madmaxoft1-24/+63
2013-09-08Replacing chunCk by chunkmgueydan1-2/+2
2013-09-07Adding mob census (sorry this is a big commit as work was done before git integration i couldn't split it more)mgueydan1-0/+89