rem: SetSemaphore (&GLOBAL (GameClock.clock_sem));
add: SetSemaphore (GLOBAL (GameClock.clock_sem));
context: SetGameClockRate (COUNT seconds_per_day){	SIZE new_day_in_ticks, new_tick_count;//if (GLOBAL (GameClock.clock_sem)) printf ("%u\n", GLOBAL (GameClock.clock_sem));	SetSemaphore (&GLOBAL (GameClock.clock_sem));	new_day_in_ticks = (SIZE)(seconds_per_day * (ONE_SECOND / 5));	if (GLOBAL (GameClock.day_in_ticks) == 0)		new_tick_count = new_day_in_ticks;	else if (GLOBAL (GameClock.tick_count) <= 0)		new_tick_count = 0;	else if ((new_tick_count = (SIZE)((DWORD)GLOBAL (GameClock.tick_count)			* new_day_in_ticks / GLOBAL (GameClock.day_in_ticks))) == 0)		new_tick_count = 1;	GLOBAL (GameClock.day_in_ticks) = new_day_in_ticks;	GLOBAL (GameClock.tick_count) = new_tick_count;	ClearSemaphore (&GLOBAL (GameClock.clock_sem));}