Пример #1
0
char *osinterface_get_orct2_homesubfolder(const char *subFolder)
{
	char *path = osinterface_get_orct2_homefolder();
	strcat(path, "\\");
	strcat(path, subFolder);
	return path;
}
Пример #2
0
static void get_plugin_path(char *path)
{
	char *homePath = osinterface_get_orct2_homefolder();
	sprintf(path, "%s%c%s", homePath, osinterface_get_path_separator(), "plugin.dat");
	free(homePath);
}