Text-based user interface for character creation. More...
Things that relate to the world outside this file: receiving game events and being asked for game commands. More...
Text-based user interface for character creation.
Copyright (c) 1987 - 2015 Angband contributors
This work is free software; you can redistribute it and/or modify it under the terms of either:
a) the GNU General Public License as published by the Free Software Foundation, version 2, or
b) the "Angband licence": This software may be copied and distributed for educational, research, and not for profit purposes provided that this copyright and statement are included in all such copies. Other copyrights may also apply.
Things that relate to the world outside this file: receiving game events and being asked for game commands.
This is called when we receive a request for a command in the birth process.
The birth process continues until we send a final character confirmation command (or quit), so this is effectively called in a loop by the main game.
We're imposing a step-based system onto the main game here, so we need to keep track of where we're up to, where each step moves on to, etc.
References BIRTH_BACK, BIRTH_CLASS_CHOICE, BIRTH_COMPLETE, BIRTH_FINAL_CONFIRM, BIRTH_HISTORY_CHOICE, BIRTH_NAME_CHOICE, BIRTH_POINTBASED, BIRTH_QUICKSTART, BIRTH_RACE_CHOICE, BIRTH_RESET, BIRTH_ROLLER, BIRTH_ROLLER_CHOICE, CMD_BIRTH, CMD_BIRTH_INIT, CMD_BIRTH_RESET, CMD_CHOOSE_CLASS, CMD_CHOOSE_RACE, cmdq_execute(), cmdq_push(), display_player(), get_confirm_command(), get_history_command(), get_name_command(), menu_question(), menu_refresh(), point_based_command(), point_based_start(), point_based_stop(), prev, print_menu_instructions(), quickstart_allowed, roller_command(), roller_menu, Term_clear(), and textui_birth_quickstart().
Referenced by start_game().