summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Game.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-06 21:28:00 +0200
committerAki <please@ignore.pl>2022-04-06 21:53:47 +0200
commit947910fc3c541ffdab3b042cfa3a3926b64f0ba3 (patch)
treea4d6b261d0edaa516d34b3fcb4baa8f84381adad /StarsEx/Game.h
parenta793e933b1e7e5b62fe4e15403e1d5fb33dc2dd4 (diff)
downloadstarshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.zip
starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.tar.gz
starshatter-947910fc3c541ffdab3b042cfa3a3926b64f0ba3.tar.bz2
Streamlined instance management for Game and derived classes
Diffstat (limited to 'StarsEx/Game.h')
-rw-r--r--StarsEx/Game.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/StarsEx/Game.h b/StarsEx/Game.h
index 2aa1df7..48629c6 100644
--- a/StarsEx/Game.h
+++ b/StarsEx/Game.h
@@ -85,6 +85,9 @@ protected:
bool server;
bool show_mouse;
DWORD frame_number;
+
+private:
+ static Game* instance;
};
// +--------------------------------------------------------------------+