1 | /* |
2 | Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com> |
3 | |
4 | This program is free software; you can redistribute it and/or modify |
5 | it under the terms of the GNU General Public License as published by |
6 | the Free Software Foundation; either version 2 of the License, or |
7 | (at your option) any later version. |
8 | */ |
9 | |
10 | #include <KApplication> |
11 | #include <KAboutData> |
12 | #include <KLocale> |
13 | #include <KCmdLineArgs> |
14 | |
15 | #include "mainwindow.h" |
16 | |
17 | |
18 | int main(int argc, char *argv[]) |
19 | { |
20 | KAboutData aboutData("kollision" , 0, ki18n("Kollision" ), |
21 | "0.1" , ki18n("KDE collision game" ), KAboutData::License_GPL, |
22 | ki18n("(c) 2007 Paolo Capriotti" ), KLocalizedString(), "http://games.kde.org/kollision" ); |
23 | aboutData.addAuthor(ki18n("Paolo Capriotti" ), KLocalizedString(), "p.capriotti@gmail.com" ); |
24 | aboutData.addAuthor(ki18n("Dmitry Suzdalev" ), KLocalizedString(), "dimsuz@gmail.com" ); |
25 | aboutData.addCredit(ki18n("Matteo Guarnieri" ), ki18n("Original idea" )); |
26 | aboutData.addCredit(ki18n("Brian Croom" ), ki18n("Port to use KGameRenderer" )); |
27 | |
28 | KCmdLineArgs::init(argc, argv, &aboutData); |
29 | |
30 | KCmdLineOptions options; |
31 | KCmdLineArgs::addCmdLineOptions(options); |
32 | KApplication app; |
33 | KGlobal::locale()->insertCatalog( QLatin1String( "libkdegames" )); |
34 | |
35 | MainWindow* window = new MainWindow; |
36 | window->show(); |
37 | |
38 | return app.exec(); |
39 | } |
40 | |