projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20050815-1-src
[rocksndiamonds.git]
/
src
/
game_em
/
tab_generate.c
diff --git
a/src/game_em/tab_generate.c
b/src/game_em/tab_generate.c
index ff8ea4a7e1347603bd845991db7b40a104766365..75c47b3795afc0345af4817394b0130b9e051ab8 100644
(file)
--- a/
src/game_em/tab_generate.c
+++ b/
src/game_em/tab_generate.c
@@
-306,7
+306,12
@@
int obj_map[] =
Xsand_stoneout_1, 1,
Xsand_stoneout_1, 0,
-1,
Xsand_stoneout_1, 1,
Xsand_stoneout_1, 0,
-1,
+
+#if 0
+ /* use normal "Xblank" instead of explicit x==0, y==2 empty space graphic */
Ynut_sB, 7,
Ynut_sB, 7,
+#endif
+
-1,
-1,
Ynut_sB, 6,
-1,
-1,
Ynut_sB, 6,
@@
-4597,6
+4602,14
@@
void create_obj_graphics_info_em()
g->width = TILEX;
g->height = TILEY;
g->width = TILEX;
g->height = TILEY;
+ g->crumbled_bitmap = NULL;
+ g->crumbled_src_x = 0;
+ g->crumbled_src_y = 0;
+ g->crumbled_border_size = 0;
+
+ g->has_crumbled_graphics = FALSE;
+ g->preserve_background = FALSE;
+
/* create unique graphic identifier to decide if tile must be redrawn */
g->unique_identifier = obj;
}
/* create unique graphic identifier to decide if tile must be redrawn */
g->unique_identifier = obj;
}
@@
-4646,6
+4659,14
@@
void create_spr_graphics_info_em()
g->dst_offset_y = 0;
g->width = TILEX;
g->height = TILEY;
g->dst_offset_y = 0;
g->width = TILEX;
g->height = TILEY;
+
+ g->has_crumbled_graphics = FALSE;
+ g->crumbled_bitmap = NULL;
+ g->crumbled_src_x = 0;
+ g->crumbled_src_y = 0;
+ g->crumbled_border_size = 0;
+
+ g->unique_identifier = 0;
}
}
}
}
}
}