Mercurial > mm7
comparison Game.cpp @ 1984:b00f5bb7d930
Added back window position saving
Added Build/ to .hgignore
author | zipi |
---|---|
date | Sat, 02 Nov 2013 10:14:14 +0000 |
parents | c1c74df0a33e |
children | 4088cc908c78 |
comparison
equal
deleted
inserted
replaced
1983:5cd26f2c6904 | 1984:b00f5bb7d930 |
---|---|
750 { | 750 { |
751 struct tagRECT Rect; // [sp+0h] [bp-10h]@6 | 751 struct tagRECT Rect; // [sp+0h] [bp-10h]@6 |
752 | 752 |
753 | 753 |
754 WriteWindowsRegistryInt("startinwindow", pRenderer->bWindowMode); | 754 WriteWindowsRegistryInt("startinwindow", pRenderer->bWindowMode); |
755 /*if ( GetWindowRect(hWnd, &Rect) && pRenderer->bWindowMode ) | 755 if ( GetWindowRect(window->GetApiHandle(), &Rect) && pRenderer->bWindowMode ) |
756 { | 756 { |
757 WriteWindowsRegistryInt("window X", Rect.left); | 757 WriteWindowsRegistryInt("window X", Rect.left); |
758 WriteWindowsRegistryInt("window Y", Rect.top); | 758 WriteWindowsRegistryInt("window Y", Rect.top); |
759 }*/ | 759 } |
760 WriteWindowsRegistryInt("valAlwaysRun", bAlwaysRun); | 760 WriteWindowsRegistryInt("valAlwaysRun", bAlwaysRun); |
761 pItemsTable->Release(); | 761 pItemsTable->Release(); |
762 pNPCStats->Release(); | 762 pNPCStats->Release(); |
763 | 763 |
764 if (pMouse) | 764 if (pMouse) |