X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=8f26dc77fb97e7933f5ed2f24c71d453b0dfd5d9;hb=1adb39b83ff3b555b57d6132a6a26954718947fb;hp=1c33deb66375d930e42c891f98017114e73cffcc;hpb=74c0f7de91268e40d15948f473eac51a9760b9c0;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 1c33deb6..8f26dc77 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -117,6 +117,8 @@ void InitPlatformDependentStuff(void) #if defined(TARGET_SDL) if (SDL_Init(SDL_INIT_EVENTTHREAD | SDL_INIT_NOPARACHUTE) < 0) Error(ERR_EXIT, "SDL_Init() failed: %s", SDL_GetError()); + + SDLNet_Init(); #endif } @@ -370,8 +372,7 @@ inline static void FreeBitmapPointers(Bitmap *bitmap) X11FreeBitmapPointers(bitmap); #endif - if (bitmap->source_filename) - free(bitmap->source_filename); + checked_free(bitmap->source_filename); bitmap->source_filename = NULL; } @@ -869,6 +870,31 @@ static const char *cursor_image_playfield[] = ". c #ffffff", " c None", +#if 1 + /* some people complained about a "white dot" on the screen and thought it + was a graphical error... OK, let's just remove the whole pointer :-) */ + + /* pixels */ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + + /* hot spot */ + "0,0" +#else /* pixels */ " X ", "X.X ", @@ -889,6 +915,7 @@ static const char *cursor_image_playfield[] = /* hot spot */ "1,1" +#endif }; #if defined(TARGET_SDL)