Commit Graph

107 Commits (cca48f8e7e0dd1832e4abcac944f700b5288d81c)

Author SHA1 Message Date
rubidium a4750af656 (svn r9996) -Fix: be more strict when building/upgrading roads and/or road stops. 17 years ago
rubidium 6a48a58104 (svn r9965) -Fix: the ownership of drive through road stops on town owned roads wasn't properly reset when the road stop was removed. 17 years ago
glx 5e41d3364c (svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram 17 years ago
glx 39463156df (svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
-Fix: you could build a drive-through station over a sloped road/tram track
17 years ago
rubidium 235916db4c (svn r9935) -Fix: could not build a drive through station when there when you own the tram bits and the town owns the road. 17 years ago
rubidium a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 17 years ago
rubidium 821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 17 years ago
rubidium 29123cf275 (svn r9908) -Codechange: prepare the station picker for more road types. 17 years ago
maedhros 1242bb9a03 (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 17 years ago
rubidium 7935cf7754 (svn r9895) -Fix: assertion when removing roadstop. 17 years ago
rubidium fe420111e8 (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 17 years ago
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 1f552686d8 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 17 years ago
peter1138 b2a7a49adc (svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts 17 years ago
rubidium 1951817f3b (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains. 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas d1c2c90ad0 (svn r9669) -Documentation: some more doxygen fixes 17 years ago
belugas 0eaa72e324 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 17 years ago
belugas 76faa0f759 (svn r9664) -Documentation: Doxygen corrections,errors and omissions 17 years ago
peter1138 7df3a94d8f (svn r9638) -Feature: Increase cargo types from 12 to 32 and enable newcargo flag in NewGRF loader. 17 years ago
maedhros 3d81de8d7e (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 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 6a86e75870 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 17 years ago
maedhros 175eeba2c9 (svn r9532) -Fix (r8741) [FS#708]: Make errors when building drive through road stops more descriptive. 18 years ago
celestar 4ad4f1f3f1 (svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts) 18 years ago
celestar 44be40052f (svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations 18 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
peter1138 497e5fe565 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops. 18 years ago
maedhros 787d0fcf62 (svn r9178) -Fix (r7573) [FS#679]: Don't allow building docks or buoys under bridges. 18 years ago
peter1138 c4a191dd11 (svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios. 18 years ago
rubidium e1eab15b84 (svn r9076) -Fix [FS#529]: the intercontinental airport used 'T-junction' runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13). 18 years ago
truelight ca375d573a (svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station 18 years ago
rubidium 36cea84b11 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 18 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 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
richk cd7b71092b (svn r8978) -Feature: Rewrite of transfer system.
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
18 years ago
tron 47b677abfe (svn r8876) -Fix
Replace tests with magic numbers by a simple extraction template for command parameters
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
belugas b1b5aecae9 (svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp files with the @file tag as well as a few general comments style 18 years ago
rubidium a5697946d1 (svn r8852) -Fix (r8735): make the dynamite tool for drive through road stops as if it were removing a normal road tile (consider the local authority and such).
-Fix (r8735): remove drive through road stops on town owned roads when going bankrupt/being removed.
18 years ago
rubidium 3717774e0a (svn r8851) -Fix [FS#643] (r8735): crash on removing town owned roads outside of the local authority. 18 years ago
tron 053e2ddda5 (svn r8841) -Fix
Remove {,u}intswap() and replace them by Swap()
18 years ago
tron 74fea81167 (svn r8833) -Fix
-Codechange: Split MakeRoadStop() into MakeRoadStop() and MakeDriveThroughRoadStop() for more clarity and less possibilities to use it incorrect
18 years ago
tron 7917738b54 (svn r8828) -Fix
-Regression (r7585): On load calculate the station rectangle for all savegames, not just savegames with at least version 27
18 years ago
peter1138 3d581f4f89 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. 18 years ago
tron 27f48c5dda (svn r8822) -Fix
Variable scope, const
18 years ago
rubidium 1d95385a97 (svn r8809) -Fix (r8715): accidentally removed a part of an expression. 18 years ago
tron 8db5c84f67 (svn r8800) -Fix
Simplify MoveGoodsToSation() under the assumption that 0 is less or equal than 0
18 years ago