special WINDOWS fixes and cleanups
This commit is contained in:
parent
210281b4f6
commit
d38f8859fc
|
@ -343,6 +343,7 @@ else:
|
|||
print "compiling on *NIX"
|
||||
osdef = '__LINUX__'
|
||||
osasmdef = 'elf'
|
||||
sharepath += '/'
|
||||
env.Append(CPPDEFINES = ['__LINUX__', 'WANT_AWE32'])
|
||||
env.Append(CPPPATH = ['arch/linux/include'])
|
||||
ogldefines = ['SDL_GL', 'OGL']
|
||||
|
@ -434,7 +435,7 @@ if (shareware == 0) and (editor == 0):
|
|||
|
||||
print '\n'
|
||||
|
||||
env.Append(CPPDEFINES = [('DESCENT_DATA_PATH', '\\"' + str(sharepath) + '/\\"')])
|
||||
env.Append(CPPDEFINES = [('DESCENT_DATA_PATH', '\\"' + str(sharepath) + '\\"')])
|
||||
# finally building program...
|
||||
env.Program(target=str(target), source = common_sources, LIBS = libs, LINKFLAGS = str(lflags), LIBPATH = str(lpath))
|
||||
env.Install(BIN_DIR, str(target))
|
||||
|
|
|
@ -199,7 +199,6 @@ char *cfile_find_file(const char *dirname, const char *filename)
|
|||
closedir(d);
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
||||
// ifopen() is like fopen() but case-insensitive; if the
|
||||
// file is not found it will look for variations of the
|
||||
|
@ -246,6 +245,7 @@ FILE *ignorecase_fopen(const char *path, const char *mode)
|
|||
}
|
||||
return f;
|
||||
}
|
||||
#endif
|
||||
|
||||
void cfile_use_alternate_hogdir( char * path )
|
||||
{
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20070122
|
||||
--------
|
||||
SConstruct, cfile/cfile.c: special WINDOWS fixes and cleanups
|
||||
|
||||
20070121
|
||||
--------
|
||||
main/gamesave.c, ui/mouse.c, ui/popup.c, ui/window.c: fixed EDITOR build
|
||||
|
|
Loading…
Reference in a new issue