summaryrefslogtreecommitdiff
path: root/src/town.h
AgeCommit message (Collapse)Author
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-01-03(svn r23735) -Codechange: remove ~50 includes from headers that weren't neededrubidium
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-19(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUItruebrain
2011-12-19(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate ↵truebrain
(GameScript only)
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-03(svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns.terkhen
2011-12-03(svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for ↵terkhen
each town (michi_cc).
2011-11-23(svn r23300) -Add: show on the GUI when a town grows and make a general ↵truebrain
framework to store goals of a town
2011-11-23(svn r23298) -Add: track statistics of all incoming and outgoing goods. ↵truebrain
Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen)
2011-11-23(svn r23296) -Codechange: I found a fund building, but do I fund found ↵truebrain
buildings?
2011-11-15(svn r23233) -Codechange: Refactor maximum and actually transported cargo ↵michi_cc
amount of towns into a reusable struct.
2011-09-11(svn r22920) -Cleanup: replace two very old town variables taht were rarely ↵yexo
used by small functions that compute there value on-the-fly when necessary
2011-09-04(svn r22888) -Doc: Doxygenize Town struct. (adf88)frosch
2011-06-12(svn r22568) -Change: Add a list of persistent storages to the Town class.terkhen
2011-05-21(svn r22482) -Codechange: Add some contants for the number of ticks between ↵frosch
certain cyclical tasks.
2010-09-16(svn r20816) -Codechange [FS#3835]: make waypoint default names work like ↵rubidium
depots, stations and vehicles (Krille)
2010-08-10(svn r20443) -Codechange: more TileHash to a more generic locationrubidium
2010-08-02(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed ↵alberth
addition.
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20279) -Doc: Doxygen additions/improvements.alberth
2010-07-14(svn r20150) -Cleanup: Remove an unused function header.terkhen
2010-05-13(svn r19812) -Codechange: give some unnamed enums a name or, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-12(svn r19798) -Codechange: generalise the waypoint naming methodrubidium
2010-03-23(svn r19507) -Codechange: remove semicolon after DECLARE_POSTFIX_INCREMENT ↵smatz
and DECLARE_ENUM_AS_BIT_SET
2010-03-13(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.alberth
2010-03-13(svn r19399) -Doc: Doxyment enum TownRatingCheckType.alberth
2010-02-27(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns ↵alberth
CommandCost.
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-09-22(svn r17612) -Feature: possibility to choose (randomise or enter custom) ↵smatz
town name before its creation (original patch by Terkhen)
2009-09-21(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' toosmatz
2009-09-20(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a ↵alberth
header file to allow sharing.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-08(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when ↵smatz
subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source -Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost -Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-05(svn r16746) -Codechange: use Town::PostDestructor() instead of not very ↵smatz
clean construct for invalidating nearest town for road tiles
2009-06-26(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by ↵smatz
Town::GetRandom() and Industry::GetRandom()
2009-06-26(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()smatz
2009-06-26(svn r16664) -Codechange: move house-related stuff from town.h and ↵smatz
town_type.h to separate files
2009-06-23(svn r16632) -Codechange: rename Town::flags12 to Town::flagssmatz
2009-05-22(svn r16380) -Codechange: rename pool.hpp to pool_type.hppsmatz
2009-05-22(svn r16379) -Codechange: remove GetNumTowns(), GetNumIndustries() and ↵smatz
GetActiveCompanyCount(), use PoolItem::GetNumItems() instead
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-22(svn r16377) -Codechange: unify FOR_ALL_* macros, use separate index ↵smatz
variable instead of var->index
2009-05-17(svn r16333) -Cleanup: remove a bunch of unused wrapper functions.rubidium
2009-05-17(svn r16332) -Codechange: replace some -1 + 1 with 'nothing' or <= .. - 1 ↵rubidium
with < .. - 1 (both caused due to wrapper functions)