コード例 #1
0
ファイル: osinterface.c プロジェクト: jcdavis/OpenRCT2
char *osinterface_get_orct2_homesubfolder(const char *subFolder)
{
	char *path = osinterface_get_orct2_homefolder();
	strcat(path, "\\");
	strcat(path, subFolder);
	return path;
}
コード例 #2
0
ファイル: object_list.c プロジェクト: kevinburke/OpenRCT2
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);
}