X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.c;h=d3ecc942c253428a90bc2eea2c3698f416bd07a9;hb=7fbc29937c69f42e609080ddd29595e01750ec4c;hp=5acf09fe627d151743b3beb5362c25cde2ce455d;hpb=b6847742a0713d8ed21bb6104476db54f8c1a4b9;p=rocksndiamonds.git diff --git a/src/main.c b/src/main.c index 5acf09fe..d3ecc942 100644 --- a/src/main.c +++ b/src/main.c @@ -4460,6 +4460,11 @@ struct ElementNameInfo element_name_info[MAX_NUM_ELEMENTS + 1] = "quicksand", "fast quicksand (with rock)" }, + { + "from_level_template", + "from_level_template", + "element taken from level template" + }, /* ----------------------------------------------------------------------- */ /* "real" (and therefore drawable) runtime elements */ @@ -5509,16 +5514,6 @@ struct MusicPrefixInfo music_prefix_info[NUM_MUSIC_PREFIXES + 1] = /* main() */ /* ========================================================================= */ -static unsigned long get_cmd_switch(char *switch_string) -{ - unsigned long switch_value = 0; - - if (strEqual(switch_string, "load_xsb_to_ces")) - switch_value = CMD_SWITCH_LOAD_XSB_TO_CES; - - return switch_value; -} - static void print_usage() { printf("\n" @@ -5567,7 +5562,7 @@ int main(int argc, char *argv[]) InitExitFunction(CloseAllAndExit); InitPlatformDependentStuff(); - GetOptions(argv, print_usage, get_cmd_switch); + GetOptions(argv, print_usage); OpenAll(); EventLoop();