34 case 0x43:
return _date;
35 case 0x44:
return HZB_TOWN_EDGE;
49 t = Depot::GetByTile(this->
tile)->town;
57 DEBUG(grf, 1,
"Unhandled rail type tile variable 0x%X", variable);
108 assert(rtsg < RTSG_END);
110 if (rti->
group[rtsg] == NULL)
return 0;
114 if (group == NULL || group->GetNumResults() == 0)
return 0;
116 if (num_results) *num_results = group->GetNumResults();
118 return group->GetResult();
135 uint32 param1 = gui ? 0x10 : 0x00;
136 uint32 param2 = (type << 16) | (var << 8) | state;
140 if (group == NULL || group->GetNumResults() == 0)
return 0;
142 return group->GetResult();
159 if (index >= 0)
return index;