Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2022-04-20 | Valid Height is now checked by vector. | x12xx12x | 1 | -4/+4 | |
2021-03-05 | Prepare ChunkData for BlockState storage (#5105) | Tiger Wang | 1 | -5/+5 | |
* 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> | |||||
2020-09-20 | BlockHandler initialisation is a constant expression (#4891) | Tiger Wang | 1 | -23/+8 | |
* BlockHandler initialisation is a constant expression If we can't make it all namespaces, this is the next best I guess. + Tag handlers constexpr, const as needed + Inherit constructors * Privatise handler functions * More constexpr Co-authored-by: Alexander Harkness <me@bearbin.net> | |||||
2020-05-09 | Enable C++17 in build | Peter Bell | 1 | -6/+6 | |
2020-04-03 | Manage block entity lifetime with unique_ptr (#4080) | peterbell10 | 1 | -90/+43 | |
2020-04-03 | Pulled the BlockID and BlockInfo headers from Globals.h. (#4591) | Mattes D | 1 | -0/+2 | |
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-10-16 | Refactored block-to-pickup conversion. (#4417) | Mattes D | 1 | -0/+30 | |
2019-09-29 | Refactored more of Entities and BlockEntities to use Vector3. (#4403) | Mattes D | 1 | -24/+22 | |
2019-09-27 | Fixed MSVC warnings (#4400) | Mattes D | 1 | -7/+7 | |
2018-07-26 | CheckBasicStyle: Check number of empty lines between functions (#4267) | peterbell10 | 1 | -12/+1 | |
Add check for number of empty lines between functions and fix the corresponding failures | |||||
2018-06-25 | fix block area rotation bug (#4243) | changyong guo | 1 | -3/+3 | |
fix mirror method bug in class cBlockArea. | |||||
2018-02-05 | Deal with covered switches consistently (#4161) | peterbell10 | 1 | -123/+118 | |
* 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-02-04 | cChunk and cChunkData: Use vectors for block get and set functions (#4172) | peterbell10 | 1 | -4/+4 | |
* cChunkData: Change interface to use Vector3i * cChunk: Add Vector3i overloads for bounded block get and set functions. | |||||
2017-09-23 | cBlockArea: Fix performance regression (#4045) | peterbell10 | 1 | -2/+16 | |
2017-09-11 | Replace ItemCallbacks with lambdas (#3993) | peterbell10 | 1 | -5/+5 | |
2017-09-11 | cBlockArea: change MakeIndex to return size_t | peterbell10 | 1 | -80/+43 | |
2017-09-11 | cBlockArea: use unique_ptr | peterbell10 | 1 | -133/+106 | |
2017-09-02 | Revert "Replace ItemCallbacks with lambdas (#3948)" | LogicParrot | 1 | -6/+6 | |
This reverts commit 496c337cdfa593654018c171f6a74c28272265b5. | |||||
2017-09-01 | Replace ItemCallbacks with lambdas (#3948) | peterbell10 | 1 | -6/+6 | |
2017-08-17 | Changed int parameters to vector parameters in cCuboid and simulators (#3874) | Lane Kolbly | 1 | -2/+2 | |
2017-08-02 | Removed double includes (#3885) | Lukas Pioch | 1 | -1/+0 | |
2017-07-22 | BlockArea: Added the GetBounds function. | Mattes D | 1 | -0/+12 | |
2017-07-22 | Fixed check to see if block entity is in merge source. | Lane Kolbly | 1 | -1/+1 | |
2017-07-10 | Made cBlockArea:cChunkReader AreaBounds inclusive on both sides. (#3842) | Lane Kolbly | 1 | -1/+1 | |
2017-06-25 | Fix cBlockArea assertion and mis-indexing (#3810) | peterbell10 | 1 | -2/+2 | |
2017-06-24 | Fix cBlockArea null deref | peterbell10 | 1 | -41/+45 | |
2017-06-24 | cBlockArea supports block entities. (#3795) | Mattes D | 1 | -297/+858 | |
2017-02-05 | Fixed bindings for cBlockArea:Read and Write. (#3568) | Mattes D | 1 | -7/+7 | |
The original bindings accepted nil as the World param, causing a crash. | |||||
2016-12-09 | Fix meta mirror (#3470) | Mattes D | 1 | -3/+3 | |
2016-08-24 | Fixed type-casting-related warnings. | Mattes D | 1 | -3/+3 | |
2016-08-04 | Added compile.sh folder check warnings | LogicParrot | 1 | -0/+4 | |
2016-02-05 | Bulk clearing of whitespace | LogicParrot | 1 | -38/+38 | |
2016-01-12 | Added detailed logging to cBlockArea::Read() bad Y coords. | Mattes D | 1 | -4/+12 | |
Ref.: http://forum.mc-server.org/showthread.php?tid=2307 | |||||
2015-07-31 | Unified the doxy-comment format. | Mattes D | 1 | -6/+6 | |
2015-06-30 | BlockArea: Fixed a crash with areas higher than chunk height. | Mattes D | 1 | -1/+7 | |
2015-06-08 | cBlockArea: Added CountSpecificBlocks() API function. | Mattes D | 1 | -0/+59 | |
2015-05-24 | Made -Weverything an error. | tycho | 1 | -4/+4 | |
2015-04-30 | Added cBlockArea:CountNonAirBlocks API function. | Mattes D | 1 | -0/+31 | |
2015-04-29 | Added cBlockArea::msSimpleCompare merge strategy. | Mattes D | 1 | -1/+37 | |
2015-04-29 | Added cBlockArea:GetNonAirCropRelCoords() API function. | Mattes D | 1 | -0/+67 | |
Fixes #1915. | |||||
2014-10-23 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -44/+44 | |
2014-10-20 | En masse NULL -> nullptr replace | Tiger Wang | 1 | -44/+44 | |
2014-08-28 | More template keyword fixes. | Mattes D | 1 | -9/+9 | |
2014-08-21 | Added initializers for class members. | Mattes D | 1 | -1/+3 | |
As reported by Coverity, these weren't initialized. | |||||
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-17 | Fixed basic whitespace problems. | madmaxoft | 1 | -5/+5 | |
Indenting by spaces and alignment by spaces, as well as trailing whitespace on non-empty lines. | |||||
2014-07-13 | Fixed wrong types. (BLOCKTYPE -> NIBBLETYPE) | Howaner | 1 | -1/+1 | |
2014-06-19 | Nullify deleted pointers. | archshift | 1 | -11/+17 | |
2014-06-09 | Fixed a crash when creating negative-size blockareas. | madmaxoft | 1 | -0/+8 | |
Now the server emits a warning instead and continues execution. | |||||
2014-06-02 | cBlockArea reading hotfix. | madmaxoft | 1 | -63/+109 | |
This should fix the crashes introduced with chunksparsing. Not the most performant solution, but at least it should work. Ref.: #1056 | |||||
2014-05-29 | Added comments, reformatted code. | madmaxoft | 1 | -1/+1 | |
2014-05-24 | Implemented style changes | Tycho | 1 | -1/+1 | |
2014-05-21 | Fixed stylistic issues | Tycho | 1 | -4/+4 | |
2014-05-21 | Renamed cChunkBuffer to cChunkData | Tycho | 1 | -2/+2 | |
2014-05-21 | Fixed minor style issues | Tycho | 1 | -1/+1 | |
2014-05-11 | Fixed a warning and a complaint about a never-read variable. | archshift | 1 | -14/+11 | |
2014-05-09 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -5/+5 | |
2014-05-08 | Fixed MSVC 64-bit build warnings. | Mattes D | 1 | -5/+5 | |
2014-05-05 | Fixed a flipped condition in cBlockArea::Merge(). | madmaxoft | 1 | -2/+2 | |
2014-05-01 | Fixed warnings in cBlockArea. | madmaxoft | 1 | -2/+2 | |
2014-04-28 | Disabled MSVC warnings about constant bool expressions. | madmaxoft | 1 | -2/+19 | |
2014-04-28 | Removed static from combinators. | Tycho | 1 | -7/+7 | |
THis allows us to use the functions in template params at the cost of polluting the global namespace. | |||||
2014-04-28 | Fixed unbraced ifs | Tycho | 1 | -10/+40 | |
2014-04-28 | Removed inlines from combinators | Tycho | 1 | -7/+7 | |
gcc requires external linkage for functions provided to template parameters | |||||
2014-04-28 | Template Magic | Tycho | 1 | -168/+175 | |
Removed need to allocate a fake meta block by using templates to provide a version of the code that does not use metas. Also changed the function to a template argument to make sure that the compilier is able to inline it. | |||||
2014-04-27 | Worked around const pointer | Tycho | 1 | -2/+3 | |
2014-04-27 | Initialised MetaArrays in BlockArea | Tycho | 1 | -2/+6 | |
Fixes CID 43621 | |||||
2014-04-27 | Fixed bad comment | Tycho | 1 | -1/+1 | |
2014-04-26 | Implemented Chunk Sparsing with segments | Tycho | 1 | -97/+69 | |
2014-04-03 | Fixed a few MSVC type warnings. | Mattes D | 1 | -1/+1 | |
2014-04-01 | cBlockArea: Added the msMask merge strategy. | madmaxoft | 1 | -0/+30 | |
2014-03-31 | Added new merge strategy "msDifference" | STRWarrior | 1 | -0/+34 | |
2014-03-28 | Implemented the msSpongePrint merge strategy. | madmaxoft | 1 | -4/+34 | |
Similar to msImprint, but allows prefabs to carve out air pockets, too. The sponge block is used as the NOP block. | |||||
2014-03-25 | BlockArea: Create() can take the size as Vector3i, too. | madmaxoft | 1 | -0/+9 | |
2014-03-25 | BlockArea: Switched internal coords to Vector3i. | madmaxoft | 1 | -175/+149 | |
2014-03-11 | Using ```const Vector3i &``` | STRWarrior | 1 | -1/+1 | |
2014-03-12 | Renamed cBlockArea Offset to WEOffset. | madmaxoft | 1 | -2/+2 | |
Even in getters / setters. | |||||
2014-03-11 | Renamed m_Offset to m_WEOffset | STRWarrior | 1 | -3/+3 | |
2014-03-10 | This allows a blockarea to have an Offset. | STRWarrior | 1 | -0/+19 | |
2014-02-24 | Added useful parameter overloads to cBlockArea Lua API. | madmaxoft | 1 | -0/+95 | |
2014-02-24 | Fixed crash in cBlockArea rotation. | madmaxoft | 1 | -6/+6 | |
Fixes #720. | |||||
2014-01-20 | Moved Schematic file methods to seperate class | Tycho | 1 | -158/+1 | |
2014-01-20 | Seperated BlockArea From World | Tycho | 1 | -5/+4 | |
If anyone can come up with a better name for the interface I'll change it, It contians to methods which do compleatly unrelated things | |||||
2014-01-07 | Fixed a few MSVC warnings. | madmaxoft | 1 | -3/+3 | |
2013-12-31 | fixed warnings in BlockArea.cpp | Tycho Bickerstaff | 1 | -0/+2 | |
2013-12-26 | cBlockArea: Fixed writing full-height areas. | madmaxoft | 1 | -2/+2 | |
2013-12-25 | Fixed block area height check. | madmaxoft | 1 | -2/+2 | |
The block area couldn't be read up to chunk height. | |||||
2013-12-20 | Fixed a typo in cBlockArea merging code. | madmaxoft | 1 | -2/+1 | |
2013-12-17 | cBlockArea: origin is initialized in the constructor and the loader. | madmaxoft | 1 | -0/+6 | |
2013-11-24 | Moved source to src | Alexander Harkness | 1 | -0/+0 | |
2013-07-29 | Changed everyting to Unix line endings. | Alexander Harkness | 1 | -2124/+2124 | |
2013-06-21 | Explosions don't produce warnings in cBlockArea; fixed logging in cBlockArea | madmaxoft@gmail.com | 1 | -7/+7 | |
Fixes FS #389 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1616 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-31 | BlockArea: Added runtime check for coords in Debug mode | madmaxoft@gmail.com | 1 | -0/+7 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1337 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-26 | BlockArea: Finished rotation and mirroring with meta. Implemented example meta handling for vines, stairs and torches. | madmaxoft@gmail.com | 1 | -12/+143 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1319 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-26 | cBlockArea: Fixed type / meta copypasta errors in mirroring and rotation code | madmaxoft@gmail.com | 1 | -7/+37 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1318 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-25 | BlockArea: Implemented rotation without meta manipulation | madmaxoft@gmail.com | 1 | -6/+76 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1317 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-25 | BlockArea: Implemented mirroring without meta manipulation | madmaxoft@gmail.com | 1 | -0/+182 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1316 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-03-19 | The subgenerators use cChunkDesc instead of raw arrays. cChunkDesc is based on cBlockArea. Initial version of Lakes generator. | madmaxoft@gmail.com | 1 | -0/+79 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1286 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-13 | Implemented the cBlockArea:RelLine() API function. | madmaxoft@gmail.com | 1 | -1/+135 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1211 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-13 | Added HOOK_WEATHER_CHANGING. | madmaxoft@gmail.com | 1 | -0/+12 | |
http://www.mc-server.org/support/index.php?do=details&task_id=299 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1210 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-11 | Added a forgotten part of the cBlockArea::FillRelCuboid() function. | madmaxoft@gmail.com | 1 | -0/+21 | |
Now meta, blocklight and skylight can be filled, too git-svn-id: http://mc-server.googlecode.com/svn/trunk@1209 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-11 | More API functions in cBlockArea: Create(), Fill(), FillRelArea() | madmaxoft@gmail.com | 1 | -0/+130 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1208 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-10 | Added cBlockArea:Merge() API function to merge two block areas using different strategies. | madmaxoft@gmail.com | 1 | -1/+180 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1207 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-10 | cBlockArea: Added empty NBT tags to schematic file saving for better compatibility. | madmaxoft@gmail.com | 1 | -0/+5 | |
Some tools require the presence of Entities and TileEntities tags in the schematic file and they wouldn't open the file if missing. Writing empty list tags. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1204 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-09 | Added cBlockArea:Expand() API function (untested) | madmaxoft@gmail.com | 1 | -0/+90 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1203 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-08 | cChunkDesc can now read and write cBlockAreas. | madmaxoft@gmail.com | 1 | -0/+34 | |
A simple example is provided in the Debuggers plugin. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1201 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-07 | Added cBlockArea:CopyTo() and :CopyFrom(), so now block areas can be duplicated easily. | madmaxoft@gmail.com | 1 | -0/+45 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1199 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-07 | cBlockArea can now be saved as a .schematic file. | madmaxoft@gmail.com | 1 | -0/+46 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1198 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-07 | Added a sanity check to cBlockArea:Crop() | madmaxoft@gmail.com | 1 | -0/+13 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1197 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-07 | Added a cGZipFile class for reading GZipped files. | madmaxoft@gmail.com | 1 | -13/+6 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1196 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-06 | cBlockArea can now be loaded from a .schematic file. | madmaxoft@gmail.com | 1 | -0/+122 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1195 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-02-06 | Added a new API call to cBlockArea: Crop(). | madmaxoft@gmail.com | 1 | -1/+82 | |
Also fixed cBlockArea:MakeIndex(), the indexing was wrong. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1194 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2013-01-04 | cBlockArea now has a GetBlockTypeMeta() and GetRelBlockTypeMeta() methods | madmaxoft@gmail.com | 1 | -0/+37 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1118 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-14 | BlockArea: Added const-ness to non-modifying functions, so that a const cBlockArea & can be used. | madmaxoft@gmail.com | 1 | -11/+11 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@960 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-10-06 | BlockArea writing support (BlockTypes with BlockMeta only) | madmaxoft@gmail.com | 1 | -4/+61 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@933 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-09-24 | Source files cleanup: The rest of the files renamed. | madmaxoft@gmail.com | 1 | -1/+1 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@887 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-09 | BlockArea name change reverted | lapayo94@gmail.com | 1 | -1/+1 | |
fixed VS2008 building git-svn-id: http://mc-server.googlecode.com/svn/trunk@649 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-08 | Squirrel Plugins | lapayo94@gmail.com | 1 | -1/+1 | |
I worked a little bit on the squirrel Bindings They work now on linux and windows :) (OSX is untested, but should work also) but they are very limited at the moment. (Only made OnChat working) I also fixed some small bugs. git-svn-id: http://mc-server.googlecode.com/svn/trunk@648 0a769ca7-a7f5-676a-18bf-c427514a06d6 | |||||
2012-07-02 | cBlockArea object added (with only minimal testing so far) | madmaxoft@gmail.com | 1 | -0/+626 | |
git-svn-id: http://mc-server.googlecode.com/svn/trunk@641 0a769ca7-a7f5-676a-18bf-c427514a06d6 |