/** The constructor of the game state * */ void RainbruRPG::Core::gsGame::init(){ isInit=true; triangleSelector=true; this->irrDevice = GameEngine::getSingleton().getIrrlichtDevice(); this->driverType = GameEngine::getSingleton().getDriverType(); this->irrDriver = GameEngine::getSingleton().getIrrlichtDriver(); this->irrSmgr = GameEngine::getSingleton().getIrrlichtSmgr(); this->irrGui = GameEngine::getSingleton().getIrrlichtGui(); debug=true; debugTriangleSelection=true; debugModelSelection=true; debugBillboard=false; selectedSceneNode = 0; lastSelectedSceneNode = 0; loadExampleMap(); initTriangleSelector(); initCamera(); initExampleFaeries(); if (debug&&debugBillboard) initBillboard(); createGui(); }
int main() { eMovie billboard[QTY]; initBillboard(billboard,QTY); readrBinary(billboard,QTY); //test(billboard); menu(billboard,QTY); return 0; }