| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add DarkoGNU to CONTRIBUTORS
* HandleFarmlandTrampling function & its docs
* Fix decimal separators (, -> .)
* Fix style. Adjust thresholds. Make function non-virtual
* Adjust thresholds again. Prepare for fixing #5402
* Trying to fix falling through farmlands
* Another style fix
* Add FarmlandTramplingEnabled to world.ini
* Docs for IsFarmlandTramplingEnabled
* Style
* Farmland trampling - handling the random chance
* Trampling kinda works, very buggy
* Trying to fix clang-tidy
* Fix trampling
* Trying to fix the 'undocumented API symbol'
* Implement bearbin's suggestions
* Calculate volume properly
* Don't use std::pow for squaring
* Improved comments
* Really, should comments' style be checked?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Outline function for teleporting.
* Created new handler for chorus fruit.
* Fixed AttemptTeleport failing.
* Better names, working sound effect.
* Corrected naming.
* Remove stray LOGD.
* Offset teleport to middle of block.
* Style Fixes
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Style Fixes 2
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Move FindTeleportDestination to static cPawn method.
* cBoundingBox interface.
* Cleanup includes.
* Maybe exported to API?
* Change a_World to reference, add to APIDesc.
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* notchian totem of undying
* ...
* ....
* Update src/Entities/Pawn.cpp
Co-authored-by: Alexander Harkness <me@bearbin.net>
* DeductTotem func
* fixed build errors
* Added myself to CONTRIBUTORS
* Small changes
Co-authored-by: Peter <peter@cassoviacode.com>
Co-authored-by: Alexander Harkness <me@bearbin.net>
Co-authored-by: Tiger Wang <ziwei.tiger@outlook.com>
|
|
|
|
|
|
|
|
|
|
| |
* Fix potential destruction crashes
* Fix destructors accessing destroyted objects
* Fix cPlayer not destroying windows (Destroyed never called)
* Tentatively fixes #4608, fixes #3236, fixes #3262
- Remove cEntity::Destroyed() and replace with cEntity::OnRemoveFromWorld()
* Add missing call to OnRemoveFromWorld
|
|
|
|
|
|
|
| |
* add some const qualifiers to functions
* added changes suggested by @tigerw
Co-authored-by: 12xx12 <12xx12100@gmail.com>
|
| |
|
|
|
|
|
| |
Prevents fall damage after teleporting/portaling to a lower height.
Fixes #3457
|
| |
|
|
|
|
|
| |
- Added override keyword
- Removed inherited member variables
|
|
|
| |
Added block hardness checks when breaking blocks.
|
| |
|
|
|
|
| |
* Fixes #3216
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #2556
|
|
|
|
|
| |
This not only provides fire resistence, but also prevents blaze fireballs.
See #2556
|
|
|
|
| |
also refactored cWorld::m_WorldAge and cWorld::m_TimeOfDay
|
| |
|
| |
|
| |
|
|
|
|
| |
Changed effect map to take a pointer of the effect as a result.
|
| |
|
| |
|
|
|
|
| |
Added second AddEntityEffect with a pass-by-value of the class.
|
| |
|
|
|
|
| |
Exported entity effect functions for ToLua and documented them in APIDesc.lua
|
|
|
|
| |
Clears entity effects on death
|
| |
|
|
|
|
| |
Typedef'd std::map<cEntityEffect::eType, cEntityEffect> to tEffectMap
|
|
|
|
|
|
| |
Implemented hunger, instant health, damage, poison, regen
Added "template" entity effect implementations
|
| |
|
| |
|
|
|