Functions in quakeworld