static char *image_filename[NUM_PICTURES] =
{
+#if 0
+ "RocksScreen.pcx",
+ "RocksDoor.pcx",
+ "RocksToons.pcx",
+ "RocksFontBig.pcx",
+ "RocksFontSmall.pcx",
+ "RocksFontMedium.pcx",
+ "RocksFontEM.pcx"
+#else
"RocksScreen.pcx",
"RocksElements.pcx",
"RocksDoor.pcx",
"RocksFontSmall.pcx",
"RocksFontMedium.pcx",
"RocksFontEM.pcx"
+#endif
};
static void InitSetup(void);
InitLevelInfo();
InitLevelArtworkInfo();
- InitGadgets(); /* needs to know number of level series */
InitImages(); /* needs to know current level directory */
InitSound(); /* needs to know current level directory */
+ InitGadgets(); /* needs images + number of level series */
InitGfxBackground();
InitToons();
unsigned long clip_gc_valuemask;
#if defined(TARGET_X11_NATIVE)
+
+#if 0
GC copy_clipmask_gc;
static struct
{ GFX2_SHIELD_ACTIVE, 3 },
{ -1, 0 }
};
+#endif
+
#endif /* TARGET_X11_NATIVE */
#endif /* TARGET_X11 */
#if defined(TARGET_X11_NATIVE)
+#if 0
/* create graphic context structures needed for clipping */
clip_gc_values.graphics_exposures = False;
clip_gc_valuemask = GCGraphicsExposures;
}
XFreeGC(display, copy_clipmask_gc);
+#endif
#endif /* TARGET_X11_NATIVE */
#endif /* TARGET_X11 */
image_files = getCurrentImageList();
+#if 0
for(i=0; i<MAX_GRAPHICS; i++)
{
/* always start with reliable default values */
getGraphicSource(i, &graphic_info[i].bitmap,
&graphic_info[i].src_x, &graphic_info[i].src_y);
}
+#endif
for(i=0; i<NUM_IMAGE_FILES; i++)
{