voxelcore/src/logic/scripting/lua/libs
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
..
api_lua.hpp add 'random' library 2025-09-16 19:01:47 +03:00
lib__rigidbody.cpp update vertical damping & add rigidbody:get_vdamping 2025-09-07 17:10:13 +03:00
lib__skeleton.cpp make core:mob.look_at public 2025-09-07 23:41:29 +03:00
lib__transform.cpp move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00
libapp.cpp add pack.assemble(...), app.config_packs(...) 2025-01-03 23:51:36 +03:00
libassets.cpp add 'assets' library docs 2025-08-13 23:59:05 +03:00
libaudio.cpp refactor: add ContentControl class 2025-04-02 15:01:24 +03:00
libbase64.cpp add base64.encode_urlsafe, base64.decode_urlsafe 2025-09-16 22:16:56 +03:00
libbjson.cpp replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
libblock.cpp add 'tags.toml' file 2025-09-19 22:16:28 +03:00
libblockwraps.cpp add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00
libbyteutil.cpp Streaming I/O and support of named pipes (#570) 2025-08-01 20:26:43 +03:00
libcamera.cpp move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00
libconsole.cpp refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +03:00
libcore.cpp cleanup platform.cpp 2025-09-26 21:57:48 +03:00
libentity.cpp refactor Entities 2025-08-09 21:19:01 +03:00
libentity.hpp refactor Entities 2025-08-09 21:19:01 +03:00
libfile.cpp Streaming I/O and support of named pipes (#570) 2025-08-01 20:26:43 +03:00
libgeneration.cpp Merge branch 'main' into dev 2025-08-24 17:31:34 +03:00
libgui.cpp add on_screen_change project script event & fix UIDocument::rebuildIndices & move menu background to project script 2025-08-07 22:14:52 +03:00
libgui.hpp feat: key pressed event interception & 'owner' input.add_callback third argument 2025-01-02 20:51:43 +03:00
libhud.cpp possible hud.open bug fix 2025-08-11 23:53:49 +03:00
libhud.hpp fix hud libraries not removing after on_hud_close & fix segfault on illegal access to hud functions 2025-02-11 16:16:15 +03:00
libinput.cpp fix input library in headless mode 2025-08-10 23:19:10 +03:00
libinventory.cpp add nil checks for inventory id, slot index to inventory slot related functions 2025-08-18 23:56:46 +03:00
libitem.cpp add 'tags.toml' file 2025-09-19 22:16:28 +03:00
libjson.cpp add yaml serialization library 2025-03-24 07:43:41 +03:00
libmat4.cpp move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00
libnetwork.cpp add 'data' argument to http error callback 2025-09-16 23:17:06 +03:00
libpack.cpp fix ContentPack enums formatting 2025-09-14 12:59:09 +03:00
libparticles.cpp fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
libpathfinding.cpp test mobs 2025-09-01 01:39:31 +03:00
libplayer.cpp Player Attributes (#578) 2025-09-26 21:59:15 +03:00
libposteffects.cpp fix windows build 2025-06-14 23:12:32 +03:00
libquat.cpp move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00
librandom.cpp add Random class 2025-09-16 20:27:07 +03:00
libtext3d.cpp fix hud libraries not removing after on_hud_close & fix segfault on illegal access to hud functions 2025-02-11 16:16:15 +03:00
libtime.cpp Streaming I/O and support of named pipes (#570) 2025-08-01 20:26:43 +03:00
libtoml.cpp fix toml encoder 2025-06-29 12:33:57 +03:00
libutf8.cpp replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
libvecn.cpp add vec2.rotate 2025-09-07 21:12:50 +03:00
libweather.cpp move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
libworld.cpp replace Bytearray with FFI implementation 2025-04-07 20:48:12 +03:00
libyaml.cpp add yaml serialization library 2025-03-24 07:43:41 +03:00