mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 20:28:47 +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:
1 parent
a46f3432f3
commit
8a52113e60
317 files changed
+2517
-2588
No files matched your search
@@ -92,7 +92,7 @@ CVector3D CModelDef::SkinNormal(const SModelVertex& vtx,
|
||||
// CModelDef Constructor
|
||||
CModelDef::CModelDef()
|
||||
: m_NumVertices(0), m_pVertices(0), m_NumFaces(0), m_pFaces(0), m_NumBones(0), m_Bones(0),
|
||||
m_NumPropPoints(0), m_PropPoints(0), m_Name("[not loaded]")
|
||||
m_NumPropPoints(0), m_PropPoints(0), m_Name(L"[not loaded]")
|
||||
{
|
||||
}
|
||||
|
||||
@@ -119,7 +119,7 @@ SPropPoint* CModelDef::FindPropPoint(const char* name) const
|
||||
}
|
||||
|
||||
// Load: read and return a new CModelDef initialised with data from given file
|
||||
CModelDef* CModelDef::Load(const VfsPath& filename, const char* name)
|
||||
CModelDef* CModelDef::Load(const VfsPath& filename, const VfsPath& name)
|
||||
{
|
||||
CFileUnpacker unpacker;
|
||||
|
||||
|
||||
Reference in new issue
Block a user