Housekeeping on arriving on a new level.
Process player commands from the command queue, finishing when there is a command using energy (any r...
void process_world(struct chunk *c)
Handle things that need updating once every 10 game turns.
Say whether it's daytime or not.
Play an ambient sound dependent on dungeon level, and day or night in town.
int turn_energy(int speed)
The amount of energy gained in a turn by a player or monster.
The main game loop.
Matters relating to the current dungeon level.
const byte extract_energy
This table allows quick conversion from "speed" to "energy" The basic function WAS ((S>=110) ...