--- deliantra/server/plugins/cfperl/cfperl.xs 2006/02/03 07:25:25 1.1 +++ deliantra/server/plugins/cfperl/cfperl.xs 2006/02/03 07:51:14 1.2 @@ -356,7 +356,7 @@ "-e" "BEGIN {" " cf->bootstrap;" - " unshift @INC, cf::get_maps_directory ('perl');" + " unshift @INC, cf::maps_directory ('perl');" "}" "" "use cf;" @@ -996,6 +996,7 @@ char * cf_get_maps_directory (char *path) + ALIAS: maps_directory = 0 MODULE = cf PACKAGE = cf::object PREFIX = cf_object_ @@ -1009,6 +1010,7 @@ RETVAL int cf_object_get_resistance (object *op, int rtype) + ALIAS: resistance = 0 int cf_object_get_flag (object *op, int flag) ALIAS: flag = 0 @@ -1048,8 +1050,10 @@ object *cf_object_check_for_spell (object *op, char *spellname) int cf_object_query_money (object *op) + ALIAS: money = 0 int cf_object_query_cost (object *op, object *who, int flags) + ALIAS: cost = 0 void cf_object_activate_rune (object *op , object *victim) @@ -1068,6 +1072,7 @@ object *cf_object_insert_object (object *op, object *container) const char *cf_object_get_msg (object *ob) + ALIAS: msg = 0 object *cf_object_insert_in_ob (object *ob, object *where) @@ -1078,6 +1083,7 @@ void cf_object_pickup (object *op, object *what) char *cf_object_get_key (object *op, char *keyname) + ALIAS: key = 0 void cf_object_set_key (object *op, char *keyname, char *value) @@ -1091,8 +1097,10 @@ MODULE = cf PACKAGE = cf::object PREFIX = cf_object_ object *cf_create_object () + ALIAS: new = 0 object *cf_create_object_by_name (const char *name) + ALIAS: new_from_name = 0 void cf_free_object (object *ob) @@ -1117,8 +1125,10 @@ MODULE = cf PACKAGE = cf::object::map PREFIX = cf_ mapstruct *cf_map_get_map (char *name) + ALIAS: map = 0 mapstruct *cf_map_get_first () + ALIAS: first = 0 object *cf_map_insert_object_there (mapstruct *where, object *op, object *originator, int flags) @@ -1150,14 +1160,19 @@ MODULE = cf PACKAGE = cf::arch PREFIX = cf_archetype_ archetype*cf_archetype_get_first() - -const char *cf_archetype_get_name (archetype *arch) + ALIAS: first = 0 archetype *cf_archetype_get_next (archetype *arch) + ALIAS: next = 0 + +archetype *cf_archetype_get_head (archetype *arch) + ALIAS: head = 0 archetype *cf_archetype_get_more (archetype *arch) + ALIAS: more = 0 -archetype *cf_archetype_get_head (archetype *arch) +const char *cf_archetype_get_name (archetype *arch) + ALIAS: name = 0 MODULE = cf PACKAGE = cf::party PREFIX = cf_party_