… | |
… | |
2054 | list () |
2054 | list () |
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 | |
2059 | bool |
|
|
2060 | peaceful (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 | |
|
|
2069 | living * |
|
|
2070 | orig_stats (player *pl) |
|
|
2071 | CODE: |
|
|
2072 | RETVAL = &pl->orig_stats; |
|
|
2073 | OUTPUT: RETVAL |
|
|
2074 | |
|
|
2075 | living * |
|
|
2076 | last_stats (player *pl) |
|
|
2077 | CODE: |
|
|
2078 | RETVAL = &pl->last_stats; |
|
|
2079 | OUTPUT: RETVAL |
|
|
2080 | |
|
|
2081 | |
2059 | |
2082 | MODULE = cf PACKAGE = cf::map PREFIX = cf_map_ |
2060 | MODULE = cf PACKAGE = cf::map PREFIX = cf_map_ |
2083 | |
2061 | |
2084 | int invoke (maptile *map, int event, ...) |
2062 | int invoke (maptile *map, int event, ...) |
2085 | CODE: |
2063 | CODE: |