summaryrefslogtreecommitdiff
path: root/src/simulation/elements/O2.cpp
diff options
context:
space:
mode:
authormmbob <mmbob+github@outlook.com>2013-04-22 17:04:43 (GMT)
committer mmbob <mmbob+github@outlook.com>2013-04-22 17:04:43 (GMT)
commit63050715ee54f1e8c39f69557d6d012bd6316d6b (patch)
treeb93f142720a13c801f59e0959d515c89052aa8a1 /src/simulation/elements/O2.cpp
parentada7c7bb11e99ea31cc4b417de9892b71ec8525c (diff)
downloadpowder-63050715ee54f1e8c39f69557d6d012bd6316d6b.zip
powder-63050715ee54f1e8c39f69557d6d012bd6316d6b.tar.gz
Replace __ImageBase. Save + load window position.
Instead of using the __ImageBase global variable, use the GetModuleHandle(NULL) function to get the exe's HMODULE/HINSTANCE. Save the window position when the game is closed and restore it when it is opened. Defaults to being centered on the desktop.
Diffstat (limited to 'src/simulation/elements/O2.cpp')
0 files changed, 0 insertions, 0 deletions