/* main.cpp Copyright (C) 1998 Andreas Wüst (AndreasWuest@gmx.de) This program 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. This program 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 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "toplevel.h" #include #include #include #include static const char description[] = I18N_NOOP("TDE Atomic Entertainment Game"); static const char version[] = "2.0"; // ########################## // # Main # // ########################## int main(int argc, char **argv) { TDEAboutData aboutData( "katomic", I18N_NOOP("KAtomic"), version, description, TDEAboutData::License_GPL, "(c) 1998, Andreas Wuest"); aboutData.addAuthor("Andreas Wuest", 0, "AndreasWuest@gmx.de"); aboutData.addAuthor("Stephan Kulow", 0, "coolo@kde.org"); aboutData.addAuthor("Cristian Tibirna", 0, "tibirna@kde.org"); aboutData.addCredit("Carsten Pfeiffer"); aboutData.addCredit("Dave Corrie"); aboutData.addCredit("Kai Jung", I18N_NOOP("6 new levels"), "jung@fh-fresenius.de"); aboutData.addCredit("Danny Allen", I18N_NOOP("Game graphics and application icon"), "danny@dannyallen.co.uk"); TDECmdLineArgs::init( argc, argv, &aboutData ); TQApplication::setColorSpec(TQApplication::ManyColor); TDEApplication a; TDEGlobal::locale()->insertCatalogue("libtdegames"); if ( a.isRestored() ) RESTORE(AtomTopLevel) else { AtomTopLevel *top = new AtomTopLevel; top->show(); a.setMainWidget(top); } return a.exec(); }