|
KarmaEngine
Game Engine for practical learning and research purposes
|
This file contains some commonly used game code macros. More...
#include "krpch.h"

Go to the source code of this file.
Macros | |
| #define | DEFINE_DEFAULT_CONSTRUCTOR_CALL(TClass) |
| Default constructor for Karma's gamecode class declaration. | |
| #define | DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL(TClass) |
| #define | DECLARE_KARMA_CLASS(TClass, TSuperClass) |
| Karma's gamecode object class declaration. | |
Typedefs | |
| typedef void(* | ClassConstructorType) (const Karma::FObjectInitializer &) |
Enumerations | |
| enum | EInternal { EC_InternalUseOnlyConstructor } |
This file contains some commonly used game code macros.
| #define DECLARE_KARMA_CLASS | ( | TClass, | |
| TSuperClass ) |
Karma's gamecode object class declaration.
Generates class hierarchy, defines base class and calls default constructor with placement new during UObjectAllocation (*InClass->m_ClassConstructor)(FObjectInitializer)
| #define DEFINE_DEFAULT_CONSTRUCTOR_CALL | ( | TClass | ) |
Default constructor for Karma's gamecode class declaration.
| #define DEFINE_DEFAULT_OBJECT_INITIALIZER_CONSTRUCTOR_CALL | ( | TClass | ) |