frosch
a5bea603ea
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
2010-06-05 12:16:12 +00:00
frosch
ee53807e51
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
2010-05-31 20:22:57 +00:00
frosch
bca1abe146
(svn r19744) -Add [FS#3477]: [NewGRF] Access to random bits of houses and industries from construction callbacks 17, 28 and 2F. That is: The randombits the house/industry will start with, if construction succeeds.
2010-05-01 13:09:49 +00:00
frosch
dc1a95a9fd
(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks.
2010-05-01 13:01:21 +00:00
rubidium
cb92cdf975
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
2010-04-24 13:39:11 +00:00
frosch
ed80045221
(svn r19654) -Codechange: Use Extract<> in more places.
2010-04-17 13:31:41 +00:00
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
2010-04-12 14:12:47 +00:00
alberth
68ee4aa7d6
(svn r19482) -Doc: Doxygen additions/updates.
2010-03-20 15:23:26 +00:00
alberth
a7619c7fb3
(svn r19479) -Codechange: Test range of town size and layout instead of against the current last value.
2010-03-20 10:59:06 +00:00
alberth
b0f3fff54b
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
2010-03-20 10:55:08 +00:00
alberth
ae5b11321b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
2010-03-13 15:33:07 +00:00
yexo
23af928ce9
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
2010-02-28 20:28:08 +00:00
alberth
87c09ddcc0
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
2010-02-27 17:42:55 +00:00
alberth
01562e2dfc
(svn r19272) -Doc: successfull -> successful.
2010-02-27 12:29:44 +00:00
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
2010-02-24 14:46:15 +00:00
rubidium
f618acfb7d
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
2010-01-18 22:57:21 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
rubidium
e202a26990
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
2010-01-04 18:12:10 +00:00
rubidium
0bff19e869
(svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work
2009-12-20 14:53:32 +00:00
smatz
e0a28e8c54
(svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money
2009-12-19 21:42:19 +00:00
rubidium
d66fe90ad0
(svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements
2009-12-06 16:14:13 +00:00
smatz
73136f78b3
(svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when generating new game
2009-11-26 22:04:11 +00:00
frosch
13a72bb345
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, 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 22:15:42 +00:00
smatz
f7466979b9
(svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others)
2009-11-24 21:18:11 +00:00
smatz
2c63d0d323
(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen)
2009-11-15 21:06:13 +00:00
rubidium
b2d7edddfa
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
2009-11-09 09:59:35 +00:00
frosch
040404c5d3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
2009-11-07 22:47:54 +00:00
alberth
5a97b64d73
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
2009-10-31 19:46:51 +00:00
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
smatz
29dc97afb6
(svn r17615) -Fix (r17612): town sign could be glitchy when creating town with custom name (Terkhen)
2009-09-22 18:55:15 +00:00
smatz
e5204575bb
(svn r17614) -Fix: crash when deleting town while TownDirectory is open
2009-09-22 18:50:58 +00:00
smatz
ad2c641bca
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
2009-09-22 13:54:54 +00:00
smatz
499b6df23b
(svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives
2009-09-22 12:42:56 +00:00
smatz
a2f43040af
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
2009-09-21 20:22:56 +00:00
smatz
13437a998e
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
2009-09-21 18:16:00 +00:00
smatz
c3a80f1518
(svn r17589) -Codechange: rename town_acc to always_accepted
2009-09-20 17:44:33 +00:00
alberth
ba5e072881
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
2009-09-20 10:08:10 +00:00
rubidium
2e5596025c
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
2009-09-19 15:17:47 +00:00
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
rubidium
06e490fadc
(svn r17567) -Fix: some doxygen warnings
2009-09-18 14:23:58 +00:00
rubidium
0c2f375230
(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
2009-09-16 19:10:50 +00:00
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
rubidium
10c3af4642
(svn r17493) -Codechange: store the depot index on the map
2009-09-10 14:33:07 +00:00
rubidium
33e1a11aa9
(svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, then don't build the initial piece either
2009-09-07 08:36:52 +00:00
smatz
5d622fd840
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
2009-09-07 07:39:08 +00:00
rubidium
1cfc262fb0
(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed
2009-08-22 20:28:30 +00:00
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
smatz
0502a6df42
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when 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-08 16:42:55 +00:00
smatz
738d7fde53
(svn r17107) -Codechange: store type of subsidy source and destination in the Subsidy struct instead of determining it every time it's needed
2009-08-07 22:23:34 +00:00
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00