summaryrefslogtreecommitdiffstats
path: root/kspaceduel/main.cpp
blob: 94f56cc87484c7a16f1e1ac533bd085dd2c1907e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <tdeapplication.h>
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>

#include "version.h"
#include "topwidget.h"

static const char description[] = I18N_NOOP("TDE Space Game");

int main(int argc,char **argv)
{
   TDEAboutData aboutData( "kspaceduel", I18N_NOOP("KSpaceDuel"), 
      KSPACEDUEL_VERSION, description, TDEAboutData::License_GPL, 
      "(c) 1998-2000, Andreas Zehender");
   aboutData.addAuthor("Andreas Zehender",0, "az@azweb.de");
   TDECmdLineArgs::init( argc, argv, &aboutData );

   TDEApplication myapplication;
   MyTopLevelWidget* top = new MyTopLevelWidget( );
   myapplication.setMainWidget(top);
   top->show();
   top->start();
   return myapplication.exec();
}

#ifdef kspaceduel_only_for_xgettext
i18n( "Default" ), i18n( "Bullet" ), i18n( "Chaos" ), i18n( "Lack of energy" )
#endif