summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2007-05-15(svn r9850) -Codechange: Introduction of the Override/Substitute manager. ↵belugas
Currently only used for newhouses. Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-13(svn r9830) -Fix(r9779) : Let the town expand and build new houses along the ↵belugas
roads of the users, even in case of "No Road" layout (skiddl13)
2007-05-10(svn r9823) -Feature: Add support for house property 1F - minimum life span.maedhros
2007-05-04(svn r9779) -Feature: Add the possiblity to choose different road patterns ↵belugas
for towns to use. Possible patterns are : No Road (not available in scenario editor) Original (for the nostalgics) Better Roads (same as original, but based on distance of 2 tiles instead of one) 2x2 grids 3x3 grids Patch by skiddl13
2007-05-01(svn r9762) -Feature: Two new difficulty settings : Very low number of towns ↵belugas
and very low number of industries Based on FS#289, by pitt2
2007-04-29(svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water.maedhros
2007-04-27(svn r9722) -Documentation: Document some functions of town_cmd.cpp. ↵belugas
Loosely based on work from TheJosh More to come.
2007-04-21(svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance ↵peter1138
(there is a difference) callbacks for newhouses.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-18(svn r9667) -Feature: Add the concept of cities. A (configurable) proportion ↵maedhros
of towns can start off larger, and will grow twice as quickly as other towns. They can also be placed specifically in the scenario editor. Thanks to TheJosh for the initial patch and the idea.
2007-04-18(svn r9665) -Documentation: Doxygen corrections,errors, corrections of ↵belugas
corrections...
2007-04-12(svn r9614) -Feature: Use the normal growth rate values when the growth rate ↵maedhros
is set to none and "Fund new buildings" is used.
2007-04-12(svn r9613) -Feature: Make it possible to have some control over the town ↵maedhros
growth. The default rate is TTD's original rate, and to approximate OpenTTD's previous behaviour the rate should be set to "Fast" or "Very Fast". Town growth can be switched off entirely, and if so, buildings will not be rebuilt. It is also possible to specify a proportion of towns that grow twice as fast as the others.
2007-04-05(svn r9563) -Feature: Add more finer control to transparency options, ↵peter1138
including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01.
2007-04-04(svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost donebelugas
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-21(svn r9388) -Codechange: variable scope and type, and standardify all ↵peter1138
CargoID loops.
2007-03-20(svn r9371) -Feature: Add support for variable snow lines in the arctic ↵maedhros
climate, supplied by newgrf files. When this is enabled forests cannot be built below the highest snow line, and farms can't be built above it. Houses still use the _opt.snow_line so they are all consistent, so to make them respect the snowline you may want to use some newhouses features as well.
2007-03-20(svn r9367) -Fix (r9315): If a new house doesn't have a corresponding action ↵maedhros
3, the graphics for the substitute (original) house should be drawn instead.
2007-03-20(svn r9366) -Codechange: Unify the different houses acceptances attributes ↵belugas
on their cargo counterpart, as well as specifying cargo slot.
2007-03-19(svn r9315) -Merge: The newhouses branch. With this merge comes almost ↵maedhros
complete support for the newhouses grf specs, so all newhouses grfs will be playable in the game. Many thanks to everyone who contributed code and ideas, and all the testers who found things we missed.
2007-03-08(svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets ↵truelight
removed, the town is notified of it
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-03(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing ↵belugas
tags and (more than just) a few comments style.
2007-02-24(svn r8875) -Fixtron
Remove unnecessary EnsureNoVehicle() checks because they are - pointless per se (f.e. there are no vehicles on house tiles) - done again (f.e. using CMD_LANDSCAPE_CLEAR just a few lines later)
2007-02-23(svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like ↵KUDr
CLRBIT() and so on (modify value of the first parameter instead or returning the result)
2007-02-17(svn r8791) -Revert: r8790 Committed too much in last commitmiham
2007-02-17(svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad ↵miham
thing, sorry for it)
2007-01-14(svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit ↵peter1138
values. This lets us increase the sprite width from 14 to up to 29 bits, effectively nulling the old sprite limit. Table changes in next commit.
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-10(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files ↵KUDr
renamed to .cpp)