Remove BUILD_PSX_DATA code

This is never activated.
This commit is contained in:
Kp 2013-02-23 22:52:03 +00:00
parent deb6fe9a91
commit 7c7bff061e

View file

@ -855,9 +855,6 @@ void piggy_dump_all()
GameBitmapXlat[i] = other_bitmap.index;
bmh.flags |= BM_FLAG_PAGED_OUT;
} else {
#ifdef BUILD_PSX_DATA
count_colors( i, &GameBitmaps[i] );
#endif
bmh.flags &= ~BM_FLAG_PAGED_OUT;
}
bmh.avg_color=GameBitmaps[i].avg_color;
@ -906,14 +903,6 @@ void piggy_dump_all()
PHYSFS_close(fp2);
#endif
#ifdef BUILD_PSX_DATA
fp = PHYSFSX_openWriteBuffered( "psx/descent.dat" );
PHYSFS_write( fp, &i, sizeof(int), 1 );
bm_write_all(fp);
PHYSFS_write( fp, GameBitmapXlat, sizeof(ushort)*MAX_BITMAP_FILES, 1 );
PHYSFS_close(fp);
#endif
// Never allow the game to run after building pig.
exit(0);
}