Difference for plugins/common/plugin_common.c from version 1.15 to 1.16


version 1.15 version 1.16
Line 41
 
Line 41
 static f_plug_api cfapiSystem_unregister_global_event = NULL;  static f_plug_api cfapiSystem_unregister_global_event = NULL;
 static f_plug_api cfapiSystem_strdup_local = NULL;  static f_plug_api cfapiSystem_strdup_local = NULL;
 static f_plug_api cfapiSystem_find_animation = NULL;  static f_plug_api cfapiSystem_find_animation = NULL;
   static f_plug_api cfapiSystem_log = NULL;
   
 static f_plug_api cfapiMap_create_path = NULL;  static f_plug_api cfapiMap_create_path = NULL;
   
Line 184
 
Line 185
     GET_HOOK( cfapiParty_get_property, "cfapi_party_get_property", z );      GET_HOOK( cfapiParty_get_property, "cfapi_party_get_property", z );
     GET_HOOK( cfapiRegion_get_property, "cfapi_region_get_property", z );      GET_HOOK( cfapiRegion_get_property, "cfapi_region_get_property", z );
     GET_HOOK( cfapiPlayer_can_pay, "cfapi_player_can_pay", z );      GET_HOOK( cfapiPlayer_can_pay, "cfapi_player_can_pay", z );
       GET_HOOK( cfapiSystem_log, "cfapi_log", z );
     return 1;      return 1;
 }  }
   
Line 734
 
Line 736
     int val;      int val;
     return *(int*)cfapiSystem_find_animation(&val, txt);      return *(int*)cfapiSystem_find_animation(&val, txt);
 }  }
   void cf_log( LogLevel logLevel, const char* format, ... )
   {
       int val;
   
       /* Copied from common/logger.c */
       char buf[20480];  /* This needs to be really really big - larger than any other buffer, since that buffer may
       need to be put in this one. */
       va_list ap;
       va_start(ap, format);
       buf[0] = '\0';
       vsprintf(buf, format, ap);
   
       cfapiSystem_log(&val, logLevel, buf);
   
       va_end(ap);
   }
 char* cf_object_get_key(object* op, char* keyname)  char* cf_object_get_key(object* op, char* keyname)
 {  {
     int val;      int val;


Legend:
line(s) removed in v.1.15 
line(s) changed
 line(s) added in v.1.16

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