diff options
author | Stijn Buys <ingar@osirion.org> | 2008-04-09 19:38:25 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-04-09 19:38:25 +0000 |
commit | 644479214119760394db18ec2488917ffb3a6c54 (patch) | |
tree | 0a485803e2c4f1a989fc1c444192ee3b3b2f3814 /src/core/application.h | |
parent | 7a887f128d4da086ca7562779df5cefe53186aeb (diff) |
parse command line arguments
Diffstat (limited to 'src/core/application.h')
-rw-r--r-- | src/core/application.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/application.h b/src/core/application.h index f0f03b5..01f34cf 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -47,7 +47,7 @@ public: /*----- virtual mutators ------------------------------------------ */ /// initialize the application - virtual void init(); + virtual void init(int count, char **arguments); /// shutdown the application virtual void shutdown(); @@ -70,6 +70,9 @@ protected: /// save cvar config void save_config(); + /// load command line arguments + void load_commandline(int count, char **argments); + private: /// time the core has been running float application_time; |