diff options
author | rubidium <rubidium@openttd.org> | 2013-06-28 21:11:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-06-28 21:11:35 +0000 |
commit | 5b2a5ac790c29eda37b9fcdd549bbb3801c90ead (patch) | |
tree | a4081ce8c30cd59710486e060bef7b7a1a5212ca /src/openttd.cpp | |
parent | 31af0a3397a08d004938f0f721adf13b6b8c390d (diff) | |
download | openttd-5b2a5ac790c29eda37b9fcdd549bbb3801c90ead.tar.xz |
(svn r25506) -Document: a function, and name it slightly better
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index 35677f155..0c236a9d6 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -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; |