1
0
forked from 0ad/0ad
0ad/terrain/bak/0/GameResource.cpp
janwas f4f969482e Initial revision
This was SVN commit r8.
2003-11-03 16:17:21 +00:00

12 lines
211 B
C++
Executable File

#include "GameResource.H"
FRESULT CGameResource::LoadResource (char *filename, RESOURCETYPE type)
{
m_Type = type;
strcpy (m_Path, filename);
_splitpath (m_Path, NULL, NULL, m_Name, NULL);
return R_OK;
}