projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added pushed objects going into acid (with compile time option)
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_init.c
diff --git
a/src/game_mm/mm_init.c
b/src/game_mm/mm_init.c
index 73ab232dc4a2fc9072f568eda0619f408f2e86c4..3444db01235c91e8ed0e46b23aef32facc7a123f 100644
(file)
--- a/
src/game_mm/mm_init.c
+++ b/
src/game_mm/mm_init.c
@@
-22,7
+22,7
@@
unsigned int InitEngineRandom_MM(int seed)
return InitEngineRandom(seed);
}
return InitEngineRandom(seed);
}
-void InitElementProperties_MM()
+void InitElementProperties_MM(
void
)
{
int i,j;
{
int i,j;
@@
-221,25
+221,25
@@
void InitElementProperties_MM()
};
static int num_properties = sizeof(ep_num) / sizeof(int *);
};
static int num_properties = sizeof(ep_num) / sizeof(int *);
- for(i = 0; i < MAX_ELEMENTS; i++)
+ for
(i = 0; i < MAX_ELEMENTS; i++)
Elementeigenschaften[i] = 0;
Elementeigenschaften[i] = 0;
- for(i = 0; i < num_properties; i++)
- for(j = 0; j < *(ep_num[i]); j++)
+ for
(i = 0; i < num_properties; i++)
+ for
(j = 0; j < *(ep_num[i]); j++)
Elementeigenschaften[(ep_array[i])[j]] |= ep_bit[i];
Elementeigenschaften[(ep_array[i])[j]] |= ep_bit[i];
- for(i = EL_CHAR_START; i <= EL_CHAR_END; i++)
+ for
(i = EL_CHAR_START; i <= EL_CHAR_END; i++)
Elementeigenschaften[i] |= (EP_BIT_CHAR | EP_BIT_INACTIVE);
Elementeigenschaften[i] |= (EP_BIT_CHAR | EP_BIT_INACTIVE);
- for(i = EL_WALL_START; i <= EL_WALL_END; i++)
+ for
(i = EL_WALL_START; i <= EL_WALL_END; i++)
Elementeigenschaften[i] |= EP_BIT_WALL;
}
Elementeigenschaften[i] |= EP_BIT_WALL;
}
-void mm_open_all()
+void mm_open_all(
void
)
{
InitElementProperties_MM();
}
{
InitElementProperties_MM();
}
-void mm_close_all()
+void mm_close_all(
void
)
{
}
{
}