projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8125bee
)
removed some (deactivated) code for debugging output
author
Holger Schemel
<info@artsoft.org>
Thu, 13 Aug 2015 10:46:39 +0000
(12:46 +0200)
committer
Holger Schemel
<info@artsoft.org>
Thu, 13 Aug 2015 10:46:39 +0000
(12:46 +0200)
src/libgame/image.c
patch
|
blob
|
history
diff --git
a/src/libgame/image.c
b/src/libgame/image.c
index 14fd7c65de90badadcab8c8d79e3baec070831e0..7f789cff7d28b14ce7e8b62dc4d0e934c7b59bfa 100644
(file)
--- a/
src/libgame/image.c
+++ b/
src/libgame/image.c
@@
-275,11
+275,6
@@
static boolean CheckIfImageContainsSmallImages(ImageInfo *img_info,
if (!strEqual(img_info->leveldir, leveldir_current->identifier) &&
img_info->conf_tile_size != tile_size)
{
if (!strEqual(img_info->leveldir, leveldir_current->identifier) &&
img_info->conf_tile_size != tile_size)
{
-#if 0
- printf("::: RE-CREATING DEFAULT TILE SIZE: %d -> %d\n",
- img_info->conf_tile_size, tile_size);
-#endif
-
int bitmap_nr = GET_BITMAP_ID_FROM_TILESIZE(img_info->conf_tile_size);
int i;
int bitmap_nr = GET_BITMAP_ID_FROM_TILESIZE(img_info->conf_tile_size);
int i;
@@
-316,12
+311,6
@@
static boolean CheckIfImageContainsSmallImages(ImageInfo *img_info,
if (img_info->game_tile_size != gfx.game_tile_size)
{
if (img_info->game_tile_size != gfx.game_tile_size)
{
-#if 0
- if (strSuffix(img_info->source_filename, "RocksHeroes.png"))
- printf("::: RE-CREATING IN-GAME TILE SIZE: %d -> %d\n",
- img_info->game_tile_size, gfx.game_tile_size);
-#endif
-
ReCreateGameTileSizeBitmap(img_info->bitmaps);
img_info->game_tile_size = gfx.game_tile_size;
ReCreateGameTileSizeBitmap(img_info->bitmaps);
img_info->game_tile_size = gfx.game_tile_size;