コード例 #1
0
ファイル: resinst.c プロジェクト: spippolatore/starcontrol2
BOOLEAN
InstallAudioResTypes (COUNT sound_type, COUNT music_type)
{
	InstallResTypeVectors (sound_type, _GetSoundBankData, _ReleaseSoundBankData);
	InstallResTypeVectors (music_type, _GetMusicData, _ReleaseMusicData);
	return (TRUE);
}
コード例 #2
0
ファイル: resgfx.c プロジェクト: ptaoussanis/urquan-masters
BOOLEAN
InstallGraphicResTypes (void)
{
    InstallResTypeVectors ("GFXRES", GetCelFileData, _ReleaseCelData, NULL);
    InstallResTypeVectors ("FONTRES", GetFontFileData, _ReleaseFontData, NULL);
    return (TRUE);
}
コード例 #3
0
BOOLEAN
InstallGraphicResTypes (COUNT cel_type, COUNT font_type)
{
	InstallResTypeVectors (cel_type, _GetCelData, _ReleaseCelData);
	InstallResTypeVectors (font_type, _GetFontData, _ReleaseFontData);
	return (TRUE);
}
コード例 #4
0
ファイル: scriptres.c プロジェクト: Serosis/UQM-MegaMod
BOOLEAN
InstallScriptResType (void)
{
	InstallResTypeVectors ("SCRIPT", GetScriptResData, ReleaseScriptResData,
			NULL);
	return TRUE;
}
コード例 #5
0
ファイル: dummy.c プロジェクト: Serosis/UQM-MegaMod
BOOLEAN
InstallCodeResType ()
{
	return (InstallResTypeVectors ("SHIP",
			GetCodeResData, _ReleaseCodeResData, NULL));
}