예제 #1
0
파일: data.cpp 프로젝트: Rimbok/warzone2100
/* Load the body/propulsion IMDs stats */
static bool bufferSBPIMDLoad(const char *pBuffer, UDWORD size, void **ppData)
{
	if (!loadBodyPropulsionIMDs(pBuffer, size))
	{
		return false;
	}

	//not interested in this value
	*ppData = NULL;
	return true;
}
예제 #2
0
/* Load the body/propulsion IMDs stats */
static bool bufferSBPIMDLoad(const char *fileName, void **ppData)
{
	if (!loadBodyPropulsionIMDs(fileName))
	{
		return false;
	}

	//not interested in this value
	*ppData = NULL;
	return true;
}