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.130 by root, Mon Jan 8 01:19:03 2007 UTC vs.
Revision 1.131 by root, Mon Jan 8 18:18:35 2007 UTC

2054list () 2054list ()
2055 PPCODE: 2055 PPCODE:
2056 for_all_players (pl) 2056 for_all_players (pl)
2057 XPUSHs (sv_2mortal (to_sv (pl))); 2057 XPUSHs (sv_2mortal (to_sv (pl)));
2058 2058
2059bool
2060peaceful (player *pl, bool new_setting = 0)
2061 PROTOTYPE: $;$
2062 CODE:
2063 RETVAL = pl->peaceful;
2064 if (items > 1)
2065 pl->peaceful = new_setting;
2066 OUTPUT:
2067 RETVAL
2068
2069living *
2070orig_stats (player *pl)
2071 CODE:
2072 RETVAL = &pl->orig_stats;
2073 OUTPUT: RETVAL
2074
2075living *
2076last_stats (player *pl)
2077 CODE:
2078 RETVAL = &pl->last_stats;
2079 OUTPUT: RETVAL
2080
2081 2059
2082MODULE = cf PACKAGE = cf::map PREFIX = cf_map_ 2060MODULE = cf PACKAGE = cf::map PREFIX = cf_map_
2083 2061
2084int invoke (maptile *map, int event, ...) 2062int invoke (maptile *map, int event, ...)
2085 CODE: 2063 CODE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines