/* 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; }
/* 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; }