File tree Expand file tree Collapse file tree 6 files changed +15
-8
lines changed Expand file tree Collapse file tree 6 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 7
7
# Microsoft make utility
8
8
MAKE =nmake
9
9
# Borland make utility
10
- BMAKE =C:\Program Files\Borland\CBuilder5\Bin\make
10
+ BMAKE =" C:\Program Files\Borland\CBuilder5\Bin\make"
11
11
12
12
all :
13
13
md ..\binaries
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ SOURCES = Application/StdAfx.cpp Application/ParamDesk.cpp common/ParamPageEvent
22
22
Params/KnockPageDlg.cpp Params/MiscPageDlg.cpp Params/ParamDeskDlg.cpp Params/StarterPageDlg.cpp \
23
23
Params/TemperPageDlg.cpp Params/IORemappingDlg.cpp Params/SecurPageDlg.cpp Tables/TablesDeskDlg.cpp \
24
24
Tables/TDContextMenuManager.cpp Params/InjectorPageDlg.cpp Params/LambdaPageDlg.cpp Params/AccelEnrPageDlg.cpp \
25
- common/ParamTabBaseDlg.cpp
25
+ common/ParamTabBaseDlg.cpp Params/UniOutPageDlg.cpp
26
26
27
27
# DLL building
28
28
all : paramdesk
Original file line number Diff line number Diff line change 6
6
# resource compiler
7
7
RC = rc
8
8
# compiler flags
9
- CFLAGS = /nologo /W3 /GX /GR /O2 /Ob2 /DWIN32 /D_WINDOWS -I.. -I../secu3man -I../secu3man/Application /MD -D_AFXDLL /Ycstdafx.h
9
+ CFLAGS = /nologo /W3 /GX /GR /O2 /Ob2 /DWIN32 /D_WINDOWS -I.. -I../secu3man -I../secu3man/Application -I../ParamDesk /MD -D_AFXDLL /Ycstdafx.h
10
10
CFLAGS = $(CFLAGS ) -D_CRT_NON_CONFORMING_SWPRINTFS -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS
11
11
CFLAGS = $(CFLAGS ) /D NDEBUG
12
12
CFLAGS = $(CFLAGS ) -D_WIN32_WINDOWS=0x0501 -DWINVER=0x0501
Original file line number Diff line number Diff line change 24
24
#include < math.h>
25
25
#include " AnalogMeter.h"
26
26
27
+ #undef min // fucking stuff
28
+ #undef max
29
+
27
30
// IF You use _UNICODE:
28
31
// In the Output category of the Link tab in the Project Settings dialog box,
29
32
// set the Entry Point Symbol to wWinMainCRTStartup.
@@ -698,8 +701,8 @@ void CAnalogMeter::DrawNeedle()
698
701
}
699
702
700
703
dAngleRad = (m_dNeedlePos - m_dMinScale)*m_dRadiansPerValue - m_dLimitAngleRad;
701
- dAngleRad = max (dAngleRad, -m_dLimitAngleRad);
702
- dAngleRad = min (dAngleRad, m_dLimitAngleRad);
704
+ dAngleRad = std:: max (dAngleRad, -m_dLimitAngleRad);
705
+ dAngleRad = std:: min (dAngleRad, m_dLimitAngleRad);
703
706
dCosAngle = cos (dAngleRad);
704
707
dSinAngle = sin (dAngleRad);
705
708
Original file line number Diff line number Diff line change 24
24
#include " math.h"
25
25
#include " OScopeCtrl.h"
26
26
27
+ #undef min // fucking stuff
28
+ #undef max
29
+
27
30
BEGIN_MESSAGE_MAP (COScopeCtrl, CWnd)
28
31
ON_WM_PAINT()
29
32
ON_WM_SIZE()
@@ -201,7 +204,7 @@ void COScopeCtrl::InvalidateCtrl()
201
204
202
205
// avoid overflow range error (crash), when m_dLowerLimit is zero.
203
206
double log10ll = (m_dLowerLimit!=.0 ) ? log10 (fabs (m_dLowerLimit)) : log10ll = .0 ;
204
- nCharacters = max (nCharacters, abs ((int )log10ll));
207
+ nCharacters = std:: max (nCharacters, abs ((int )log10ll));
205
208
206
209
// add the units digit, decimal point and a minus sign, and an extra space
207
210
// as well as the number of decimal places to display
Original file line number Diff line number Diff line change 19
19
20
20
*/
21
21
22
- #define NOMINMAX
23
-
24
22
#include " stdafx.h"
25
23
#include < algorithm>
26
24
#include " WndScroller.h"
27
25
26
+ #undef min // fucking stuff
27
+ #undef max
28
+
28
29
CWndScroller::CWndScroller ()
29
30
: mp_origWnd(NULL )
30
31
, m_viewSize(CSize(0 ,0 ))
You can’t perform that action at this time.
0 commit comments