source: Revenant/gdmodule/src/root.cpp

port/mars-tycoon
Last change on this file was c61312b, checked in by Jonathan Neufeld <support@…>, 3 years ago

(WIP) New GeoWorld / Voxel generation adapter

  • Property mode set to 100644
File size: 529 bytes
RevLine 
[8125274]1#include "terraingen.h"
[c61312b]2#include "voxsrc.h"
[8125274]3
4extern "C" void GDN_EXPORT godot_gdnative_init(godot_gdnative_init_options *o) {
5 godot::Godot::gdnative_init(o);
6}
7
8extern "C" void GDN_EXPORT godot_gdnative_terminate(godot_gdnative_terminate_options *o) {
9 godot::Godot::gdnative_terminate(o);
10}
11
12extern "C" void GDN_EXPORT godot_nativescript_init(void *handle) {
13 godot::Godot::nativescript_init(handle);
14
15 godot::register_class<godot::TerrainGen>();
[c61312b]16 godot::register_class<godot::GeoWorldVoxelGeneratorSource>();
[8125274]17}
Note: See TracBrowser for help on using the repository browser.