with -[tv]scores.
hiscores.cc silently ignores uids that don't exist on the current machine, instead of segfaulting.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@618 c06c8d41-db1a-0410-9941-cceddc491573
Z3RI4XAN7J2GUABAQ5G6YIOQYMBOAEQFFGRBWHMUEB2A2QYXO5MQC static void set_crawl_path(const std::string &path){const std::string::size_type slash = path.rfind(FILE_SEPARATOR);SysEnv.crawl_executable_path =slash != std::string::npos? path.substr(0, slash + 1): std::string("");}
static FILE *hs_open(const char *mode, const char *filename);static void hs_close(FILE *handle, const char *mode, const char *filename);
static FILE *hs_open(const char *mode, const std::string &filename);static void hs_close(FILE *handle, const char *mode,const std::string &filename);
strncpy( username, pw_entry->pw_name, sizeof(username) );strncat( username, "'s", sizeof(username) );username[0] = toupper( username[0] );
if (pw_entry){strncpy( username, pw_entry->pw_name, sizeof(username) );strncat( username, "'s", sizeof(username) );username[0] = toupper( username[0] );}
puts(" -scores [N] highscore list");puts(" -tscores [N] terse highscore list");puts(" -vscores [N] verbose highscore list");
puts(" -scores [N] highscore list");puts(" -tscores [N] terse highscore list");puts(" -vscores [N] verbose highscore list");puts(" -scorefile <filename> scorefile to report on");