X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.c;h=28d8ebae635b09027136b57abed0035f377ec8c9;hb=fa64f97687b19543379b872003cd66a2a351e326;hp=3d23f5fad085a43384e3f091935e9f89d89ef266;hpb=ab0cbae4e74040b383b7d18e5c58d27597e0b09c;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index 3d23f5fa..28d8ebae 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -127,33 +127,8 @@ void InitRuntimeInfo() #else runtime.uses_touch_device = FALSE; #endif -} - -void InitScoresInfo(void) -{ - char *global_scores_dir = getPath2(getCommonDataDir(), SCORES_DIRECTORY); - - program.global_scores = directoryExists(global_scores_dir); - program.many_scores_per_name = !program.global_scores; - -#if 0 - if (options.debug) - { - if (program.global_scores) - { - Debug("internal:path", "Using global, multi-user scores directory '%s'.", - global_scores_dir); - Debug("internal:path", "Remove to enable single-user scores directory."); - Debug("internal:path", "(This enables multipe score entries per user.)"); - } - else - { - Debug("internal:path", "Using private, single-user scores directory."); - } - } -#endif - free(global_scores_dir); + runtime.api_server = setup.api_server; } void SetWindowTitle(void) @@ -1218,7 +1193,7 @@ void ReloadCustomImage(Bitmap *bitmap, char *basename) free(new_bitmap); } -static Bitmap *ZoomBitmap(Bitmap *src_bitmap, int zoom_width, int zoom_height) +Bitmap *ZoomBitmap(Bitmap *src_bitmap, int zoom_width, int zoom_height) { return SDLZoomBitmap(src_bitmap, zoom_width, zoom_height); }