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.320 by root, Thu Jul 16 21:42:56 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines