* Handle newlines during read and write in cIniFile
When reading the ini file, replace \n with newline. When writing,
replace the newline with \n.
* Use ReplaceString instead of regex in IniFile
* Update cIniFile description
* Removed duplicate variable
* Revert "Removed duplicate variable"
This reverts commit de11bac047.
* Removed duplicate variable
Now without plugin changes
---------
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Removed C style arrays from the BlockEntity folder
* Update for loops with size_t where there are no item grids involved
* Fixed some casts in BrewingstandEntity.cpp
---------
Co-authored-by: bibo38 <bibo38@github.com>
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Placing certain blocks on top of upside down slabs and stairs
* remove TODO
* fix style errors
* IsAnyStairType helper function
* Block placement on stairs and slabs
* Instead of chunks ticking player objects, and the player object in turn ticking its client handle, let the world tick the client handles. This means we no longer need to maintain a special-case for chunks that shouldn't be ticking, but still need to process players. Partially reverts to the state before 054a89dd.
* adding build* to gitignore and tags for ctags
* Notation Changes
* Adding & Parser
* Avoid crash when & as first character
* Looking for @ in the rest of the project
* Formating style
* Modifying test to reflect new behaviours
* Adding a check for the first part
* fixup! Adding & Parser
style changes
* Update APIDesk.lua
* Update src/CompositeChat.cpp
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* explaination on the antishlash with ampersand
* adding old deprecated formating
* Update src/CompositeChat.cpp
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Update src/CompositeChat.cpp
* Update src/CompositeChat.cpp
Co-authored-by: Debucquoy <debucqquoy.anthony@gmail.com>
Co-authored-by: x12xx12x <44411062+12xx12@users.noreply.github.com>
* Implement ranged attack for snow golemas. Fix failed assertion when stopping the server
* Decrease snowball speed
* Adjust accuracy for snow golems
* Use a getter instead of m_World
* Implement relative SendPlayerMoveLook
* Use relative teleport in cBlockFarmlandHandler::TurnToDirt
* Static cast to UInt8. Explicit float values
* Maybe explicit doubles, too
* Fix TurnToDirt for some edge cases
* Improve the height check in TurnToDirt
* Const is good, right?
* Const - the continuation
* 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?