Commit Graph

34 Commits (1a9d43ff40f859c705ab987ef66b1576b6090425)

Author SHA1 Message Date
rubidium 51109475a2 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 17 years ago
peter1138 d22478a22b (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 17 years ago
peter1138 9a4b4ba448 (svn r9873) -Codechange: Add missing second callback parameter for houses 17 years ago
belugas 641d51a5ad (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
17 years ago
belugas eec76d9b49 (svn r9830) -Fix(r9779) : Let the town expand and build new houses along the roads of the users, even in case of "No Road" layout (skiddl13) 17 years ago
maedhros 304075b389 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 17 years ago
belugas b559b8f9ff (svn r9779) -Feature: Add the possiblity to choose different road patterns 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
17 years ago
belugas 7de20df379 (svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
Based on FS#289, by pitt2
17 years ago
maedhros a469d88364 (svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water. 17 years ago
belugas 3a7afb581f (svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
More to come.
17 years ago
peter1138 5f98f22a49 (svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
maedhros 1a81c1cedd (svn r9667) -Feature: Add the concept of cities. A (configurable) proportion 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.
17 years ago
belugas 0eaa72e324 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 17 years ago
maedhros 21fcae536b (svn r9614) -Feature: Use the normal growth rate values when the growth rate is set to none and "Fund new buildings" is used. 17 years ago
maedhros f2a14a813a (svn r9613) -Feature: Make it possible to have some control over the town 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.
17 years ago
peter1138 51d72c11c8 (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 17 years ago
belugas 4c4f2a34ef (svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done 17 years ago
belugas 691f8578fd (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
peter1138 93fe91cc8c (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. 18 years ago
maedhros 94db6aa1a2 (svn r9371) -Feature: Add support for variable snow lines in the arctic 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.
18 years ago
maedhros ad0b5de3da (svn r9367) -Fix (r9315): If a new house doesn't have a corresponding action 3, the
graphics for the substitute (original) house should be drawn instead.
18 years ago
belugas 4e5567a710 (svn r9366) -Codechange: Unify the different houses acceptances attributes on their cargo counterpart, as well as specifying cargo slot. 18 years ago
maedhros 209101391a (svn r9315) -Merge: The newhouses branch. With this merge comes almost 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.
18 years ago
truelight c5a6a4458b (svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it 18 years ago
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
belugas 5792aa85c7 (svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style. 18 years ago
tron ac75cf0ae1 (svn r8875) -Fix
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)
18 years ago
KUDr 8001ab69fb (svn r8864) -Codechange: make ClrBitT(), SetBitT() and ToggleBitT more like CLRBIT() and so on (modify value of the first parameter instead or returning the result) 18 years ago
miham 0d3c89d79a (svn r8791) -Revert: r8790 Committed too much in last commit 18 years ago
miham b77e6235ea (svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it) 18 years ago
peter1138 ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit 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.
18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
KUDr 07c30785ab (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 18 years ago