src/town.h
branchgamebalance
changeset 9902 ed8f92929297
parent 9901 a922f277ebfd
child 9906 6f41b8713b65
equal deleted inserted replaced
9901:a922f277ebfd 9902:ed8f92929297
   166 		if (level <  9) return 1;
   166 		if (level <  9) return 1;
   167 		if (level < 12) return 2;
   167 		if (level < 12) return 2;
   168 		if (level < 15) return 3;
   168 		if (level < 15) return 3;
   169 		return 4;
   169 		return 4;
   170 	}
   170 	}
       
   171 
       
   172 	/**
       
   173 	 * Computes the cost of a single tile should the player
       
   174 	 * want to purcase or sell it.
       
   175 	 * @param t The tile which is to be purcahsed
       
   176 	 * @return  The cost for the purcahse
       
   177 	 * @todo    Incorporate the factor of 10 in the base price
       
   178 	 */
       
   179 	static int64 GetTilePrice(TileIndex tile);
   171 
   180 
   172 	/**
   181 	/**
   173 	 * Adjusts the activity level of a town dependent
   182 	 * Adjusts the activity level of a town dependent
   174 	 * on player performance. Towns with a high share of
   183 	 * on player performance. Towns with a high share of
   175 	 * transported passengers are increasing the EAL, those
   184 	 * transported passengers are increasing the EAL, those