Commit Graph

197 Commits

Author SHA1 Message Date
Jonathan G Rennison
674732cd68 Merge: Codechange: Use null pointer literal instead of the NULL macro 2019-04-11 18:14:13 +01:00
Henry Wilson
7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
Jonathan G Rennison
0a80aec634 Implement critical breakdown speed reduction for road vehicles 2018-01-04 19:18:24 +00:00
frosch
149adc9cc1 (svn r27689) -Fix: MSVC warnings. 2016-12-10 14:33:58 +00:00
frosch
1db921bedb (svn r27689) -Fix: MSVC warnings. 2016-12-10 14:33:58 +00:00
frosch
c175067ed9 (svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw. 2016-10-16 14:58:38 +00:00
frosch
a37bb32fd6 (svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw. 2016-10-16 14:58:38 +00:00
frosch
d2393b4f6c (svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq. 2016-10-16 14:57:56 +00:00
frosch
f36539837e (svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq. 2016-10-16 14:57:56 +00:00
frosch
a8080b6256 (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad(). 2015-02-01 20:54:24 +00:00
frosch
8767a11d60 (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad(). 2015-02-01 20:54:24 +00:00
peter1138
ce9fab58bc (svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and purchase lists. 2014-10-04 16:40:23 +00:00
peter1138
f7f49c15a3 (svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and purchase lists. 2014-10-04 16:40:23 +00:00
rubidium
0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
rubidium
2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
rubidium
7c0f34130c (svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it 2013-06-24 18:39:19 +00:00
rubidium
2771de7f34 (svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it 2013-06-24 18:39:19 +00:00
frosch
5eddbb338b (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 2013-04-13 13:42:08 +00:00
frosch
c5d7445704 (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 2013-04-13 13:42:08 +00:00
michi_cc
55cff8407f (svn r24694) -Fix (r18136): Road vehicle selection frame wasn't drawn properly in the depot window. 2012-11-10 22:37:14 +00:00
michi_cc
3117ffac20 (svn r24694) -Fix (r18136): Road vehicle selection frame wasn't drawn properly in the depot window. 2012-11-10 22:37:14 +00:00
rubidium
6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
rubidium
d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +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
6e61fee028 (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
terkhen
734994c9ba (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-29 17:30:25 +00:00
terkhen
0e51dab6a6 (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-29 17:30:25 +00:00
terkhen
a136200c39 (svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage(). 2010-12-21 13:56:52 +00:00
terkhen
dfc460035b (svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage(). 2010-12-21 13:56:52 +00:00
terkhen
5a124feb6d (svn r21564) -Fix: Avoid drawing road vehicles outside of their given space. 2010-12-21 13:56:07 +00:00
terkhen
5c79f1007b (svn r21564) -Fix: Avoid drawing road vehicles outside of their given space. 2010-12-21 13:56:07 +00:00
rubidium
30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium
f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
rubidium
7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 2010-01-21 01:38:13 +00:00
rubidium
833c6f36f3 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 2010-01-11 18:34:02 +00:00
rubidium
8bdeb2cab6 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 2010-01-11 18:34:02 +00:00
peter1138
15fbf4af70 (svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles. 2009-12-11 23:00:07 +00:00
peter1138
bdc1c00caa (svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles. 2009-12-11 23:00:07 +00:00
rubidium
e7810f8061 (svn r18435) -Fix (r18136): articulated road vehicles weren't properly drawn in the vehicle list/details windows 2009-12-08 20:56:45 +00:00
rubidium
457fb31d43 (svn r18435) -Fix (r18136): articulated road vehicles weren't properly drawn in the vehicle list/details windows 2009-12-08 20:56:45 +00:00
rubidium
9e84075db5 (svn r18145) -Codechange: pass the 'proper' left and right values to DrawVehicleInDepot 2009-11-17 16:03:51 +00:00
rubidium
350b556028 (svn r18145) -Codechange: pass the 'proper' left and right values to DrawVehicleInDepot 2009-11-17 16:03:51 +00:00
rubidium
ddffeb791e (svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and graphical glitches due to (incorrect) SETX(Y) usage 2009-11-17 15:26:46 +00:00
rubidium
3e1a1f3656 (svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and graphical glitches due to (incorrect) SETX(Y) usage 2009-11-17 15:26:46 +00:00
rubidium
9bfcf2b615 (svn r18136) -Codechange: support RTL in the vehicle lists 2009-11-17 11:36:36 +00:00
rubidium
16592910ba (svn r18136) -Codechange: support RTL in the vehicle lists 2009-11-17 11:36:36 +00:00
rubidium
a808623b24 (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 2009-11-16 22:25:01 +00:00
rubidium
68f146d83c (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 2009-11-16 22:25:01 +00:00
alberth
95ffbc2476 (svn r17870) -Codechange: Use fontsize when drawing roadveh, ship, and aircraft details. 2009-10-25 17:21:57 +00:00