Mercurial > mm7
comparison mm7_2.cpp @ 326:ead95219160c
m
author | Ritor1 |
---|---|
date | Wed, 20 Feb 2013 11:26:54 +0600 |
parents | ce39b96acf5c |
children | a7f15da53e82 |
comparison
equal
deleted
inserted
replaced
325:875ba5966ceb | 326:ead95219160c |
---|---|
12914 GetDeviceCaps(hDesktopDC, PLANES) != 1 ) | 12914 GetDeviceCaps(hDesktopDC, PLANES) != 1 ) |
12915 dword_6BE364_game_settings_1 |= 2; | 12915 dword_6BE364_game_settings_1 |= 2; |
12916 | 12916 |
12917 ReleaseDC(nullptr, hDesktopDC); | 12917 ReleaseDC(nullptr, hDesktopDC); |
12918 | 12918 |
12919 | |
12920 uint uTotalWinWidth = 2 * GetSystemMetrics(SM_CXFRAME) + 640; | 12919 uint uTotalWinWidth = 2 * GetSystemMetrics(SM_CXFRAME) + 640; |
12921 uint uTotalWinHeight = GetSystemMetrics(SM_CYCAPTION) + 2 * GetSystemMetrics(SM_CYFRAME) + 480; | 12920 uint uTotalWinHeight = GetSystemMetrics(SM_CYCAPTION) + 2 * GetSystemMetrics(SM_CYFRAME) + 480; |
12922 | 12921 |
12923 uint uWinCenteredPosX = (uDesktopWidth - uTotalWinWidth) / 2; | 12922 uint uWinCenteredPosX = (uDesktopWidth - uTotalWinWidth) / 2; |
12924 uint uWinCenteredPosY = (uDesktopHeight - uTotalWinHeight) / 2; | 12923 uint uWinCenteredPosY = (uDesktopHeight - uTotalWinHeight) / 2; |