2 * Copyright 2006-2009 Parker Coates <parker.coates@gmail.com>
4 * This file is part of Killbots.
6 * Killbots is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
11 * Killbots is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with Killbots. If not, see <http://www.gnu.org/licenses/>.
20 #include "mainwindow.h"
22 #include <KDE/KAboutData>
23 #include <KDE/KApplication>
24 #include <KDE/KCmdLineArgs>
25 #include <KDE/KLocalizedString>
26 #include <KDE/KStandardDirs>
29 int main( int argc
, char ** argv
)
31 KAboutData
about( "killbots", "", ki18n("Killbots"), "1.0.0" );
32 about
.setShortDescription( ki18n("A KDE game of killer robots and teleportation.") );
33 about
.setLicense( KAboutData::License_GPL_V2
);
34 about
.setCopyrightStatement( ki18n("© 2006-2009, Parker Coates") );
35 about
.addAuthor( ki18n("Parker Coates"), ki18n("Developer"), "parker.coates@gmail.com" );
36 about
.addCredit( ki18n("Mark Rae"), ki18n("Author of Gnome Robots. Invented safe teleports, pushing junkheaps and fast robots."), "", "http://live.gnome.org/Robots" );
38 KCmdLineArgs::init(argc
, argv
, &about
);
42 KGlobal::locale()->insertCatalog("libkdegames");
43 KGlobal::dirs()->addResourceType("ruleset", "data", about
.appName() + "/rulesets/");
45 Killbots::MainWindow
* mainWindow
= new Killbots::MainWindow
;