dynamic_mod.h
changeset 617 87116a42526e
parent 601 05123263dab3
child 711 f40c5ac95b12
     1.1 --- a/dynamic_mod.h	Tue May 21 21:09:26 2013 -0700
     1.2 +++ b/dynamic_mod.h	Tue May 21 21:21:23 2013 -0700
     1.3 @@ -24,35 +24,35 @@
     1.4  #include "mikmod.h"
     1.5  
     1.6  typedef struct {
     1.7 -	int loaded;
     1.8 -	void *handle;
     1.9 +    int loaded;
    1.10 +    void *handle;
    1.11  
    1.12 -	void (*MikMod_Exit)(void);
    1.13 -	CHAR* (*MikMod_InfoDriver)(void);
    1.14 -	CHAR* (*MikMod_InfoLoader)(void);
    1.15 -	BOOL (*MikMod_Init)(CHAR*);
    1.16 -	void (*MikMod_RegisterAllLoaders)(void);
    1.17 -	void (*MikMod_RegisterDriver)(struct MDRIVER*);
    1.18 -	int* MikMod_errno;
    1.19 -	char* (*MikMod_strerror)(int);
    1.20 -	void (*MikMod_free)(void*);
    1.21 -	BOOL (*Player_Active)(void);
    1.22 -	void (*Player_Free)(MODULE*);
    1.23 -	MODULE* (*Player_LoadGeneric)(MREADER*,int,BOOL);
    1.24 -	void (*Player_SetPosition)(UWORD);
    1.25 -	void (*Player_SetVolume)(SWORD);
    1.26 -	void (*Player_Start)(MODULE*);
    1.27 -	void (*Player_Stop)(void);
    1.28 -	ULONG (*VC_WriteBytes)(SBYTE*,ULONG);
    1.29 -	struct MDRIVER* drv_nos;
    1.30 -	UWORD* md_device;
    1.31 -	UWORD* md_mixfreq;
    1.32 -	UWORD* md_mode;
    1.33 -	UBYTE* md_musicvolume;
    1.34 -	UBYTE* md_pansep;
    1.35 -	UBYTE* md_reverb;
    1.36 -	UBYTE* md_sndfxvolume;
    1.37 -	UBYTE* md_volume;
    1.38 +    void (*MikMod_Exit)(void);
    1.39 +    CHAR* (*MikMod_InfoDriver)(void);
    1.40 +    CHAR* (*MikMod_InfoLoader)(void);
    1.41 +    BOOL (*MikMod_Init)(CHAR*);
    1.42 +    void (*MikMod_RegisterAllLoaders)(void);
    1.43 +    void (*MikMod_RegisterDriver)(struct MDRIVER*);
    1.44 +    int* MikMod_errno;
    1.45 +    char* (*MikMod_strerror)(int);
    1.46 +    void (*MikMod_free)(void*);
    1.47 +    BOOL (*Player_Active)(void);
    1.48 +    void (*Player_Free)(MODULE*);
    1.49 +    MODULE* (*Player_LoadGeneric)(MREADER*,int,BOOL);
    1.50 +    void (*Player_SetPosition)(UWORD);
    1.51 +    void (*Player_SetVolume)(SWORD);
    1.52 +    void (*Player_Start)(MODULE*);
    1.53 +    void (*Player_Stop)(void);
    1.54 +    ULONG (*VC_WriteBytes)(SBYTE*,ULONG);
    1.55 +    struct MDRIVER* drv_nos;
    1.56 +    UWORD* md_device;
    1.57 +    UWORD* md_mixfreq;
    1.58 +    UWORD* md_mode;
    1.59 +    UBYTE* md_musicvolume;
    1.60 +    UBYTE* md_pansep;
    1.61 +    UBYTE* md_reverb;
    1.62 +    UBYTE* md_sndfxvolume;
    1.63 +    UBYTE* md_volume;
    1.64  } mikmod_loader;
    1.65  
    1.66  extern mikmod_loader mikmod;