41     case 0x41: 
return this->
t->
index;
 
   47       if (grfid == 0xFFFFFFFF) {
 
   52       std::list<PersistentStorage *>::iterator iter;
 
   53       for (iter = this->
t->psa_list.begin(); iter != this->
t->psa_list.end(); iter++) {
 
   54         if ((*iter)->grfid == grfid) 
return (*iter)->GetValue(parameter);
 
   61     case 0x80: 
return this->
t->
xy;
 
   62     case 0x81: 
return GB(this->
t->
xy, 8, 8);
 
   66     case 0x92: 
return this->
t->
flags;  
 
   78     case 0x9E: 
return this->
t->
ratings[0];
 
   79     case 0x9F: 
return GB(this->
t->
ratings[0], 8, 8);
 
   80     case 0xA0: 
return this->
t->
ratings[1];
 
   81     case 0xA1: 
return GB(this->
t->
ratings[1], 8, 8);
 
   82     case 0xA2: 
return this->
t->
ratings[2];
 
   83     case 0xA3: 
return GB(this->
t->
ratings[2], 8, 8);
 
   84     case 0xA4: 
return this->
t->
ratings[3];
 
   85     case 0xA5: 
return GB(this->
t->
ratings[3], 8, 8);
 
   86     case 0xA6: 
return this->
t->
ratings[4];
 
   87     case 0xA7: 
return GB(this->
t->
ratings[4], 8, 8);
 
   88     case 0xA8: 
return this->
t->
ratings[5];
 
   89     case 0xA9: 
return GB(this->
t->
ratings[5], 8, 8);
 
   90     case 0xAA: 
return this->
t->
ratings[6];
 
   91     case 0xAB: 
return GB(this->
t->
ratings[6], 8, 8);
 
   92     case 0xAC: 
return this->
t->
ratings[7];
 
   93     case 0xAD: 
return GB(this->
t->
ratings[7], 8, 8);
 
  114     case 0xCA: 
return this->
t->GetPercentTransported(CT_PASSENGERS);
 
  115     case 0xCB: 
return this->
t->GetPercentTransported(CT_MAIL);
 
  128   DEBUG(grf, 1, 
"Unhandled town variable 0x%X", variable);
 
  138   assert(this->
t != NULL);
 
  146   if (grfid == 0xFFFFFFFF) grfid = this->
ro.
grffile->grfid;
 
  147   if (grfid != this->
ro.
grffile->grfid) 
return;
 
  150   std::list<PersistentStorage *>::iterator iter;
 
  151   for (iter = 
t->psa_list.begin(); iter != 
t->psa_list.end(); iter++) {
 
  152     if ((*iter)->grfid == grfid) {
 
  153       (*iter)->StoreValue(pos, value);
 
  162   t->psa_list.push_back(psa);