Commit Graph

30 Commits

Author SHA1 Message Date
768728139e Fix compile for 4.0. 2020-07-29 00:02:42 +02:00
a0f01044a1 Add has_prop() to the library's api. 2020-07-20 21:21:28 +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
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
1c0854a845 Remove unused class variable. 2020-04-19 23:56:11 +02:00
21ad01ca80 Removed separate liquid surfaces. They will be contained inside the normal voxel arrays. 2020-04-19 23:35:47 +02:00
7d20bd10d8 The new initialized property shouldn't be serialized. 2020-04-17 22:16:25 +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
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
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
f931f3f1bf Separated VoxelmanLibrary into 2 different classes. 2019-11-09 17:26:16 +01:00
c1b0be11bd Fixed the new property's hint. 2019-09-06 18:40:28 +02:00
249e4e5f81 Crash fix. 2019-09-06 04:37:08 +02:00
34e0252066 Ran into an example of binding variant arrays with a specific type, so now the voxel surface array is bound like that. 2019-09-06 04:31:57 +02:00
63c7c0536c Fixed a memleak. 2019-08-14 00:29:28 +02:00
2ed334dade Now Voxel Surfaces work again. 2019-08-11 22:28:26 +02:00
029f241005 Implemented props. 2019-07-18 18:56:42 +02:00
bc9896b695 Added in the classes which I want to salvage from my test voxel engine. Some of the classes contain horrible code because I learned godot engine development with these, the will be cleaned up. The Vector3i is from Zylann's godot_voxel module, I'll properly credit him a bit later. 2019-05-31 22:54:31 +02:00