godot_fastnoise/register_types.cpp

23 lines
485 B
C++
Raw Normal View History

2016-05-02 17:19:15 +02:00
#include "register_types.h"
2021-02-06 11:50:27 +01:00
#include "core/version.h"
#if VERSION_MAJOR < 4
2019-08-11 23:12:38 +02:00
#include "core/class_db.h"
2021-02-06 11:50:27 +01:00
#else
#include "core/object/class_db.h"
#endif
2016-05-02 17:19:15 +02:00
#include "fastnoise_noise_params.h"
#include "noise.h"
2016-05-02 17:19:15 +02:00
void initialize_fastnoise_module(ModuleInitializationLevel p_level) {
if (p_level == MODULE_INITIALIZATION_LEVEL_SCENE) {
GDREGISTER_CLASS(FastNoise);
GDREGISTER_CLASS(FastnoiseNoiseParams);
}
2016-05-02 17:19:15 +02:00
}
void uninitialize_fastnoise_module(ModuleInitializationLevel p_level) {
2016-05-02 17:19:15 +02:00
}