fix undefined function warning with piggy_read_sounds (whoops)

This commit is contained in:
kreatordxx 2008-02-13 09:43:00 +00:00
parent 99b00be282
commit 61d5599aac
3 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20080213
--------
main/piggy.c, main/piggy.h: fix undefined function warning with piggy_read_sounds (whoops)
20080212
--------
main/endlevel.c: make sure a briefing isn't interpreted as an endlevel sequence file, preventing an in-game warning

View file

@ -317,7 +317,6 @@ ubyte bogus_bitmap_initialized=0;
digi_sound bogus_sound;
extern void properties_read_cmp(CFILE * fp);
void piggy_read_sounds(int pc_shareware);
#ifdef EDITOR
extern void bm_write_all(FILE * fp);
#endif

View file

@ -182,6 +182,8 @@ do {
#define PIGGY_PAGE_IN(bmp)
#endif // PIGGY_USE_PAGING
void piggy_read_sounds(int pc_shareware);
#ifdef FAST_FILE_IO
#define bitmap_index_read(bi, fp) cfread(bi, sizeof(bitmap_index), 1, fp)
#define bitmap_index_read_n(bi, n, fp) cfread(bi, sizeof(bitmap_index), n, fp)