mirror of
https://github.com/Relintai/voxelman.git
synced 2024-11-12 10:15:12 +01:00
Added VoxelStructure skeleton class.
This commit is contained in:
parent
306dc575d8
commit
4d24c13e91
1
SCsub
1
SCsub
@ -18,6 +18,7 @@ env.add_source_files(env.modules_sources,"meshers/transvoxel_tables.cpp")
|
|||||||
env.add_source_files(env.modules_sources,"world/voxel_buffer.cpp")
|
env.add_source_files(env.modules_sources,"world/voxel_buffer.cpp")
|
||||||
env.add_source_files(env.modules_sources,"world/voxel_world.cpp")
|
env.add_source_files(env.modules_sources,"world/voxel_world.cpp")
|
||||||
env.add_source_files(env.modules_sources,"world/voxel_chunk.cpp")
|
env.add_source_files(env.modules_sources,"world/voxel_chunk.cpp")
|
||||||
|
env.add_source_files(env.modules_sources,"world/voxel_structure.cpp")
|
||||||
|
|
||||||
|
|
||||||
env.add_source_files(env.modules_sources,"meshers/cubic_mesher/voxel_mesher_cubic.cpp")
|
env.add_source_files(env.modules_sources,"meshers/cubic_mesher/voxel_mesher_cubic.cpp")
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include "world/voxel_buffer.h"
|
#include "world/voxel_buffer.h"
|
||||||
#include "world/voxel_world.h"
|
#include "world/voxel_world.h"
|
||||||
#include "world/voxel_chunk.h"
|
#include "world/voxel_chunk.h"
|
||||||
|
#include "world/voxel_structure.h"
|
||||||
|
|
||||||
#include "meshers/cubic_mesher/voxel_mesher_cubic.h"
|
#include "meshers/cubic_mesher/voxel_mesher_cubic.h"
|
||||||
#include "meshers/cubic_mesher/voxel_cube_points.h"
|
#include "meshers/cubic_mesher/voxel_cube_points.h"
|
||||||
@ -38,6 +39,7 @@ void register_voxelman_types() {
|
|||||||
ClassDB::register_class<VoxelBuffer>();
|
ClassDB::register_class<VoxelBuffer>();
|
||||||
ClassDB::register_class<VoxelWorld>();
|
ClassDB::register_class<VoxelWorld>();
|
||||||
ClassDB::register_class<VoxelChunk>();
|
ClassDB::register_class<VoxelChunk>();
|
||||||
|
ClassDB::register_class<VoxelStructure>();
|
||||||
|
|
||||||
ClassDB::register_class<VoxelMesherCubic>();
|
ClassDB::register_class<VoxelMesherCubic>();
|
||||||
ClassDB::register_class<VoxelCubePoints>();
|
ClassDB::register_class<VoxelCubePoints>();
|
||||||
|
11
world/voxel_structure.cpp
Normal file
11
world/voxel_structure.cpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#include "voxel_structure.h"
|
||||||
|
|
||||||
|
VoxelStructure::VoxelStructure() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
VoxelStructure::~VoxelStructure() {
|
||||||
|
}
|
||||||
|
|
||||||
|
void VoxelStructure::_bind_methods() {
|
||||||
|
}
|
18
world/voxel_structure.h
Normal file
18
world/voxel_structure.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef VOXEL_STRUCTURE_H
|
||||||
|
#define VOXEL_STRUCTURE_H
|
||||||
|
|
||||||
|
#include "core/reference.h"
|
||||||
|
|
||||||
|
class VoxelStructure : public Reference {
|
||||||
|
GDCLASS(VoxelStructure, Reference);
|
||||||
|
|
||||||
|
public:
|
||||||
|
VoxelStructure();
|
||||||
|
~VoxelStructure();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user