File entry_point.hpp¶
↰ Parent directory (/home/runner/work/Legion-Engine/Legion-Engine/legion/engine/core/entry
)
When LEGION_ENTRY is defined, this file will create a function with signature main(int,char**) -> int implementing the common main function of a c++ program.
Contents
Definition (/home/runner/work/Legion-Engine/Legion-Engine/legion/engine/core/entry/entry_point.hpp
)¶
Detailed Description¶
When defining LEGION_ENTRY do no create your own CRT_STARTUP such as main()->int, main(int,char**)->int, wmain(), etc…
When using LEGION_ENTRY you must instead implement Function reportModules.
When not using LEGION_ENTRY you must call creation and initialization of the engine manually.
Includes¶
core/engine/engine.hpp
(File engine.hpp)core/platform/platform.hpp
(File platform.hpp)core/types/primitives.hpp
(File primitives.hpp)iostream