Compare commits
4 commits
archive/v1
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3324d25e9b | ||
|
|
f3c2bf7515 | ||
|
|
d87b782d6d | ||
|
|
82f2cae0f6 |
12
.gitignore
vendored
12
.gitignore
vendored
|
|
@ -6,9 +6,15 @@
|
||||||
config.log
|
config.log
|
||||||
.sconf_temp
|
.sconf_temp
|
||||||
|
|
||||||
|
# build artifacts
|
||||||
|
*.o
|
||||||
|
compile_commands.json
|
||||||
engine/.github
|
engine/.github
|
||||||
project/.godot
|
project/.godot
|
||||||
build/PROJECT.pck
|
build/authority.pck
|
||||||
build/PROJECT.x86_64
|
build/authority.x86_64
|
||||||
build/PROJECT.exe
|
build/authority.exe
|
||||||
build.zip
|
build.zip
|
||||||
|
|
||||||
|
# general-purpose cache folder (used by e.g clangd)
|
||||||
|
.cache
|
||||||
|
|
|
||||||
2
engine
2
engine
|
|
@ -1 +1 @@
|
||||||
Subproject commit 215acd52e82f4c575abb715e25e54558deeef998
|
Subproject commit 3b48b0110e04e84db54788ccda4f8f5f7fa1fcf4
|
||||||
5
justfile
5
justfile
|
|
@ -1,6 +1,6 @@
|
||||||
set export
|
set export
|
||||||
|
|
||||||
BUILD_NAME := "change_me"
|
BUILD_NAME := "authority"
|
||||||
|
|
||||||
build: format
|
build: format
|
||||||
# Compiling Editor
|
# Compiling Editor
|
||||||
|
|
@ -37,9 +37,8 @@ release-windows: build
|
||||||
initialize-template projectname:
|
initialize-template projectname:
|
||||||
# Initializing Template {{projectname}}
|
# Initializing Template {{projectname}}
|
||||||
sed -i -e "s/PROJECT/{{projectname}}/g" ./modules/PROJECT/register_types.h ./modules/PROJECT/register_types.cpp ./project/project.godot ./project/export_presets.cfg .gitignore
|
sed -i -e "s/PROJECT/{{projectname}}/g" ./modules/PROJECT/register_types.h ./modules/PROJECT/register_types.cpp ./project/project.godot ./project/export_presets.cfg .gitignore
|
||||||
sed "s/change_me/{{projectname}}/" ./justfile
|
sed -i -e "s/authority/{{projectname}}/" ./justfile
|
||||||
mv ./modules/PROJECT ./modules/{{projectname}}
|
mv ./modules/PROJECT ./modules/{{projectname}}
|
||||||
# Done Initializing, you will still have to update BUILD_NAME in your justfile
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
# Formatting Custom Modules
|
# Formatting Custom Modules
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
#ifndef PROJECT_REGISTER_TYPES_H
|
|
||||||
#define PROJECT_REGISTER_TYPES_H
|
|
||||||
|
|
||||||
#include "modules/register_module_types.h"
|
|
||||||
|
|
||||||
void initialize_PROJECT_module(ModuleInitializationLevel p_level);
|
|
||||||
void uninitialize_PROJECT_module(ModuleInitializationLevel p_level);
|
|
||||||
|
|
||||||
#endif // !PROJECT_REGISTER_TYPES_H
|
|
||||||
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
#include "core/object/class_db.h"
|
#include "core/object/class_db.h"
|
||||||
|
|
||||||
void initialize_PROJECT_module(ModuleInitializationLevel p_level) {
|
void initialize_authority_module(ModuleInitializationLevel p_level) {
|
||||||
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void uninitialize_PROJECT_module(ModuleInitializationLevel p_level) {
|
void uninitialize_authority_module(ModuleInitializationLevel p_level) {
|
||||||
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
9
modules/authority/register_types.h
Normal file
9
modules/authority/register_types.h
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
#ifndef authority_REGISTER_TYPES_H
|
||||||
|
#define authority_REGISTER_TYPES_H
|
||||||
|
|
||||||
|
#include "modules/register_module_types.h"
|
||||||
|
|
||||||
|
void initialize_authority_module(ModuleInitializationLevel p_level);
|
||||||
|
void uninitialize_authority_module(ModuleInitializationLevel p_level);
|
||||||
|
|
||||||
|
#endif // !authority_REGISTER_TYPES_H
|
||||||
|
|
@ -9,7 +9,7 @@ custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
include_filter=""
|
include_filter=""
|
||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path="../build/PROJECT.x86_64"
|
export_path="../build/authority.x86_64"
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
|
|
@ -51,7 +51,7 @@ custom_features=""
|
||||||
export_filter="all_resources"
|
export_filter="all_resources"
|
||||||
include_filter=""
|
include_filter=""
|
||||||
exclude_filter=""
|
exclude_filter=""
|
||||||
export_path="../build/PROJECT.exe"
|
export_path="../build/authority.exe"
|
||||||
patches=PackedStringArray()
|
patches=PackedStringArray()
|
||||||
encryption_include_filters=""
|
encryption_include_filters=""
|
||||||
encryption_exclude_filters=""
|
encryption_exclude_filters=""
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@ config_version=5
|
||||||
|
|
||||||
[application]
|
[application]
|
||||||
|
|
||||||
config/name="PROJECT"
|
config/name="authority"
|
||||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||||
config/icon="res://icon.svg"
|
config/icon="res://icon.svg"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue