summaryrefslogtreecommitdiff
path: root/src/town.h
AgeCommit message (Collapse)Author
2019-12-01Fix #7847: Use ViewportSign coordinates for sign Kdtree coordinates (#7849)Niels Martin Hansen
Ensure the same coordinates are used for station/town/player signs regardless of how the landscape changes below it after the coordinates were first determined. By keeping track of whether each ViewportSign is valid for Kdtree use (and only ever registering the viewport sign when the object is valid) a lot of code can be simplified and become more robust at the same time.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-08-17Add #6887: Option to show zone inside local authority boundary of townsGabda
Can be found at town information > local authority window Layout for button is same as Graph Keys Turn on/off for every town individually
2019-07-22Feature: Town name filtering (#7621)TELK
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Remove PartOfSubsidyByteCharles Pigott
2019-04-29Codechange: Remove Company/OwnerByte typesCharles Pigott
2019-04-29Codechange: Remove TownLayoutByte typeCharles Pigott
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-09Codechange: Make a k-d tree index of townsNiels Martin Hansen
2019-03-09Feature: Non-rectangular sparse station catchment area.Peter Nelson
2019-01-12Codechange: Define INVALID_TOWN as a TownID (#7044)Joan Josep
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-05-02Change: Switch town growth rate and counter to actual game ticks (#6763)Pavel Stupnikov
2015-01-01(svn r27105) -Fix [FS#6195]: grow_counter was not properly bounded by ↵rubidium
growth_rate, but by some other value used to calculate growth_rate.
2013-11-12(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town ↵frosch
growth via ScriptTown::SetGrowthRate and GetGrowthRate.
2013-10-28(svn r25922) -Codechange: Rename TOWN_IS_FUNDED to TOWN_IS_GROWING. It is ↵frosch
not tied to funding a town.
2013-10-12(svn r25838) -Codechange: Rename HOUSE_MAX to NUM_HOUSES.frosch
2013-10-06(svn r25814) -Doc: Some Town members.frosch
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