Builds absolute file path.

char *Resource_MakePath(
  const char *filename = 0


Relative or absolute file name or 0.

Return value

If filename is relative, treats it relative to the application folder and returns pointer to the full file path from disk root. If filename is absolute, copies it into temporary buffer and returns pointer to this buffer. If filename =0 or omitted, returns absolute path to the application folder with trailing '\'.


Header: hge.h
Import library: hge.lib

See also

Resource_EnumFiles, Resource_EnumFolders