/* Load the propulsion type sound stats */ static bool bufferSPROPSNDLoad(const char *pBuffer, UDWORD size, void **ppData) { if (!loadPropulsionSounds(pBuffer, size)) { return false; } //not interested in this value *ppData = NULL; return true; }
/* Load the propulsion type sound stats */ static bool bufferSPROPSNDLoad(const char *fileName, void **ppData) { if (!loadPropulsionSounds(fileName)) { return false; } //not interested in this value *ppData = nullptr; return true; }