1
Programming using the Ultra Hal Brain Editor / How do the new "plugin.exe" routines work?
« on: February 25, 2006, 03:36:44 pm »
I think the trial and error method is still in effect for placement within the script. It's just that with the new plug in system you now control the placement by choosing which plug-in area to use with the Rem PLUGIN: PLUGINAREA#. The plugin will insert its code into whichever area you name. If you look in the script, you can see the "REM PLUGIN" placeholders scattered around.
I was surprised at how much code it takes to put adjustable levels in the options panel! In addition to what OTC said, you have to create tables to store the settings in, and read from those tables on startup to restore the settings. I studied the plugins Vrossi made, as well as the default plugins, to "learn" (ie cut & paste!) how to do it[
]
I was surprised at how much code it takes to put adjustable levels in the options panel! In addition to what OTC said, you have to create tables to store the settings in, and read from those tables on startup to restore the settings. I studied the plugins Vrossi made, as well as the default plugins, to "learn" (ie cut & paste!) how to do it[
