diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-17 23:41:53 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-09-17 23:41:53 +0200 |
commit | 4b67386a697c27186b6eb4809bea9547372dacd7 (patch) | |
tree | 0e8a35b847abb6d999d926a6e5b0f10d84768f15 /src/app/main.cpp | |
parent | 844e11db4f394004258cdca8f8fd8bc95c41a985 (diff) | |
download | colobot-4b67386a697c27186b6eb4809bea9547372dacd7.tar.gz colobot-4b67386a697c27186b6eb4809bea9547372dacd7.tar.bz2 colobot-4b67386a697c27186b6eb4809bea9547372dacd7.zip |
Change of background image handling
- removed old 4 quarter backgrounds
- fixes in texture loading
- other minor fixes
Diffstat (limited to 'src/app/main.cpp')
-rw-r--r-- | src/app/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/app/main.cpp b/src/app/main.cpp index 0d885f7..084ca30 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -78,11 +78,16 @@ int main(int argc, char *argv[]) CApplication app; // single instance of the application - if (! app.ParseArguments(argc, argv)) + ParseArgsStatus status = app.ParseArguments(argc, argv); + if (status == PARSE_ARGS_FAIL) { SystemDialog(SDT_ERROR, "COLOBOT - Fatal Error", "Invalid commandline arguments!\n"); return app.GetExitCode(); } + else if (status == PARSE_ARGS_HELP) + { + return app.GetExitCode(); + } int code = 0; |