summaryrefslogtreecommitdiffhomepage
path: root/StarsEx
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-03 10:47:51 +0200
committerAki <please@ignore.pl>2022-04-03 10:47:51 +0200
commit72deaacc5981c16aa05b7a63f497832bc769063c (patch)
tree260b7c7ee72d97dbd3386906cdcdfc1a5672e90b /StarsEx
parent759270bedc64ec2578563ff320cc73bb04a3e7e0 (diff)
downloadstarshatter-72deaacc5981c16aa05b7a63f497832bc769063c.zip
starshatter-72deaacc5981c16aa05b7a63f497832bc769063c.tar.gz
starshatter-72deaacc5981c16aa05b7a63f497832bc769063c.tar.bz2
Moved application configuration to GameWinDX9
Diffstat (limited to 'StarsEx')
-rw-r--r--StarsEx/Game.h4
-rw-r--r--StarsEx/GameWinDX9.h4
-rw-r--r--StarsEx/StarServer.cpp4
3 files changed, 4 insertions, 8 deletions
diff --git a/StarsEx/Game.h b/StarsEx/Game.h
index 0a59197..518c7d9 100644
--- a/StarsEx/Game.h
+++ b/StarsEx/Game.h
@@ -91,10 +91,6 @@ protected:
HMENU hmenu;
DWORD winstyle;
- char* app_name;
- char* title_text;
- char* palette_name;
-
// Internal variables for the state of the app
DWORD window_style; // Saved window style for mode switches
RECT bounds_rect; // Saved window bounds for mode switches
diff --git a/StarsEx/GameWinDX9.h b/StarsEx/GameWinDX9.h
index 43fc71d..9e96840 100644
--- a/StarsEx/GameWinDX9.h
+++ b/StarsEx/GameWinDX9.h
@@ -62,6 +62,10 @@ protected:
HINSTANCE hInst;
HWND hwnd;
+ const char* app_name;
+ const char* title_text;
+ const char* palette_name;
+
bool is_windowed;
bool is_active;
bool is_device_lost;
diff --git a/StarsEx/StarServer.cpp b/StarsEx/StarServer.cpp
index a03bd15..b065d51 100644
--- a/StarsEx/StarServer.cpp
+++ b/StarsEx/StarServer.cpp
@@ -72,10 +72,6 @@ admin_server(0), lobby_server(0)
if (!instance)
instance = this;
- app_name = "Starserver 5.0";
- title_text = "Starserver";
- palette_name = "alpha";
-
server = true;
show_mouse = true;