aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Some vector functions useful for working with rotations (#9572)NetherEran2020-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added vector.rotate * added vector.forward_from_rotation and vector.up_from_rotation * added vector.forward_up_to_rotatiton * fixed some bugs and formatting with vector functions * shortened name of some new vector functions and added documentation * made vector.rotate not require a unit vector as axis * fixed crash with vector.forward_up_to_rot * renamed new vector functions, made vector.rotate apply a rotation matrix, old vector.rotate is now called vector.rotate_around_axis * documented vector function changes * removed some whitespace to appease luacheck * implemented and fixed optimization of vector.rotate_around_axis by SmallJoker * added some unit tests for rotation vector functions * clarified that rotation vectors are in radians and according to the left hand rule * hopefully appeased luacheck * renamed rotation_to_horizontal to forward_at_rotation, rotation_to_vertical to up_at_rotation * handled cases where sin or cos are 0 in rotation vector functions * added more comments * clarified documentation of rotation vector functions * added more unit tests * changed way in which vector.rotate_around_axis is adjusted for left handed coordinate systems * made vector.rotate_around_axis actually left handed * unrolled matrix multiplication * removed vector.forward_at_rotation and vector.up_at_rotation * prettified vector.rotate_around_axis, made previous commits not break anything * removed references to removed vector.forward_at_rotation and vector.up_at_rotation * removed documentation of removed vector functions * clarified documentation and fixed styling of rotation vector functions * restyled comments minorly * spelling fixes and some hopefully better comments * allowed 'up' to be missing from vector.directions_to_rotation and removed requirement for unit vectors as arguments * made vector.rotate_around_axis() right handed again for consistency * documented previous changes * made matrix multiplication actually multiply * renamed vector.directions_to_rotation() to vector.dir_to_rotation() * optimized a distance comparison * Fixed potential false positive in unit tests. Co-authored-by: NetherEran <nethereran@hotmail.com>
* LuaItemStack: Add __tostring metamethod (#8785)Paul Ouellette2020-06-09
| | | | | * LuaItemStack: Add __tostring metamethod * Clean up LuaItemStack::checkobject
* Fix player-to-object attachment teleport bug (#10008)hecktest2020-06-09
| | | | | | Fixes two bugs: * The camera offset was not applied to an object while detaching, briefly placing the irrlicht matrixnode in world space. * When attaching, the matrixnode's absolute position was evaluated without evaluating the parent first, resulting in zeroed positions.
* TouchScreenGUI: fix some bugs, cleanupMoNTE482020-06-09
|
* TouchScreen Control: fix some bugs, cleanupMoNTE482020-06-09
|
* Fix real keyboard movements on touchscreen devicesMaksim2020-06-09
|
* Hide tooltip after ETIE_LEFT_UP (for touch control)MoNTE482020-06-09
|
* devtest: Improve tool and formspec usabilitysfan52020-06-08
| | | | also fix the yawsprite test entity
* Reset touching_ground when in free_movesfan52020-06-07
| | | | This corrects local player animation after enabling fly while standing on ground.
* Fix Lua panic when error() message is not a stringPaul Ouellette2020-06-07
|
* Recalculate mesh normals for CAOs (#10000)Danila Shutov2020-06-07
|
* GenericCAO: Fix glow not working since a08d18aSmallJoker2020-06-07
|
* Restore visual_scale support for nodeboxes (and allfaces) (#9906)Vitaliy2020-06-06
|
* Fix incorrect extension used for ContentDB thumbnailsrubenwardy2020-06-06
|
* Add HTTP API to main menu (#9998)rubenwardy2020-06-06
|
* Fix HUD scaling (#9721)Maksim2020-06-05
| | | This resolves HUD scaling issues on Android and desktops with custom DPI settings.
* TestBan: Clean up properly after completing test (#9994)ANAND2020-06-05
|
* Show Toast in UI thread and fix unpacking on Android 10 (#9900)Bektur2020-06-05
|
* Add buttons to ContentDB in game bar and configure world (#9944)rubenwardy2020-06-04
|
* Move shared parameters sending to UnitSAO (#9968)SmallJoker2020-06-04
| | | | | | Better header sorting by topic Make UnitSAO-specific parameters private Skip redundant recursive entity sending code (since ~5.2.0)
* Fix autoscale_mode segfault if tile doesn't have texturesfan52020-06-01
| | | | closes #9965
* Lua API: Log incorrect parameter types as error (#9954)SmallJoker2020-06-01
| | | | | Incorrect parameter types are logged as errors, taking coercion into account. This is a workaround to ensure mod compatibility. Duplicate warnings are ignored per server instance.
* ContentCAO: Update light of all attached entities (#9975)SmallJoker2020-06-01
|
* imageScaleNNAA: Fix image clipping on rect- instead of image dimensions (#9896)Hugues Ross2020-06-01
| | | Fixes GUI scaling filters applied on animated images and 9slice backgrounds.
* Devtest: Fix missing/incorrect liquid properties (#9955)Wuzzy2020-05-30
|
* Clean up CAO nametag handling and remove deprecated AO_CMDsfan52020-05-29
| | | | | AO_CMD_UPDATE_NAMETAG_ATTRIBUTES was deprecated in 9eee3c3f465c071bb9908749cf48be3c131a1bdf (0.4.14)
* content_cao: Do not expire visuals when not necessarysfan52020-05-29
| | | | fixes #6572
* Add disable_jump check for the player's feetMoNTE482020-05-29
|
* Add minetest.is_creative_enabledWuzzy2020-05-29
|
* Update ContentDB dialog (#9949)rubenwardy2020-05-29
|
* Value copy / allocation optimizations mostly in server, SAO and serialize codesfan52020-05-27
|
* Change item entity collisionbox so that they don't sink into the groundsfan52020-05-27
|
* Fix falling entity not falling through playerssfan52020-05-27
|
* Make ContentDB downloads not block the UI (#9948)rubenwardy2020-05-27
|
* Fix liquids refusing to flow in X+ or Z+ in some cases (#9874)sfan52020-05-26
| | | | | Applies when a different: - falling liquid is neighboring - liquid is below
* Devtest game: Update biome registrations (#9936)Paramat2020-05-26
|
* Fix devtest being ignored by .gitignorerubenwardy2020-05-26
|
* Devtest: Fix crash in player unittest (#9937)Wuzzy2020-05-26
| | | Happened if player unittests run when player has exactly 3 HP
* Rename “Minimal development test” to “Development Test” (#9928)Wuzzy2020-05-26
|
* L-System trees: Remove hardcoded use of 'mapgen_dirt' alias (#9931)Paramat2020-05-25
| | | | | | | | | | | | | | Games often and increasingly do not use this mapgen alias, as it is only required for Mapgen V6. Such games were triggering the recently added error message. Even if this mapgen alias was defined, dirt nodes placed under a wide trunk were inconsistent with biomes that do not use dirt surface nodes. Place trunk nodes below a wide trunk instead of 'mapgen_dirt'. On sloping ground, the trunk then extends down to the surface, instead of the surface rising up to meet the trunk. This looks more natural and does not alter the terrain.
* Silence GCC warning in mapblock_meshSmallJoker2020-05-25
| | | | | Fixes following warning: warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
* Fix build on FreeBSD, broken since open_urlrubenwardy2020-05-24
|
* Add engine version string to ContentDB API request (#9890)rubenwardy2020-05-24
|
* Replacement for Minimal Development Test (PR) (#9450)Wuzzy2020-05-24
|
* Add chat_font_size setting (#9736)SmallJoker2020-05-24
| | | Default font sizes are used when the setting value is 0 or below (clamped by Settings).
* Fix two bugs in content_caosfan52020-05-24
| | | | fixes #9889 (backface_culling with visual = "cube") fixes #9916 (crash with visual = "upright_sprite")
* Fix constant re-queueing of emerges that will always be unsuccessfulsfan52020-05-24
|
* Fix documentation of emergequeue_limit settingssfan52020-05-24
|
* lua_api.txt: Fix minor typo (#9917)ANAND2020-05-24
|
* Optimize particlespawner sending by not sending to distant playerssfan52020-05-23
|