Tyler Trahan
f92cf38ab5
Feature: Allow disabling local authority control of company actions
3 years ago
Michael Lutz
1a42a8a5d5
Codechange: Un-bitstuff town-related commands.
3 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Charles Pigott
f20b75d712
Codechange: Remove TownLayoutByte type
6 years ago
Charles Pigott
0e439aeab7
Codechange: Remove TownFoundingByte type
6 years ago
Niels Martin Hansen
52572cafa6
Add: Option for population-linear town cargo generation
...
Introduce a new default algorithm for town cargo generation (passengers and mail), and a game setting to choose between the new and original algorithm.
The original town cargo generation algorithm has the property of the generated amount relating to the square of each building's population, meaning large towns easily produce more cargo than can realistically be transported. The problem is excessive cargo is amplified if playing with cargodist.
The new algorithm introduced instead has a linear relation to the population. The result is that smaller towns will produce slightly more cargo, while the largest towns will produce about a fourth of what they would with the original algorithm.
Existing savegames will use the original algorithm, while new games will default to the new algorithm.
6 years ago
nikolas
4fc1b2baae
Fix: Grammar in a bunch of comments ( #7054 )
6 years ago
michi_cc
6548ec6e9e
(svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct.
13 years ago
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
rubidium
6b86ee9888
(svn r21797) -Fix/Change: unify the size (in characters) of the string inputs with eachother and TTD to prevent crashes/asserts with e.g. signs that are too long
14 years ago
rubidium
5c9c3f1acf
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
14 years ago
rubidium
398418b8fa
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
15 years ago
frosch
75d4bc947d
(svn r19654) -Codechange: Use Extract<> in more places.
15 years ago
alberth
7ef97932d9
(svn r19479) -Codechange: Test range of town size and layout instead of against the current last value.
15 years ago
alberth
e89f154c0d
(svn r19478) -Codechange: Resolve TS_ prefix clash between TileSource and TownSize enums.
15 years ago
smatz
f0c64208cf
(svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others)
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
smatz
e6a165881c
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
15 years ago
rubidium
b19d0e0254
(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
16 years ago
smatz
e1e6687bfd
(svn r16277) -Codechange: enumerize values and remove unneeded values used for testing town rating
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
smatz
aa692a99a9
(svn r15352) -Codechange: make the arguments passed around while founding a town a bit more readable
16 years ago
smatz
832e392855
(svn r15340) -Fix [FS#2121]: changing town road layout in-game caused ugly road networks
...
-Fix: use a flag instead of TL_NO_ROADS to forbid towns to build roads. The flag is ignored during world generation, so there won't be 'ghost' towns anymore
-Feature: town layout is now stored per town, so it is possible to (manually) set different layout for each town
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
97c184f8f8
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
16 years ago
rubidium
eac3301b63
(svn r13413) -Codechange: remove some enums that haven't been used for years.
17 years ago
frosch
ca30288c9d
(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
...
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
17 years ago
smatz
42ed287506
(svn r12560) -Cleanup: town_cmd.cpp and header files - variable scope and a bit of coding style
17 years ago
skidd13
584bbfd7e7
(svn r12534) -Feature: Add a new type of town road layouts - random for each town
17 years ago
rubidium
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago