terkhen
3b4976dbb2
(svn r22899) -Add: Allow towns to build bridges over canals and rivers.
13 years ago
michi_cc
6ea9fc644c
(svn r22810) -Fix: Growth a town on both ends of a tunnel/bridge if the town centre tile is a bridge ramp/tunnel portal.
13 years ago
rubidium
440b6221d1
(svn r22809) -Fix [FS#4731]: towns expanding from the "wrong" side of a tunnel or bridge
13 years ago
frosch
5fbd3eba42
(svn r22706) -Cleanup: A loop is no loop, if it never iterates.
13 years ago
rubidium
47836bb412
(svn r22697) -Fix [FS#4694-ish]: when building a house it could be built at the wrong place if multitile houses failed some tests
13 years ago
terkhen
e8a8b6dae5
(svn r22569) -Feature: [NewGRF] Persistent storage for towns.
13 years ago
frosch
62b6d0eb0e
(svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks.
14 years ago
alberth
a70556dac2
(svn r22459) -Doc: Typo fixes and doxygen markup improvements.
14 years ago
smatz
c85e1c3089
(svn r22116) -Codechange: use PoolBase::Clean() at more places
14 years ago
terkhen
98a9c1f91c
(svn r22087) -Fix: When deleting towns, only relocate objects during DC_EXEC.
14 years ago
rubidium
aa333aeff2
(svn r22066) -Fix [FS#4502]: building a statue did not check whether the object pool is full
14 years ago
rubidium
b778cc61d1
(svn r22065) -Fix [FS#4500]: pool allocation checks triggered when towns could not be built
14 years ago
rubidium
cb2c7f871f
(svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h
14 years ago
terkhen
67ce7c5c41
(svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction.
14 years ago
rubidium
ec4f688ca0
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
yexo
c5597c44c4
(svn r21664) -Add: [NoAI] AIEventTownFounded
14 years ago
rubidium
eafc316342
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
14 years ago
rubidium
dd618051a7
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
14 years ago
frosch
0ebd5af86f
(svn r21291) -Fix: Treat objects on water like water in more cases.
14 years ago
terkhen
ef588232c9
(svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown.
14 years ago
alberth
b698045b82
(svn r21156) -Codechange: Introduce EconomyIsInRecession().
14 years ago
yexo
30b29ae060
(svn r21052) -Fix (r20435): house/airporttile/industrytile newgrfs that defined tiles that relied on the substitute being drawn were broken
14 years ago
smatz
548a3747e9
(svn r20860) -Cleanup: remove some unused functions and variables
14 years ago
frosch
98cd443735
(svn r20802) -Fix: Building bridges on water/watery objects behaved inconsistently for towns and the bridge selection GUI.
14 years ago
frosch
f3015ee820
(svn r20791) -Fix (r12161): Building 2x2 houses did not work for 2x2 road layouts on all map sizes.
14 years ago
frosch
f768485e1d
(svn r20790) -Fix (r0)[FS#4118]: Remove a check which is wrong for NewGrf houses and serves no use for original houses.
14 years ago
terkhen
e55b006a86
(svn r20711) -Fix [FS#4094]: Do not use new game settings when creating many random towns at the scenario editor.
14 years ago
terkhen
fa47477d0d
(svn r20710) -Codechange: Clarify the name of some town generation variables.
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
7107eef4de
(svn r20627) -Codechange: unify the animation code of station, airport, house and industry tiles
14 years ago
smatz
ca2d4c5d6e
(svn r20540) -Fix [FS#4049](r20480): use CmdDeleteTown instead of direct use of operator delete
14 years ago
rubidium
f336f61104
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
14 years ago
rubidium
0fd9d4ba1d
(svn r20481) -Fix: statues were not removed when towns would be removed
14 years ago
rubidium
cf8062c3bd
(svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though.
14 years ago
rubidium
662900c113
(svn r20473) -Codechange: pass Town instead of TownID to BuildObject
14 years ago
frosch
399818e96f
(svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC.
14 years ago
rubidium
1f2276b785
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
14 years ago
rubidium
92767f454e
(svn r20409) -Codechange: reduce the number of includes needed by newgrf.h
14 years ago
rubidium
da8c058b89
(svn r20401) -Codechange: let HouseSpec use GRFFileProps
14 years ago
rubidium
d7921b24e6
(svn r20337) -Codechange: unify the construction of objects on the map
14 years ago
terkhen
ec6cba6b92
(svn r20323) -Codechange: Move Delete town code to a command.
14 years ago
terkhen
014771848d
(svn r20322) -Codechange: Move Expand town code to a command.
14 years ago
alberth
91eba89331
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
alberth
e5b703ddf9
(svn r20279) -Doc: Doxygen additions/improvements.
14 years ago
alberth
1743c86610
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
14 years ago
terkhen
a6c7630e82
(svn r20227) -Fix [FS#3985]: Don't spend cash when building a statue fails.
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
michi_cc
a8c6eaeb4a
(svn r20048) -Feature: Add a setting to forbid towns building level crossings.
14 years ago
michi_cc
9745b96dcf
(svn r20047) -Fix (rUnknown): Towns were not able to build level crossings when using original or better town layout.
14 years ago
frosch
a5bea603ea
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
15 years ago
frosch
ee53807e51
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
15 years ago
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.
15 years ago
frosch
dc1a95a9fd
(svn r19743) -Fix: NewGrfs could access map bits of not yet constructed industries and houses during construction callbacks.
15 years ago
rubidium
cb92cdf975
(svn r19709) -Feature: NewGRF debugging/inspecting of (primarily) enabled callbacks and values of variables
15 years ago
frosch
ed80045221
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
alberth
68ee4aa7d6
(svn r19482) -Doc: Doxygen additions/updates.
15 years ago
alberth
a7619c7fb3
(svn r19479) -Codechange: Test range of town size and layout instead of against the current last value.
15 years ago
alberth
b0f3fff54b
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
15 years ago
alberth
ae5b11321b
(svn r19400) -Codechange: CheckforTownRating returns a CommandCost.
15 years ago
yexo
23af928ce9
(svn r19295) -Codechange: introduce wrapper functions for GRFConfig::name/info
15 years ago
alberth
87c09ddcc0
(svn r19279) -Codechange: CheckIfAuthorityAllowsNewStation() returns CommandCost.
15 years ago
alberth
01562e2dfc
(svn r19272) -Doc: successfull -> successful.
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
rubidium
f618acfb7d
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
e202a26990
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
15 years ago
rubidium
0bff19e869
(svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work
15 years ago
smatz
e0a28e8c54
(svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money
15 years ago
rubidium
d66fe90ad0
(svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements
15 years ago
smatz
73136f78b3
(svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when generating new game
15 years ago
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.
15 years ago
smatz
f7466979b9
(svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others)
15 years ago
smatz
2c63d0d323
(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen)
15 years ago
rubidium
b2d7edddfa
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
15 years ago
frosch
040404c5d3
(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.
15 years ago
alberth
5a97b64d73
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
29dc97afb6
(svn r17615) -Fix (r17612): town sign could be glitchy when creating town with custom name (Terkhen)
15 years ago
smatz
e5204575bb
(svn r17614) -Fix: crash when deleting town while TownDirectory is open
15 years ago
smatz
ad2c641bca
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
15 years ago
smatz
499b6df23b
(svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives
15 years ago
smatz
a2f43040af
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
15 years ago
smatz
13437a998e
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
15 years ago
smatz
c3a80f1518
(svn r17589) -Codechange: rename town_acc to always_accepted
15 years ago
alberth
ba5e072881
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
15 years ago
rubidium
2e5596025c
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
15 years ago
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
06e490fadc
(svn r17567) -Fix: some doxygen warnings
15 years ago
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.
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
10c3af4642
(svn r17493) -Codechange: store the depot index on the map
15 years ago
rubidium
33e1a11aa9
(svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, then don't build the initial piece either
15 years ago
smatz
5d622fd840
(svn r17439) -Fix (r17436): you weren't paid for cargo delivered to houses and headquarters anymore
15 years ago
rubidium
1cfc262fb0
(svn r17268) -Fix [FS#3143]: Station/Town window titles weren't updated when they got renamed
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
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
15 years ago