comparison src/modplug/plugin.cxx @ 1044:b1128efde471 trunk

[svn] - get rid of all warnings gcc 4.2.0 emits with my build configuration. - fix for minor bugs.
author yaz
date Sun, 20 May 2007 12:05:48 -0700
parents 94b22cc75eb8
children 1233d2efceab
comparison
equal deleted inserted replaced
1043:f65aa5417221 1044:b1128efde471
73 void ShowFileInfoBox(char* aFilename) 73 void ShowFileInfoBox(char* aFilename)
74 { 74 {
75 ShowInfoWindow(aFilename); 75 ShowInfoWindow(aFilename);
76 } 76 }
77 77
78 gchar *fmts[] = 78 const gchar *fmts[] =
79 { "amf", "ams", "dbm", "dbf", "dsm", "far", "mdl", "stm", "ult", "j2b", "mt2", 79 { "amf", "ams", "dbm", "dbf", "dsm", "far", "mdl", "stm", "ult", "j2b", "mt2",
80 "mdz", "mdr", "mdgz", "mdbz", "mod", "s3z", "s3r", "s3gz", "s3m", "xmz", "xmr", "xmgz", 80 "mdz", "mdr", "mdgz", "mdbz", "mod", "s3z", "s3r", "s3gz", "s3m", "xmz", "xmr", "xmgz",
81 "itz", "itr", "itgz", "dmf", "umx", "it", "669", "xm", "mtm", "psm", "ft2", NULL }; 81 "itz", "itr", "itgz", "dmf", "umx", "it", "669", "xm", "mtm", "psm", "ft2", NULL };
82 82
83 InputPlugin gModPlug = 83 InputPlugin gModPlug =
84 { 84 {
85 NULL, 85 NULL,
86 NULL, 86 NULL,
87 "ModPlug Player", 87 (gchar *)"ModPlug Player",
88 Init, 88 Init,
89 ShowAboutBox, 89 ShowAboutBox,
90 ShowConfigureBox, 90 ShowConfigureBox,
91 NULL, 91 NULL,
92 NULL, 92 NULL,
108 NULL, // output 108 NULL, // output
109 NULL, // tuple 109 NULL, // tuple
110 NULL, 110 NULL,
111 NULL, 111 NULL,
112 CanPlayFileFromVFS, // vfs 112 CanPlayFileFromVFS, // vfs
113 fmts, 113 (gchar **)fmts,
114 }; 114 };
115 115
116 extern "C" 116 extern "C"
117 { 117 {
118 InputPlugin* get_iplugin_info (void) 118 InputPlugin* get_iplugin_info (void)