X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.c;h=53ead02dbd0448d5a0fcd18fcc4f9217c82aec70;hb=92b6a44481d43254055576a02ce4e335eeab12e9;hp=c1762fe842349d2030e26cad2d8d455131499763;hpb=14b5ed161164a42c7513700fe101c4bd2e3b63e3;p=rocksndiamonds.git diff --git a/src/main.c b/src/main.c index c1762fe8..53ead02d 100644 --- a/src/main.c +++ b/src/main.c @@ -25,7 +25,11 @@ Bitmap *bitmap_db_store; Bitmap *bitmap_db_cross; Bitmap *bitmap_db_field; Bitmap *bitmap_db_panel; +#if 0 Bitmap *bitmap_db_door; +#endif +Bitmap *bitmap_db_door_1; +Bitmap *bitmap_db_door_2; Bitmap *bitmap_db_toons; DrawBuffer *fieldbuffer; DrawBuffer *drawto_field; @@ -5598,14 +5602,23 @@ static void print_usage() int main(int argc, char *argv[]) { - char * window_title_string = getWindowTitleString(); +#if 1 + InitProgramInfo(argv[0], USERDATA_DIRECTORY, USERDATA_DIRECTORY_UNIX, + PROGRAM_TITLE_STRING, ICON_TITLE_STRING, + X11_ICON_FILENAME, X11_ICONMASK_FILENAME, SDL_ICON_FILENAME, + MSDOS_POINTER_FILENAME, + COOKIE_PREFIX, FILENAME_PREFIX, GAME_VERSION_ACTUAL); +#else + char *window_title_string = getWindowTitleString(); InitProgramInfo(argv[0], USERDATA_DIRECTORY, USERDATA_DIRECTORY_UNIX, PROGRAM_TITLE_STRING, window_title_string, ICON_TITLE_STRING, X11_ICON_FILENAME, X11_ICONMASK_FILENAME, SDL_ICON_FILENAME, MSDOS_POINTER_FILENAME, COOKIE_PREFIX, FILENAME_PREFIX, GAME_VERSION_ACTUAL); +#endif + InitWindowTitleFunction(getWindowTitleString); InitExitMessageFunction(DisplayExitMessage); InitExitFunction(CloseAllAndExit); InitPlatformDependentStuff();