Added a .gitignore, and the basic module setup stuff.

This commit is contained in:
Relintai 2019-05-31 18:26:36 +02:00
parent c89fe9d7f0
commit 9106cae56c
5 changed files with 40 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
.import
*.d
*.o
*.meta
*.obj
*.pyc
*.bc

5
SCsub Normal file
View File

@ -0,0 +1,5 @@
Import('env')
env.add_source_files(env.modules_sources,"register_types.cpp")

11
config.py Normal file
View File

@ -0,0 +1,11 @@
def can_build(env, platform):
return True
def configure(env):
pass

10
register_types.cpp Normal file
View File

@ -0,0 +1,10 @@
#include "register_types.h"
void register_voxelman_types() {
}
void unregister_voxelman_types() {
}

7
register_types.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef VOXELMAN_REGISTER_TYPES_H
#define VOXELMAN_REGISTER_TYPES_H
void register_voxelman_types();
void unregister_voxelman_types();
#endif