The code is implimented in this commit and is launchable with the BUILD_CLIENT compile option.
Everything should be launchable by running the one function within
src/nyqubel-client/client.hpp: start_nyqubel_client()
I simply ported a few core commands to C++, it was pretty easy once the
infastructure was setup. Since its already setup for lua, its very easy
to write C++ code that is just as good!
I plan on finishing the Core Commands then/after changing cuberite to
have its compatibility enforcers.
Since I ripped out lua, we still need commands for basic existance
within the cube world. I want to live comfortably so I setup the system
to be easily adaptable and added to to make more commands in the future.
I am removing lua specifically because I am not intending on supporting
it on any way. I will manage everything manually in c++, the base is
already there since the entire codebase is built for lua, it can be used
the same way in c++.
This does alienate the type of people that can contribute, this is
intended more as a personal project to attempt matching vanilla
minecraft. Im not intending on running some kind of massive server so
this does just fine.
Lua wasnt even that intertwined with cuberite, but I still want to rid
it for ease of development. Sorry for any hurt feelings.
Commit is being made to allow additions of GPL3+ code previously
un-addable. With these changes, contributions back to cuberite are
possible with the backporting exemtion, as well as adding stuff in
minetest with minetest code properly being read through and implimented
to upgrade it to GPL3 from GPL2.
project still has Apache2.0 license and credits to all its contributers, but now has the freedom of GPL3+ and all the code that can be implimented and shared with it.
* 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?