mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-24 20:46:54 +00:00
huge cleanup and conversion of most string handling (especially paths) to unicode
please note: format strings must be %hs for char* arguments and %ls for wchar_t* This was SVN commit r7161.
This commit is contained in:
@@ -117,7 +117,7 @@ CSkeletonAnimDef* CSkeletonAnimDef::Load(const VfsPath& filename)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Save: try to save anim to file
|
||||
void CSkeletonAnimDef::Save(const char* filename,const CSkeletonAnimDef* anim)
|
||||
void CSkeletonAnimDef::Save(const VfsPath& pathname,const CSkeletonAnimDef* anim)
|
||||
{
|
||||
CFilePacker packer(FILE_VERSION, "PSSA");
|
||||
|
||||
@@ -131,5 +131,5 @@ void CSkeletonAnimDef::Save(const char* filename,const CSkeletonAnimDef* anim)
|
||||
packer.PackRaw(anim->m_Keys,numKeys*numFrames*sizeof(Key));
|
||||
|
||||
// now write it
|
||||
packer.Write(filename);
|
||||
packer.Write(pathname);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user