role => 0, race => 1, gender => 2, alignment =>3 */
| 712 | |
| 713 | /* role => 0, race => 1, gender => 2, alignment =>3 */ |
| 714 | staticfn int |
| 715 | opt2roleopt(int roleopt) |
| 716 | { |
| 717 | switch (roleopt) { |
| 718 | case opt_role: |
| 719 | return 0; |
| 720 | case opt_race: |
| 721 | return 1; |
| 722 | case opt_gender: |
| 723 | return 2; |
| 724 | case opt_alignment: |
| 725 | return 3; |
| 726 | default: |
| 727 | break; |
| 728 | } |
| 729 | return 0; |
| 730 | } |
| 731 | |
| 732 | /* fetch saved option string for a particular option phase */ |
| 733 | staticfn char * |
no outgoing calls
no test coverage detected