YourGameLib
|
User functions that are linked to and called by the yourgame library framework. More...
Functions | |
void | init (int argc, char *argv[]) |
user project initialization | |
void | tick () |
user project update/draw (once pre frame) | |
int | shutdown () |
user project clean-up | |
User functions that are linked to and called by the yourgame library framework.
The yourgame library expects the functions in the mygame namespace to be implemented. They are called by the yourgame library framework at specific moments. The underlying application logic (main function) is provided by the framework. Implementing these functions is mandatory and makes the user project executable together with the yourgame library.
|
extern |
user project initialization
called by the yourgame framework after it has been initialized
argc | number of arguments |
argv | arguments, forwarded from main() (C style application args) |
|
extern |
user project clean-up
called by the yourgame framework before it is shut down
|
extern |
user project update/draw (once pre frame)
called by the yourgame framework once per frame