31 if (
HasBit(this->status, RSSFB_BASE_ENTRY)) {
36 if (CleaningPool())
return;
66 assert(this->
east == NULL && this->
west == NULL);
85 if (north && rs_north->
east != NULL) {
90 if (south && rs_south->
east != NULL) {
97 delete rs_south->
east;
98 delete rs_south->
west;
103 if (rs_south->
east == NULL)
break;
109 }
else if (south && rs_south->
east != NULL) {
134 assert(this->
east != NULL && this->
west != NULL);
153 DoClearSquare(this->
xy);
171 rs_south->
east = rs_south_base->
east;
172 rs_south->
west = rs_south_base->
west;
272 for (
RoadStop *rs = st->GetPrimaryRoadStop(type);; rs = rs->
next) {
273 if (rs->xy == tile)
return rs;
274 assert(rs->next != NULL);
316 typedef std::list<const RoadVehicle *>
RVList;
341 for (RVList::iterator it = rserh->
vehicles.begin(); it != rserh->
vehicles.end(); it++) {
342 if (rv == *it)
return NULL;
359 if (side == -1) side = (rs->
east ==
this);
372 for (RVList::iterator it = rserh.
vehicles.begin(); it != rserh.
vehicles.end(); it++) {
373 this->occupied += (*it)->gcache.cached_total_length;
391 if (temp.
length != this->length || temp.
occupied != this->occupied) NOT_REACHED();