summaryrefslogtreecommitdiff
path: root/g_src/command_line.h
diff options
context:
space:
mode:
Diffstat (limited to 'g_src/command_line.h')
-rwxr-xr-xg_src/command_line.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/g_src/command_line.h b/g_src/command_line.h
new file mode 100755
index 0000000..e2606fb
--- /dev/null
+++ b/g_src/command_line.h
@@ -0,0 +1,25 @@
+class command_linest
+{
+ public:
+ string original;
+ stringvectst arg_vect;
+
+ long gen_id;
+ unsigned long world_seed;
+ char use_seed;
+ string world_param;
+ char use_param;
+
+
+
+ void init(const string &str);
+ char grab_arg(string &source,long &pos);
+ void handle_arg(string &arg);
+
+ command_linest()
+ {
+ gen_id=-1;
+ use_seed=0;
+ use_param=0;
+ }
+}; \ No newline at end of file