summaryrefslogtreecommitdiff
path: root/src/town_cmd.cpp
AgeCommit message (Collapse)Author
2007-12-27(svn r11706) -Codechange: split vehicle.h and remove another bunch of ↵rubidium
useless includes.
2007-12-26(svn r11702) -Codechange: move all date related stuff to date*.rubidium
2007-12-26(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split ↵rubidium
map.h).
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-23(svn r11685) -Codechange: remove a few 'useless' includes.rubidium
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.rubidium
2007-12-21(svn r11677) -Codechange: move price and command related types/functions to ↵rubidium
their respective places.
2007-12-21(svn r11675) -Codechange: split the string types from the string functions.rubidium
2007-12-19(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.hrubidium
2007-12-18(svn r11663) -Codechange: moving of the road related types and functions.rubidium
2007-12-16(svn r11649) -Codechange: some code can be simplified thanks to changes in ↵smatz
r11642
2007-12-16(svn r11644) -Codechange: merge some functions from tunnel_map.h and ↵smatz
bridge_map.h into tunnelbridge_map.h
2007-11-25(svn r11525) -Fix: do not do all kinds of 'updates' for town, waypoint, ↵rubidium
station and other signs when you haven't converted the map to the 'current' format as that means you are going to read data in the 'old' format when you assume that it is in the 'current' format.
2007-11-25(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp ↵skidd13
cause they depend on Random() -Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
2007-11-20(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the ↵skidd13
remaining to fit with the naming style
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-11-17(svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 ↵rubidium
chance was really a 32769 in 65536 chance.
2007-11-15(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by ↵rubidium
divide.
2007-11-13(svn r11430) -Fix (r11421) [FS#1421]: there was still one case that would ↵rubidium
cause a crash...
2007-11-12(svn r11421) -Fix [FS#1431]: do not use a function that asserts when ↵rubidium
wrapping around the map's edge when you use the wrapping (and MP_VOID tiles) to determine whether the bridge can be build.
2007-11-10(svn r11399) -Feature(ette): transparency settings can now be saved and thus ↵belugas
remembered. -Codechange: Wrap all transparency settings in accessors, hiding the implementation -Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui. Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-09(svn r11397) -Fix r11395: some minor fixes for better town-bridge results ↵truelight
(and better comments) (skidd13 / TrueLight)
2007-11-09(svn r11395) -Fix: allow town-bridges to be build on slopes (Rafal Rzepecki)truelight
2007-10-20(svn r11315) -Fix [FS#1353]: towns are not growing beyond height ↵rubidium
differences. Patch by skidd13.
2007-10-20(svn r11308) -Fix (r9315): Change the house id as well as the house spec ↵maedhros
when using an overridden town building, since the house id is the one that's used to actually build the house.
2007-10-16(svn r11276) -Codechange: be more consistent with naming of some accessors.rubidium
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-10-10(svn r11243) -Fix: update waypoint signs when renaming a townglx
2007-10-05(svn r11215) -Codechange: replace magic constants with less magic symbols. ↵rubidium
Patch by skidd13.
2007-10-03(svn r11197) -Fix: It is not useful to reset the override of an entity every ↵belugas
time a new grf file is been submitted. Since newhouses showed the way to newindustries(meaning I copied/adapted a lot of code and processes from it), the behaviour was there for newhouses too.
2007-09-30(svn r11188) -Codechange: rewrite of the town action related code (remove ↵rubidium
some of the magic). -Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
2007-09-26(svn r11173) -Codechange: rename some callback enums so they are more uniform.rubidium
2007-09-26(svn r11172) -Codechange: rewrite of town road building and addition of the ↵rubidium
possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
2007-09-19(svn r11130) -Fix [FS#1207]: towns build roads that weren't connected to any ↵rubidium
other road.
2007-09-14(svn r11107) -Feature: some tool so one can still build tunnels under rails ↵rubidium
(and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-09-14(svn r11102) -Codechange: remove some pointless addition+substractions. ↵rubidium
Patch by frosch.
2007-09-12(svn r11091) -Codechange: Partial rewrite of the road management code of ↵belugas
towns, in order to make it more readable and with improved performance. (FS#1161 by skidd13)
2007-09-09(svn r11069) -Codechange: allow slopes under statues. Patch by kaan.rubidium
2007-09-09(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting ↵rubidium
subsystem. Patch by Progman.
2007-08-31(svn r11015) -Fix [FS#1166]: towns would build bridges through eachother.rubidium
2007-08-30(svn r11005) -Codechange: move the tiletype specific terraforming checks to ↵rubidium
the functions for those tile types. -Codechange: barren the rail grounds on terraforming.
2007-08-28(svn r10994) -Codechange: Change some function names to be more ↵belugas
representative and more fitting of trunk's naming convention (skidd13)
2007-08-27(svn r10993) -Codechange: A few less magical numbers (skidd13)belugas
2007-08-27(svn r10991) -Codechange: add documentation, enumification and some code ↵rubidium
simplifications to the terraforming code. Patch by frosch.
2007-08-05(svn r10799) -Fix: only calling QuickFree and not the destructor on pool ↵rubidium
cleanups might cause memory leaks due to the way C++ works.
2007-08-04(svn r10787) -Fix r10755: _total_towns was not increased when placing town ↵glx
manually in scenario editor
2007-08-03(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and ↵rubidium
similarly for AddBlock*.
2007-08-02(svn r10759) -Codechange: make the industry struct use the pool item class ↵rubidium
as super class.
2007-08-02(svn r10755) -Codechange: make the town struct use the pool item class as ↵rubidium
super class.