ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.315 by root, Thu Jan 8 03:03:24 2009 UTC vs.
Revision 1.319 by elmex, Thu Jun 25 12:44:28 2009 UTC

1030 1030
1031 return can; 1031 return can;
1032} 1032}
1033 1033
1034void 1034void
1035cfperl_mapscript_activate (object *ob, object *activator, int state) 1035cfperl_mapscript_activate (object *ob, int state, object *activator, object *originator)
1036{ 1036{
1037 CALL_BEGIN (3); 1037 CALL_BEGIN (4);
1038 CALL_ARG (ob); 1038 CALL_ARG (ob);
1039 CALL_ARG (state);
1039 CALL_ARG (activator); 1040 CALL_ARG (activator);
1040 CALL_ARG (state); 1041 CALL_ARG (originator);
1041 CALL_CALL ("cf::mapscript::activate", G_VOID); 1042 CALL_CALL ("cf::mapscript::activate", G_VOID);
1042 CALL_END; 1043 CALL_END;
1043} 1044}
1044 1045
1045player * 1046player *
2143 2144
2144int kill_object (object *op, int dam = 0, object *hitter = 0, int type = AT_PHYSICAL) 2145int kill_object (object *op, int dam = 0, object *hitter = 0, int type = AT_PHYSICAL)
2145 2146
2146int calc_skill_exp (object *who, object *op, object *skill); 2147int calc_skill_exp (object *who, object *op, object *skill);
2147 2148
2148void push_button (object *op); 2149void push_button (object *op, object *originator);
2149 2150
2150void use_trigger (object *op); 2151void use_trigger (object *op, object *originator);
2151 2152
2152void handle_apply_yield (object *op); 2153void handle_apply_yield (object *op);
2154
2155int convert_item (object *item, object *converter);
2153 2156
2154 2157
2155MODULE = cf PACKAGE = cf::object PREFIX = cf_ 2158MODULE = cf PACKAGE = cf::object PREFIX = cf_
2156 2159
2157# no clean way to get an object from an archetype - stupid idiotic 2160# no clean way to get an object from an archetype - stupid idiotic
2362 2365
2363void 2366void
2364adjust_daylight () 2367adjust_daylight ()
2365 CODE: 2368 CODE:
2366 maptile::adjust_daylight (); 2369 maptile::adjust_daylight ();
2370
2371int
2372outdoor_darkness (int darkness = 0)
2373 CODE:
2374 RETVAL = maptile::outdoor_darkness;
2375 if (items)
2376 maptile::outdoor_darkness = darkness;
2377 OUTPUT:
2378 RETVAL
2367 2379
2368void 2380void
2369maptile::instantiate () 2381maptile::instantiate ()
2370 2382
2371maptile *new () 2383maptile *new ()

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines