summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
AgeCommit message (Collapse)Author
2008-09-24(svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is ↵smatz
deleted/modified while the timetable window is open -Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-21(svn r14371) -Fix [FS#2313]: loading indicator didn't stay with the front ↵rubidium
engine when turning a train in a station.
2008-09-21(svn r14369) -Fix: Enforce non-front engines to be stopped.frosch
This could be caused by old savegames resp. their conversion, and causes trouble for e.g. autoreplace.
2008-09-16(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause ↵smatz
crashes at several places when the station pool got smaller
2008-09-15(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, ↵smatz
president and company renaming commands, too
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-14(svn r14324) -Fix [FS#2241]: free any blocks that a helicopter may have on ↵rubidium
an oilrig when the helicopter gets forcefully removed (bankruptcy). For other airports this isn't needed as they can't be used by multiple companies.
2008-09-09(svn r14285) -Fix [FS#2263]: A train inside a wormhole could free the ↵michi_cc
reservation of another train inside the wormhole.
2008-09-07(svn r14258) -Codechange: rework the way to query the vehicle hash to make ↵rubidium
sure it always results in the same irregardless of the order of the hash-linked-list. -Fix: desync in PBS reservation following, vehicle flooding and road vehicle overtake/follow code.
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