Commit Graph
26 Commits
Author SHA1 Message Date
REDxEYE 3a54a37b06 Remove unnecessary glew includes.
Remove copyright from Mesh.cpp
Add default initializers for VertexAttribute
2025-04-13 17:14:34 +03:00
REDxEYE 9730454b90 Add back default-vs-msvc-windows preset used in CI 2025-04-13 17:14:34 +03:00
REDxEYE 0e73f65331 Cleanup 2025-04-13 17:14:34 +03:00
REDxEYE 40a515227a Remove unused pragma pack 2025-04-13 17:14:34 +03:00
REDxEYE 90605c6d5f Replace assert with std::runtime_error 2025-04-13 17:14:34 +03:00
REDxEYE 9bb6cdfec2 Remove debug code 2025-04-13 17:14:33 +03:00
REDxEYE 1ffbeb8148 Refactor mesh handling to use templated vertex structures for improved type safety and flexibility 2025-04-13 17:14:28 +03:00
REDxEYE 5b6cee1bf5 Remove custom target 2024-12-06 21:44:12 +03:00
REDxEYE 57e9cade7b Potential nullptr access fix 2024-12-02 21:27:37 +03:00
REDxEYE ad81e64461 Add EXTRLE16+GZIP combo for chunk compression 2024-12-02 21:26:44 +03:00
REDxEYE 49defaeb3b Add api to serialize and deserialize chunk to bytes 2024-12-02 02:33:38 +03:00
REDxEYE 5ba96945e6 Remove fog api as it soon to be deprecated 2024-11-04 21:18:15 +03:00
REDxEYE 3383566e6a libitem: Minor cleanup 2024-11-04 21:18:13 +03:00
REDxEYE a4b1b2100b libentities: deprecate in favour of official implementation 2024-11-04 21:17:20 +03:00
REDxEYE 7f5bc41835 libentities: add get_hitbox that returns a hitbox from entity definition 2024-11-04 21:17:20 +03:00
REDxEYE 803981e2a8 libworld: expose WorldInfo::fog value to lua 2024-11-04 21:17:20 +03:00
REDxEYE 76fc7b5fb4 libitem: exposed placing_block and emission to lua 2024-11-04 21:17:17 +03:00
REDxEYE fcd26f4b10 ContentLoader::load: Minor cleanup 2024-08-21 19:28:08 +03:00
REDxEYE 16ddd943c2 ItemDef/EntityDef/Block: Add proper dependency resolution for blocks, items, entities 2024-08-21 19:15:09 +03:00
REDxEYE 5f6ae5daba ItemDef/EntityDef/Block: Add method cloneTo to definition to other definition
ContentBuilder: Add method `get` to get definition or nullptr
ContentLoader: Add functionality to clone from definition specified in `parent` field in json
2024-08-20 21:58:01 +03:00
REDxEYE 615dd23913 block.raycast: fix documentation 2024-08-20 18:17:11 +03:00
REDxEYE 408e7fd763 debug.print: remove as many allocations as possible, modified string print to escape any special characters 2024-08-20 18:10:05 +03:00
REDxEYE a48d54aa27 block.raycast/entity.raycast: Updated docs to reflect changes 2024-08-20 15:33:29 +03:00
REDxEYE 6ff608c012 lua_extensions: Fix wrong repr function name 2024-08-20 15:14:27 +03:00
REDxEYE 7fa061c941 lua_extensions: Add debug.print function that can pretty-print tables recursively(with depth limit of 10) 2024-08-20 15:09:32 +03:00
REDxEYE 1be50c2e06 libblock.raycast: Add argument to specify blocks to ignore during ray casting
libentity.raycast: Add argument to specify blocks to ignore during ray casting
Chunk::rayCast: Add argument to specify blocks to ignore during ray casting.

On lua side filter blocks are passed as list of strings in form of "MOD:BLOCK_NAME"
On C++ size filter blocks are std::set of blockid_t
2024-08-19 21:36:30 +03:00