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);
96 assert(rtsg < RTSG_END);
98 if (rti->
group[rtsg] == NULL)
return 0;
102 if (group == NULL || group->GetNumResults() == 0)
return 0;
104 if (num_results) *num_results = group->GetNumResults();
106 return group->GetResult();
123 uint32 param1 = gui ? 0x10 : 0x00;
124 uint32 param2 = (type << 16) | (var << 8) | state;
128 if (group == NULL || group->GetNumResults() == 0)
return 0;
130 return group->GetResult();
147 if (index >= 0)
return index;