summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2010-06-05(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into ↵frosch
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-05-31(svn r19914) -Codechange: Wrap a helper class around temporary assignments ↵frosch
of _current_company to ensure proper restoration.
2010-05-01(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and ↵frosch
industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
2010-05-01(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed ↵frosch
industries and houses during construction callbacks.
2010-04-24(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled ↵rubidium
callbacks and values of variables
2010-04-17(svn r19654) -Codechange: Use Extract<> in more places.frosch
2010-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-20(svn r19482) -Doc: Doxygen additions/updates.alberth
2010-03-20(svn r19479) -Codechange: Test range of town size and layout instead of ↵alberth
against the current last value.
2010-03-20(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and ↵alberth
TownSize enums.
2010-03-13(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.alberth
2010-02-28(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/infoyexo
2010-02-27(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns ↵alberth
CommandCost.
2010-02-27(svn r19272) -Doc: successfull -> successful.alberth
2010-02-24(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bitsmatz
2010-01-18(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) ↵rubidium
wrapper functions
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
2010-01-04(svn r18715) -Codechange: make StationFinder a subclass of TileArearubidium
2009-12-20(svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not workrubidium
2009-12-19(svn r18550) -Fix (r18281): show expected price of town construction even ↵smatz
when the company doesn't have enough money
2009-12-06(svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts ↵rubidium
did not check their minimum distance requirements
2009-11-26(svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when ↵smatz
generating new game
2009-11-24(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, ↵frosch
building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns. If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24(svn r18281) -Feature: founding towns in-game (based on work by Belugas, ↵smatz
TheJosh, GeekToo, Terkhen and others)
2009-11-15(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per ↵smatz
producer (instead of once pre produced cargo type) (fonsinchen)
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-31(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string ↵alberth
before the details string. Gentlemen, swap your string parameters.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-22(svn r17615) -Fix (r17612): town sign could be glitchy when creating town ↵smatz
with custom name (Terkhen)
2009-09-22(svn r17614) -Fix: crash when deleting town while TownDirectory is opensmatz
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-22(svn r17611) -Fix: buffers used for verifying company and president name ↵smatz
length were too short, possibly causing false positives
2009-09-21(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' toosmatz
2009-09-21(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'smatz
2009-09-20(svn r17589) -Codechange: rename town_acc to always_acceptedsmatz
2009-09-20(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a ↵alberth
header file to allow sharing.
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-16(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing ↵rubidium
foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-10(svn r17493) -Codechange: store the depot index on the maprubidium
2009-09-07(svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, ↵rubidium
then don't build the initial piece either
2009-09-07(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses ↵smatz
and headquarters anymore
2009-08-22(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when ↵rubidium
they got renamed
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-08-07(svn r17107) -Codechange: store type of subsidy source and destination in ↵smatz
the Subsidy struct instead of determining it every time it's needed
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives