Hubris Engine Dev
A Project to learn and get into Game Engine developement.
 
Loading...
Searching...
No Matches
EntryPoint.h File Reference
#include <iostream>
#include <Engine.h>
#include <Logger.h>
+ Include dependency graph for EntryPoint.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define main   ::run
 This is to avoid redefining main as the engine defines it. We rename the user main to run and call it.
 

Functions

int run (int argc, char **argv)
 This is the user entry point. This should be implemented by the user.
 
int main (int argc, char **argv)
 Slight preparation needed by the engine for first time use. after the initialization is complete, the engine yields control to user by calling run. The engine is inteneded to work as a platform. entry points signature should be: