Exemple #1
0
//! Writes a Mng to an already-opened file
ILuint ilSaveMngF(ILHANDLE File)
{
	ILuint Pos = itellw();
	iSetOutputFile(File);
	if (iSaveMngInternal() == IL_FALSE)
		return 0;  // Error occurred
	return itellw() - Pos;  // Return the number of bytes written.
}
Exemple #2
0
//! Writes a Mng to a memory "lump"
ILuint ilSaveMngL(void *Lump, ILuint Size)
{
	ILuint Pos;
	iSetOutputLump(Lump, Size);
	Pos = itellw();
	if (iSaveMngInternal() == IL_FALSE)
		return 0;  // Error occurred
	return itellw() - Pos;  // Return the number of bytes written.
}
Exemple #3
0
//! Writes a Mng to a memory "lump"
ILboolean ilSaveMngL(ILvoid *Lump, ILuint Size)
{
	iSetOutputLump(Lump, Size);
	return iSaveMngInternal();
}
Exemple #4
0
//! Writes a Mng to an already-opened file
ILboolean ilSaveMngF(ILHANDLE File)
{
	iSetOutputFile(File);
	return iSaveMngInternal();
}