Skip to content

Instantly share code, notes, and snippets.

@takkaria
Created September 4, 2014 10:18
Show Gist options
  • Save takkaria/8069e33e275a5daca7f7 to your computer and use it in GitHub Desktop.
Save takkaria/8069e33e275a5daca7f7 to your computer and use it in GitHub Desktop.
new textui birth process description
quickstart_allowed() -> p_ptr->ht_birth ? TRUE : FALSE
process:
textui_birth()
{
load savefile
if player->dead, continue:
birth_init(c)
- this starts stuff up
if quickstart_allowed():
offer player quickstart
if accepted:
birth_finalise()
return
otherwise
birth process:
birth_choose_sex()
birth_choose_race()
birth_choose_class()
birth_getahw()
ask for roller choice:
pointbased:
birth_buy_etc.
roller:
birth_roll()
birth_getahw()
display.
choose name
birth_finalise()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment