summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage/WSSAnvil.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-08-05Delete redundant std::move in World loaderTiger Wang1-14/+14
2020-08-01Replaced cpp14::make_unique<> with std::make_unique<>.Mattes D1-71/+71
2020-05-15Enable some more clang-tidy linter checks (#4738)peterbell101-4/+4
* Avoid inefficient AString -> c_str() -> AString round trip * Avoid redundant string init expressions * Avoid unnecessary return, continue, etc. * Add .clang-format to help with clang-tidy fix-its * Avoid unnecessary passing by value * Avoid unnecessary local copying * Avoid copying in range-for loops * Avoid over-complicated boolean expressions * Some violations missed by my local clang-tidy * Allow unnecessary continue statements * Add brackets * Another expression missed locally * Move BindingsProcessor call into clang-tidy.sh and add space * Fix pushd not found error * Different grouping of CheckBlockInteractionRate
2020-05-09Update submodules (#4727)peterbell101-2/+2
Closes #4708 This updates jsoncpp, mbedtls, TCLAP and SQLiteCpp to their latest stable release. A few additional changes were needed: * jsoncpp deprecated Reader, FastWriter and StyledWriter which I've replaced with some helper functions in JsonUtils.cpp * SQLiteCpp changed how it builds with external sqlite libraries, now expecting them to be installed. The simplest path was to remove sqlite from cuberite's submodule and just use SQLiteCpp's internal version.
2020-05-07Remove old Android leftovers (#4722)Mat1-3/+3
2020-05-04Fix incorrect formatter invocationTiger Wang1-2/+2
2020-04-30NBT: Dynamic list-max-count protection. (#4697)Mattes D1-3/+4
2020-04-16Using Super.Mattes D1-1/+1
2020-04-10Add Zombie VillagersBond-0091-7/+44
2020-04-04Implement wither skeletons (#4563)Mat1-5/+32
2020-04-03Manage block entity lifetime with unique_ptr (#4080)peterbell101-37/+34
2020-04-03Pulled the BlockID and BlockInfo headers from Globals.h. (#4591)Mattes D1-5/+6
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-09-29Refactored more of Entities and BlockEntities to use Vector3. (#4403)Mattes D1-101/+102
2019-09-24NBTChunkSerializer: Cleaned up interface.Mattes D1-59/+2
Removed dependency on cChunkDataCallback. Moved all the serializing code into a worker class. Changed the serialization into a single-call action.
2018-09-24Add a formatting function for Vector3 (#4282)peterbell101-7/+7
* Vector3: Add custom fmt compatible formatter. * cLuaState: Add fmt version of ApiParamError * Use vector formatting in manual bindings * Always log vectors with FLOG
2018-08-29Force all headers other than "Globals.h" to be included with relative paths (#4269)peterbell101-2/+2
Closes #4236 CMake now creates a header file in the build directory under the path "include/Globals.h" which just includes "src/Globals.h" with an absolute path. Then instead of adding "src/" to the include directories, it adds "include/". #include "Globals.h" still works by including the build generated file and any other src-relative path will not work.
2018-07-26CheckBasicStyle: Check number of empty lines between functions (#4267)peterbell101-1/+2
Add check for number of empty lines between functions and fix the corresponding failures
2018-01-03Add the fmt library (#4065)peterbell101-4/+4
* 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-11-22Store Health as a float (#4073)Fabian1-2/+21
* Fix #4024 * Fix clang error * Add comment * Fix behaviour * Save Health as float * Changed m_Health to float * Remove redundant static_cast * Fix casts
2017-09-14Fix switch warnings (#4013)peterbell101-15/+20
* Fix switch warnings * Fix a variety of -Wswitch and -Wswitch-enum warnings * Remove unneeded -Wno-error flags * Reorganise some eMonsterType switches * Alpha sort eMonsterType cases in WriteMobMetadata and in cNBTChunkSerializer::AddMonsterEntity * List all mob types in protocol 1.12 and NBTChunkSerializer * cStructGenTrees::GetNumTrees: remove switch default * cWSSAnvil::LoadOldMinecartFromNBT: Log unhandled minecart type
2017-09-07Made world data paths adjustable, and added API to temporarily disable saving chunks to disk. (#3912)Lane Kolbly1-3/+3
2017-09-07Changed some int parameters to vector parameters (#3937)Bond-0091-2/+2
2017-08-26Implement anvil chunk sparsingpeterbell101-15/+17
2017-08-25Add cUUID class (#3871)peterbell101-19/+16
2017-08-21Fully implemented leashes (#3798)Pablo Beltrán1-0/+77
2017-08-18Represent cItem::m_Lore as an AStringVector (#3882)peterbell101-1/+11
* Replace cItem::m_Lore with AStringVector * Reword deprecation warning * Fix lua bindings
2017-08-07Changed entity ownership model to use smart pointersTiger Wang1-53/+53
2017-08-03Remove double includes part 2 (#3890)peterbell101-1/+0
2017-08-02Removed double includes (#3885)Lukas Pioch1-2/+0
2017-07-21Remove smart pointer macrospeterbell101-1/+1
2017-07-12Added basic ocelot behavior (#3829)Bond-0091-10/+35
2017-07-07Added bed entity (#3823)Lukas Pioch1-0/+28
* Added bed entity * Export cBedEntity to lua * Set color of bed through item damage value * Added bed entity to APIDoc * NBT: Added loading and saving * Crafting recipes for the colored beds
2017-06-23Load entities from old and new namesLukas Pioch1-224/+149
2017-06-21Anvil storage: load block entities from both old and new name-styles. (#3784)Mattes D1-77/+121
* WSSAnvil: Load the sign text from JSON, too.
2017-06-16BlockEntities: Support cloning self.Mattes D1-61/+62
2017-05-24Exported boatLukas Pioch1-1/+7
- NBT: Added saving / loading of material - Added the material in the item handler of the boat - Drop the correct boat if destroyed - APIDoc: Added desc and functions
2017-05-22Store cChunk::m_BlockEntities in a map (#3717)peterbell101-3/+6
* Store block entities in a map from block index * Cleanup ForEachBlockEntity * Cleanup DoWithBlockEntityAt
2017-05-08Corrected brewingstand and added support for fuelLukas Pioch1-2/+10
2017-03-22NBT: Corrected firework loadingLukas Pioch1-2/+2
2016-11-07Fixed TrappedChest saving. (#3423)Mattes D1-4/+15
Vanilla uses "Chest" in NBT for trapped chests.
2016-08-24Fixed type-casting-related warnings.Mattes D1-6/+10
2016-02-05Bulk clearing of whitespaceLogicParrot1-120/+120
2016-01-29MCServer to CuberiteMathias1-1/+1
2016-01-11Changed the format of the MobHead data to allow MobHeads working on MInecraft 1.8bibo381-3/+40
The NBT format now carries the texture data and transmit it to the client. See: http://minecraft.gamepedia.com/Head#Block_entity Related to #2674
2015-11-16changed mob age from char to intJulian Laubstein1-18/+72
2015-11-03Implemented brewingLukas Pioch1-0/+51
2015-09-25Compile.sh namechange to cuberiteSafwat Halaby1-1/+1
2015-09-25Namechange to CuberiteMattes D1-1/+1
2015-07-31Unified the doxy-comment format.Mattes D1-1/+1
2015-07-31Chunks that fail to load are offloaded to extra files.Mattes D1-33/+73
Ref.: #1970
2015-07-31Added reason parameter to load failures.Mattes D1-13/+13
2015-07-31Moved AString reading hack to cFile.Mattes D1-16/+17
2015-07-29Silenced and fixed many warning messages across multiple files.Samuel Barney1-61/+61
2015-07-17 Added Rabbit Metadata values.bibo381-1/+12
Added the Rabbit Types and the MoreCarrotTicks value. Types are selected randomly on creation. Fixes #1867
2015-07-14Support ageable mobsHallucino1-7/+72
Move ageable stuff in Monster directly
2015-07-12Changing the shared_ptr/unique_ptr constructors to the make_shared/make_unique functionsbibo381-64/+64
2015-07-09Fixes compilation failures on MacOSX 10.10Samuel Barney1-6/+6
* Replace old c-style casts with c++ casts * Added `-Wno-error=old-style-cast` to Protocol18x.cpp
2015-06-03Fixes multiple furnace issues, including from loading world storageHaoTNN1-2/+3
2015-05-09CheckBasicStyle: checks spaces around * and &.Mattes D1-1/+1
2015-05-09More style checking.Mattes D1-4/+4
Spaces around some operators are checked.
2015-04-27cSetChunkData constructor explicitly requires std::move() instead ofWoazboat1-1/+1
unsafely stealing data
2015-03-14cPainting saving implementedTiger Wang1-0/+28
Additionally, it now inherits from cHangingEntity.
2015-03-13Fixed confusion over Item Frame directionsTiger Wang1-37/+7
2015-02-18Flower pots: In 1.8 items are saved with the name and not the id.Howaner1-5/+12
2015-02-08WSSAnvil: Fixed chunk data padding.Mattes D1-2/+5
When the chunk data fit perfectly into the old space, an extra 4 KiB of padding zeroes were written, overwriting the next chunk. Fixes #1730.
2014-12-21WSSAnvil: Added clamping to entity coords.Mattes D1-3/+3
Fixes CID 72854.
2014-12-20Added RabbitsMasy981-0/+24
2014-12-18Added Entity GuardianMasy981-0/+24
2014-12-11Cosmetic touchups.Mattes D1-4/+5
Removed trailing whitespace, added cast to remove warning, added file seeking in case of corrupt files.
2014-12-08Check to see if header write out is requiredplanetx1-17/+15
2014-12-08Added timestamp to merged files WSSAnvilplanetx1-1/+1
2014-12-08Added timestamp to merged files WSSAnvilplanetx1-62/+62
2014-12-08Added timestamp to new files WSSAnvilplanetx1-78/+148
2014-12-07Added Timestamp info to chunks in WSSAnvilplanetx1-85/+44
2014-12-06Replaced most auto_ptr with unique_ptr.Mattes D1-61/+61
2014-12-05BasicStyle: Added missing braces to control statements.Mattes D1-10/+21
2014-12-01MobSpawner fixes.Howaner1-1/+1
2014-11-26WSSAnvil: Fixed bad code in arrow loading.Mattes D1-2/+8
2014-11-18Finished mob spawner implementation.Howaner1-0/+50
2014-10-29Fixed 1.8 world item format reading.Howaner1-2/+19
2014-10-23En masse NULL -> nullptr replaceTiger Wang1-44/+44
2014-10-21cItemFrame: Fixed a forgotten rename.Mattes D1-1/+1
2014-10-21Properly exported cItemFrame and cHangingEntity to Lua.Mattes D1-16/+27
2014-10-20En masse NULL -> nullptr replaceTiger Wang1-44/+44
2014-09-25Anvil: Arrow Tile tags are a short in VanillaHowaner1-4/+21
2014-09-25Fixed hanging direction bugs.Howaner1-1/+1
2014-09-24Don't create two entity lists.Howaner1-7/+2
2014-09-23Anvil: Wolf collar color is a byte in Vanilla.madmaxoft1-3/+17
Kept the old Int reading for compatibility reasons. Ref.: #1448
2014-09-23Fixed a crash in WSSAnvil.madmaxoft1-3/+3
Reported as #1448.
2014-09-23MCServer world compatiblity with vanilla and mcedit.Howaner1-5/+34
2014-09-06Added Y-wise asserts to signs.Mattes D1-0/+2
This should help detect #1313's second case.
2014-09-06Anvil: Fixed an off-by-one error in the loader.Mattes D1-1/+1
Fixes #1307.
2014-09-05Fixed loading empty chunks.Mattes D1-1/+7
Reported on the Dropper map in #1307.
2014-09-05Anvil: Fixed loading block entities with invalid Y coord.Mattes D1-1/+1
2014-09-04Anvil: Cleanly refuse to store data that is too large.madmaxoft1-1/+7
Each chunk in MCA needs to be less than 1 MiB compressed; chunks that are larger will be refused with a log message.
2014-09-03Anvil: switched inflate to stream mode.madmaxoft1-18/+6
This removes the fixed-size buffer which could have caused #1307 and #1366.
2014-09-02Clang wants volatile...madmaxoft1-1/+1
2014-09-02Added strict error reporting to chunk loading.madmaxoft1-1/+29
This should help with #1307.
2014-09-02Added CustomName saving.Howaner1-0/+13
2014-08-30WSSAnvil: Removed leftover debugging code.madmaxoft1-4/+0
2014-08-29Rewritten block entity loading.Mattes D1-200/+238
Block entities are now loaded based on the blocktype at the coords they specify; before loading, their type ("id" NBT tag) is checked. The chunk now expects that all block entities given to it via cChunk::SetAllData() have their valid blocktype; asserts if they don't. Fixes #1354.
2014-08-04Refactored case-conversion functions.madmaxoft1-1/+6
StrToLower() returns a modified copy of the string, InPlaceLowercase() modifies the string in-place.
2014-08-03Wolf uses UUID for owner.madmaxoft1-10/+59
Fixes #1277.
2014-07-31Renamed "select..." methods to "set..." and better IsValidEffect() function.Howaner1-2/+2
2014-07-31Renamed functions and added beacon json saving.Howaner1-2/+2
2014-07-30Added beacon load/save.Howaner1-1/+49
2014-07-29Slight cleanup after portalsTiger Wang1-6/+1
2014-07-26Moved potion static functions to EntityEffect to create splash potions through worldarchshift1-1/+1
2014-07-24Added a queue for setting chunk data.madmaxoft1-2/+3
Fixes #1196.
2014-07-19Splash potions: Renamed PotionParticleType to PotionColor for clarityarchshift1-1/+1
2014-07-17Basic style fixes.madmaxoft1-6/+6
2014-07-17Normalized comments.madmaxoft1-4/+4
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-15Restructured cSplashPotionEntity code.madmaxoft1-1/+1
The callback doesn't need declaration in the header. Renamed PotionName to PotionParticleType.
2014-07-12Added splash potions to NBT serialization and retrievalarchshift1-0/+28
2014-07-07Implemented trapped chests & othersTiger Wang1-3/+7
+ Added trapped chests * Fixed a bunch of bugs in the redstone simulator concerning wires and repeaters * Other potential bugfixes
2014-07-02SuggestionsTiger Wang1-2/+9
2014-06-30Removed unneeded codeTiger Wang1-21/+0
2014-06-29Properly implemented enderchestsTiger Wang1-0/+21
2014-06-29Code fixes.Howaner1-1/+1
2014-06-28Save IsSheared from Sheep.Howaner1-4/+11
2014-06-24Add entity health saving.Howaner1-14/+7
2014-06-20MCA saver marks chunks as populated.madmaxoft1-0/+3
Fixes #140.
2014-06-04Time and weather is saved, part of #1058Tiger Wang1-3/+10
Also fixed unreliability in Health and LootPickup loading.
2014-06-04Health of monsters is now savedTiger Wang1-0/+1
2014-06-04Fixed mob loading, part of #1058Tiger Wang1-1/+1
2014-05-09More size_t fixes.Mattes D1-5/+5
2014-05-09Build fixes after the last size_t batch.Mattes D1-1/+1
2014-05-09Fixed MSVC 64-bit build warnings.Mattes D1-4/+4
2014-05-08Fixed MSVC 64-bit build warnings.Mattes D1-4/+4
2014-05-07Change m_RepairCost to int.Howaner1-1/+1
2014-05-07Fix MagmaCube save.Howaner1-2/+8
2014-05-07Add repair cost to cItem, add custom name to NBTChunkSerializer and fix anvil bugs.Howaner1-6/+28
2014-05-01Anvil saver pads data to 4K boundaries.madmaxoft1-0/+5
Fixes #524.
2014-04-28Revert "Changed the old invulnerable methods from the wither to the new."Howaner1-1/+1
This reverts commit d50f8f6f11f69e7e1e56be92fb2d72a5014a3e34.
2014-04-28Fixed projectile source filenames, indentationsarchshift1-6/+6
2014-04-27Moved cGhastFireballEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cFireChargeEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cThrownSnowballEntity out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cThrownEnderPearl out of ProjectileEntity.harchshift1-0/+1
2014-04-27Moved cThrownEggEntity out of ProjectileEntity.harchshift1-1/+1
2014-04-27Moved cArrowEntity out of ProjectileEntity.harchshift1-1/+1
2014-04-26Changed the old invulnerable methods from the wither to the new.Howaner1-1/+1
2014-04-26FixesHowaner1-1/+1
2014-04-24Fixed class capitalization for the cave spider.archshift1-1/+1
2014-03-25Ender crystalsandrew1-0/+19
2014-03-24Wither invulnerabilityandrew1-1/+7
2014-03-16Add new leaves to all classes.Howaner1-0/+1
2014-03-16Add anvil direction.Howaner1-1/+9
2014-03-15Remove old debug messages.Howaner1-3/+0
2014-03-15Add item frame saving.Howaner1-0/+85
2014-03-15Add health and age load to pickup's.Howaner1-1/+15
2014-03-15Add ExpOrb saving.Howaner1-26/+70
2014-03-10Removed Some unnessicary macrosTycho1-2/+2
2014-03-08Change TNT Fuse to ticksHowaner1-2/+1
2014-03-08Add TNT Save/Load and add Netbeans projects to .gitignoreHowaner1-0/+28
2014-03-07Add Flower PotsHowaner1-0/+36
2014-02-27Implemented ballistic missiles (fireworks)Tiger Wang1-0/+6
+ Added fireworks
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+183
2014-02-23Rename SkullEntity to MobHeadEntityHowaner1-8/+8
2014-02-23Add Heads completelyHowaner1-1/+1
2014-02-23Add Skulls/HeadsHowaner1-0/+40
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+183
2014-02-23Fixed Formatting, Added DropChances and CanPickUpLoot attributes to MonstersTheJumper1-0/+2
2014-02-23Fixed Compiling IssuesTheJumper1-2/+20
2014-02-23Fixed Formatting, Added DropChance attributes to MonstersTheJumper1-0/+163
2014-02-19Rename SkullEntity to MobHeadEntityHowaner1-8/+8
2014-02-18Add Heads completelyHowaner1-1/+1
2014-02-17Add Skulls/HeadsHowaner1-0/+40
2014-02-12Fixed #573STRWarrior1-4/+4
2014-02-02Added saving of angry flag.Kirill Kirilenko1-0/+6
2014-02-02Fixed sitting tag.Kirill Kirilenko1-4/+4
2014-02-01Added saving of collar's color.Kirill Kirilenko1-3/+9
2014-01-31Added reading saved state of the wolf (sitting or standing).Kirill Kirilenko1-0/+6
2014-01-31Inversed condition.STRWarrior1-1/+1
2014-01-31Wolf: If Owner tag is missing a normal ownerless wolf will spawn.STRWarrior1-9/+6
2014-01-30Fixed bad variable.STRWarrior1-1/+1
2014-01-30Check if the tag is found.STRWarrior1-0/+5
2014-01-30Fixes #606STRWarrior1-0/+7
2014-01-26Item-loading now checks for weird bytes.madmaxoft1-3/+9
2014-01-24Fixed crash with failed entity-loading.madmaxoft1-2/+7
This should fix issues reported in: http://forum.mc-server.org/showthread.php?tid=1328 http://forum.mc-server.org/showthread.php?tid=1308
2014-01-20Scoreboard deserializationandrew1-1/+1
2014-01-19Switched EnchantmentSerilizer to namespaceTycho1-1/+1
2014-01-19Spilt Writing of Enchantments to seperate classTycho1-1/+2
Created a new class cEnchantmentSerializer to serilize Enchantments to NBT. This breaks a dependecy chain between cChunkGenerator and cWorld. cEnchantmentSerializer is seperate from NBTWriter as it needs to access private members of cEnchantments so having it seperate reduces the spread of the frein modifier
2014-01-18Command blocks: Execute()andrew1-1/+1
2014-01-18Command block (de)serializationandrew1-0/+42
2014-01-17Added user setting compression factorTycho1-3/+4
2014-01-16Removed obsoleted functionsTiger Wang1-1/+1
2014-01-12Renamed cEmptyMinecart to cRideableMinecartSTRWarrior1-1/+1
2014-01-12EmptyMinecarts should be able to get a block inside of them.STRWarrior1-1/+1
2013-12-25Preliminary mobile entity savingTiger Wang1-6/+622
* Fixes #252 * Alleviates #380 + Adds mob saving * Fixed some debug !ASSERTs
2013-12-20Fixed compiler warning when iterating over a fixed array of items (ARRAYCOUNT).madmaxoft1-3/+3
2013-11-27Fixed the remaining derpsAlexander Harkness1-1/+1
2013-11-25Further attempts to fix compileTiger Wang1-1/+1
2013-11-24Attempt to fix compilationTiger Wang1-1/+1
2013-11-24Moved source to srcAlexander Harkness1-0/+0
2013-10-24Pickups now have collection delay when vomitedTiger Wang1-1/+1
Implements FS#394.
2013-10-09Moved cMakeDir::MakeDir to cFile::CreateFolder.madmaxoft1-2/+1
And exported to Lua.
2013-09-08Initial boat supportTiger Wang1-1/+20
+ Boats are saved + Boats have physics + Boats spawn
2013-09-07Implemented loading more projectiles from MCA.madmaxoft1-3/+127
2013-08-25Arrows get loaded from MCA.madmaxoft1-4/+47
Somehow they still don't spawn visibly on the client.
2013-08-19Moved entities into the Entities subfolder.madmaxoft1-4/+4
2013-08-16Compilation and Minecart fixesTiger Wang1-0/+42
2013-08-16Feature and bugfixes [SEE DESC]Tiger Wang1-0/+2
Added TNT and Hopper minecarts Fixed piston code failing without an extension set Repeaters are now broken Fixed not being able to place a minecart on an activator rail Added much needed comments on piston code Fixed minor formatting issue
2013-06-20Furnaces light up visually when they're cookingmadmaxoft@gmail.com1-5/+23
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1612 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-16Rewritten furnacesmadmaxoft@gmail.com1-3/+3
Furnaces now smelt the correct number of items. Furnaces store their contents in a cItemGrid. Furnace window is updated with correct items and progressbars. Furnace recipes now use ticks instead of milliseconds. Furnaces save and load their state completely, not missing a smelt operation. Hoppers take items out of furnaces. Dropped the cSlotAreaDropSpenser class, replaced it with generic cSlotAreaItemGrid git-svn-id: http://mc-server.googlecode.com/svn/trunk@1601 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-13Added hopper entity, it can suck items out of chests, dispensers, droppers and other hopppers above it.madmaxoft@gmail.com1-27/+55
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1587 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-06-02Enchantments are now stored in Anvil world and in player inventorymadmaxoft@gmail.com1-1/+16
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1541 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-28Moved BlockEntities to a separate foldermadmaxoft@gmail.com1-7/+7
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1527 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-26Block entities with storage now correctly mark the chunk as dirty when their contents change.madmaxoft@gmail.com1-32/+64
http://forum.mc-server.org/showthread.php?tid=434&pid=8210#pid8210 git-svn-id: http://mc-server.googlecode.com/svn/trunk@1515 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-05-05Lighting: Fixed underwater lighting (FS #369)madmaxoft@gmail.com1-1/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1444 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-13Rewritten entities so that they are owned by individual chunks and ticked within their chunk's Tick()madmaxoft@gmail.com1-2/+6
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-04-07Anvil loader: fixed Vanilla biomes not being readmadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1370 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-11Anvil: Removed excessive debugging outputmadmaxoft@gmail.com1-3/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1264 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Minecarts get saved into Anvil.madmaxoft@gmail.com1-3/+39
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1263 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-09Pickups are now being saved into Anvil.madmaxoft@gmail.com1-286/+232
Also changed cEntity rotation datatype to double git-svn-id: http://mc-server.googlecode.com/svn/trunk@1262 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-02-27Made FAST_FLOOR_DIV work correctly, replaced all floorf() divisions with it.madmaxoft@gmail.com1-2/+3
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
2013-01-12Merged branch "branches/hooks" into "trunk".madmaxoft@gmail.com1-8/+8
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1139 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-12-19Added dispensers (they can't dispense items yet)luksor111@gmail.com1-6/+80
Fixed crash when digging snow Moved BlockPlace hook check, so Core plugin will no longer block item usage Player chat messages are now visible in the console git-svn-id: http://mc-server.googlecode.com/svn/trunk@1081 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-16Android: Made the initial pre-calculated spawn area smallerfaketruth1-1/+1
Android: Fixed FastNBT Android: Fixed level.dat reading/writing GroupManager uses groups.example.ini as default WebAdmin uses webadmin.example.ini as default git-svn-id: http://mc-server.googlecode.com/svn/trunk@1049 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-11-13More valgrind uninitialized var fixingmadmaxoft1-2/+12
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1040 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-28Fixed NBT IntArray serialization; Biomes are now saved to / loaded from Anvilmadmaxoft@gmail.com1-12/+71
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1015 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-10-21Added jukeboxes (patch contributed by Luksor)madmaxoft@gmail.com1-4/+38
git-svn-id: http://mc-server.googlecode.com/svn/trunk@994 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-24Source files cleanup: The rest of the files renamed.madmaxoft@gmail.com1-7/+7
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-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@885 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-23Source files cleanup: WorldStorage-related files in a separate subfoldermadmaxoft@gmail.com1-10/+10
git-svn-id: http://mc-server.googlecode.com/svn/trunk@882 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-09-20Refactored windows.madmaxoft@gmail.com1-3/+3
As described on the forum: http://forum.mc-server.org/showthread.php?tid=561 For now, only basic clicking works; shift-click not implemented yet. git-svn-id: http://mc-server.googlecode.com/svn/trunk@867 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-08-26Added basic noteblocks, finished sign storage in Anvil (patch contributed by l0udPL)madmaxoft@gmail.com1-3/+61
http://forum.mc-server.org/showthread.php?tid=528 git-svn-id: http://mc-server.googlecode.com/svn/trunk@793 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-07-21Added a (disabled) debugging code for anvil underground overviewing, useful for exploring MC cave generation stylemadmaxoft@gmail.com1-4/+15
git-svn-id: http://mc-server.googlecode.com/svn/trunk@690 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-15Anvil: added support for signs (why was it still missing??)madmaxoft@gmail.com1-3/+42
git-svn-id: http://mc-server.googlecode.com/svn/trunk@616 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-06-14Attempt to bring sanity to newlines across systems.cedeel@gmail.com1-955/+955
git-svn-id: http://mc-server.googlecode.com/svn/trunk@606 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-28Chests and Furnaces are now saved properly into Anvil scheme.madmaxoft@gmail.com1-8/+93
git-svn-id: http://mc-server.googlecode.com/svn/trunk@516 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-25Merged the composable_generator branch into the trunkmadmaxoft@gmail.com1-82/+123
git-svn-id: http://mc-server.googlecode.com/svn/trunk@504 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08Removed a debugging construct that accidentally leaked into previous commitmadmaxoft@gmail.com1-8/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@485 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-08Fast NBT writer (Saving a chunk is now about twice as fast)madmaxoft@gmail.com1-61/+102
git-svn-id: http://mc-server.googlecode.com/svn/trunk@484 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-05-07Fast NBT Parser (loading a chunk is now about 10 times faster)madmaxoft@gmail.com1-73/+77
git-svn-id: http://mc-server.googlecode.com/svn/trunk@481 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-04-23Anvil storage writing (Basic storage is working, NO entities except for chests are working! Don't use for real servers)madmaxoft@gmail.com1-8/+306
git-svn-id: http://mc-server.googlecode.com/svn/trunk@475 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-24Reverted the previous commit - it is useless, since entities still depend heavily on cWorldmadmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@428 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-23Encapsulated cWorld functions needed in cWorldStorage into an interface, so that cWorldStorage can actually be used outside of MC-Server (such as storage conversion tools and chunk analyzers)madmaxoft@gmail.com1-3/+3
git-svn-id: http://mc-server.googlecode.com/svn/trunk@427 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14Actually commented out the Anvil terrain inversion codemadmaxoft@gmail.com1-1/+1
git-svn-id: http://mc-server.googlecode.com/svn/trunk@415 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14Anvil support: Added a debugging section for inverting terrain (So that MC cave generator can be seen in action). Commented out, so that it doesn't make it into the release versionsmadmaxoft@gmail.com1-0/+24
git-svn-id: http://mc-server.googlecode.com/svn/trunk@414 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-14Split chunk data into separate arrays; decoupled most sources from cChunk.h dependencymadmaxoft@gmail.com1-16/+25
git-svn-id: http://mc-server.googlecode.com/svn/trunk@411 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-11Anvil format: fixed loading with XZY orderingmadmaxoft@gmail.com1-11/+9
git-svn-id: http://mc-server.googlecode.com/svn/trunk@398 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-10Anvil support: compatible with both chunk orderingsmadmaxoft@gmail.com1-0/+4
git-svn-id: http://mc-server.googlecode.com/svn/trunk@395 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07Anvil format: loading chests' contents.madmaxoft@gmail.com1-1/+123
git-svn-id: http://mc-server.googlecode.com/svn/trunk@385 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07No need to reset zlib (copypasta error)madmaxoft@gmail.com1-1/+0
git-svn-id: http://mc-server.googlecode.com/svn/trunk@381 0a769ca7-a7f5-676a-18bf-c427514a06d6
2012-03-07Added the Anvil level format (MCA) support, read-only for the time being. Now MCS can read your worlds from the official server :)madmaxoft@gmail.com1-0/+338
git-svn-id: http://mc-server.googlecode.com/svn/trunk@380 0a769ca7-a7f5-676a-18bf-c427514a06d6