summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-06-22 16:31:55 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-06-22 16:31:55 +0200
commit8bb223e67955904c14e26a980927d313272ed22b (patch)
treeaa59cbd36f30485af4720f1055ad6be92caf88ef /src/app
parent4531ac88d3c022866d564be40c20593de4c70bfc (diff)
downloadcolobot-8bb223e67955904c14e26a980927d313272ed22b.tar.gz
colobot-8bb223e67955904c14e26a980927d313272ed22b.tar.bz2
colobot-8bb223e67955904c14e26a980927d313272ed22b.zip
Templates for new implementation
- added template of classes/structs for new implementation - changed #include paths - updated README files
Diffstat (limited to 'src/app')
-rw-r--r--src/app/README.txt2
-rw-r--r--src/app/app.cpp23
-rw-r--r--src/app/app.h27
3 files changed, 51 insertions, 1 deletions
diff --git a/src/app/README.txt b/src/app/README.txt
index 50e273f..1df1fcc 100644
--- a/src/app/README.txt
+++ b/src/app/README.txt
@@ -1,3 +1,3 @@
src/app
-Contains the main class of the application and joystick module (to be incorporated into application module once using SDL).
+Contains the main class of the application.
diff --git a/src/app/app.cpp b/src/app/app.cpp
new file mode 100644
index 0000000..0938f2a
--- /dev/null
+++ b/src/app/app.cpp
@@ -0,0 +1,23 @@
+// * This file is part of the COLOBOT source code
+// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
+// * Copyright (C) 2012, Polish Portal of Colobot (PPC)
+// *
+// * 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 3 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, see http://www.gnu.org/licenses/.
+
+// app.cpp
+
+#include "app/app.h"
+
+
+// TODO implementation
diff --git a/src/app/app.h b/src/app/app.h
new file mode 100644
index 0000000..7d1f358
--- /dev/null
+++ b/src/app/app.h
@@ -0,0 +1,27 @@
+// * This file is part of the COLOBOT source code
+// * Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch
+// * Copyright (C) 2012, Polish Portal of Colobot (PPC)
+// *
+// * 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 3 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, see http://www.gnu.org/licenses/.
+
+// app.h
+
+#pragma once
+
+
+class CApplication
+{
+ // TODO
+};
+