Difference for server/apply.c from version 1.174 to 1.175


version 1.174 version 1.175
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_apply_c =   * static char *rcsid_apply_c =
  *   "$Id: apply.c,v 1.174 2006/08/12 13:00:34 gros Exp $";   *   "$Id: apply.c,v 1.175 2006/08/26 17:56:19 ryo_saeba Exp $";
  */   */
 /*  /*
     CrossFire, A Multiplayer game for X-windows      CrossFire, A Multiplayer game for X-windows
Line 1801
 
Line 1801
     /*printf("Book apply: %s\n", tmp->name);      /*printf("Book apply: %s\n", tmp->name);
     execute_event(tmp, EVENT_APPLY,op,NULL,SCRIPT_FIX_ALL);      execute_event(tmp, EVENT_APPLY,op,NULL,SCRIPT_FIX_ALL);
     printf("Book applied: %s\n", tmp->name);*/      printf("Book applied: %s\n", tmp->name);*/
     /*if ((evt = find_event(tmp, EVENT_APPLY)) != NULL)  
     {      {
         CFParm CFP;  
         int k, l, m;  
         uint32 n;  
         new_draw_info_format (NDI_UNIQUE, 0, op,  
                       "You open the %s and start reading.", tmp->name);  
         k = EVENT_APPLY;  
         l = SCRIPT_FIX_ALL;  
         m = 0;  
         n = 0;  
         CFP.Value[0] = &k;  
         CFP.Value[1] = op;  
         CFP.Value[2] = tmp;  
         CFP.Value[3] = NULL;  
         CFP.Value[4] = NULL;  
         CFP.Value[5] = &n;  
         CFP.Value[6] = &m;  
         CFP.Value[7] = &m;  
         CFP.Value[8] = &l;  
         CFP.Value[9] = (void*)evt->hook;  
         CFP.Value[10]= (void*)evt->options;  
         if (findPlugin(evt->plugin)>=0)  
             ((PlugList[findPlugin(evt->plugin)].eventfunc) (&CFP));  
     }  
     else*/{  
     readable_message_type* msgType = get_readable_message_type(tmp);      readable_message_type* msgType = get_readable_message_type(tmp);
     draw_ext_info_format(NDI_UNIQUE | NDI_NAVY, 0, op,      draw_ext_info_format(NDI_UNIQUE | NDI_NAVY, 0, op,
                 msgType->message_type, msgType->message_subtype,                  msgType->message_type, msgType->message_subtype,


Legend:
line(s) removed in v.1.174 
line(s) changed
 line(s) added in v.1.175

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