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.400 by root, Sat Apr 23 04:46:27 2011 UTC vs.
Revision 1.402 by root, Sun May 1 13:18:24 2011 UTC

2132 RETVAL = 0; 2132 RETVAL = 0;
2133} 2133}
2134 2134
2135shstr 2135shstr
2136object::kv_get (shstr key) 2136object::kv_get (shstr key)
2137 CODE:
2138 RETVAL = THIS->kv.get (key);
2139 OUTPUT:
2140 RETVAL
2137 2141
2138void 2142void
2139object::kv_del (shstr key) 2143object::kv_del (shstr key)
2144 CODE:
2145 THIS->kv.del (key);
2140 2146
2141void 2147void
2142object::kv_set (shstr key, shstr value) 2148object::kv_set (shstr key, shstr value)
2149 CODE:
2150 THIS->kv.set (key, value);
2143 2151
2144object *get_nearest_player (object *ob) 2152object *get_nearest_player (object *ob)
2145 ALIAS: nearest_player = 0 2153 ALIAS: nearest_player = 0
2146 PREINIT: 2154 PREINIT:
2147 extern object *get_nearest_player (object *); 2155 extern object *get_nearest_player (object *);
2349 for_all_players (pl) 2357 for_all_players (pl)
2350 if (pl->ob && pl->ob->map == THIS) 2358 if (pl->ob && pl->ob->map == THIS)
2351 PUSHs (sv_2mortal (to_sv (pl->ob))); 2359 PUSHs (sv_2mortal (to_sv (pl->ob)));
2352 } 2360 }
2353 2361
2362#if 0
2363
2354void 2364void
2355maptile::add_quadland (int mx, int my, int mz, SV *biome_map, SV *biome_plt) 2365maptile::add_quadland (int mx, int my, int mz, SV *biome_map, SV *biome_plt)
2356 CODE: 2366 CODE:
2357{ 2367{
2358 static frac_gen<vec2d> frac; 2368 static frac_gen<vec2d> frac;
2402#endif 2412#endif
2403 } 2413 }
2404 skip: ; 2414 skip: ;
2405 } 2415 }
2406} 2416}
2417
2418#endif
2407 2419
2408void 2420void
2409maptile::add_underlay (SV *data, int offset, int stride, SV *palette) 2421maptile::add_underlay (SV *data, int offset, int stride, SV *palette)
2410 CODE: 2422 CODE:
2411{ 2423{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines