+
#ifdef DEBUG
-#if 0
+#if 1
static unsigned int getStateCheckSum(int counter)
{
int x, y;
+
void GetPlayerConfig()
{
if (sound_status == SOUND_OFF)
void AmoebeWaechst(int x, int y)
{
- static long sound_delay = 0;
- static int sound_delay_value = 0;
+ static unsigned long sound_delay = 0;
+ static unsigned long sound_delay_value = 0;
if (!MovDelay[x][y]) /* start new growing cycle */
{
void GameActions()
{
- static long action_delay = 0;
- long action_delay_value;
+ static unsigned long action_delay = 0;
+ unsigned long action_delay_value;
int sieb_x = 0, sieb_y = 0;
int i, x, y, element;
byte *recorded_player_action;
#if 1
WaitUntilDelayReached(&action_delay, action_delay_value);
#else
- /*
- while (!DelayReached(&action_delay, action_delay_value));
- */
while (!DelayReached(&action_delay, action_delay_value))
{
}
print_debug("done");
-
#endif
#ifdef DEBUG
- /*
+
if (TimeFrames == 0 && !local_player->gone)
{
extern unsigned int last_RND();
last_RND(),
getStateCheckSum(level.time - TimeLeft));
}
- */
+
#endif
void ScrollScreen(struct PlayerInfo *player, int mode)
{
- static long screen_frame_counter = 0;
+ static unsigned long screen_frame_counter = 0;
if (mode == SCROLL_INIT)
{