projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20091210-1-src
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index 058590d94734c4966a9bac9b92febfaf4aea5f61..222e1d33c2ad966be33fbdae20d70415be81929d 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-2837,8
+2837,12
@@
void InitElementPropertiesStatic()
EL_SIGN_FRANKIE,
EL_STEEL_EXIT_CLOSED,
EL_STEEL_EXIT_OPEN,
EL_SIGN_FRANKIE,
EL_STEEL_EXIT_CLOSED,
EL_STEEL_EXIT_OPEN,
+ EL_STEEL_EXIT_OPENING,
+ EL_STEEL_EXIT_CLOSING,
EL_EM_STEEL_EXIT_CLOSED,
EL_EM_STEEL_EXIT_OPEN,
EL_EM_STEEL_EXIT_CLOSED,
EL_EM_STEEL_EXIT_OPEN,
+ EL_EM_STEEL_EXIT_OPENING,
+ EL_EM_STEEL_EXIT_CLOSING,
EL_DC_STEELWALL_1_LEFT,
EL_DC_STEELWALL_1_RIGHT,
EL_DC_STEELWALL_1_TOP,
EL_DC_STEELWALL_1_LEFT,
EL_DC_STEELWALL_1_RIGHT,
EL_DC_STEELWALL_1_TOP,
@@
-5132,7
+5136,7
@@
void Execute_Command(char *command)
exit(0);
}
exit(0);
}
- else if (str
ncmp(command, "dump level ", 11) == 0
)
+ else if (str
Prefix(command, "dump level ")
)
{
char *filename = &command[11];
{
char *filename = &command[11];
@@
-5144,7
+5148,7
@@
void Execute_Command(char *command)
exit(0);
}
exit(0);
}
- else if (str
ncmp(command, "dump tape ", 10) == 0
)
+ else if (str
Prefix(command, "dump tape ")
)
{
char *filename = &command[10];
{
char *filename = &command[10];
@@
-5156,7
+5160,7
@@
void Execute_Command(char *command)
exit(0);
}
exit(0);
}
- else if (str
ncmp(command, "autoplay ", 9) == 0
)
+ else if (str
Prefix(command, "autoplay ")
)
{
char *str_ptr = getStringCopy(&command[9]); /* read command parameters */
{
char *str_ptr = getStringCopy(&command[9]); /* read command parameters */
@@
-5192,9
+5196,9
@@
void Execute_Command(char *command)
str_ptr++;
}
}
str_ptr++;
}
}
- else if (str
ncmp(command, "convert ", 8) == 0
)
+ else if (str
Prefix(command, "convert ")
)
{
{
- char *str_copy = getStringCopy(
&command[8]
);
+ char *str_copy = getStringCopy(
strchr(command, ' ') + 1
);
char *str_ptr = strchr(str_copy, ' ');
global.convert_leveldir = str_copy;
char *str_ptr = strchr(str_copy, ' ');
global.convert_leveldir = str_copy;
@@
-5206,7
+5210,7
@@
void Execute_Command(char *command)
global.convert_level_nr = atoi(str_ptr); /* get level_nr value */
}
}
global.convert_level_nr = atoi(str_ptr); /* get level_nr value */
}
}
- else if (str
ncmp(command, "create images ", 14) == 0
)
+ else if (str
Prefix(command, "create images ")
)
{
#if defined(TARGET_SDL)
global.create_images_dir = getStringCopy(&command[14]);
{
#if defined(TARGET_SDL)
global.create_images_dir = getStringCopy(&command[14]);