Commit Graph

28 Commits

Author SHA1 Message Date
9a151ffc6c Same treatment to methods in VoxelManLibrary. 2020-10-27 23:24:24 +01:00
e9dc7d18dd Fix get_prop_uv_rect, and prop texture merging/setting in VoxelmanLibraryMerger. 2020-07-20 21:22:17 +02:00
ff48f3738a Update for the prop module's PropDataMesh rename. 2020-07-05 18:49:00 +02:00
96fdd00754 Fix include. 2020-07-05 14:54:37 +02:00
9e2d71169b Add prop uv rect query into the library, and make add_mesh_data_resource use it. 2020-06-28 21:31:26 +02:00
be4876c2f1 Fix compile if the props module isn't present. 2020-06-27 18:25:23 +02:00
a991de9d2e Moved PropData to the props modue. 2020-06-27 17:04:40 +02:00
718823a1eb The Merger lib now uses a vector to store props. 2020-06-23 01:15:11 +02:00
88ab910eb8 Brought back the old Prop implementation, and PropTool, because not only this implementation was already done, it will work better than spawning possibly thousands of nodes with the props module, but I also found a way to eventually make it more user friendly. 2020-06-22 21:49:58 +02:00
1d51be2f0b Moved 4.0 compatibility code into a new defines.h (like in ESS). 2020-05-23 10:34:47 +02:00
21ad01ca80 Removed separate liquid surfaces. They will be contained inside the normal voxel arrays. 2020-04-19 23:35:47 +02:00
bee499d951 The library now has an initialized bool. Also the world editor will refresh rects in the library if needed. 2020-04-17 19:21:46 +02:00
7c0390de74 The air block is not required anymore. Also Implemented the sidebar for world editor. And fixed a naming error for a virtual method in the merger library. 2020-04-17 00:37:22 +02:00
b21030ae89 More const qualifiers. 2020-04-16 17:54:32 +02:00
1f23f61b3a Ran clang format, as apparently I had it off. 2020-04-10 13:55:27 +02:00
073e1aeb97 Fix build for 4.0. 2020-04-09 12:34:39 +02:00
40535bfb59 Fix normal compile. 2020-04-06 23:08:35 +02:00
2d2b7c8c3e Started reworking the way props are handled. Removed every old PropData related classes. Props are now just normal PackedScenes. Spawning conveniences/network synchronization will come later. 2020-04-04 17:22:07 +02:00
214323a9a0 Fix compile. 2020-04-03 09:32:34 +02:00
541abb954d Now materials in Library are stored with vectors. This makes it possible to have different materials for every lod level for example. 2020-03-29 20:19:38 +02:00
919080a1b5 Added props top the merger library, also it will now merge together all added prop textures. Also api cleanups. 2020-02-16 02:54:17 +01:00
db77530ec1 Updated the license for 2020, and added it to the top of my cpp files. 2020-01-31 19:52:37 +01:00
2b369f5be8 Made material texture setup scriptable. 2019-11-25 12:03:45 +01:00
7075da44eb Bit more work on the bindings. 2019-11-10 22:18:31 +01:00
e0deb2ea66 Added liquid, and clutter mesh allocations into Chunk, also related modifications. 2019-11-10 13:42:59 +01:00
3b722e24f9 Added binds for liquids. 2019-11-09 23:39:19 +01:00
fd48f195c6 Implemented the Merger Voxel Library. 2019-11-09 21:51:40 +01:00
cb91888f2a Added VoxelmanLibraryMerger. (A copy of the simple library at the moment.) 2019-11-09 18:36:17 +01:00