Fix an assortment of compiler warnings.
A few potential bugs were removed in the process. Much code cleanup remains to be done.
This commit is contained in:
parent
de95b19cee
commit
7d459d7d36
47 changed files with 608 additions and 591 deletions
|
|
@ -29,15 +29,19 @@ int get_score(opt_arg *opt, WINDOW *win);
|
|||
/* description of an option and what to do with it */
|
||||
static OPTION optlist[] =
|
||||
{
|
||||
{"jump","Show position only at end of run (jump): ", &jump,put_bool,get_bool},
|
||||
{"inven","Style of inventories (inven): ", &inv_type, put_inv, get_inv},
|
||||
{"askme","Ask me about unidentified things (askme): ",&askme,put_bool,get_bool},
|
||||
{"doorstop","Stop running when adjacent (doorstop): ",&doorstop,put_bool,get_bool},
|
||||
{"name", "Name (name): ", &whoami, put_str, get_restr},
|
||||
{"fruit", "Fruit (fruit): ", &fruit, put_str, get_str},
|
||||
{"file", "Save file (file): ", &file_name, put_str, get_restr},
|
||||
{"score", "Score file (score): ", &score_file, put_str, get_score},
|
||||
{"class", "Character class (class): ",&char_type, put_abil, get_abil}
|
||||
{"jump","Show position only at end of run (jump): ", { &jump },
|
||||
put_bool, get_bool},
|
||||
{"inven","Style of inventories (inven): ", { &inv_type },
|
||||
put_inv, get_inv},
|
||||
{"askme","Ask me about unidentified things (askme): ", { &askme},
|
||||
put_bool, get_bool},
|
||||
{"doorstop","Stop running when adjacent (doorstop): ", { &doorstop },
|
||||
put_bool, get_bool},
|
||||
{"name", "Name (name): ", { &whoami }, put_str, get_restr},
|
||||
{"fruit", "Fruit (fruit): ", { &fruit }, put_str, get_str},
|
||||
{"file", "Save file (file): ", { &file_name }, put_str, get_restr},
|
||||
{"score", "Score file (score): ", { &score_file }, put_str, get_score},
|
||||
{"class", "Character class (class): ", { &char_type }, put_abil, get_abil}
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue