summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-28 21:43:04 +0100
committerAki <please@ignore.pl>2022-02-28 21:43:04 +0100
commit4be19cc8bfa9ea63c3d90aa0900f28ca9c373b90 (patch)
treef038beca7f35431892bcb23a422797386e380418
parent0da933a0146a0689546b21231e14f2dfc2bc14e8 (diff)
downloadstarshatter-4be19cc8bfa9ea63c3d90aa0900f28ca9c373b90.zip
starshatter-4be19cc8bfa9ea63c3d90aa0900f28ca9c373b90.tar.gz
starshatter-4be19cc8bfa9ea63c3d90aa0900f28ca9c373b90.tar.bz2
Added stub to export WinApi and DX9 parts to
-rw-r--r--Stars45/ApplicationDX9.cpp17
-rw-r--r--Stars45/ApplicationDX9.h19
-rw-r--r--Stars45/CMakeLists.txt1
-rw-r--r--Stars45/Game.h3
4 files changed, 39 insertions, 1 deletions
diff --git a/Stars45/ApplicationDX9.cpp b/Stars45/ApplicationDX9.cpp
new file mode 100644
index 0000000..0a9adc6
--- /dev/null
+++ b/Stars45/ApplicationDX9.cpp
@@ -0,0 +1,17 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#include "ApplicationDX9.h"
+
+
+ApplicationDX9::ApplicationDX9()
+{
+}
+
+
+ApplicationDX9::~ApplicationDX9()
+{
+}
diff --git a/Stars45/ApplicationDX9.h b/Stars45/ApplicationDX9.h
new file mode 100644
index 0000000..e6003e7
--- /dev/null
+++ b/Stars45/ApplicationDX9.h
@@ -0,0 +1,19 @@
+/* Starshatter: The Open Source Project
+ Copyright (c) 2021-2022, Starshatter: The Open Source Project Contributors
+ Copyright (c) 2011-2012, Starshatter OpenSource Distribution Contributors
+ Copyright (c) 1997-2006, Destroyer Studios LLC.
+*/
+
+#ifndef ApplicationDX9_h
+#define ApplicationDX9_h
+
+
+class ApplicationDX9
+{
+public:
+ ApplicationDX9();
+ virtual ~ApplicationDX9();
+};
+
+
+#endif // ApplicationDX9_h
diff --git a/Stars45/CMakeLists.txt b/Stars45/CMakeLists.txt
index 7f5216d..19bfbdd 100644
--- a/Stars45/CMakeLists.txt
+++ b/Stars45/CMakeLists.txt
@@ -4,6 +4,7 @@ include(GitToResource)
add_executable(
Stars45 WIN32
ActiveWindow.cpp
+ ApplicationDX9.cpp
Archive.cpp
Asteroid.cpp
AudDlg.cpp
diff --git a/Stars45/Game.h b/Stars45/Game.h
index b86e0fc..1be7170 100644
--- a/Stars45/Game.h
+++ b/Stars45/Game.h
@@ -10,6 +10,7 @@
#ifndef Game_h
#define Game_h
+#include "ApplicationDX9.h"
#include "Types.h"
#include "Screen.h"
#include "Video.h"
@@ -36,7 +37,7 @@ class Text;
// +--------------------------------------------------------------------+
-class Game
+class Game : public ApplicationDX9
{
public:
static const char* TYPENAME() { return "Game"; }