mirror of
https://github.com/Relintai/texture_packer.git
synced 2025-01-29 15:49:21 +01:00
Initial Skeleton.
This commit is contained in:
parent
3f74e3f401
commit
4a4c98fa68
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.import
|
||||||
|
*.d
|
||||||
|
*.o
|
||||||
|
*.meta
|
||||||
|
*.pyc
|
||||||
|
*.obj
|
||||||
|
*.bc
|
||||||
|
|
5
SCsub
Normal file
5
SCsub
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
Import('env')
|
||||||
|
|
||||||
|
env.add_source_files(env.modules_sources,"register_types.cpp")
|
||||||
|
|
||||||
|
env.add_source_files(env.modules_sources,"merge_texture.cpp")
|
5
config.py
Normal file
5
config.py
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
def can_build(env, platform):
|
||||||
|
return True
|
||||||
|
|
||||||
|
def configure(env):
|
||||||
|
pass
|
12
merge_texture.cpp
Normal file
12
merge_texture.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include "merge_texture.h"
|
||||||
|
|
||||||
|
MergeTexture::MergeTexture() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
MergeTexture::~MergeTexture() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void MergeTexture::_bind_methods() {
|
||||||
|
}
|
18
merge_texture.h
Normal file
18
merge_texture.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef MERGE_TEXTURE_H
|
||||||
|
#define MERGE_TEXTURE_H
|
||||||
|
|
||||||
|
#include "scene/resources/texture.h"
|
||||||
|
|
||||||
|
class MergeTexture : public ImageTexture {
|
||||||
|
GDCLASS(MergeTexture, ImageTexture);
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
MergeTexture();
|
||||||
|
~MergeTexture();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
static void _bind_methods();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
12
register_types.cpp
Normal file
12
register_types.cpp
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#include "register_types.h"
|
||||||
|
|
||||||
|
#include "merge_texture.h"
|
||||||
|
|
||||||
|
void register_merge_texture_types() {
|
||||||
|
ClassDB::register_class<MergeTexture>();
|
||||||
|
}
|
||||||
|
|
||||||
|
void unregister_merge_texture_types() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
3
register_types.h
Normal file
3
register_types.h
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
|
||||||
|
void register_merge_texture_types();
|
||||||
|
void unregister_merge_texture_types();
|
Loading…
Reference in New Issue
Block a user