Commit Graph

338 Commits

Author SHA1 Message Date
rubidium f01b3e2721 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 2011-11-04 11:09:06 +00:00
rubidium 7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
frosch bbc3409942 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 2011-11-01 16:51:47 +00:00
frosch acc3c75951 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 2011-11-01 00:23:41 +00:00
frosch 72cd855978 (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 2011-11-01 00:21:08 +00:00
yexo bc3b725812 (svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar caused crashes during load 2011-09-09 21:27:57 +00:00
alberth 6aa6c65db8 (svn r22743) -Fix [FS#4696]: Make aircraft point to the exit when leaving the hangar. 2011-08-13 12:47:18 +00:00
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 2011-08-03 20:55:08 +00:00
frosch 71822b6f1b (svn r22505) -Add: Separate EffectVehicleTypes for broken aircraft and smoke at copper ore mine, to make them distinguishable from each other and from smoke due to disasters. (only affects newly spawned effects) 2011-05-28 09:45:12 +00:00
frosch 5bf90860f8 (svn r22309) -Fix: Make road vehicles, ships and aircraft skip orders if they are leaving a depot and heading to the same one again; just like trains since r16322. 2011-04-10 10:47:21 +00:00
rubidium 1d0d7635e0 (svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled... 2011-02-07 22:49:38 +00:00
rubidium 2ad1279725 (svn r21954) -Cleanup: remove setting to not show the vehicle speed in the vehicle view 2011-02-04 14:37:24 +00:00
rubidium 6c9078fd30 (svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c]. 2011-01-18 22:17:15 +00:00
terkhen 679cd3c21b (svn r21803) -Cleanup: Remove unnecessary semicolons. 2011-01-15 15:36:58 +00:00
rubidium 72a6eeef26 (svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed 2010-11-10 22:56:05 +00:00
terkhen 6a38925ca3 (svn r21123) -Codechange: Remove max_speed from the Vehicle class. 2010-11-09 17:43:05 +00:00
terkhen c6ad6f52a9 (svn r21120) -Fix (r21096): Use the engine max speed value instead of the savegame value, as the latter could be stored in old units in old savegames. 2010-11-09 10:56:02 +00:00
frosch b1765482d2 (svn r21119) -Fix: Helicopter flight altitude was determined inconsistently in different places. 2010-11-08 21:26:32 +00:00
frosch c0ea0ac301 (svn r21118) -Codechange: Name and deduplicate some magic numbers. 2010-11-08 21:22:21 +00:00
terkhen c8a56f17f8 (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 2010-11-06 12:53:31 +00:00
terkhen 78d0a1cb1a (svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value. 2010-11-06 12:50:34 +00:00
terkhen 609e6dae3f (svn r21094) -Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed. 2010-11-06 12:45:40 +00:00
alberth fa13971337 (svn r21088) -Doc: Additions/corrections of doxygen comments. 2010-11-05 16:34:22 +00:00
rubidium ea4b40704b (svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot 2010-09-08 21:02:12 +00:00
rubidium 9badab6454 (svn r20768) -Codechange: unify send-to-depot commands 2010-09-08 18:55:58 +00:00
rubidium 2fb18e975c (svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo) 2010-08-28 14:14:37 +00:00
rubidium 702cc96943 (svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo) 2010-08-28 14:01:50 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
yexo 85740a0283 (svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile 2010-08-19 13:44:41 +00:00
rubidium c5a670037b (svn r20536) -Codechange: unify the refitting of vehicles 2010-08-18 00:47:31 +00:00
yexo eeca1846d6 (svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings 2010-08-18 00:30:12 +00:00
rubidium 4780cc50b2 (svn r20532) -Codechange: unify selling of vehicles a bit 2010-08-17 23:55:22 +00:00
rubidium c14853b72e (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 2010-08-17 23:15:55 +00:00
yexo f9a55b7439 (svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen 2010-08-17 21:50:58 +00:00
yexo c263f25309 (svn r20525) -Codechange: make Aircraft::UpdateDeltaXY more readable by removing the MKIT macro 2010-08-17 11:59:52 +00:00
yexo bc96bdb203 (svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group 2010-08-13 00:36:12 +00:00
yexo e4117dbfb7 (svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation 2010-08-13 00:21:03 +00:00
yexo 6babc60254 (svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation 2010-08-12 22:36:42 +00:00
yexo 241d705406 (svn r20474) -Cleanup: remove some unused code 2010-08-12 21:36:43 +00:00
rubidium 29b489a055 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 2010-08-10 15:54:53 +00:00
yexo 7e4bdbbc9d (svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated 2010-08-05 12:03:06 +00:00
yexo c421b6fef5 (svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position 2010-08-05 12:02:22 +00:00
yexo d2f9b87ccd (svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles 2010-08-05 12:00:09 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium e809c05099 (svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds 2010-07-16 17:45:34 +00:00
frosch a7d168b2e5 (svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the 192-256-magic of vehicle movement. 2010-07-04 13:07:47 +00:00
terkhen 54403a8251 (svn r19961) -Codechange: Unify "vehicle is destroyed" errors. 2010-06-11 20:20:45 +00:00
frosch 1d3adb2b66 (svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation. 2010-06-05 12:16:12 +00:00