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


version 1.14 version 1.15
Line 103
 
Line 103
 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;  static f_plug_api cfapiRegion_get_property = NULL;
   static f_plug_api cfapiPlayer_can_pay = NULL;
   
 #define GET_HOOK( x, y, z ) \  #define GET_HOOK( x, y, z ) \
     { \      { \
Line 182
 
Line 183
     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 );      GET_HOOK( cfapiRegion_get_property, "cfapi_region_get_property", z );
       GET_HOOK( cfapiPlayer_can_pay, "cfapi_player_can_pay", z );
     return 1;      return 1;
 }  }
   
Line 366
 
Line 368
  int val;   int val;
  cfapiObject_set_property(&val, op, CFAPI_PLAYER_PROP_PARTY, party);   cfapiObject_set_property(&val, op, CFAPI_PLAYER_PROP_PARTY, party);
 }  }
   int cf_player_can_pay(object* pl)
   {
       int val;
       return *(int*)cfapiPlayer_can_pay(&val, pl);
   }
   
 mapstruct* cf_map_get_map( char* name )  mapstruct* cf_map_get_map( char* name )
 {  {


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

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