Commit Graph

44 Commits

Author SHA1 Message Date
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
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
bb7daf8f6b Added liquid property to VoxelSurface, also small api cleanup. 2020-04-19 23:10:23 +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
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
f7842e1ab2 The blocky mesher is a lot faster now. 2020-04-07 14:23:20 +02:00
40535bfb59 Fix normal compile. 2020-04-06 23:08:35 +02:00
a4fc573f85 Optional module dependencies are actually optional now. 2020-04-06 22:47:03 +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
bf211fd430 Moved everything that is prop related to a new repository (props). It is required for this to compile for a short wile, while I rework things. 2020-04-03 09:25:07 +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
601a61619b Added mesher index property to both VoxelMesher, and VoxelSurface. 2020-02-13 14:16:57 +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
2b9f28e573 Added scaled uv calculation to voxel surface. Think of terrarins, when the texture is bigger than one quad. 2020-01-14 22:26:40 +01:00
a67d0393ca Clang format. 2020-01-09 04:29:05 +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
c674a8c045 Added chunk states, and dirty flag to Chunk. 2019-11-10 03:10:42 +01:00
f82076e9c2 More work on clutter. 2019-11-10 02:42:31 +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
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
9ae53b157c Started cleaning up VoxelSurface. 2019-08-11 15:29:32 +02:00
029f241005 Implemented props. 2019-07-18 18:56:42 +02:00
d7b949e8b8 Work on uv mapping. 2019-06-09 20:59:54 +02:00
7b99cff1dd Cleaned up VoxelSurface a bit. 2019-06-01 00:11:59 +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