ArrayList<char*> *filenames;
};
+long cin_timezone;
int main(int argc, char *argv[])
{
ArrayList<char*> filenames;
FileSystem fs;
+ time_t st; time(&st);
+ struct tm ltm, gtm;
+ localtime_r(&st, <m);
+ gmtime_r(&st, >m);
+ int tzofs = ltm.tm_hour - gtm.tm_hour;
+ cin_timezone = tzofs * 60*60;
int operation = DO_GUI;
int deamon_port = DEAMON_PORT;
printf(_("%s [-f] [-c configuration] [-d port] [-n nice] [-r batch file] [filenames]\n\n"), argv[0]);
printf(_("-d = Run in the background as renderfarm client. The port (400) is optional.\n"));
printf(_("-f = Run in the foreground as renderfarm client. Substitute for -d.\n"));
- printf(_("-n = Nice value if running as renderfarm client. (20)\n"));
+ printf(_("-n = Nice value if running as renderfarm client. (19)\n"));
printf(_("-c = Configuration file to use instead of %s/%s.\n"),
File::get_config_path(), CONFIG_FILE);
printf(_("-r = batch render the contents of the batch file (%s/%s) with no GUI. batch file is optional.\n"),
filenames.remove_all_objects();
Units::finit();
+ time_t et; time(&et);
+ long dt = et - st;
+ printf("Session time: %ld:%02ld:%02ld\n", dt/3600, dt%3600/60, dt%60);
return 0;
}