fixed some x64 compiler errors/warnings
we still need a GLEW x64 lib
This commit is contained in:
parent
ed9ef0efc8
commit
a9d4f73ad1
6
VBA.sln
6
VBA.sln
|
@ -61,10 +61,12 @@ Global
|
|||
{DB5C12E9-BCD3-4517-8708-475C0D1D88CE}.Release|x64.Build.0 = Release|x64
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Debug|x64.ActiveCfg = Debug|Win32
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Debug|x64.Build.0 = Debug|x64
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Release|Win32.Build.0 = Release|Win32
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Release|x64.ActiveCfg = Release|Win32
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Release|x64.ActiveCfg = Release|x64
|
||||
{7AEC599C-7C82-4F00-AA60-411E0A359CB0}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -165,7 +165,7 @@
|
|||
AdditionalOptions="/MP"
|
||||
Optimization="0"
|
||||
AdditionalIncludeDirectories="..\dependencies\zlib;..\dependencies\libpng;"..\dependencies\File_Extractor-0.4.2\fex";..\dependencies\cximage;..\dependencies\msvc"
|
||||
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;DEV_VERSION;BKPT_SUPPORT;CRT_SECURE_NO_WARNINGS;HAS_FILE_EXTRACTOR;C_CORE"
|
||||
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;DEV_VERSION;BKPT_SUPPORT;_CRT_SECURE_NO_WARNINGS;HAS_FILE_EXTRACTOR;C_CORE"
|
||||
StringPooling="false"
|
||||
MinimalRebuild="true"
|
||||
BasicRuntimeChecks="3"
|
||||
|
@ -402,7 +402,7 @@
|
|||
FavorSizeOrSpeed="1"
|
||||
WholeProgramOptimization="true"
|
||||
AdditionalIncludeDirectories="..\dependencies\zlib;..\dependencies\libpng;"..\dependencies\File_Extractor-0.4.2\fex";..\dependencies\cximage;..\dependencies\msvc"
|
||||
PreprocessorDefinitions="WIN32;WINVER=0x0500;NDEBUG;_WINDOWS;OEMRESOURCE;MMX;ASM;FINAL_VERSION;BKPT_SUPPORT;_CRT_SECURE_NO_DEPRECATE;HAS_FILE_EXTRACTOR"
|
||||
PreprocessorDefinitions="WIN32;WINVER=0x0500;NDEBUG;_WINDOWS;OEMRESOURCE;C_CORE;FINAL_VERSION;BKPT_SUPPORT;_CRT_SECURE_NO_WARNINGS;HAS_FILE_EXTRACTOR"
|
||||
RuntimeLibrary="0"
|
||||
BufferSecurityCheck="false"
|
||||
EnableEnhancedInstructionSet="0"
|
||||
|
|
|
@ -33,7 +33,7 @@ static char THIS_FILE[] = __FILE__;
|
|||
|
||||
BOOL bAppendMode;
|
||||
|
||||
void AssignKey(KeyList &Key, int Out)
|
||||
void AssignKey(KeyList &Key, LONG_PTR Out)
|
||||
{
|
||||
if( !bAppendMode ) {
|
||||
Key.RemoveAll();
|
||||
|
|
|
@ -166,7 +166,7 @@ class MotionConfig : public CDialog
|
|||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
private:
|
||||
UINT timerId;
|
||||
UINT_PTR timerId;
|
||||
public:
|
||||
afx_msg void OnBnClickedAppendmode();
|
||||
};
|
||||
|
|
|
@ -140,7 +140,7 @@ char *readShaderFile(char *FileName) {
|
|||
FILE *fp;
|
||||
char *DATA = NULL;
|
||||
|
||||
int flength = 0;
|
||||
size_t flength = 0;
|
||||
|
||||
fp = fopen(FileName,"rt");
|
||||
|
||||
|
@ -413,7 +413,7 @@ void OpenGLDisplay::render()
|
|||
}
|
||||
glFontBegin(&font);
|
||||
glPushMatrix();
|
||||
float fontscale = (float)theApp.surfaceSizeX / 100.0;
|
||||
float fontscale = (float)theApp.surfaceSizeX / 100.0f;
|
||||
glScalef(fontscale, fontscale, fontscale);
|
||||
glColor4f(1.0f, 0.25f, 0.25f, 1.0f);
|
||||
glFontTextOut(buffer, (theApp.surfaceSizeX-(strlen(buffer)*11))/(fontscale*2), (theApp.surfaceSizeY-20)/fontscale, 0);
|
||||
|
@ -427,7 +427,7 @@ void OpenGLDisplay::render()
|
|||
glFontBegin(&font);
|
||||
glPushMatrix();
|
||||
|
||||
float fontscale = (float)theApp.surfaceSizeX / 100.0;
|
||||
float fontscale = (float)theApp.surfaceSizeX / 100.0f;
|
||||
glScalef(fontscale, fontscale, fontscale);
|
||||
glColor4f(1.0f, 0.25f, 0.25f, 1.0f);
|
||||
glFontTextOut((char *)((const char *)theApp.screenMessageBuffer), (theApp.surfaceSizeX-(theApp.screenMessageBuffer.GetLength()*11))/(fontscale*2), (theApp.surfaceSizeY-40)/fontscale, 0);
|
||||
|
|
|
@ -74,7 +74,7 @@ BOOL SelectPlugin::OnInitDialog()
|
|||
|
||||
m_comboPlugin.ResetContent();
|
||||
|
||||
int nPluginCnt = EnumPlugins();
|
||||
size_t nPluginCnt = EnumPlugins();
|
||||
if (nPluginCnt > 0)
|
||||
{
|
||||
for (int i = 0; i < rpiPool.size(); i++)
|
||||
|
@ -95,7 +95,7 @@ BOOL SelectPlugin::OnInitDialog()
|
|||
// EXCEPTION: OCX Property Pages should return FALSE
|
||||
}
|
||||
|
||||
int SelectPlugin::EnumPlugins()
|
||||
size_t SelectPlugin::EnumPlugins()
|
||||
{
|
||||
rpiPool.clear();
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ class SelectPlugin : public CDialog
|
|||
// Construction
|
||||
public:
|
||||
SelectPlugin(CWnd* pParent = NULL); // standard constructor
|
||||
int EnumPlugins();
|
||||
size_t EnumPlugins();
|
||||
bool GetPluginDesc(const char *sRpi, PluginDesc *pDesc);
|
||||
|
||||
// Dialog Data
|
||||
|
|
Loading…
Reference in New Issue