vehicle.c
Wed, 02 Feb 2005 16:16:43 +0000 truelight (svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id
Sun, 30 Jan 2005 20:50:06 +0000 bjarni (svn r1741) - Fix: added IsVehicleIndex() so it's possible to protect GetVehicle() from reading an invalid vehicle index
Sat, 29 Jan 2005 19:41:44 +0000 celestar (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
Sat, 29 Jan 2005 15:12:40 +0000 tron (svn r1718) Use the enum TileType as parameter/return type for [GS]etTileType() instead of plain int.
Sat, 29 Jan 2005 12:19:05 +0000 tron (svn r1713) Split off several functions which query/set information about a single tile from map.h and put them into a seperate file tile.h
Thu, 27 Jan 2005 12:52:20 +0000 tron (svn r1696) Use GetTileSlope() instead of FindLandscapeHeightByTile() where it is sufficient. FindLandscapeHeightByTile() uses GetTileSlope() internally and adds some more info, which is discarded in these cases.
Wed, 26 Jan 2005 19:43:22 +0000 bjarni (svn r1690) - Fix: [autoreplace] Cheaters can no longer exploit autoreplace to get vehicles, that's not invented yet
Wed, 26 Jan 2005 19:03:01 +0000 bjarni (svn r1687) - Feature: [autoreplace] server now checks for plane<->helicopter replacement and reject replacement if needed
Tue, 25 Jan 2005 21:43:57 +0000 tron (svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change
Mon, 24 Jan 2005 18:21:23 +0000 bjarni (svn r1640) fix: now helicopters will use a hangar in schedule to be replaced in, even if they are only set to service there. Since helicopters are serviced at helipads, they will only go there if they needs to be replaced or renewed.
Sun, 23 Jan 2005 22:01:51 +0000 bjarni (svn r1629) added a counter to tell how many engines you have of each type to the autoreplace vehicle windows and made them show only the vehicles you actually have in the left list.
Sun, 23 Jan 2005 13:30:02 +0000 truelight (svn r1612) -Fix: made sure that ->next pointers are set to NULL
Sun, 23 Jan 2005 13:09:35 +0000 tron (svn r1610) Remove trailing whitespace (last time ever, i hope)
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Fri, 21 Jan 2005 19:52:32 +0000 darkvater (svn r1583) -Fix: You should no longer be able to delete bridges on any type of underground when there is a vehicle on it
Wed, 19 Jan 2005 19:32:33 +0000 darkvater (svn r1569) -Fix: signed/unsigned mismatch
Wed, 19 Jan 2005 19:15:03 +0000 bjarni (svn r1568) made an enum of train subtypes to make the code more readable
Wed, 19 Jan 2005 05:55:30 +0000 tron (svn r1564) ISO C90 forbids mixed declarations and code (bad bjarni, no cookie)
Wed, 19 Jan 2005 01:18:29 +0000 bjarni (svn r1563) fix: autoreplaced trains now sets wagon override properly
Tue, 18 Jan 2005 23:27:06 +0000 bjarni (svn r1561) Fix: autoreplacing a singleheaded engine into a dualheaded engine now adds the the rear engine
Tue, 18 Jan 2005 17:19:34 +0000 tron (svn r1559) Use IsTileType() instead of bit shifting and comparisons
Sun, 16 Jan 2005 12:29:52 +0000 darkvater (svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7)
Sun, 16 Jan 2005 11:24:58 +0000 tron (svn r1536) Move GET_TILEHEIGHT, GET_TILETYPE and IS_TILETYPE to map.h, turn them into inline functions and add some asserts
Sat, 15 Jan 2005 19:06:22 +0000 truelight (svn r1525) -Codechange: rewrote the _order_array, now it can be made dynamic.
Sun, 09 Jan 2005 18:49:18 +0000 truelight (svn r1448) -Fix: The current_order of a vehicle is now correctly saved (caused
Sat, 08 Jan 2005 12:47:26 +0000 truelight (svn r1429) Change: bumped savegame to revision 5.
Sat, 08 Jan 2005 10:38:07 +0000 bjarni (svn r1427) fixed issue where the wrong sprite could be used if autoreplacing between single and multiheaded trains
Sat, 08 Jan 2005 09:48:08 +0000 truelight (svn r1426) -Codechange: cleaned up the reference code in the saveload routines
Sat, 08 Jan 2005 01:05:24 +0000 bjarni (svn r1421) improved autoreplace multiheaded trains. It now remembers the current heading for an engine instead of turning all of them like the first one and the last the other way
Sat, 08 Jan 2005 00:22:11 +0000 bjarni (svn r1419) fixed issue where autoreplacing dualheaded trains turned the last engine the wrong way
Fri, 07 Jan 2005 17:02:43 +0000 tron (svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Fri, 07 Jan 2005 09:51:16 +0000 celestar (svn r1412) -Feature/Fix: Aircraft refit options have been restricted to "sane"
Fri, 07 Jan 2005 08:38:27 +0000 celestar (svn r1410) Replaced all occurences of 'passanger' by 'passenger' in the code
Thu, 06 Jan 2005 22:31:58 +0000 truelight (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns and _industries
Thu, 06 Jan 2005 18:45:28 +0000 tron (svn r1402) Trim trailing whitespace
Wed, 05 Jan 2005 19:28:10 +0000 bjarni (svn r1393) fix [ 1096026 ]. Autorenew trains should now hopefully work like it did before autoreplace was added
Tue, 04 Jan 2005 20:19:00 +0000 bjarni (svn r1378) Fix: train engines are now only replaced if the engine is really set to be replaced and they are replaced to the type that engine type is set to be replaced to (instead of whtat the first engine in the train is set to)
Tue, 04 Jan 2005 17:54:16 +0000 bjarni (svn r1376) fixed an issue where a modified client could try to replace a vehicle to an invalid engine ID and crash the server. Now the server just rejects the request. Also added a check for vehicle ownership, so you should not be able to replace other player's vehicles
Tue, 04 Jan 2005 17:11:03 +0000 darkvater (svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky.
Sun, 02 Jan 2005 17:23:04 +0000 bjarni (svn r1323) Adding autoreplace feature
Thu, 30 Dec 2004 09:46:40 +0000 truelight (svn r1300) -Fix: The cost for an autorenew was not always send to the right player ;)
Wed, 29 Dec 2004 13:13:29 +0000 miham (svn r1297) Language fixes in the source.. (ln-)
Tue, 28 Dec 2004 11:51:31 +0000 truelight (svn r1288) -Codechange: changed _map2 to an uint16. It is still saved and loaded as
Mon, 27 Dec 2004 18:18:44 +0000 truelight (svn r1283) -Add: AutoRenew is now a client-side patch instead of a game-side patch
Tue, 21 Dec 2004 23:27:58 +0000 darkvater (svn r1211) -Feature: Introduce sticky windows to all vehicle windows...Just make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Sat, 11 Dec 2004 10:17:10 +0000 tron (svn r1015) MFM r789
Fri, 10 Dec 2004 18:16:08 +0000 tron (svn r1009) -Feature: per-station vehicle lists
Fri, 10 Dec 2004 13:10:17 +0000 tron (svn r1005) Don't treat orders in the normal load routine as old orders, this lead to corruption on load.
Fri, 10 Dec 2004 13:02:47 +0000 tron (svn r1004) Fix harmless typo (comma instead of semicolon)
Thu, 09 Dec 2004 21:46:56 +0000 bjarni (svn r998) now vehicles are serviced both when entering and when leaving depots to prevent that vehicles might need service when leaving after a long stay (ln--)
Thu, 09 Dec 2004 18:18:21 +0000 tron (svn r990) Fix a display bug in the order list:
Sun, 05 Dec 2004 19:50:58 +0000 darkvater (svn r957) -Fix: vehicle.c compiler problems for MSVC6 only! (Tron)
Sun, 05 Dec 2004 12:43:04 +0000 tron (svn r955) Replace uint16 for orders with struct Order
Sat, 04 Dec 2004 18:57:42 +0000 truelight (svn r948) -Codechange: clearified my last commit a bit more with some comment in the code
Sat, 04 Dec 2004 18:43:07 +0000 truelight (svn r947) -Fix: [Network] Desync problem
Sat, 04 Dec 2004 17:54:56 +0000 truelight (svn r942) -Merged branch/network back into the trunk
Sat, 04 Dec 2004 09:26:39 +0000 tron (svn r925) Use sound enums
Fri, 03 Dec 2004 14:38:02 +0000 tron (svn r909) Small cleanup in vehicle.c, this should fix some warnings on 64bit machines
Thu, 02 Dec 2004 22:53:07 +0000 tron (svn r901) Small step in the process to clean up the DPARAM mess: