now load waypoints from memory as well

changed versioning scheme
updated linux makefiles
This commit is contained in:
jeefo 2016-03-13 19:20:25 +03:00
commit a61cd3b021
9 changed files with 20 additions and 44 deletions

View file

@ -485,12 +485,12 @@ MemoryFile::MF_Unloader MemoryFile::Unloader = NULL;
void InitConfig (void)
{
// assign engine loaders to memoryfile handler
if (MemoryFile::Loader == NULL || MemoryFile::Unloader == NULL)
if (!MemoryFile::Loader && !MemoryFile::Unloader)
{
MemoryFile::Loader = reinterpret_cast <MemoryFile::MF_Loader> (g_engfuncs.pfnLoadFileForMe);
MemoryFile::Unloader = reinterpret_cast <MemoryFile::MF_Unloader> (g_engfuncs.pfnFreeFile);
}
MemoryFile fp;
char line[512];