comparison decoders/mod.c @ 149:1df5c106504e

Decoders can now list multiple file extensions.
author Ryan C. Gordon <icculus@icculus.org>
date Thu, 01 Nov 2001 19:13:17 +0000
parents bd224f22e6b2
children 47cc2de2ae36
comparison
equal deleted inserted replaced
148:d51546293fd1 149:1df5c106504e
51 static void MOD_quit(void); 51 static void MOD_quit(void);
52 static int MOD_open(Sound_Sample *sample, const char *ext); 52 static int MOD_open(Sound_Sample *sample, const char *ext);
53 static void MOD_close(Sound_Sample *sample); 53 static void MOD_close(Sound_Sample *sample);
54 static Uint32 MOD_read(Sound_Sample *sample); 54 static Uint32 MOD_read(Sound_Sample *sample);
55 55
56 static const char *extensions_mikmod[] =
57 {
58 "MOD", "IT", "XM", "S3M", "MTM", "669", "STM", "ULT",
59 "FAR", "MED", "AMF", "DSM", "IMF", "GDM", "STX", "OKT",
60 NULL
61 };
62
56 const Sound_DecoderFunctions __Sound_DecoderFunctions_MOD = 63 const Sound_DecoderFunctions __Sound_DecoderFunctions_MOD =
57 { 64 {
58 { 65 {
59 "MOD", 66 extensions_mikmod,
60 "Play modules through MikMod", 67 "Play modules through MikMod",
61 "Torbjörn Andersson <d91tan@Update.UU.SE>", 68 "Torbjörn Andersson <d91tan@Update.UU.SE>",
62 "http://www.mikmod.org/" 69 "http://www.mikmod.org/"
63 }, 70 },
64 71