Commit Graph

83 Commits

Author SHA1 Message Date
Elias Fleckenstein
950d2c9b3e Add ClientObjectRef:remove and return true in on_object_add callback to remove newly added object 2021-09-19 18:55:25 +02:00
Minetest-j45
a3925db226 add airjump and remove unused headers 2021-08-30 16:45:27 +01:00
Elias Fleckenstein
f3e741dad1 Merge branch 'master' of https://github.com/minetest/minetest 2021-05-13 18:06:47 +02:00
Elias Fleckenstein
b7abc8df28 Add on_object_add callback 2021-05-11 19:15:23 +02:00
Elias Fleckenstein
c86dcd0f68 Add on_object_hp_change callback and nametag images 2021-05-10 20:45:05 +02:00
Elias Fleckenstein
b84ed7d0be Call on_object_properties_change callback when adding object to scene 2021-05-10 17:26:14 +02:00
Elias Fleckenstein
26cfbda653 Add on_object_properties_change callback 2021-05-10 16:51:54 +02:00
Elias Fleckenstein
6dc7a65d9e Add ClientObjectRef:set_properties 2021-05-10 16:07:31 +02:00
Loic Blot
de85bc9227 fix: some code tidy about includes & irr namespaces 2021-05-03 19:49:19 +02:00
Loic Blot
809e68fdc0 refacto: don't use RenderingEngine singleton on CAO
* we don't need on CAO side more than SceneManager, and temporary. Pass only required SceneManager as a parameter to build CAO and add them to the current scene
* Use temporary the RenderingEngine singleton from ClientEnvironment, waitfor for better solution
* Make ClientActiveObject::addToScene virtual function mandatory to be defined by children to ensure we don't forget to properly define it
2021-05-03 19:49:19 +02:00
sfan5
1e4913cd76 Irrlicht support code maintenance 2021-03-31 13:15:47 +02:00
Elias Fleckenstein
880c9768a9 Merge branch 'master' of https://github.com/minetest/minetest 2021-03-26 14:00:57 +01:00
rubenwardy
f85e9ab925 Add nametag background setting and object property (#10937) 2021-02-17 19:51:28 +00:00
Elias Fleckenstein
cca4254f7c Merge branch 'master' of https://github.com/minetest/minetest 2021-01-07 12:35:04 +01:00
sfan5
74762470b2 Fix some minor code issues all over the place 2020-12-24 13:44:54 +01:00
Elias Fleckenstein
9633ad122b Improved Freecam 2020-11-28 15:58:19 +01:00
Elias Fleckenstein
eb6aca8b4a Merged Minetest 2020-11-28 13:48:33 +01:00
Elias Fleckenstein
a65251a7a8 Fixed glowing GenericCAOs being rendered completely back when Fullbright is enabled 2020-11-26 18:46:34 +01:00
Elias Fleckenstein
82216e1476 LocalPlayer:set_physics_override; minetest.register_on_recieve_physics_override 2020-11-23 19:10:56 +01:00
sfan5
b504a1aa4b Fix player sprite visibility in first person
closes #10525
2020-11-12 21:08:26 +01:00
sfan5
c441baa91b Fix overloaded virtual warnings with get/setAttachment() 2020-11-12 21:08:26 +01:00
SmallJoker
c940a57a38 ContentCAO: Fix segfault when minimap is disabled 2020-11-08 11:30:16 +01:00
Lars Müller
e3bd6704a0 Revert "Fix short 180 degree rotation when using set_bone_position (#10405)" (#10534)
This reverts commit 0f98b54aa4.
2020-11-04 21:43:32 +01:00
Elias Fleckenstein
6ccb5835ff Revert "Make Lint Happy"
This reverts commit ad148587dc.
2020-11-04 16:57:41 +01:00
Elias Fleckenstein
ad148587dc Make Lint Happy 2020-11-04 16:19:54 +01:00
sfan5
c7aa92aaed Fix show_on_minimap default value for local player
fixes #10526
2020-10-20 16:36:05 +02:00
sfan5
660115c1ab Decouple entity minimap markers from nametags replacing with show_on_minimap property (#10443) 2020-10-19 20:38:15 +02:00
Elias Fleckenstein
044a12666e Added Tracers, NoSlow and NoForceRotate; GUI Colors changed 2020-10-04 17:43:37 +02:00
Jordan Snelling
3068853e8a Add First Person Attachments (#10360)
Fixes some other third person camera specific attachments.
Implements a single new flag for entities to be forced visible in first person mode.
Old mods do not need to be updated to use the new flag and are fully backwards compatible.
2020-10-04 15:10:34 +02:00
Lars Müller
0f98b54aa4 Fix short 180 degree rotation when using set_bone_position (#10405) 2020-10-04 15:09:12 +02:00
SmallJoker
947466ab28 (se)SerializeString: Include max length in the name
This commit clarifies the maximal length of the serialized strings.
It will avoid accidental use of serializeString() when a larger string can be expected.

Removes unused Wide String serialization functions
2020-10-01 09:52:59 +02:00
ANAND
291a6b70d6 Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-15 12:19:20 +03:00
sfan5
9bba52c400 content_cao: Support texture animation for upright_sprite (#10020) 2020-07-30 17:39:57 +02:00
Elias Fleckenstein
85574cb53c Improved Freecam 2020-07-28 16:47:27 +02:00
Elias Fleckenstein
064c25caa1 Added EntitySpeed 2020-07-20 16:43:11 +02:00
Elias Fleckenstein
ffe3c2ae0d Update to minetest 5.4.0-dev 2020-07-18 13:53:15 +02:00
Elias Fleckenstein
e610149c0c Initial Commit 2020-07-06 15:50:55 +02:00
hecktest
7be082f9a8 Fix bone-attached entities (#10015) 2020-06-26 00:06:29 +02:00
sfan5
495f7198ef content_cao: Fix behavior of legacy "textures" field for wielditems 2020-06-18 19:36:06 +02:00
Danila Shutov
3a6dfda358 Make shading of CAOs optional (#10033) 2020-06-16 20:48:31 +01:00
sfan5
3f0cbbc372 Use multiple light positions for CAO lighting 2020-06-11 21:13:26 +02:00
sfan5
f89794108c content_cao: Do not expire visuals for texture updates 2020-06-11 21:12:36 +02:00
hecktest
09e285f38c Fix player-to-object attachment teleport bug (#10008)
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.
2020-06-09 19:36:47 +02:00
Danila Shutov
fe1f72ab0a Recalculate mesh normals for CAOs (#10000) 2020-06-07 18:14:00 +02:00
SmallJoker
8fc9e7eb11 GenericCAO: Fix glow not working since a08d18a 2020-06-07 14:17:32 +02:00
SmallJoker
c1e01bc638 Move shared parameters sending to UnitSAO (#9968)
Better header sorting by topic
Make UnitSAO-specific parameters private
Skip redundant recursive entity sending code (since ~5.2.0)
2020-06-04 19:31:46 +02:00
SmallJoker
a08d18acad ContentCAO: Update light of all attached entities (#9975) 2020-06-01 19:01:47 +02:00
sfan5
4c8e1c3200 Clean up CAO nametag handling and remove deprecated AO_CMD
AO_CMD_UPDATE_NAMETAG_ATTRIBUTES was deprecated in
9eee3c3f46 (0.4.14)
2020-05-29 22:54:50 +02:00
sfan5
db7c262ee8 content_cao: Do not expire visuals when not necessary
fixes #6572
2020-05-29 22:54:50 +02:00
sfan5
f51cf7c68a Fix two bugs in content_cao
fixes #9889 (backface_culling with visual = "cube")
fixes #9916 (crash with visual = "upright_sprite")
2020-05-24 11:48:51 +02:00