Regrouped functions in roguelike.c.