diff --git a/mk/windoze/g3d_viewer.vcproj b/mk/windoze/g3d_viewer.vcproj index 9d2903eb9..99fdaa66c 100755 --- a/mk/windoze/g3d_viewer.vcproj +++ b/mk/windoze/g3d_viewer.vcproj @@ -122,6 +122,7 @@ StringPooling="true" ExceptionHandling="2" RuntimeLibrary="0" + EnableEnhancedInstructionSet="2" UsePrecompiledHeader="0" PrecompiledHeaderThrough="" PrecompiledHeaderFile="c:\temp\release\$(TargetName).pch" diff --git a/mk/windoze/glest_editor.vcproj b/mk/windoze/glest_editor.vcproj index 0c9888885..8f645c46f 100755 --- a/mk/windoze/glest_editor.vcproj +++ b/mk/windoze/glest_editor.vcproj @@ -122,6 +122,7 @@ StringPooling="true" ExceptionHandling="2" RuntimeLibrary="0" + EnableEnhancedInstructionSet="2" UsePrecompiledHeader="0" PrecompiledHeaderThrough="" PrecompiledHeaderFile="c:\temp\release\$(TargetName).pch" diff --git a/mk/windoze/glest_game.vcproj b/mk/windoze/glest_game.vcproj index 3effb1313..374a70d12 100755 --- a/mk/windoze/glest_game.vcproj +++ b/mk/windoze/glest_game.vcproj @@ -142,7 +142,7 @@ ExceptionHandling="2" RuntimeLibrary="0" EnableFunctionLevelLinking="true" - EnableEnhancedInstructionSet="0" + EnableEnhancedInstructionSet="2" FloatingPointModel="0" WarningLevel="2" Detect64BitPortabilityProblems="true" diff --git a/mk/windoze/libstreflop.vcproj b/mk/windoze/libstreflop.vcproj index e33e6f4a0..70c8f3815 100644 --- a/mk/windoze/libstreflop.vcproj +++ b/mk/windoze/libstreflop.vcproj @@ -113,7 +113,7 @@ ExceptionHandling="2" RuntimeLibrary="0" EnableFunctionLevelLinking="true" - EnableEnhancedInstructionSet="0" + EnableEnhancedInstructionSet="2" FloatingPointModel="0" RuntimeTypeInfo="true" WarningLevel="3" diff --git a/mk/windoze/shared_lib.vcproj b/mk/windoze/shared_lib.vcproj index 1c2dfe2ad..316d1592e 100755 --- a/mk/windoze/shared_lib.vcproj +++ b/mk/windoze/shared_lib.vcproj @@ -123,7 +123,7 @@ ExceptionHandling="2" RuntimeLibrary="0" EnableFunctionLevelLinking="true" - EnableEnhancedInstructionSet="0" + EnableEnhancedInstructionSet="2" FloatingPointModel="0" RuntimeTypeInfo="true" WarningLevel="3" diff --git a/source/glest_map_editor/main.cpp b/source/glest_map_editor/main.cpp index 743359741..fef51a98c 100755 --- a/source/glest_map_editor/main.cpp +++ b/source/glest_map_editor/main.cpp @@ -304,7 +304,7 @@ MainWindow::MainWindow() //#ifndef WIN32 timer = new wxTimer(this); - timer->Start(100); + timer->Start(250); //#endif glCanvas->SetFocus(); } @@ -379,7 +379,7 @@ void MainWindow::onTimer(wxTimerEvent &event) { wxPaintEvent paintEvent; onPaint(paintEvent); #ifdef WIN32 - Update(); + //Update(); #endif } @@ -915,12 +915,14 @@ GlCanvas::GlCanvas(MainWindow *mainWindow, wxWindow *parent, int *args) } void translateCoords(wxWindow *wnd, int &x, int &y) { +/* #ifdef WIN32 int cx, cy; wnd->GetPosition(&cx, &cy); x += cx; y += cy; #endif + */ } void GlCanvas::onMouseDown(wxMouseEvent &event) {