//**************************************************************************** //! \file main.cpp //! \date 13-02-2003 //! Main application file for the Weird Demo //***************************************************************************** // This file is part of the Weird Demo. // // The Weird Demo is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // The Weird Demo is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with DataView; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //! \mainpage The Weird Demo //! the Weird Demo is a project just for fun without any use or purpose //! it is currently based on an enhanced version of the Dataview engine and will hopefully grow with time #include #include "wengine.hpp" int main( int argc, char ** argv ) { QApplication app( argc, argv ); WEngine *core = new WEngine( 0, "ViewCore"); app.setMainWidget( core); core->Init(); core->showFullScreen(); core->enableLights( true); core->play(); return app.exec(); }