X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.c;h=ae56447ba7d7fc9babfcddd3bbee4e74d15bd6c4;hb=2e99b0c26d334eb287486b8933b52b5048c6cc0c;hp=dcd5075ef164f98fc3544cda1e543aac931dbde9;hpb=273ed881a8affb54ee8e2bd7489eb3d898e11c23;p=rocksndiamonds.git diff --git a/src/main.c b/src/main.c index dcd5075e..ae56447b 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; @@ -165,6 +169,7 @@ struct MenuInfo menu; struct DoorInfo door_1, door_2; struct RequestInfo request; struct PreviewInfo preview; +struct EditorInfo editor; struct GraphicInfo *graphic_info = NULL; struct SoundInfo *sound_info = NULL; @@ -5597,14 +5602,11 @@ static void print_usage() int main(int argc, char *argv[]) { - 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); + PROGRAM_TITLE_STRING, ICON_TITLE_STRING, SDL_ICON_FILENAME, + COOKIE_PREFIX, GAME_VERSION_ACTUAL); + InitWindowTitleFunction(getWindowTitleString); InitExitMessageFunction(DisplayExitMessage); InitExitFunction(CloseAllAndExit); InitPlatformDependentStuff();