diff options
author | aap <aap@papnet.eu> | 2020-05-27 07:10:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 07:10:36 +0200 |
commit | 4868bf13a8cab8fd62567c9544ff06197d6991a5 (patch) | |
tree | 917402726d9ec883378751256c1232ab7cc0b734 /milessdk | |
parent | MT function for fakerw (diff) | |
parent | OpenAL support (diff) | |
download | re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.gz re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.bz2 re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.lz re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.xz re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.tar.zst re3-4868bf13a8cab8fd62567c9544ff06197d6991a5.zip |
Diffstat (limited to 'milessdk')
-rw-r--r-- | milessdk/include/mss.h | 14 | ||||
-rw-r--r-- | milessdk/lib/mss32.lib | bin | 15316 -> 15570 bytes |
2 files changed, 14 insertions, 0 deletions
diff --git a/milessdk/include/mss.h b/milessdk/include/mss.h index 38371eb9..94bfc065 100644 --- a/milessdk/include/mss.h +++ b/milessdk/include/mss.h @@ -114,3 +114,17 @@ DLLEXPORT void WINAPI AIL_set_stream_ms_position(HSTREAM S, S32 milliseconds); DLLEXPORT void WINAPI AIL_set_stream_volume(HSTREAM stream, S32 volume); DLLEXPORT void WINAPI AIL_set_stream_pan(HSTREAM stream, S32 pan); DLLEXPORT S32 WINAPI AIL_stream_status(HSTREAM stream); + +typedef U32(WINAPI* AIL_file_open_callback)(char const * Filename, U32 * FileHandle); + +typedef void (WINAPI* AIL_file_close_callback) (U32 FileHandle); + +#define AIL_FILE_SEEK_BEGIN 0 +#define AIL_FILE_SEEK_CURRENT 1 +#define AIL_FILE_SEEK_END 2 + +typedef S32(WINAPI* AIL_file_seek_callback) (U32 FileHandle, S32 Offset, U32 Type); + +typedef U32(WINAPI* AIL_file_read_callback) (U32 FileHandle, void* Buffer, U32 Bytes); + +DLLEXPORT void WINAPI AIL_set_file_callbacks(AIL_file_open_callback opencb, AIL_file_close_callback closecb, AIL_file_seek_callback seekcb, AIL_file_read_callback readcb);
\ No newline at end of file diff --git a/milessdk/lib/mss32.lib b/milessdk/lib/mss32.lib Binary files differindex f97091c7..49cea2d2 100644 --- a/milessdk/lib/mss32.lib +++ b/milessdk/lib/mss32.lib |