18 Commits

Author SHA1 Message Date
MihailRis
64f7c19766
document player.get_dir function (#695)
* update doc/*/scripting/builtins/libplayer.md
2025-11-22 23:36:46 +03:00
MihailRis
51f07450d8 fix player library docs 2025-11-20 20:28:34 +03:00
MihailRis
4f88e3b964 Merge branch 'main' into dev 2025-11-04 16:02:46 +03:00
MihailRis
652f652e55 fix: player.get_camera, set_camera are not documented 2025-11-04 16:02:11 +03:00
MihailRis
c0196ef092 update doc/*/scripting/builtins/libplayer.md 2025-10-16 22:00:00 +03:00
GHOST11111100
792ee63f22
Player Attributes (#578)
* feat: add max interaction distance functionality to Player class and Lua bindings

* feat: add getter and setter for max interaction distance in Player class documentation

* feat: add speed and gravity scale properties with corresponding getters and setters in Player class

* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance

* feat: add time scale functionality with getters and setters in World and Engine classes

* remove speed and gravity scale functions from player and world libraries

* remove time scale setting on world open and close

* rename interaction distance functions for consistency

* refactor: update interaction distance functions and remove time scale methods

* refactor: revert classes.lua to dev

* refactor: remove time scale functionality from Engine and World classes

* fix: Now I’ve definitely rolled back `classes.lua`.

* refactor: remove unused player attributes and clean up player class

* Update Player.hpp

removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
047b1772f2 update doc/*/scripting/builtins/libplayer.md 2025-01-27 07:58:42 +03:00
MihailRis
01b4b6f19a update docs 2025-01-17 19:03:12 +03:00
MihailRis
13c36f4629 feat: player.delete() function and update documentation 2024-12-26 05:47:18 +03:00
MihailRis
e153e1fbd7 add player.is_loading_chunks, .set_loading_chunks 2024-12-24 10:35:09 +03:00
MihailRis
22d207ba28 add player.set_selected_slot, inventory.find_by_item 2024-12-23 12:24:29 +03:00
MihailRis
f262c0f297 fix libplayer.md 2024-11-27 18:25:54 +03:00
MihailRis
acc4d2540d add player name 2024-11-23 05:38:18 +03:00
MihailRis
2ba90625ce add player.is_instant_destruction, .set_instant_destruction 2024-11-21 05:02:45 +03:00
MihailRis
14b596140d add player.is_infinite_items, .set_infinite_items 2024-11-20 13:19:49 +03:00
MihailRis
5b5abd1ab0 update doc/**/libplayer.md 2024-08-06 21:08:35 +03:00
MihailRis
24b3045c07 update doc/*/libplayer.md 2024-08-05 20:46:46 +03:00
MihailRis
26dcac0134 add doc/**/libplayer.md 2024-07-27 13:36:29 +03:00