示例#1
0
文件: palette.cpp 项目: paud/d2x-xl
bool CPalette::Write (CFile& cf)
{
return cf.File () && (cf.Write (&m_data, sizeof (m_data), 1) == 1);
}
示例#2
0
文件: palette.cpp 项目: paud/d2x-xl
bool CPalette::Read (CFile& cf)
{
return cf.File () && (cf.Read (&m_data, sizeof (m_data), 1) == 1);
}