From: Dennis S. <sy...@yo...> - 2004-08-31 22:16:11
|
I've changed a few things: Plugin initializer: ___ static const VisActorPlugin actor[] = {{ .requisition = act_infinite_requisition, .palette = act_infinite_palette, .render = act_infinite_render, .depth = VISUAL_VIDEO_DEPTH_8BIT }}; static const VisPluginInfo info[] = {{ .struct_size = sizeof (VisPluginInfo), .api_version = VISUAL_PLUGIN_API_VERSION, .type = VISUAL_PLUGIN_TYPE_ACTOR, .plugname = "infinite", .name = "infinite plugin", .author = "Original by: Julien Carme <jul...@ac...>, Port by: Dennis Smit <ds...@ne...>", .version = "0.1", .about = "The infinite visual plugin", .help = "This is the libvisual plugin for the infinite visual", .init = act_infinite_init, .cleanup = act_infinite_cleanup, .events = act_infinite_events, .plugin = (void *) &actor[0] }}; ___ Now the plugin system can load any type of plugin (also non actor, input, morph) plugins. |