Castle Battle  1.0
Macros | Functions
main.cpp File Reference
#include <irrlicht.h>
#include <cstdlib>
#include <time.h>
#include <list>
#include "Application.h"

Macros

#define MAIN
 

Functions

int main ()
 Initialize seed and start Application. More...
 

Macro Definition Documentation

◆ MAIN

#define MAIN

Function Documentation

◆ main()

int main ( )

Initialize seed and start Application.

10  {
11  Application app = Application();
12  srand (time(NULL));
13  return (app.init()) ? app.loop() : 1;
14 }
bool init()
Start the launcher screen, and will wait the start button click event.
Definition: Application.cpp:38
Application will set up Launcher screen, and start the loop through GameManager.
Definition: Application.h:14
bool loop()
Main loop of the application.
Definition: Application.cpp:98