version 1.2 | | version 1.3 |
---|
| | |
/* | | /* |
* static char *rcsid_plugins_c = | | * static char *rcsid_plugins_c = |
* "$Id: plugins.c,v 1.2 2001/10/21 09:07:12 gros Exp $"; | | * "$Id: plugins.c,v 1.3 2001/10/29 23:24:13 michtoen Exp $"; |
*/ | | */ |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
HookParm->Value[1] = &CFWNewDrawInfo; | | HookParm->Value[1] = &CFWNewDrawInfo; |
break; | | break; |
}; | | }; |
HookParm->dparm = 2044; | | /* Gros: this must be a linux special, or? ;-) */ |
| | /* HookParm->dparm = 2044; */ |
PlugList[PlugNR].hookfunc(HookParm); | | PlugList[PlugNR].hookfunc(HookParm); |
}; | | }; |
free(HookParm->Value[0]); | | free(HookParm->Value[0]); |
| | |
(object *)(PParm->Value[0]), | | (object *)(PParm->Value[0]), |
(object *)(PParm->Value[1]) | | (object *)(PParm->Value[1]) |
); | | ); |
| | return PParm; |
}; | | }; |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
update_ob_speed( | | update_ob_speed( |
(object *)(PParm->Value[0]) | | (object *)(PParm->Value[0]) |
); | | ); |
| | |
| | return PParm; |
}; | | }; |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
(object *)(PParm->Value[0]), | | (object *)(PParm->Value[0]), |
*(int *)(PParm->Value[1]) | | *(int *)(PParm->Value[1]) |
); | | ); |
| | |
| | return PParm; |
}; | | }; |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
(object *)(PParm->Value[0]), | | (object *)(PParm->Value[0]), |
*(int *)(PParm->Value[1]) | | *(int *)(PParm->Value[1]) |
); | | ); |
| | return PParm; |
}; | | }; |
| | |
/*****************************************************************************/ | | /*****************************************************************************/ |
| | |
{ | | { |
CFParm* CFP; | | CFParm* CFP; |
char* val; | | char* val; |
object* ob; | | /* object* ob; not used yet */ |
val = (char *)(malloc(sizeof(char)*10240)); | | val = (char *)(malloc(sizeof(char)*10240)); |
CFP = (CFParm*)(malloc(sizeof(CFParm))); | | CFP = (CFParm*)(malloc(sizeof(CFParm))); |
dump_me((object *)(PParm->Value[0]),val); | | dump_me((object *)(PParm->Value[0]),val); |
| | |
}; | | }; |
CFParm* CFWFreeString(CFParm* PParm) | | CFParm* CFWFreeString(CFParm* PParm) |
{ | | { |
CFParm* CFP; | | /* CFParm* CFP; not used yet */ |
char* val; | | char* val; |
val = (char *)(PParm->Value[0]); | | val = (char *)(PParm->Value[0]); |
free_string (val); | | free_string (val); |