BOOLEAN InstallAudioResTypes (COUNT sound_type, COUNT music_type) { InstallResTypeVectors (sound_type, _GetSoundBankData, _ReleaseSoundBankData); InstallResTypeVectors (music_type, _GetMusicData, _ReleaseMusicData); return (TRUE); }
BOOLEAN InstallGraphicResTypes (void) { InstallResTypeVectors ("GFXRES", GetCelFileData, _ReleaseCelData, NULL); InstallResTypeVectors ("FONTRES", GetFontFileData, _ReleaseFontData, NULL); return (TRUE); }
BOOLEAN InstallGraphicResTypes (COUNT cel_type, COUNT font_type) { InstallResTypeVectors (cel_type, _GetCelData, _ReleaseCelData); InstallResTypeVectors (font_type, _GetFontData, _ReleaseFontData); return (TRUE); }
BOOLEAN InstallScriptResType (void) { InstallResTypeVectors ("SCRIPT", GetScriptResData, ReleaseScriptResData, NULL); return TRUE; }
BOOLEAN InstallCodeResType () { return (InstallResTypeVectors ("SHIP", GetCodeResData, _ReleaseCodeResData, NULL)); }