diff --git a/game/skeldal.c b/game/skeldal.c index e252d79..9903d67 100644 --- a/game/skeldal.c +++ b/game/skeldal.c @@ -1036,7 +1036,7 @@ void init_skeldal(const INI_CONFIG *cfg) exit(1); } showview = game_display_update_rect; - game_display_set_icon(getWindowIcon(), getWindowIconSize()); +// game_display_set_icon(getWindowIcon(), getWindowIconSize()); init_joystick(ini_section_open(cfg, "controller")); general_engine_init(); @@ -1188,7 +1188,7 @@ extern char running_battle; } else if (strncmp(m, "MESSAGE ", 8) == 0) { bott_disp_text(m+8); } - + } return 0; } diff --git a/platform/linux/app_start.cpp b/platform/linux/app_start.cpp index 3e658df..bfc1ddb 100644 --- a/platform/linux/app_start.cpp +++ b/platform/linux/app_start.cpp @@ -20,7 +20,7 @@ void show_help(const char *arg0) { "-a path for adventure file (.adv)\n" "-l set language (cz|en)\n" "-s generate string-tables (for localization) and exit\n" - "-L connect to host:port to listen commands (mapedit)\n" + "-c connect to host:port for remote control (mapedit)\n" "-h this help\n"); exit(1); } @@ -36,14 +36,14 @@ int main(int argc, char **argv) { std::string gen_stringtable_path; std::string lang; std::string sse_hostport; - for (int optchr = -1; (optchr = getopt(argc, argv, "hf:a:s:l:L:")) != -1; ) { + for (int optchr = -1; (optchr = getopt(argc, argv, "hf:a:s:l:c:")) != -1; ) { switch (optchr) { case 'f': config_name = optarg;break; case 'a': adv_config_file = optarg;break; case 'h': show_help(argv[0]);break; case 'l': lang = optarg;break; case 's': gen_stringtable_path = optarg;break; - case 'L': sse_hostport = optarg;break; + case 'c': sse_hostport = optarg;break; default: show_help_short(); return 1; } diff --git a/platform/windows/app_start.cpp b/platform/windows/app_start.cpp index cf08557..f5f5ea4 100644 --- a/platform/windows/app_start.cpp +++ b/platform/windows/app_start.cpp @@ -23,7 +23,7 @@ void show_help(std::ostream &out, const char *arg0) { "-a path for adventure file (.adv)\n" "-l set language (cz|en)\n" "-s generate string-tables (for localization) and exit\n" - "-L connect to host:port to listen commands (mapedit)\n" + "-c connect to host:port for remote control (mapedit)\n" "-h this help\n"; } @@ -39,7 +39,7 @@ int main(int argc, char **argv) { std::string lang; std::string sse_hostport; std::ostringstream console; - for (int optchr = -1; (optchr = getopt(argc, argv, "hf:a:s:l:L:")) != -1; ) { + for (int optchr = -1; (optchr = getopt(argc, argv, "hf:a:s:l:c:")) != -1; ) { switch (optchr) { case 'f': config_name = optarg;break; case 'a': adv_config_file = optarg;break;