Difference for server/plugins.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_plugins_c =   * static char *rcsid_plugins_c =
  *   "$Id: plugins.c,v 1.10 2001/11/16 03:34:00 michtoen Exp $";   *   "$Id: plugins.c,v 1.11 2001/11/17 21:25:21 michtoen Exp $";
  */   */
   
 /*****************************************************************************/  /*****************************************************************************/
Line 777
 
Line 777
     static int val;      static int val;
     CFParm *CFP;      CFParm *CFP;
     CFP = (CFParm*)(malloc(sizeof(CFParm)));      CFP = (CFParm*)(malloc(sizeof(CFParm)));
 //int cast_spell(object *op, object *caster, int dir, int type, int ability,  /*int cast_spell(object *op, object *caster, int dir, int type, int ability, */
 //SpellTypeFrom item, char *stringarg);  /*SpellTypeFrom item, char *stringarg); */
     val = cast_spell((object *)(PParm->Value[0]),(object *)(PParm->Value[1]),      val = cast_spell((object *)(PParm->Value[0]),(object *)(PParm->Value[1]),
         *(int *)(PParm->Value[2]),*(int *)(PParm->Value[3]),          *(int *)(PParm->Value[2]),*(int *)(PParm->Value[3]),
         *(int *)(PParm->Value[4]),*(SpellTypeFrom *)(PParm->Value[5]),          *(int *)(PParm->Value[4]),*(SpellTypeFrom *)(PParm->Value[5]),
Line 1084
 
Line 1084
 /*****************************************************************************/  /*****************************************************************************/
 CFParm* CFWGetArchetype(CFParm* PParm)  CFParm* CFWGetArchetype(CFParm* PParm)
 {  {
     //object* get_archetype(char* name);      /*object* get_archetype(char* name); */
     CFParm *CFP;      CFParm *CFP;
     object* val;      object* val;
     CFP = (CFParm*)(malloc(sizeof(CFParm)));      CFP = (CFParm*)(malloc(sizeof(CFParm)));
Line 1422
 
Line 1422
     return CFP;      return CFP;
 };  };
   
 //new_draw_info(int flags, int pri, object *pl, const char *buf);  /*new_draw_info(int flags, int pri, object *pl, const char *buf); */
 CFParm* CFWNewDrawInfo(CFParm* PParm)  CFParm* CFWNewDrawInfo(CFParm* PParm)
 {  {
     new_draw_info(*(int *)(PParm->Value[0]),      new_draw_info(*(int *)(PParm->Value[0]),
Line 1475
 
Line 1475
   
 CFParm* CFWCFTimerCreate(CFParm* PParm)  CFParm* CFWCFTimerCreate(CFParm* PParm)
 {  {
 //int cftimer_create(int id, long delay, object* ob, int mode)  /*int cftimer_create(int id, long delay, object* ob, int mode) */
     CFParm* CFP;      CFParm* CFP;
     static int val;      static int val;
     CFP = (CFParm*)(malloc(sizeof(CFParm)));      CFP = (CFParm*)(malloc(sizeof(CFParm)));
Line 1489
 
Line 1489
   
 CFParm* CFWCFTimerDestroy(CFParm* PParm)  CFParm* CFWCFTimerDestroy(CFParm* PParm)
 {  {
 //int cftimer_destroy(int id)  /*int cftimer_destroy(int id) */
     CFParm* CFP;      CFParm* CFP;
     static int val;      static int val;
     CFP = (CFParm*)(malloc(sizeof(CFParm)));      CFP = (CFParm*)(malloc(sizeof(CFParm)));


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:43