Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-05-16 | Removed all Printf-family functions from StringUtils. | Mattes D | 1 | -2/+2 | |
Replaced them with fmt::format calls, including changes to the format strings. Also changed the format strings to use FMT_STRING, so that the format is checked compile-time against the arguments. Also fixed code-style violations already present in the code. | |||||
2021-04-30 | Chest, weather, crash, and miscellaneous fixes (#5215) | Tiger Wang | 1 | -1/+1 | |
* Alpha-sort cChestEntity * Chests: use SendUpdateBlockEntity * Pathfinder: fix out of range Y * 1.13: correct weather packet ID * Chests: fix neighbour scanner + Add OnAddToWorld and overload to scan neighbours there, instead of in the constructor/OnUse. This fixes hoppers accessing newly loaded double chests and seeing a null m_Neighbour, thus thinking its a single chest. * Fix typo in cross coords computation. * Simplify hopper logic. * Block entities: ASSERT that type is correct If you match the block type first before calling DoWithBlockEntity, the corresponding block entity must either be empty or correspond to the block type. * Chunk: fix some forgotten PendingSendBE cleanup + Add cleanup in SetAllData, WriteBlockArea - Remove RemoveBlockEntity (used once), HasBlockEntity (not used) * Replace MakeIndex with MakeIndexNoCheck * Remove extraneous MarkDirty in hopper & chests | |||||
2021-03-07 | Some emplace_back replacements (#5149) | 12xx12 | 1 | -8/+8 | |
* replace push_back with emplace_back when a new object was created in the function call | |||||
2021-01-26 | Fix debug macro situation (#5114) | Tiger Wang | 1 | -6/+6 | |
Use the standard NDEBUG. | |||||
2020-04-16 | Using Super. | Mattes D | 1 | -3/+4 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 1 | -0/+1 | |
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 | |||||
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -2/+0 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2017-05-21 | Clang 5.0 fixes | Lukas Pioch | 1 | -1/+1 | |
- Added override keyword - Removed inherited member variables | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -10/+10 | |
2015-07-29 | Silenced and fixed many warning messages across multiple files. | Samuel Barney | 1 | -8/+8 | |
2015-05-09 | CheckBasicStyle: checks spaces around * and &. | Mattes D | 1 | -1/+1 | |
2015-05-09 | More style checking. | Mattes D | 1 | -2/+2 | |
Spaces around some operators are checked. | |||||
2014-12-13 | WormNestCaves occasionally generates sandstone around the cave | STRWarrior | 1 | -3/+22 | |
Only when the block around the cave is sand. | |||||
2014-12-05 | BasicStyle: Added missing braces to control statements. | Mattes D | 1 | -2/+8 | |
2014-09-22 | Made it compile with clang | Chris Darnell | 1 | -1/+1 | |
2014-08-21 | Added initializers for class members. | Mattes D | 1 | -0/+3 | |
As reported by Coverity, these weren't initialized. | |||||
2014-07-29 | Added cBlockInfo::CanBeTerraformed and made finishers use it | STRWarrior | 1 | -22/+2 | |
I might have forgotten some of them though | |||||
2014-07-21 | Style: Normalized to no spaces before closing parenthesis. | madmaxoft | 1 | -3/+3 | |
2014-07-19 | Fixed style: spaces after commas. | madmaxoft | 1 | -1/+1 | |
2014-07-17 | Fixed tabs used for alignment. | madmaxoft | 1 | -6/+6 | |
2014-07-17 | Normalized comments. | madmaxoft | 1 | -5/+5 | |
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-06-16 | Merge branch 'master' of github.com:mc-server/MCServer | Tycho | 1 | -5/+5 | |
2014-06-15 | Added random offsets to cGridStructGen. | madmaxoft | 1 | -5/+5 | |
Fixes #740. | |||||
2014-05-09 | Removed an unused macro. | Mattes D | 1 | -7/+0 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -2/+8 | |
2014-05-09 | cWormNestCaves rewritten using cGridStructGen. | Mattes D | 1 | -208/+22 | |
Ref.: #987. | |||||
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -2/+8 | |
2014-04-18 | Did some static analysis, fixed some bugs and optimized a lot of code | jfhumann | 1 | -16/+20 | |
2014-03-01 | Unified StructureGens and FinisherGens. | madmaxoft | 1 | -3/+3 | |
Now they are all Finishers. Fixes #398. | |||||
2014-01-08 | WormNestCaves now remove soul sand. | STRWarrior | 1 | -0/+1 | |
2014-01-07 | Fixed a few MSVC warnings. | madmaxoft | 1 | -4/+4 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-11-16 | WaveNoise not used, removing. | Alexander Harkness | 1 | -1/+0 | |
2013-11-16 | This is a copy-paste fail, right? | Alexander Harkness | 1 | -1/+1 | |
2013-11-16 | Got rid of yet another unused variable. | Alexander Harkness | 1 | -51/+50 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -970/+970 | |
2013-03-22 | Re-tweaked WormNestCaves for more reasonable cave sizes | madmaxoft@gmail.com | 1 | -7/+14 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1298 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-22 | WormNestCaves: tweaked a bit not to produce the single-block holes in the floor | madmaxoft@gmail.com | 1 | -5/+5 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1296 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-17 | Rewritten generators so that they use the cChunkDesc class (and thus can use cBlockArea merging) | madmaxoft@gmail.com | 1 | -48/+20 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1282 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-12-16 | Made WormNest caves generate smaller. | madmaxoft@gmail.com | 1 | -3/+29 | |
http://forum.mc-server.org/showthread.php?tid=409&pid=5654#pid5654 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1077 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-19 | WormNestCaves: drills only through specific blocks (FS #259) | madmaxoft@gmail.com | 1 | -1/+23 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@981 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-23 | Source files cleanup: Generating-related files in a separate subfolder | madmaxoft@gmail.com | 1 | -0/+0 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@881 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-08-06 | Fixed runtime crashes in generator on Raspberry Pi (damn picky gcc!) | madmaxoft@gmail.com | 1 | -24/+24 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@714 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-29 | Ravines: implemented proper caching - another 10 % in generator speedup :) | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@709 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-28 | Caves and Ravines: fixed compilation and linking issues on gcc | madmaxoft@gmail.com | 1 | -3/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@699 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-27 | Removed bottom lava from caves generator, added a new finish generator BottomLava for that. Also fixed a slight error in SameBlock composition generator cfg | madmaxoft@gmail.com | 1 | -17/+3 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@698 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-27 | Basic WormNestCaves are working | madmaxoft@gmail.com | 1 | -17/+45 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@697 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-27 | Initial WormNestCaves commit. Won't generate caves, only the schematic for caves' centers. | madmaxoft@gmail.com | 1 | -47/+607 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@696 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-22 | Added a new cave generator: DualRidgeCaves ( somewhat like http://www.gamedev.net/blog/33/entry-2227887-more-on-minecraft-type-world-gen/ ) | madmaxoft@gmail.com | 1 | -0/+369 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@694 0a769ca7-a7f5-676a-18bf-c427514a06d6 |