Commit Graph

170 Commits (b8196d36e7f0104fb562eef67984e54ff107eae4)

Author SHA1 Message Date
rubidium e4ef359f47 (svn r11663) -Codechange: moving of the road related types and functions. 17 years ago
smatz c26a265f21 (svn r11659) -Fix [FS#1563]: do not allow modifying non-uniform stations when non-uniform stations are disabled 17 years ago
smatz 0b08f7370d (svn r11657) -Fix: show better error message when trying to convert rail
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
17 years ago
smatz acf6e08f78 (svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks 17 years ago
smatz dfba33819b (svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic 17 years ago
smatz 49d632c31b (svn r11577) -Fix: invalidate 'list trains/roadvehs/ships/planes' widgets when station part is added/removed 17 years ago
smatz eda5921284 (svn r11576) -Codechange: enumerize and comment station GUI 17 years ago
smatz 079482f0a2 (svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places 17 years ago
smatz ddc8f2d16f (svn r11570) -Fix: do not flood rail station tiles when there is a vehicle on it (when non-uniform stations are ON) 17 years ago
skidd13 bf959f926f (svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style 17 years ago
rubidium ea072322fa (svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build. 17 years ago
skidd13 eeaa348f8b (svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 5c31a973a1 (svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style 17 years ago
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
skidd13 8be526e499 (svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style 17 years ago
rubidium 4dcd71038d (svn r11442) -Feature: make news messages related to the industry (production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth. 17 years ago
rubidium a11271e574 (svn r11414) -Fix [FS#1387]: when building a station, even though we already 'know' it in memory, it should still be unknown in the realm of callbacks. 17 years ago
truelight 8b3e278897 (svn r11407) -Fix: do not allow building of tram-tracks when they are not available (SmatZ) 17 years ago
belugas f55fdfb7c4 (svn r11399) -Feature(ette): transparency settings can now be saved and thus 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.
17 years ago
rubidium 6fe2b0b3b2 (svn r11376) -Fix: fill the town a oil rig is associated with before creating the name, otherwise every oil rig will become "<TOWN> Oilrig" which effectively means that there can be several oil rigs with exactly the same name. 17 years ago
glx 2b4d1fff89 (svn r11364) -Fix (r11363): compilation broken 17 years ago
belugas 87fcd4b6d7 (svn r11363) -Codechange: Remove some magical numbers 17 years ago
belugas 411b1ff9db (svn r11345) -Cleanup: a bit of comment style fixing 17 years ago
rubidium 95f2181a1d (svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround. 17 years ago
rubidium ba7c595d84 (svn r11276) -Codechange: be more consistent with naming of some accessors.
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
17 years ago
maedhros 675a826601 (svn r11265) -Feature: Make more advanced rail types more expensive to build. 17 years ago
rubidium a2256f6b0f (svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent. 17 years ago
rubidium e67b985bfa (svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway. 17 years ago
glx 5e45e73037 (svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C 17 years ago
rubidium 127c7c9b0f (svn r11173) -Codechange: rename some callback enums so they are more uniform. 17 years ago
rubidium fef64185b8 (svn r11107) -Feature: some tool so one can still build tunnels under rails (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. 17 years ago
rubidium 65f9a0f21a (svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman. 17 years ago
rubidium 91a49cee55 (svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ. 17 years ago
rubidium 0df355bbda (svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly. 17 years ago
rubidium 976ce8ad3f (svn r11016) -Fix [FS#1172]: stations would also be given cargo when vehicles have only dropped cargo of that particular type. 17 years ago
rubidium c19b8c72b7 (svn r11013) -Fix [FS#1171]: MoveGoodsToStation's search area is too small as it assumed a lower maximum catchment area than the real maximum catchment area. Based on a patch by PhilSophus. 17 years ago
rubidium b284b5fa92 (svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
-Codechange: barren the rail grounds on terraforming.
17 years ago
rubidium ac5fde61fb (svn r11002) -Codechange: unhackify the cargo packet list saving (a little). 17 years ago
rubidium a0d37ea7b9 (svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too. 17 years ago
rubidium 8a86526d05 (svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not (properly) use a road stop still tried to go to that road stop. 17 years ago
rubidium fc12fc0140 (svn r10748) -Codechange: call the pool cleanup functions for stations directly instead of using the wrapper functions. 17 years ago
rubidium 9378e5fd38 (svn r10746) -Codechange: add a generic superclass for almost all pool items so we do not have to duplicate code for each of the pool item classes and use it for the station and roadstop classes. 17 years ago
rubidium aa78685c99 (svn r10745) -Codechange: generalize the pool cleanup/initialize functions for stations (in such a manner that they can be used for other pools too). 17 years ago
rubidium 7fb3f54584 (svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word "road" everywhere except in the tile type. 17 years ago
rubidium d624f66c79 (svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch. 17 years ago
rubidium 02ab86631e (svn r10696) -Codechange: remove duplication of the "make sprite transparent" code. 17 years ago
rubidium e640900e8a (svn r10681) -Codechange: do not determine whether a tile is a hangar based on the graphics index to be drawn on the given tile, but do it based on the specification of the location of hangars of the airport. 17 years ago
rubidium fe8e297995 (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code. 17 years ago
KUDr 43ddd64817 (svn r10646) -Cleanup: AutoPtrT<>::Release() renamed to Detach()
-better describes what it does
 -was inconsistent with CCountedPtr<>::Release()
17 years ago
rubidium 3dd6362bb8 (svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs. 17 years ago