mirror of
https://github.com/Relintai/pmlpp.git
synced 2024-11-08 13:12:09 +01:00
Engine module setup.
This commit is contained in:
parent
51765e87ad
commit
14359b46cc
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,2 +1,8 @@
|
||||
a.out
|
||||
.DS_Store
|
||||
.import
|
||||
*.d
|
||||
*.o
|
||||
*.meta
|
||||
*.obj
|
||||
*.pyc
|
||||
*.bc
|
||||
*.os
|
||||
|
43
COPYRIGHT.txt
Normal file
43
COPYRIGHT.txt
Normal file
@ -0,0 +1,43 @@
|
||||
# Exhaustive licensing information for files in the Godot Engine repository
|
||||
# =========================================================================
|
||||
#
|
||||
# This file aims at documenting the copyright and license for every source
|
||||
# file in the Godot Engine repository, and especially outline the files
|
||||
# whose license differs from the MIT/Expat license used by Godot Engine.
|
||||
#
|
||||
# It is written as a machine-readable format following the debian/copyright
|
||||
# specification. Globbing patterns (e.g. "Files: *") mean that they affect
|
||||
# all corresponding files (also recursively in subfolders), apart from those
|
||||
# with a more explicit copyright statement.
|
||||
#
|
||||
# Licenses are given with their debian/copyright short name (or SPDX identifier
|
||||
# if no standard short name exists) and are all included in plain text at the
|
||||
# end of this file (in alphabetical order).
|
||||
#
|
||||
# Disclaimer for thirdparty libraries:
|
||||
# ------------------------------------
|
||||
#
|
||||
# Licensing details for thirdparty libraries in the 'thirdparty/' directory
|
||||
# are given in summarized form, i.e. with only the "main" license described
|
||||
# in the library's license statement. Different licenses of single files or
|
||||
# code snippets in thirdparty libraries are not documented here.
|
||||
# For example:
|
||||
# Files: ./thirdparty/zlib/
|
||||
# Copyright: 1995-2017, Jean-loup Gailly and Mark Adler
|
||||
# License: Zlib
|
||||
# The exact copyright for each file in that library *may* differ, and some
|
||||
# files or code snippets might be distributed under other compatible licenses
|
||||
# (e.g. a public domain dedication), but as far as Godot Engine is concerned
|
||||
# the library is considered as a whole under the Zlib license.
|
||||
#
|
||||
# Nota: When linking dynamically against thirdparty libraries instead of
|
||||
# building them into the Godot binary, you may remove the corresponding
|
||||
# license details from this file.
|
||||
|
||||
-----------------------------------------------------------------------
|
||||
|
||||
Files: modules/pmlpp/*
|
||||
Comment: Machine Learning Module
|
||||
Copyright: Copyright (c) 2023-present Péter Magyar.
|
||||
Copyright (c) 2022-2023 Marc Melikyan.
|
||||
License: Expat
|
3
LICENSE
3
LICENSE
@ -1,6 +1,7 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Marc Melikyan
|
||||
Copyright (c) 2023-present Péter Magyar
|
||||
Copyright (c) 2022-2023 Marc Melikyan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
13
SCsub
Normal file
13
SCsub
Normal file
@ -0,0 +1,13 @@
|
||||
import os
|
||||
|
||||
Import('env')
|
||||
|
||||
module_env = env.Clone()
|
||||
|
||||
sources = [
|
||||
"register_types.cpp",
|
||||
]
|
||||
|
||||
|
||||
module_env.add_source_files(env.modules_sources, sources)
|
||||
|
15
config.py
Normal file
15
config.py
Normal file
@ -0,0 +1,15 @@
|
||||
def can_build(env, platform):
|
||||
return True
|
||||
|
||||
def configure(env):
|
||||
pass
|
||||
|
||||
def get_doc_classes():
|
||||
return [
|
||||
]
|
||||
|
||||
def get_doc_path():
|
||||
return "doc_classes"
|
||||
|
||||
def get_license_file():
|
||||
return "COPYRIGHT.txt"
|
34
register_types.cpp
Normal file
34
register_types.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
/*
|
||||
Copyright (c) 2023-present Péter Magyar
|
||||
Copyright (c) 2022 Marc Melikyan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "register_types.h"
|
||||
|
||||
|
||||
void register_pmlpp_types(ModuleRegistrationLevel p_level) {
|
||||
if (p_level == MODULE_REGISTRATION_LEVEL_SCENE) {
|
||||
//ClassDB::register_class<>();
|
||||
}
|
||||
}
|
||||
|
||||
void unregister_pmlpp_types(ModuleRegistrationLevel p_level) {
|
||||
}
|
33
register_types.h
Normal file
33
register_types.h
Normal file
@ -0,0 +1,33 @@
|
||||
|
||||
#ifndef REGSITER_PMLPP_TYPES
|
||||
#define REGSITER_PMLPP_TYPES
|
||||
|
||||
/*
|
||||
Copyright (c) 2023-present Péter Magyar
|
||||
Copyright (c) 2022 Marc Melikyan
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void register_pmlpp_types(ModuleRegistrationLevel p_level);
|
||||
void unregister_pmlpp_types(ModuleRegistrationLevel p_level);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user