#define Export __declspec( dllexport )
Export int NumAddons()
{
return 1;
}
PModifier Create(PGrid Grid,int Size);
int Destroy(PModifier mod);
int Modify(PGrid Grid,PModifier mod);
TAddon mir={"Mirror",0x0ffffff0,ATModifier,0,0,Create,Destroy,Modify,NULL,NULL,NULL};
//PanelInfo and ControlInfo arnt used if num panels =0
// PMouseFuncs Mouse;
Export PAddon(int n)
{
return &mir;
}
NumAddons function works ok
GetAddonInfo function leaves the param passed to it on the stack,
How do i get it to remove its trash off the stack


Sign In
Create Account


Back to top









