diff options
| author | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 07:32:05 +0000 |
|---|---|---|
| committer | relnev <relnev@5198baeb-e213-0410-be47-fc2ff85ca46f> | 2003-01-08 07:32:05 +0000 |
| commit | 9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844 (patch) | |
| tree | 576ac516d0a8660965d82b797610ed466dd0b88c /Source/Support.cpp | |
| parent | edf4f6f6883b8bf54a7839987044842684e5a66e (diff) | |
| download | blackshades-9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844.tar.gz | |
rename the alut functions so we can fix the filenames (and since the
functions are in cvs but WAVFile is not exactly the same).
sad hacks for o/ifstream filenames...
git-svn-id: svn://svn.icculus.org/blackshades/trunk@43 5198baeb-e213-0410-be47-fc2ff85ca46f
Diffstat (limited to 'Source/Support.cpp')
| -rw-r--r-- | Source/Support.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/Support.cpp b/Source/Support.cpp index 75288df..16c6876 100644 --- a/Source/Support.cpp +++ b/Source/Support.cpp @@ -124,7 +124,10 @@ void Files::EndLoad() } -void alutLoadWAVFile(char *filename, ALenum *format, void **wave, +/* + Our own special magic version that fixes the filename. + */ +void alutLoadWAVFile_CFH(char *filename, ALenum *format, void **wave, unsigned int *size, ALsizei *freq) { char filename1[256]; @@ -140,7 +143,7 @@ void alutLoadWAVFile(char *filename, ALenum *format, void **wave, *freq = freq1; } -void alutUnloadWAV(ALenum format, void *wave, unsigned int size, +void alutUnloadWAV_CFH(ALenum format, void *wave, unsigned int size, ALsizei freq) { free(wave); |
