示例#1
0
/* Load the weapon sound stats */
static bool bufferSWEAPSNDLoad(const char *pBuffer, UDWORD size, void **ppData)
{
	if (!loadWeaponSounds(pBuffer, size))
	{
		return false;
	}

	//not interested in this value
	*ppData = NULL;
	return true;
}
示例#2
0
/* Load the weapon sound stats */
static bool bufferSWEAPSNDLoad(const char *fileName, void **ppData)
{
	if (!loadWeaponSounds(fileName))
	{
		return false;
	}

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