| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
Includes newer style changes and fixes by est31
Improve the block position de-serialization
Add type NodeMetadataMap
|
|
|
|
|
| |
Update Android.mk
Remove 'src/client' from include_directories
|
|
|
|
| |
* Adds Lua methods 'set_rotation()' and 'get_rotation'. Also changed some method names to be more clear. Instead of an f32 being sent over network for yaw, now a v3f is sent for rotation on xyz axes. Perserved Lua method set_yaw/setyaw so that old mods still work, other wise to set yaw they would need to switch to set_rotation(0, yaw, 0).
|
|
|
|
| |
Defaulting to hiding in order to help with Debian/etc distribution.
This could be changed at a later date.
|
| |
|
|
|
|
| |
Breaks backwards compatibility for good
Bump protocol version
|
| |
|
|
|
|
|
|
| |
Also set it to false for node dig particles, as they are often created
and high in number.
Improve particle documentation.
|
|
|
|
|
| |
* Return intersection point in node coordinates.
* Clarify 'intersection_point' documentation
|
|
|
|
| |
* Replace auth.txt with SQLite auth database
|
|
|
|
| |
Error on missing parameter.
Warning when using a method on the incorrect type of LuaVoxelManip.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Modernize lua read (part 2 & 3): C++ templating assurance
Implement the boolean reader
Implement the string reader
Also remove unused & unimplemented script_error_handler
Add a reader with default value
|
| |
|
|
|
|
| |
* Fix world deletion
|
| |
|
| |
|
|
|
|
| |
& Satisfy LINT
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Modernize lua read (part 1): C++ templating assurance
Implement the float reader
|
|
|
|
| |
* Fix isNan on setYaw Lua call
|
| |
|
| |
|
| |
|
|
|
| |
* Allow right-clicking on attached LuaEntities
|
| |
|
|
|
|
| |
Replaces mods and texture pack tabs with a single content tab
|
|
|
|
|
|
|
|
|
|
| |
Add new biome fields 'node_dungeon', 'node_dungeon_alt', 'node_dungeon_stair'.
If 'node_dungeon' is not defined dungeons fall back to classic behaviour.
Remove messy and imprecise dungeon material code from 'generateBiomes()'.
Code deciding dungeon materials is now in 'generateDungeons()' and uses the
biome at mapchunk centre for more precision.
Remove hardcoded 'MG_STONE' types as long intended.
|
|
|
|
| |
* Add player:get_meta(), deprecate player attributes
|
|
|
|
| |
Add 'node_cave_liquid' as a new field in biome registration.
If field is absent cave liquids fall back to classic behaviour.
|
|
|
|
|
|
| |
Based on https://travis-ci.org/minetest/minetest/jobs/361810382 output
Also fix 2 missing copyright notices
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix many issues reported by clang-tidy
We have many issues in code related to some performance to float <-> double.
Clang-tidy reported it in performance-type-promotion-in-math-fn
I fixed many of them. It's not ready for a promote to blocking
Also fix some value which should be const-ref
|
|
|
|
| |
Allow changing the velocity of objects relatively to their current velocity
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Cleanup sound manager client
* Use some const refs
* Use auto on iterators
* Drop unused parameters
* Move sound_openal.* to client folder
* Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
|
|
|
|
| |
Change name of default biome to a more suitable lowercase 'default'.
|
|
|
|
| |
Returns a suitable player spawn y co-ordinate for unmodified terrain.
|
|
|
|
| |
'y_min' and 'y_max' are still accepted for compatibility.
|
|
|
|
|
|
|
|
| |
* ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil)
* ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil)
* Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity
* Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls
* Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes
|
|
|
|
| |
Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api
|
|
|
|
| |
Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
|
|
|
|
| |
Call directly accessible RemotePlayer::getHotbarItemcount() from server api
|
|
|
|
|
|
| |
Returns the decoration ID for the provided decoration name string.
For use with gennotify, to know the decoration IDs for use in
'minetest.set_gen_notify'.
|
|
|
|
|
|
| |
For 'place schematic' and 'place schematic on vmanip' APIs.
Fix 'place center' code to properly centre schematics.
Fix some comments.
|