… | |
… | |
2162 | PUTBACK; |
2162 | PUTBACK; |
2163 | get_rangevector (ob, other, &rv, flags); |
2163 | get_rangevector (ob, other, &rv, flags); |
2164 | SPAGAIN; |
2164 | SPAGAIN; |
2165 | |
2165 | |
2166 | EXTEND (SP, 5); |
2166 | EXTEND (SP, 5); |
2167 | PUSHs (newSVuv (rv.distance)); |
2167 | PUSHs (sv_2mortal (newSVuv (rv.distance))); |
2168 | PUSHs (newSViv (rv.distance_x)); |
2168 | PUSHs (sv_2mortal (newSViv (rv.distance_x))); |
2169 | PUSHs (newSViv (rv.distance_y)); |
2169 | PUSHs (sv_2mortal (newSViv (rv.distance_y))); |
2170 | PUSHs (newSViv (rv.direction)); |
2170 | PUSHs (sv_2mortal (newSViv (rv.direction))); |
2171 | PUSHs (to_sv (rv.part)); |
2171 | PUSHs (sv_2mortal (to_sv (rv.part))); |
2172 | } |
2172 | } |
2173 | |
2173 | |
2174 | bool on_same_map_as (object *ob, object *other) |
2174 | bool on_same_map_as (object *ob, object *other) |
2175 | CODE: |
2175 | CODE: |
2176 | RETVAL = on_same_map (ob, other); |
2176 | RETVAL = on_same_map (ob, other); |