summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-08-22(svn r14132) -Fix (r14039): Only reserve a path on leaving a station if the ↵frosch
current block really is a PBS block. (michi_cc)
2008-08-20(svn r14110) -Fix: desyncs due to bubbles in toylandglx
2008-08-17(svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an ↵rubidium
order when the number of orders was 0; you could see that the vehicles had a shared order though.
2008-08-17(svn r14096) -Codechange: merge the shared order's vehicle list management ↵rubidium
to a single location.
2008-08-17(svn r14095) -Fix (r14076): Trains shall not stop instantly.frosch
2008-08-17(svn r14089) -Fix [FS#2219]: trains not being able to find a route to a ↵rubidium
depot when the front is already in the depot.
2008-08-16(svn r14085) -Cleanup (r14083): Remove no longer used functions.frosch
2008-08-16(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the ↵frosch
autoreplace kernel.
2008-08-15(svn r14076) -Codechange: Merge the four start/stop commands into a single ↵frosch
CMD_START_STOP_VEHICLE.
2008-08-13(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in ↵rubidium
the command. Checking for the length in pixels is impossible because that differs per client.
2008-08-10(svn r14039) -Fix [FS#2217]: reversing an overlength train at a station ↵rubidium
would try to find a route out and sometimes reset the unload counter making it wait 2.5 years before departing instead of waiting until the train would actually leave the station (michi_cc)
2008-08-02(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when ↵rubidium
waiting on a path reservation. (michi_cc)
2008-08-01(svn r13912) -Codechange: remove some casts by returning the proper type ↵rubidium
instead of void*.
2008-07-24(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a ↵smatz
depot (callback 0x11) and give a warning about that
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-08(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases ↵rubidium
(assertions on savegame loads). -Fix [FS#2102]: but now in a hopefully beter way.
2008-07-07(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot ↵rubidium
when on an aqueduct.
2008-07-06(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would ↵rubidium
get stopped on load.
2008-06-11(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and ↵smatz
on company bankrupt
2008-05-30(svn r13343) -Codechange: reorder/move variable/functions in the network ↵rubidium
headers so that nothing from the network directory needs to include basically all network headers.
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-28(svn r13307) -Codechange: Separate VehicleList and its two functions so only ↵peter1138
the 3 users include it, reducing dependencies on misc/smallvec.h
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-25(svn r13255) -Codechange: move _opt to _settings.rubidium
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot()peter1138
2008-05-25(svn r13248) -Codechange: Use VehicleList for depot GUI.peter1138
2008-05-25(svn r13246) -Fix (r13245): incorrect parameters to memcpypeter1138
2008-05-25(svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, ↵peter1138
simplifying calling code somewhat.
2008-05-25(svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bitpeter1138
2008-05-25(svn r13240) -Codechange: More const-ness for GUI code.peter1138
2008-05-24(svn r13232) -Codechange: Simplify BuildDepotVehicleList()peter1138
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
2008-05-17(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in ↵rubidium
vehicle_gui.h.
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.
2008-05-16(svn r13125) -Fix [FS#2000](r12913): [autoreplace] failing replacement and ↵bjarni
restoring a vehicle will no longer decrease the vehicle count in groups
2008-05-15(svn r13100) -Codechange: reduce the amount of parameters passed via ↵rubidium
AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.
2008-05-14(svn r13090) -Codechange: add functions for direct conversion from ↵smatz
DiagDirection to Track and Trackbits
2008-05-14(svn r13087) -Codechange: Constify CalcPercentVehicleFilled() (michi_cc)peter1138
2008-05-11(svn r13047) -Codechange: remove vp_dglx
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-07(svn r12988) -Fix [FS#1992](r12913): [autoreplace] failing to replace a road ↵bjarni
vehicle could free it's slot without the vehicle knowing it (leading to assert)
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-04(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should ↵bjarni
include the cargo packets in the vehicle as well
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-29(svn r12917) -Codechange: standardise variable names called with ↵peter1138
FOR_ALL_ENGINEIDS_OF_TYPE
2008-04-27(svn r12913) -Add: ability to backup and restore a player's economic data ↵bjarni
and data for a vehicle (or chain of vehicles) Autoreplace uses this with the following benefits: -Mass autoreplace (the button in the depot window) will now estimate costs correctly -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains) Thanks to Ammler for testing this
2008-04-25(svn r12904) -Fix [FS#1953]: remove trams from savegames saved in OTTD ↵smatz
without tram support, it is better than to simply crash
2008-04-24(svn r12862) -Codechange: reduce code duplication for VehicleType -> ↵smatz
WindowClass lookup