Fix player prototype, fix compile for OSX/XCode4.2, use always tablet enabled (test)
This commit is contained in:
@@ -108,7 +108,7 @@ if window_system in ('win32-vc', 'win64-vc'):
|
|||||||
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15]) #, cc_compileflags=env['CCFLAGS'].append('/WX') )
|
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15]) #, cc_compileflags=env['CCFLAGS'].append('/WX') )
|
||||||
|
|
||||||
elif env['WITH_GHOST_COCOA']: # always use Apple-gcc-4.2 for objC language, for gnu-compilers do not support it fully yet
|
elif env['WITH_GHOST_COCOA']: # always use Apple-gcc-4.2 for objC language, for gnu-compilers do not support it fully yet
|
||||||
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15], cc_compilerchange='/usr/bin/gcc-4.2', cxx_compilerchange='/usr/bin/g++-4.2' )
|
env.BlenderLib ('bf_intern_ghost', sources, Split(incs), defines=defs, libtype=['intern','player'], priority = [40,15], cc_compilerchange='/usr/bin/gcc', cxx_compilerchange='/usr/bin/g++' )
|
||||||
print "GHOST COCOA WILL BE COMPILED WITH APPLE GCC"
|
print "GHOST COCOA WILL BE COMPILED WITH APPLE GCC"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
@@ -578,7 +578,7 @@ GHOST_SystemCocoa::GHOST_SystemCocoa()
|
|||||||
if (strstr(rstring,"MacBookAir") ||
|
if (strstr(rstring,"MacBookAir") ||
|
||||||
(strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9')))
|
(strstr(rstring,"MacBook") && (rstring[strlen(rstring)-3]>='5') && (rstring[strlen(rstring)-3]<='9')))
|
||||||
m_hasMultiTouchTrackpad = true;
|
m_hasMultiTouchTrackpad = true;
|
||||||
else m_hasMultiTouchTrackpad = false;
|
else m_hasMultiTouchTrackpad = true;
|
||||||
|
|
||||||
free( rstring );
|
free( rstring );
|
||||||
rstring = NULL;
|
rstring = NULL;
|
||||||
|
@@ -35,6 +35,6 @@ defs=['WITH_QUICKTIME']
|
|||||||
|
|
||||||
if env['WITH_GHOST_COCOA']:
|
if env['WITH_GHOST_COCOA']:
|
||||||
defs.append('GHOST_COCOA')
|
defs.append('GHOST_COCOA')
|
||||||
env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities, cc_compilerchange='/usr/bin/gcc-4.2', cxx_compilerchange='/usr/bin/g++-4.2') # always use Apple-gcc-4.2 for objC language, for gnu-compilers do not support it fully yet
|
env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities, cc_compilerchange='/usr/bin/gcc', cxx_compilerchange='/usr/bin/g++') # always use Apple-gcc-4.2 for objC language, for gnu-compilers do not support it fully yet
|
||||||
else:
|
else:
|
||||||
env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities)
|
env.BlenderLib ('bf_quicktime', sources=source_files, includes=incs, defines=defs, libtype=types, priority=priorities)
|
||||||
|
@@ -131,7 +131,7 @@ GPC_Engine::~GPC_Engine()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool GPC_Engine::Start(char *filename)
|
bool GPC_Engine::Start(const char *filename)
|
||||||
{
|
{
|
||||||
ReportList reports;
|
ReportList reports;
|
||||||
BlendFileData *bfd;
|
BlendFileData *bfd;
|
||||||
|
Reference in New Issue
Block a user