1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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; } };