mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 04:46:48 +01:00
Added the 3 new cleaned up classes to the build. They still need some work on their bindings to work properly though.
This commit is contained in:
parent
daa818e9d3
commit
d30be583de
@ -10,6 +10,10 @@ sources = [
|
||||
|
||||
"algos/mm_algos.cpp",
|
||||
"algos/mm_algos_bind.cpp",
|
||||
|
||||
"nodes/mm_material.cpp",
|
||||
"nodes/mm_node_universal_property.cpp",
|
||||
"nodes/mm_node.cpp",
|
||||
]
|
||||
|
||||
|
||||
|
@ -11,6 +11,9 @@ def configure(env):
|
||||
def get_doc_classes():
|
||||
return [
|
||||
"MMAlgos",
|
||||
"MMNode",
|
||||
"MMNodeUniversalProperty",
|
||||
"MMMaterial",
|
||||
]
|
||||
|
||||
def get_doc_path():
|
||||
|
@ -27,11 +27,19 @@ SOFTWARE.
|
||||
#include "algos/mm_algos.h"
|
||||
#include "algos/mm_algos_bind.h"
|
||||
|
||||
#include "nodes/mm_material.h"
|
||||
#include "nodes/mm_node.h"
|
||||
#include "nodes/mm_node_universal_property.h"
|
||||
|
||||
static _MMAlgos *_mm_algos_singleton = nullptr;
|
||||
|
||||
void register_material_maker_types() {
|
||||
ClassDB::register_class<_MMAlgos>();
|
||||
|
||||
ClassDB::register_class<MMNodeUniversalProperty>();
|
||||
ClassDB::register_class<MMMaterial>();
|
||||
ClassDB::register_class<MMNode>();
|
||||
|
||||
_mm_algos_singleton = memnew(_MMAlgos);
|
||||
Engine::get_singleton()->add_singleton(Engine::Singleton("MMAlgos", _MMAlgos::get_singleton()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user