projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed test/debug code for EM graphics engine
[rocksndiamonds.git]
/
src
/
game_em
/
init.c
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index 9937110a8a80808cda87047659324bca926ee5cb..fc84fbf31aa282933a00f7b524198378d01d1ae6 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-18,12
+18,8
@@
struct GameInfo_EM game_em;
int open_all(void)
{
int open_all(void)
{
- Bitmap *emc_bitmaps[2];
-
- SetBitmaps_EM(emc_bitmaps);
-
- objBitmap = emc_bitmaps[0];
- sprBitmap = emc_bitmaps[1];
+ objBitmap = NULL;
+ sprBitmap = NULL;
return 0;
}
return 0;
}
@@
-46,7
+42,8
@@
void em_open_all(void)
/* after "open_all()", because we need the graphic bitmaps to be defined */
tab_generate_graphics_info_em();
/* after "open_all()", because we need the graphic bitmaps to be defined */
tab_generate_graphics_info_em();
- game_init_vars();
+ game_init_random();
+ game_init_cave_buffers();
}
void em_close_all(void)
}
void em_close_all(void)