projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20090729-1-src
[rocksndiamonds.git]
/
src
/
init.c
diff --git
a/src/init.c
b/src/init.c
index ea5ec18de985d667f2fccda3b504cdbc3f7c1fc5..058590d94734c4966a9bac9b92febfaf4aea5f61 100644
(file)
--- a/
src/init.c
+++ b/
src/init.c
@@
-329,6
+329,14
@@
void SetBitmaps_EM(Bitmap **em_bitmap)
}
#endif
}
#endif
+#if 1
+/* !!! FIX THIS (CHANGE TO USING NORMAL ELEMENT GRAPHIC DEFINITIONS) !!! */
+void SetBitmaps_SP(Bitmap **sp_bitmap)
+{
+ *sp_bitmap = graphic_info[IMG_SP_OBJECTS].bitmap;
+}
+#endif
+
static int getFontBitmapID(int font_nr)
{
int special = -1;
static int getFontBitmapID(int font_nr)
{
int special = -1;
@@
-6223,6
+6231,10
@@
void OpenAll()
em_open_all();
#endif
em_open_all();
#endif
+#if 1
+ sp_open_all();
+#endif
+
if (global.autoplay_leveldir)
{
AutoPlayTape();
if (global.autoplay_leveldir)
{
AutoPlayTape();
@@
-6270,6
+6282,10
@@
void CloseAllAndExit(int exit_value)
em_close_all();
#endif
em_close_all();
#endif
+#if 1
+ sp_close_all();
+#endif
+
FreeAllImages();
#if defined(TARGET_SDL)
FreeAllImages();
#if defined(TARGET_SDL)