version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_c_wiz_c = | | * static char *rcsid_c_wiz_c = |
* "$Id: c_wiz.c,v 1.13 2001/10/14 07:57:14 gros Exp $"; | | * "$Id: c_wiz.c,v 1.14 2001/12/16 03:31:03 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
{ | | { |
displayPluginsList(op); | | displayPluginsList(op); |
return 1; | | return 1; |
}; | | } |
/* GROS */ | | /* GROS */ |
/* Loads the given plugin. The DM specifies the name of the library to load */ | | /* Loads the given plugin. The DM specifies the name of the library to load */ |
/* (no pathname is needed). Do not ever attempt to load the same plugin more */ | | /* (no pathname is needed). Do not ever attempt to load the same plugin more */ |
| | |
printf("Requested plugin file is %s\n", buf); | | printf("Requested plugin file is %s\n", buf); |
initOnePlugin(buf); | | initOnePlugin(buf); |
return 1; | | return 1; |
}; | | } |
/* GROS */ | | /* GROS */ |
/* Unloads the given plugin. The DM specified the ID of the library to */ | | /* Unloads the given plugin. The DM specified the ID of the library to */ |
/* unload. Note that some things may behave strangely if the correct plugins */ | | /* unload. Note that some things may behave strangely if the correct plugins */ |
| | |
{ | | { |
removeOnePlugin(params); | | removeOnePlugin(params); |
return 1; | | return 1; |
}; | | } |