belugas
7f650197d7
(svn r15679) -Cleanup: Little code-style application
16 years ago
smatz
7c8474da13
(svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile
16 years ago
yexo
fb7b0536e7
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
16 years ago
smatz
0878541cf2
(svn r15505) -Codechange: pass name of new town as parameter to CMD_BUILD_TOWN
16 years ago
frosch
032346cf8a
(svn r15452) -Codechange: Add DC_NO_MODIFY_TOWN_RATING.
16 years ago
rubidium
d846eef0b6
(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.
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
df2a387fc3
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
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
peter1138
481c2164d0
(svn r15149) -Codechange: GetMaskOfTownActions() is used by a Cmd handler, therefore it does not belong in _gui.
16 years ago
frosch
f5cff71284
(svn r14992) -Codechange: Rename 'CheckIfAuthorityAllows' to 'CheckIfAuthorityAllowsNewStation' and unduplicate a tiny bit of code.
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
smatz
7368c740a6
(svn r14828) -Codechange: move most of save/load-specific code to separate files
16 years ago
smatz
254e19da91
(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints
16 years ago
rubidium
c3746a55bb
(svn r14732) -Codechange: replace some magic number with less magic constants and use the proper type for a few variables.
16 years ago
michi_cc
ac722661a5
(svn r14505) -Fix (r14504): Missing include.
16 years ago
michi_cc
02c99bdf66
(svn r14504) -Cleanup: Use the right variable type for tile offsets.
16 years ago
rubidium
b650a86e58
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
16 years ago
rubidium
3b798599b6
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
16 years ago
rubidium
1a4ac3ee5c
(svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers.
16 years ago
frosch
17de6f9ced
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
16 years ago
belugas
4f3eb7f3cd
(svn r13383) -Codechange: Put the cost of house removal in a class member
17 years ago
belugas
4b4e73c1dd
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
17 years ago
rubidium
923e21129c
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
17 years ago
peter1138
cfb962c7f1
(svn r13297) -Codechange: Use GUIList for the town directory window
17 years ago
rubidium
8c9cc415e3
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
rubidium
4625695653
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
belugas
fc35ad9ee9
(svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
...
Initial concept : TTDPatch (moreairpots), Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
17 years ago
rubidium
3d5567ccf7
(svn r12987) -Codechange: split viewport and tile selection.
17 years ago
rubidium
d03994098b
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
17 years ago
rubidium
9c675afb91
(svn r12859) -Fix: make the town rating tests use less memory and much quicker; from 13% to unnoticable in the profile in games with lots of towns and lots of very active AIs.
17 years ago
rubidium
00f0bf98ee
(svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory.
17 years ago
rubidium
9d3a08523a
(svn r12726) -Fix [FS#1877]: overflow causing strange building behaviour in towns.
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
skidd13
4cc6140619
(svn r12513) -Codechange: rename OriginalTileRandomiser something more descriptive
17 years ago
skidd13
a887b79f90
(svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo)
17 years ago
belugas
7a66d5e21d
(svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones
17 years ago
rubidium
26c621945d
(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
17 years ago
rubidium
5c4150d304
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
17 years ago
rubidium
d4e6a6bf57
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
peter1138
ab8382c0db
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
rubidium
ac528411df
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
glx
785572ea32
(svn r11795) -Fix [FS#1616]: take town rating into account when testing if a command can be executed.
17 years ago
rubidium
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
17 years ago
glx
72afdb8d34
(svn r11750) -Revert (r11749): commited too much
17 years ago
glx
42bddcf723
(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color
17 years ago
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
17 years ago
rubidium
aac835171e
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago