
this is standard windows programming style...all those are defines having keywords behind or just keywords.
that is the main function a windows program will call when u will run the program.
- this defines your ogre application
Code: Select all
try {
app.go();
} catch( Ogre::Exception& e ) {
MessageBox( NULL, e.getFullDescription().c_str(), "error!", MB_OK | MB_ICONERROR | MB_TASKMODAL );
}
this is runnning your application, calling the go method...the try(){}catch() is just an exception handler (if an error is raised inside the ogre app, this handler will catch it)...here the application will popup a message box in case of an ogre error!
the your function returns, and the program ends!