Game Develop C++ Platform: About the SDK directories structure

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
About the SDK directories structure

The SDK is composed of some directories :

- GDCpp contains the headers of Game Develop C++ Platform.
- IDE contains the Game Develop C++ Platform compiled for an edittime use ( in the IDE ). The extensions binaries are also put here by default.
- Runtime contains the Game Develop C++ Platform compiled for an use at runtime ( without everything being related to edition ). The extensions binaries are also put here by default when being built for runtime.
- Extensions contains the extensions. The official extensions are not provided directly in this SDK: Just download them from https://github.com/4ian/gd-extensions.

# Structure of an extension

Each extension has its own directory, which is most of the time located itself in the Extensions folder.
Basically, an extension is composed of a Extension.cpp file, which contains the information about the extension.

Then, it is common to add files like <ExtensionName>Tools.cpp and <ExtensionName>Tools.h which implements and defines the functions provided by the extensions.
If objects are provided by the extension, it is common to implement and define them in <ObjectName>Object.cpp and <ObjectName>Object.h.

If objects need to have an editor ( when double clicking on them in the objects editor ), it is common to use a file like <ObjectName>Editor.cpp with its associated .h.

The wxsmith directory is used by Code::Blocks to save the files used so as to create the user interfaces, like the editor of an object.

Some others files may be present, like JsExtension.cpp and a *.js file when the extension is compatible with the Game Develop JS Platform.