Difference for plugins/common/plugin_common.c from version 1.10 to 1.11


version 1.10 version 1.11
Line 101
 
Line 101
 static f_plug_api cfapiArchetype_get_first = NULL;  static f_plug_api cfapiArchetype_get_first = NULL;
 static f_plug_api cfapiArchetype_get_property = NULL;  static f_plug_api cfapiArchetype_get_property = NULL;
 static f_plug_api cfapiParty_get_property = NULL;  static f_plug_api cfapiParty_get_property = NULL;
   static f_plug_api cfapiRegion_get_property = NULL;
   
 #define GET_HOOK( x, y, z ) \  #define GET_HOOK( x, y, z ) \
     { \      { \
Line 179
 
Line 180
     GET_HOOK( cfapiArchetype_get_first, "cfapi_archetype_get_first", z );      GET_HOOK( cfapiArchetype_get_first, "cfapi_archetype_get_first", z );
     GET_HOOK( cfapiArchetype_get_property, "cfapi_archetype_get_property", z );      GET_HOOK( cfapiArchetype_get_property, "cfapi_archetype_get_property", z );
     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 );
     return 1;      return 1;
 }  }
   
Line 809
 
Line 811
  return cfapiParty_get_property(&val, party, CFAPI_PARTY_PROP_PLAYER, op);   return cfapiParty_get_property(&val, party, CFAPI_PARTY_PROP_PLAYER, op);
 }  }
   
   region* cf_region_get_first(void)
   {
    int val;
    return cfapiRegion_get_property(&val, NULL, CFAPI_REGION_PROP_NEXT);
   }
   
   const char* cf_region_get_name(region* reg)
   {
    int val;
    return cfapiRegion_get_property(&val, reg, CFAPI_REGION_PROP_NAME);
   }
   
   region* cf_region_get_next(region* reg)
   {
    int val;
    return cfapiRegion_get_property(&val, reg, CFAPI_REGION_PROP_NEXT);
   }
   
   region* cf_region_get_parent(region* reg)
   {
    int val;
    return cfapiRegion_get_property(&val, reg, CFAPI_REGION_PROP_PARENT);
   }
   
   const char* cf_region_get_longname(region* reg)
   {
    int val;
    return cfapiRegion_get_property(&val, reg, CFAPI_REGION_PROP_LONGNAME);
   }
   
   const char* cf_region_get_message(region* reg)
   {
    int val;
    return cfapiRegion_get_property(&val, reg, CFAPI_REGION_PROP_MESSAGE);
   }
   
 #ifdef WIN32  #ifdef WIN32
 int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info)  int gettimeofday(struct timeval *time_Info, struct timezone *timezone_Info)
 {  {


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 16:57