I have been reading the UE4 engine source for learning purpose. But I am lost now. Where is the main entry point of a game built by UE4 editor’s buildtool?
Typically a windows application’s execution starts from something like this:
int WINAPI WinMain(_In_ HINSTANCE hInInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LPSTR, _In_ int nCmdShow)
I searched on UE4’s source in visual studio, I got several WinMain.
Of course this is no surprise as we have editors and other tools. But which one is responsible for the windows executable produced by build tools, the entry point of runtime?