Changeset 24:c9e218c2c3f1
- Timestamp:
- 02/27/09 17:02:32 (3 years ago)
- Author:
- thib
- Branch:
- default
- convert_revision:
- svn:d0a2da98-017c-47d2-8c43-22b54484806d/trunk@25
- Message:
-
Makes xclannad buildable without libvorbis
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r2
|
r24
|
|
| 87 | 87 | return koe_cache.Find(file_number, index); |
| 88 | 88 | }; |
| | 89 | #if HAVE_LIBVORBISFILE || HAVE_LIBVORBISIDEC |
| 89 | 90 | extern int ogg_get_rate(FILE*); |
| | 91 | #endif |
| 90 | 92 | AvgKoeInfo AvgKoeCache::Find(int file_number, int index) { |
| 91 | 93 | AvgKoeInfo info; |
| … |
… |
|
| 110 | 112 | arcinfo = file_searcher.Find(FILESEARCH::KOE,fname,".ovk"); |
| 111 | 113 | } |
| | 114 | #if HAVE_LIBVORBISFILE || HAVE_LIBVORBISIDEC |
| 112 | 115 | if (arcinfo == 0) { |
| 113 | 116 | DIRFILE* koedir = (DIRFILE*) file_searcher.MakeARCFILE((FILESEARCH::ARCTYPE)0, "koe"); |
| … |
… |
|
| 128 | 131 | return info; |
| 129 | 132 | } |
| | 133 | #endif |
| 130 | 134 | if (arcinfo == 0) return info; |
| 131 | 135 | FILE* stream = arcinfo->OpenFile(); |