feat: removed stuff
parent
a1b01a59a4
commit
fe487ab9ac
24
LICENSE.md
24
LICENSE.md
|
@ -1,24 +0,0 @@
|
|||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
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 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.
|
||||
|
||||
For more information, please refer to <https://unlicense.org>
|
22
README.md
22
README.md
|
@ -1,22 +0,0 @@
|
|||
# godot-cpp template
|
||||
This repository serves as a quickstart template for GDExtension development with Godot 4.0+.
|
||||
|
||||
## Contents
|
||||
* An empty Godot project (`demo/`)
|
||||
* godot-cpp as a submodule (`godot-cpp/`)
|
||||
* GitHub Issues template (`.github/ISSUE_TEMPLATE.yml`)
|
||||
* GitHub CI/CD to publish your library packages when creating a release (`.github/workflows/builds.yml`)
|
||||
* preconfigured source files for C++ development of the GDExtension (`src/`)
|
||||
|
||||
## Usage
|
||||
To use this template, log in to github and click the green "Use this template" button at the top of the repository page.
|
||||
This will let you create a copy of this repository with a clean git history. Make sure you clone the correct branch as these are configured for development of their respective Godot development branches and differ from each other. Refer to the docs to see what changed between the versions.
|
||||
|
||||
For getting started after cloning your own copy to your local machine, you should:
|
||||
* initialize the godot-cpp git submodule via `git submodule update --init`
|
||||
* change the name of your library
|
||||
* change the name of the compiled library file inside the `SConstruct` file by modifying the `libname` string.
|
||||
* change the pathnames of the to be loaded library name inside the `demo/bin/example.gdextension` file. By replacing `libgdexample` to the name specified in your `SConstruct` file.
|
||||
* change the name of the `demo/bin/example.gdextension` file
|
||||
* change the `entry_symbol` string inside your `demo/bin/your-extension.gdextension` file to be configured for your GDExtension name. This should be the same as the `GDExtensionBool GDE_EXPORT` external C function. As the name suggests, this sets the entry function for your GDExtension to be loaded by the Godot editors C API.
|
||||
* register the classes you want Godot to interact with inside the `register_types.cpp` file in the initialization method (here `initialize_gdextension_types`) in the syntax `ClassDB::register_class<CLASS-NAME>();`.
|
Loading…
Reference in New Issue