mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 12:02:36 +02:00
- bugfix for map editor mouse position in windows
- set windows projects to compile using SSE2 compiler setting
This commit is contained in:
@@ -122,6 +122,7 @@
|
||||
StringPooling="true"
|
||||
ExceptionHandling="2"
|
||||
RuntimeLibrary="0"
|
||||
EnableEnhancedInstructionSet="2"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough=""
|
||||
PrecompiledHeaderFile="c:\temp\release\$(TargetName).pch"
|
||||
|
@@ -122,6 +122,7 @@
|
||||
StringPooling="true"
|
||||
ExceptionHandling="2"
|
||||
RuntimeLibrary="0"
|
||||
EnableEnhancedInstructionSet="2"
|
||||
UsePrecompiledHeader="0"
|
||||
PrecompiledHeaderThrough=""
|
||||
PrecompiledHeaderFile="c:\temp\release\$(TargetName).pch"
|
||||
|
@@ -142,7 +142,7 @@
|
||||
ExceptionHandling="2"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
EnableEnhancedInstructionSet="2"
|
||||
FloatingPointModel="0"
|
||||
WarningLevel="2"
|
||||
Detect64BitPortabilityProblems="true"
|
||||
|
@@ -113,7 +113,7 @@
|
||||
ExceptionHandling="2"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
EnableEnhancedInstructionSet="2"
|
||||
FloatingPointModel="0"
|
||||
RuntimeTypeInfo="true"
|
||||
WarningLevel="3"
|
||||
|
@@ -123,7 +123,7 @@
|
||||
ExceptionHandling="2"
|
||||
RuntimeLibrary="0"
|
||||
EnableFunctionLevelLinking="true"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
EnableEnhancedInstructionSet="2"
|
||||
FloatingPointModel="0"
|
||||
RuntimeTypeInfo="true"
|
||||
WarningLevel="3"
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user