diff options
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; |