| 1569 | } |
| 1570 | |
| 1571 | staticfn int |
| 1572 | optfn_dungeon( |
| 1573 | int optidx UNUSED, int req, boolean negated UNUSED, |
| 1574 | char *opts, char *op UNUSED) |
| 1575 | { |
| 1576 | if (req == do_init) { |
| 1577 | return optn_ok; |
| 1578 | } |
| 1579 | if (req == do_set) { |
| 1580 | return optn_ok; |
| 1581 | } |
| 1582 | if (req == get_val) { |
| 1583 | Sprintf(opts, "%s", to_be_done); |
| 1584 | return optn_ok; |
| 1585 | } |
| 1586 | if (req == get_cnf_val) { |
| 1587 | opts[0] = '\0'; |
| 1588 | return optn_ok; |
| 1589 | } |
| 1590 | return optn_ok; |
| 1591 | } |
| 1592 | |
| 1593 | staticfn int |
| 1594 | optfn_effects( |
nothing calls this directly
no outgoing calls
no test coverage detected