#ifndef SIMULATOR_H #define SIMULATOR_H #include "types.h" #define NSTEPS 100000 #define SIMDBG 0 #define SIMSTEP 0 #define MODSZ 10000 #define SIMDUMP 0 struct Ant { int id; int pc; //program counter Point pos; char dir; //direction char color; char resting;//resting time left char has_food; char dead; }; Ant & findAnt(Point & loc); void setupAnts(); void simulate(int nsteps,char doDebug); void showResults(); #endif