X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=27088af6f34530286779dc76703df458e405edb5;hb=92204d79d159df0be4bd05c4b4e4dabbcaefe805;hp=6365f42f26be32f947f1a7bb2029b3deac75c7f2;hpb=8458af9ed76d6194de77b184e4e1ba2041e6aa17;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index 6365f42f..27088af6 100644 --- a/src/init.c +++ b/src/init.c @@ -191,6 +191,9 @@ static void InitArtworkConfig() static char *dummy[1] = { NULL }; int i; + for (i=0; iwidth / 2, + tst_bitmap->height / 2); + + BlitBitmap(tmp_bitmap, tst_bitmap, 0, 0, 256, 224, 0, 448); + + FreeBitmap(tmp_bitmap); + } } static void ReinitializeSounds() @@ -275,6 +292,8 @@ static void InitImages() { ReloadCustomImages(); ReinitializeGraphics(); + + LoadCustomElementDescriptions(); } static void InitSound() @@ -619,6 +638,8 @@ void ReloadCustomArtwork() ReloadCustomImages(); ReinitializeGraphics(); + LoadCustomElementDescriptions(); + FreeTileClipmasks(); InitTileClipmasks();