From a465bebf148ede2c2e7274f7dfc35add9371a0f8 Mon Sep 17 00:00:00 2001 From: Wanne Date: Thu, 26 Mar 2009 05:09:52 +0000 Subject: [PATCH] Fixed a bug when creating the application, it was only possible to start ONE instance of the game. Now it is possible to start as many instances of the game you would like. So this is very helpful for debugging and running 4 clients on one single PC (each client needs its own JA2 installation folder). git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2635 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Standard Gaming Platform/video.cpp | 5 ++--- Utils/_GermanText.cpp | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Standard Gaming Platform/video.cpp b/Standard Gaming Platform/video.cpp index f619675d..f408450d 100644 --- a/Standard Gaming Platform/video.cpp +++ b/Standard Gaming Platform/video.cpp @@ -273,12 +273,12 @@ BOOLEAN InitializeVideoManager(HINSTANCE hInstance, UINT16 usCommandShow, void * ptWindowSize.x = window.right; ptWindowSize.y = window.bottom; - hWindow = CreateWindowEx(exstyle, (LPCSTR) ClassName, "Jagged Alliance 2 v1.13", style, window.left, window.top, window.right, window.bottom, NULL, NULL, hInstance, NULL); + hWindow = CreateWindowEx(exstyle, (LPCSTR) ClassName, "Jagged Alliance 2", style, window.left, window.top, window.right, window.bottom, NULL, NULL, hInstance, NULL); GetClientRect( hWindow, &window); window.top = window.top; } else - hWindow = CreateWindowEx(WS_EX_TOPMOST, (LPCSTR) ClassName, (LPCSTR)ClassName, WS_POPUP | WS_VISIBLE, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, NULL, NULL, hInstance, NULL); + hWindow = CreateWindowEx(WS_EX_TOPMOST, (LPCSTR) ClassName, "Jagged Alliance 2", WS_POPUP | WS_VISIBLE, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT, NULL, NULL, hInstance, NULL); if (hWindow == NULL) { @@ -644,7 +644,6 @@ BOOLEAN InitializeVideoManager(HINSTANCE hInstance, UINT16 usCommandShow, void * if (GetRGBDistribution() == FALSE) return FALSE; - return TRUE; } diff --git a/Utils/_GermanText.cpp b/Utils/_GermanText.cpp index 4d8e3d72..9245fc03 100644 --- a/Utils/_GermanText.cpp +++ b/Utils/_GermanText.cpp @@ -4463,7 +4463,7 @@ STR16 gszMPMapscreenText[] = L"Söldner: ", L"Sie können die Startposition nicht mehr ändern, sobald der Laptop freigeschaltet ist", L"Sie können die Teams nicht mehr ändern, sobald der Laptop freigeschaltet ist", - L"Zufällige Soldner: ", + L"Zufällige Söldner: ", L"J", L"Schwierigkeit:" };