From 72deaacc5981c16aa05b7a63f497832bc769063c Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 3 Apr 2022 10:47:51 +0200 Subject: Moved application configuration to GameWinDX9 --- StarsEx/Game.h | 4 ---- StarsEx/GameWinDX9.h | 4 ++++ StarsEx/StarServer.cpp | 4 ---- 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; -- cgit v1.1