*/
#include "sim.h"
+void signal_init();
+void sim_update_evaluations(void);
+void sim_update_editors(void);
+void sim_update_budgets(void);
+void sim_update_graphs(void);
+void sim_update_maps(void);
/* Sim City */
int ExitReturn = 0;
+void
sim_exit(int val)
{
tkMustExit = 1;
}
-sim_really_exit(int val)
+void sim_really_exit(int val)
{
DoStopMicropolis();
}
+void
signal_init()
{
signal(SIGHUP, (void (*)())SignalExitHandler);
void
-sim_update()
+sim_update(void)
{
gettimeofday(&now_time, NULL);
}
+void
sim_update_editors(void)
{
SimView *view;
}
+void
sim_update_maps(void)
{
SimView *view;
}
+void
sim_update_graphs(void)
{
graphDoer();
}
+void
sim_update_budgets(void)
{
if ((sim_skips != 0) &&
}
+void
sim_update_evaluations(void)
{
if ((sim_skips != 0) &&
void
sim_heat(void)
{
- int x, y, l, r, u, d;
+ int x, y;
static int a = 0;
short *src, *dst;
register int fl = heat_flow;
}
}
-
void
sim_timeout_loop(short doSim)
{
}
+void
sim_loop(int doSim)
{
#ifdef CAM
printf("Welcome to X11 Multi Player Micropolis version %s by Will Wright, Don Hopkins.\n",
MicropolisVersion);
printf("Copyright (C) 2002 by Electronic Arts, Maxis. All rights reserved.\n");
+ printf("Support for newer Unix systems and new bugs added by Michael Gernoth.\n");
while (!errflg &&
!tkMustExit &&