| Commit message (Collapse) | Author | Files | Lines |
|
|
|
* Spectation: add dedicated pathway for spectator mode
+ Sync player rotation with spectated entity.
+ Add dedicated infrastructure to cPlayer for handling spectation, instead of misusing entity riding.
* Avoid infinite recursion when exiting spectation, fixes #5296
* AttachTo: Change parameter to reference
|
|
* Move item placement into item handlers
+ Add appropriate CanBeAt checks in cPlayer::PlaceBlocks, into which all placement handlers call.
* Partly addresses #5157
* Fixes #4878
* Fixes #2919
* Fixes #4629
* Fixes #4239
* Fixes #4849
Co-authored-by: changyong guo <guo1487@163.com>
Co-authored-by: Xotheus <shady3300@outlook.com>
Co-authored-by: Krist Pregracke <krist@tiger-scm.com>
* Review fixes
* Update APIDesc.lua
* Rename
Co-authored-by: changyong guo <guo1487@163.com>
Co-authored-by: Xotheus <shady3300@outlook.com>
Co-authored-by: Krist Pregracke <krist@tiger-scm.com>
|
|
|
|
* added generator for obsidian pillars and central fountain which then is used for the exit portal
* checkstyle
* checkstyle the second
* fixed clang
removed magic number
added Clamp
* make the pillars configurable
* fixed clang
added warning if there was a unknown value if the tower should have a cage or not
* forgot to cancel on unkwon value
* fixed clang this time maybe
* added new generator to generator test
* fixed test
* added prefab generation for end fountain
* fixed checkstyle and updated the prefab
* added ender dragon spawning
made the fountain positioning dynamic
removed fountain placement functions
* added enderdragon stuff to testing
* pls compile
* added changes suggested by @peterbell10
* fixed clang
* added debug for further research on the ARM build
* ok - it wasn't my tower placement
* checking in setup
* readded the fountain schematic
* removed finisher
* readded generator
* removed generator trigger - kept ini file access
* using cChunkDef function to calculate abs pos of endercrystal
* yes, I know it's unused...
* commented everything in the ComposableGenerator.cpp
- so only the new class in compiled in but not called at all
* don't compile in the new generator at all
(removed from CMakeLists.txt)
* readded the new generator
* readded the new generator
* removed debug output
* made the towers generate acrocc chunk borders
* fixed bad merge
* fixed clang
* fixed clang
* generate the dragon 20 blocks above terrain
* trying to fixed weird undefined reference
* maybe this fixes the weird behaviour
* takes chunk width as parameter now
* added new comments with info to generated structures
removed ender dragon spawning
removed chunkwidth from parameter
* fixed linker
* maybe fixed linking. tried with gc and clang
* fixed ender crystal
* fixed test
* updated output strings
* fixed build
* fixed up test
* fixed test compile
* fixed test - cant get the tests to show up
* removed the semicolon
* maybe this is the fix?
* at this point i have no idea - in MVSC it works
* removed the ender dragon
Co-authored-by: 12xx12 <12xx12100@gmail.com>
|
|
* When the cause of destruction was world-induced (CanBeAt check failed) there is no tool. Pass the nullptr directly to ConvertToPickups and let it handle it.
* Fixes #4795
- Remove unused a_Digger parameter to ConvertToPickups.
|
|
This is only overridden false in Vines and Snow. It is called when a CanBeAt check fails, to determine whether DropBlockAsPickups is called. However, Vines and Snow already drop nothing without the right tool, so this function is superfluous.
|
|
- Removed normal BlockHandler knowledge of block entities during conversion
+ Added cBlockEntity::ConvertToPickups that handles it
|
|
* 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>
|
|
* BlockHandler: no dynamic allocation
|
|
|
|
Refactored all cBlockHandler and cItemHandler descendants to use Vector3.
|
|
* cBlockHandler.OnUpdate uses Vector3 params.
Also slightly changed how block ticking works.
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Check for intersection between placed blocks and entities.
+ Implemented GetPlacementCollisionBox, to permit custom placement collision boxes for blocks.
* Factored block-entity placement checking into another function in cPlayer.
- Removed vector min/max functions
* Use GetWorld to get the world in DoesPlacingBlocksIntersectEntity.
+ Added block height checks, allow different cEntity subclasses to decide whether they will prevent block placement.
|
|
* BigFlowers fixes
* Correct upper part meta
* Documented parameters to DoesIgnoreBuildCollision
|
|
|
|
|
|
|
|
|
|
|
|
Also upgraded the user setting file for MSVC to 2013.
|
|
|
|
|
|
|
|
Fixes the OnNeighborChanged endless recursion with large melon / pumpkin fields.
Fixes #2213.
|
|
|
|
|