dynamic_mod.h
changeset 777 92882ef2ab81
parent 776 07b8e286bc03
child 778 05c93f7af403
     1.1 --- a/dynamic_mod.h	Mon Oct 16 02:16:47 2017 -0700
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,70 +0,0 @@
     1.4 -/*
     1.5 -  SDL_mixer:  An audio mixer library based on the SDL library
     1.6 -  Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
     1.7 -
     1.8 -  This software is provided 'as-is', without any express or implied
     1.9 -  warranty.  In no event will the authors be held liable for any damages
    1.10 -  arising from the use of this software.
    1.11 -
    1.12 -  Permission is granted to anyone to use this software for any purpose,
    1.13 -  including commercial applications, and to alter it and redistribute it
    1.14 -  freely, subject to the following restrictions:
    1.15 -
    1.16 -  1. The origin of this software must not be misrepresented; you must not
    1.17 -     claim that you wrote the original software. If you use this software
    1.18 -     in a product, an acknowledgment in the product documentation would be
    1.19 -     appreciated but is not required.
    1.20 -  2. Altered source versions must be plainly marked as such, and must not be
    1.21 -     misrepresented as being the original software.
    1.22 -  3. This notice may not be removed or altered from any source distribution.
    1.23 -*/
    1.24 -
    1.25 -#ifdef MOD_MUSIC
    1.26 -
    1.27 -#include "mikmod.h"
    1.28 -
    1.29 -/* libmikmod >= 3.3.2 constified several funcs */
    1.30 -#if (LIBMIKMOD_VERSION < 0x030302)
    1.31 -#define MIKMOD3_CONST
    1.32 -#else
    1.33 -#define MIKMOD3_CONST const
    1.34 -#endif
    1.35 -
    1.36 -typedef struct {
    1.37 -    int loaded;
    1.38 -    void *handle;
    1.39 -
    1.40 -    void (*MikMod_Exit)(void);
    1.41 -    CHAR* (*MikMod_InfoDriver)(void);
    1.42 -    CHAR* (*MikMod_InfoLoader)(void);
    1.43 -    int (*MikMod_Init)(MIKMOD3_CONST CHAR*);
    1.44 -    void (*MikMod_RegisterAllLoaders)(void);
    1.45 -    void (*MikMod_RegisterDriver)(struct MDRIVER*);
    1.46 -    int* MikMod_errno;
    1.47 -    MIKMOD3_CONST char* (*MikMod_strerror)(int);
    1.48 -    void (*MikMod_free)(void*);
    1.49 -    BOOL (*Player_Active)(void);
    1.50 -    void (*Player_Free)(MODULE*);
    1.51 -    MODULE* (*Player_LoadGeneric)(MREADER*,int,BOOL);
    1.52 -    void (*Player_SetPosition)(UWORD);
    1.53 -    void (*Player_SetVolume)(SWORD);
    1.54 -    void (*Player_Start)(MODULE*);
    1.55 -    void (*Player_Stop)(void);
    1.56 -    ULONG (*VC_WriteBytes)(SBYTE*,ULONG);
    1.57 -    struct MDRIVER* drv_nos;
    1.58 -    UWORD* md_device;
    1.59 -    UWORD* md_mixfreq;
    1.60 -    UWORD* md_mode;
    1.61 -    UBYTE* md_musicvolume;
    1.62 -    UBYTE* md_pansep;
    1.63 -    UBYTE* md_reverb;
    1.64 -    UBYTE* md_sndfxvolume;
    1.65 -    UBYTE* md_volume;
    1.66 -} mikmod_loader;
    1.67 -
    1.68 -extern mikmod_loader mikmod;
    1.69 -
    1.70 -#endif /* MOD_MUSIC */
    1.71 -
    1.72 -extern int Mix_InitMOD();
    1.73 -extern void Mix_QuitMOD();