From 9106cae56c96a079be5e8399c01b571e9a430ea8 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 31 May 2019 18:26:36 +0200 Subject: [PATCH] Added a .gitignore, and the basic module setup stuff. --- .gitignore | 7 +++++++ SCsub | 5 +++++ config.py | 11 +++++++++++ register_types.cpp | 10 ++++++++++ register_types.h | 7 +++++++ 5 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 SCsub create mode 100644 config.py create mode 100644 register_types.cpp create mode 100644 register_types.h diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..73b3242 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +.import +*.d +*.o +*.meta +*.obj +*.pyc +*.bc \ No newline at end of file diff --git a/SCsub b/SCsub new file mode 100644 index 0000000..2f49252 --- /dev/null +++ b/SCsub @@ -0,0 +1,5 @@ +Import('env') + +env.add_source_files(env.modules_sources,"register_types.cpp") + + diff --git a/config.py b/config.py new file mode 100644 index 0000000..9e2955d --- /dev/null +++ b/config.py @@ -0,0 +1,11 @@ + + +def can_build(env, platform): + return True + + +def configure(env): + pass + + + diff --git a/register_types.cpp b/register_types.cpp new file mode 100644 index 0000000..2fcab1a --- /dev/null +++ b/register_types.cpp @@ -0,0 +1,10 @@ +#include "register_types.h" + +void register_voxelman_types() { + +} + +void unregister_voxelman_types() { + +} + diff --git a/register_types.h b/register_types.h new file mode 100644 index 0000000..6ea4230 --- /dev/null +++ b/register_types.h @@ -0,0 +1,7 @@ +#ifndef VOXELMAN_REGISTER_TYPES_H +#define VOXELMAN_REGISTER_TYPES_H + +void register_voxelman_types(); +void unregister_voxelman_types(); + +#endif