summaryrefslogtreecommitdiffstats
path: root/q15/src/main.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-11-25 15:16:40 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-12-02 19:51:38 +0100
commitd607668c5a772823d6cf59df205b7aa6d2ac2130 (patch)
tree7f8b4d8c5b0f26fed9bc870bea548cac766099a0 /q15/src/main.cpp
parentcc192fd9396098134f6aa1369d63c4b270cddfe9 (diff)
downloadtdegames-d607668c5a772823d6cf59df205b7aa6d2ac2130.tar.gz
tdegames-d607668c5a772823d6cf59df205b7aa6d2ac2130.zip
Turn into a TDE application.
The game is renamed TDEFifteen (original name: q15). Add icons (Public Domaine, https://commons.wikimedia.org/wiki/File:15-puzzle.svg). Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit e33e8edb80936f8dd04729d70c0c991612340d5e)
Diffstat (limited to 'q15/src/main.cpp')
-rw-r--r--q15/src/main.cpp41
1 files changed, 0 insertions, 41 deletions
diff --git a/q15/src/main.cpp b/q15/src/main.cpp
deleted file mode 100644
index 849a4ee6..00000000
--- a/q15/src/main.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * $Id: main.cpp,v 0.1 2005/08/14 11:21:13 denis Exp $
- *
- * Author: Denis Kozadaev (denis@tambov.ru)
- * Description:
- *
- * See also: style(9)
- *
- * Hacked by:
- */
-
-#include <stdlib.h>
-
-#include <tqapplication.h>
-
-#include "mainwindow.h"
-
-
-const int XSize = 640, YSize = 480;
-
-int
-main(int argc, char *argv[])
-{
- TQApplication *app;
- MainWindow *mw;
- int result;
-
- app = new TQApplication(argc, argv);
- mw = new MainWindow(NULL);
-
- mw->resize(XSize, YSize);
- mw->show();
- mw->setMinimumSize(mw->size());
- mw->setMaximumSize(mw->size());
- result = app->exec();
-
- delete mw;
- delete app;
-
- return (result);
-}