2022-03-19 18:22:51 +00:00
|
|
|
void pascal near bb_boss_load(const char far *fn)
|
|
|
|
{
|
|
|
|
#if (GAME == 5)
|
|
|
|
bb_boss_seg = bb_load(fn);
|
|
|
|
#else
|
|
|
|
file_ropen(fn);
|
2022-11-10 01:58:18 +00:00
|
|
|
bb_boss_seg = HMem<bb_tiles8_t>::alloc(BB_SIZE);
|
2022-03-19 18:22:51 +00:00
|
|
|
file_read(bb_boss_seg, BB_SIZE);
|
|
|
|
file_close();
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
#if (GAME == 5)
|
|
|
|
void near bb_boss_free(void)
|
|
|
|
#else
|
|
|
|
void far bb_boss_free(void)
|
|
|
|
#endif
|
|
|
|
{
|
|
|
|
if(bb_boss_seg) {
|
|
|
|
HMem<bb_tiles8_t>::free(bb_boss_seg);
|
|
|
|
bb_boss_seg = 0;
|
|
|
|
}
|
|
|
|
}
|