コード例 #1
0
ファイル: data.cpp プロジェクト: Rimbok/warzone2100
/* 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
ファイル: data.cpp プロジェクト: argit/warzone2100
/* 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;
}