Commit Graph

286 Commits (8cf798d1e1b4427537aed78d4d74d057ab1077df)

Author SHA1 Message Date
frosch 8e8d484558 (svn r24987) -Fix: When choosing a train in a depot to attach a newly purchased wagon to, do not consider trains currently moving in and out of the depot. 12 years ago
frosch affd456995 (svn r24987) -Fix: When choosing a train in a depot to attach a newly purchased wagon to, do not consider trains currently moving in and out of the depot. 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
frosch 3e60f014cc (svn r24352) -Fix: When highlighting the drop position for vehicles in depots, make space for all articulated parts. 12 years ago
frosch 9208059e3e (svn r24352) -Fix: When highlighting the drop position for vehicles in depots, make space for all articulated parts. 12 years ago
frosch 2f9d982a83 (svn r23991) -Fix [FS#5076]: Also display the cargo subtype for vehicles which have no capacity, but a subtype. 13 years ago
frosch 031f6ee611 (svn r23991) -Fix [FS#5076]: Also display the cargo subtype for vehicles which have no capacity, but a subtype. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain 1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
frosch bbc3409942 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
rubidium 87272273b5 (svn r22405) -Document: some more "random-ish" tidbits 13 years ago
rubidium 1a515e6344 (svn r22405) -Document: some more "random-ish" tidbits 13 years ago
rubidium 5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
rubidium bbafd249ca (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit 14 years ago
rubidium cc658392eb (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit 14 years ago
rubidium c28f639c40 (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account 14 years ago
rubidium 52154e097c (svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account 14 years ago
alberth 0418fcd988 (svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot gui (sbr). 14 years ago
alberth 268bc7d571 (svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot gui (sbr). 14 years ago
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 062dd0e24c (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 14 years ago
rubidium 7127338414 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium f94c83a387 (svn r18872) -Codechange: introduce PaletteID and use it 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 26b203e3ff (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium 2b97f38cd1 (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium 8bdeb2cab6 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 15 years ago
rubidium 833c6f36f3 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 15 years ago
rubidium c0ae932b4d (svn r18344) -Change [FS#2923]: do not split up articulated vehicles in the train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too. Based on work by frosch123. 15 years ago
rubidium 8a8bf6c53d (svn r18344) -Change [FS#2923]: do not split up articulated vehicles in the train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too. Based on work by frosch123. 15 years ago
rubidium 8c11679381 (svn r18342) -Fix: erroneous spaces before ; 15 years ago
rubidium 2e2f72b971 (svn r18342) -Fix: erroneous spaces before ; 15 years ago
rubidium 3ebe581b4a (svn r18256) -Codechange: make the vehicle details window big font aware 15 years ago
rubidium fabd1b7c50 (svn r18256) -Codechange: make the vehicle details window big font aware 15 years ago
rubidium 3b7f030fc3 (svn r18162) -Fix: rest-of-train train selection 15 years ago
rubidium 4b225afad5 (svn r18162) -Fix: rest-of-train train selection 15 years ago
rubidium 3e1a1f3656 (svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and graphical glitches due to (incorrect) SETX(Y) usage 15 years ago
rubidium ddffeb791e (svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and graphical glitches due to (incorrect) SETX(Y) usage 15 years ago
rubidium 60b1ff4075 (svn r18142) -Codechange: make the vehicle details RTL (and huge ship/aircraft) aware 15 years ago
rubidium cbc12fdd86 (svn r18142) -Codechange: make the vehicle details RTL (and huge ship/aircraft) aware 15 years ago
rubidium 16592910ba (svn r18136) -Codechange: support RTL in the vehicle lists 15 years ago
rubidium 9bfcf2b615 (svn r18136) -Codechange: support RTL in the vehicle lists 15 years ago
rubidium 68f146d83c (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 15 years ago
rubidium a808623b24 (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 15 years ago
peter1138 4dabc6bd14 (svn r18129) -Codechange: Fix up train details window for correct offsets and line spacing. 15 years ago
peter1138 d499aa0187 (svn r18129) -Codechange: Fix up train details window for correct offsets and line spacing. 15 years ago
rubidium 982b8ee5fc (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium d6cded5380 (svn r17693) -Cleanup: remove some unneeded includes 15 years ago
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
frosch 50b1aacdb0 (svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images. 15 years ago
frosch 2ad4bf74a1 (svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text overlaps less with vehicle images. 15 years ago
rubidium d61be2637e (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
rubidium 1fe3ad3288 (svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives 15 years ago
frosch ff99d1efb4 (svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important. 15 years ago
frosch 20520baffb (svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important. 15 years ago
frosch fec6129cd1 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 15 years ago
frosch d5a4c89365 (svn r16894) -Codechange: Add [Specialised]Vehicle::Last(). 15 years ago
frosch 12ea92a257 (svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables. 15 years ago
frosch f129634f52 (svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables. 15 years ago
frosch 3a76b9be2b (svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle. 15 years ago
frosch 8041d37973 (svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle. 15 years ago
frosch 23599a1ed4 (svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part. 15 years ago
frosch db69c343f1 (svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part. 15 years ago
frosch 1fbbf29987 (svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length. 15 years ago
frosch 3973b1e7cb (svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length. 15 years ago
frosch fb9ec40e44 (svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8. 15 years ago
frosch 78eccd05be (svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8. 15 years ago
smatz 1e1f0ab2cf (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 15 years ago
smatz d86e17d65a (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train 15 years ago
smatz 20fedeb3d6 (svn r16717) -Codechange: make IsFrontEngine() member of Train 15 years ago
smatz adc5363202 (svn r16717) -Codechange: make IsFrontEngine() member of Train 15 years ago
frosch 523cde0798 (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 15 years ago
frosch a288e4d82f (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. 15 years ago
frosch 4c3f480f92 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 15 years ago
frosch 812ad41f23 (svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names. 15 years ago
smatz af85994f7f (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 15 years ago
smatz 0c10006907 (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 15 years ago
frosch eb3965f934 (svn r16483) -Codechange: Enumerate tabs in train details window. 15 years ago
frosch ea229c32bc (svn r16483) -Codechange: Enumerate tabs in train details window. 15 years ago
smatz e419fe6d3f (svn r16442) -Codechange: use new Vehicle accessors at more places 15 years ago
smatz 5a463c8347 (svn r16442) -Codechange: use new Vehicle accessors at more places 15 years ago
rubidium c496a3e014 (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 15 years ago
rubidium 0d99b6c71c (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 15 years ago
rubidium 4c0542c17f (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
rubidium da5661a0c8 (svn r16393) -Codechange: move VehicleRail to Train. 15 years ago
rubidium 6350648a6c (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 15 years ago
rubidium c4b627af42 (svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train 15 years ago
rubidium 1324100d69 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago
rubidium 80e94b9bb1 (svn r16391) -Codechange: use Train instead of Vehicle where appropriate. 15 years ago