(svn r25506) -Document: a function, and name it slightly better

This commit is contained in:
rubidium
2013-06-28 21:11:35 +00:00
parent 31af0a3397
commit 5b2a5ac790
5 changed files with 11 additions and 6 deletions

View File

@@ -524,8 +524,13 @@ static const OptionData _options[] = {
GETOPT_END()
};
int ttd_main(int argc, char *argv[])
/**
* Main entry point for this lovely game.
* @param argc The number of arguments passed to this game.
* @param argv The values of the arguments.
* @return 0 when there is no error.
*/
int openttd_main(int argc, char *argv[])
{
char *musicdriver = NULL;
char *sounddriver = NULL;