1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /*!
- * \file include/main.h
- * \brief Service locator
- *
- * \author xythobuz
- */
- #ifndef _MAIN_H_
- #define _MAIN_H_
-
- #include "Camera.h"
- #include "Console.h"
- #include "Game.h"
- #include "Menu.h"
- #include "OpenRaider.h"
- #include "Render.h"
- #include "Sound.h"
- #include "Window.h"
- #include "World.h"
-
- Camera &getCamera();
-
- Console &getConsole();
-
- Game &getGame();
-
- Menu &getMenu();
-
- OpenRaider &getOpenRaider();
-
- Render &getRender();
-
- Sound &getSound();
-
- Window &getWindow();
-
- World &getWorld();
-
- /*!
- * \brief Program entry point
- * \param argc number of arguments
- * \param argv array with argc strings
- * \returns 0 on success
- */
- int main(int argc, char *argv[]);
-
- #endif
|