SpiecsEngine
Loading...
Searching...
No Matches
EntryPoint.h
Go to the documentation of this file.
1
/**
2
* @file EntryPoint.h.
3
* @brief EntryPoint Definitions.
4
* @author Spices.
5
*/
6
#
pragma
once
7
8
#
include
"Core/Core.h"
9
#
include
"Core/Application.h"
10
#
include
"Core/Memory/MemoryEntry.h"
11
12
/**
13
* @brief Main Function.
14
*/
15
int
main
() {
16
17
PROCESS_INSTANCE_ENTRY
18
19
try
20
{
21
/**
22
* @brief Create Application
23
*/
24
auto
engine =
Spices
::
Application
(
)
;
25
26
/**
27
* @brief Application Run.
28
*/
29
engine
.
Run
(
)
;
30
}
31
catch
(
const
std::exception& ex)
32
{
33
SPICES_CORE_ERROR(ex.what())
34
35
return
EXIT_FAILURE;
36
}
37
38
PROCESS_INSTANCE_EXIT
39
40
return
EXIT_SUCCESS;
41
}
main
int main()
Main Function.
Definition
EntryPoint.h:15
PROCESS_INSTANCE_ENTRY
#define PROCESS_INSTANCE_ENTRY
Macros of modify Process instance state.
Definition
MemoryEntry.h:134
PROCESS_INSTANCE_EXIT
#define PROCESS_INSTANCE_EXIT
Definition
MemoryEntry.h:135
SPICES_PROFILE_ZONE
#define SPICES_PROFILE_ZONE
Definition
TracyProfilerWrapper.h:100
Spices::Application::Application
Application()
Constructor Function.
Definition
Application.cpp:23
Spices::Application::Run
static void Run()
Run Our World.
Definition
Application.cpp:77
Spices::Application
Application Class. Our Engine Start here.
Definition
Application.h:20
Spices::WhittedRTWorld
Definition
WhittedRTWorld.h:8
Spices::World
World Class. This class defines the basic behaves of World. When we create an new world,...
Definition
World.h:41
Spices::CreateWorld
std::shared_ptr< World > CreateWorld()
extern WorldCreation definition in Game.
Definition
EntryPoint.cpp:6
Spices
Definition
EntryPoint.cpp:4
SpicesEngine
src
EntryPoint.h
Generated on Sun Mar 8 2026 10:23:08 for SpiecsEngine by
1.10.0