summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
AgeCommit message (Collapse)Author
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-26(svn r10697) -Codechange: give a more sensible names to some of the unkX ↵rubidium
variables.
2007-07-24(svn r10672) -Codechange: typify some parameters/variables.rubidium
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-09(svn r10493) -Codechange: update some callback ID enums to reflect their ↵rubidium
changed usage, add a few and update the comments.
2007-07-01(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a ↵rubidium
Tick method in the Vehicle class.
2007-07-01(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of ↵rubidium
Get(Aircraft|RoadVeh|Ship|Train)Image.
2007-06-27(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take ↵peter1138
account of vehicle group (Matthias Wolf)
2007-06-26(svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well ↵matthijs
as going into a tunnel, to support road vehicles looking back when finding a depot while in a tunnel. -Fix [FS#290]: Make NPF look back when finding a depot for road vehicles.
2007-06-25(svn r10335) -Fix (r10331): Increment the current order index *after* using ↵maedhros
it in UpdateVehicleTimetable.
2007-06-22(svn r10287) -Fix (r10266): some surprises from that (almost always) ↵rubidium
complaining compiler...
2007-06-22(svn r10266) -Codechange: keep track of the origin, time of travel and ↵rubidium
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
2007-06-20(svn r10236) -Feature: Introduce a form of timetabling for vehicles.maedhros
2007-06-18(svn r10208) -Codechange: replace int32 with Money where appropriate.rubidium
2007-06-18(svn r10205) -Codechange: refactor returning of cost, so it can be more ↵rubidium
easily modified.
2007-06-18(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.rubidium
2007-06-12(svn r10122) -Codechange: Add a CountBitsSet function and use it to replace ↵maedhros
some less efficient loops.
2007-06-12(svn r10111) -Codechange: Add new vehicle hash table for collision detection ↵peter1138
and finding vehicles on a tile. The hash area scanned is far smaller than the old hash table, which is now used for viewport updates only. This should give a significant performance improvement for games with many vehicles. (Based on work by 'B. N. SmatZ!' and 'madman2003')
2007-06-11(svn r10097) -Feature: Add support for articulated road vehicles, or ↵maedhros
callbacks 11 and 17 for road vehicles for those who prefer the technical explanation.
2007-06-02(svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks.rubidium
2007-06-01(svn r10012) -Fix (r9999): crash when forcing road vehicles to turnglx
2007-05-31(svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge. rubidium
2007-05-31(svn r10002) -Fix (r9999): don't try to get the disallowed directions from a ↵rubidium
road depot...
2007-05-31(svn r9999) -Feature: make it possible to disallow busses and lorries to go ↵rubidium
a specific way on straight pieces of road.
2007-05-30(svn r9989) -Fix [FS#817]: trams/road vehicles did go to the closest road ↵rubidium
stop regardless whether they could actually "drive" on there.
2007-05-26(svn r9941) -Fix: trams could be cloned to appear in normal road depots and ↵bjarni
vice versa (spotted by Desolator)
2007-05-25(svn r9927) -Fix: assert triggered when letting a tram run into the wrong ↵rubidium
side of a depot.
2007-05-25(svn r9924) -Fix: update the road vehicle speeds when stopped and/or running ↵rubidium
just behind another vehicle.
2007-05-25(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.rubidium
2007-05-25(svn r9919) -Codechange: prepare some more places for more road types.rubidium
2007-05-25(svn r9917) -Codechange: prepare some more areas for more road types. rubidium
2007-05-24(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple ↵rubidium
road types on a single tile.
2007-05-14(svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing.rubidium
2007-05-12(svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity ↵peter1138
with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains.
2007-05-07(svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions.rubidium
2007-05-07(svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, ↵peter1138
for all vehicle types.
2007-05-06(svn r9794) -Codechange: refactor the question whether a vehicle can be ↵rubidium
loaded into LoadUnloadVehicle instead of duplicating it for each vehicle.
2007-05-02(svn r9770) -Codechange: perform the payment of cargo when ↵rubidium
loading/unloading, but when arriving at the station.
2007-05-01(svn r9760) -Codechange: remove the need for saving some vehicle variables.rubidium
2007-04-29(svn r9755) -Codechange: refactor some more of the begin loading stuff.rubidium
2007-04-29(svn r9754) -Codechange: make classes for all vehicle types, so we can make ↵rubidium
nicer/better maintainable code, i.e. virtual methods instead of switches.
2007-04-29(svn r9752) -Codechange: remove some duplication related to BeginLoading.rubidium
2007-04-29(svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, ↵maedhros
hopefully for good this time.
2007-04-28(svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by ↵truelight
removing an order at the wrong moment
2007-04-20(svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station ↵maedhros
is sent to a depot.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-17(svn r9664) -Documentation: Doxygen corrections,errors and omissionsbelugas
2007-04-12(svn r9609) -Codechange: Move some function prototypes out of functions.h ↵maedhros
and into landscape.h, and add a few where they didn't exist.
2007-04-02(svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four ↵maedhros
strings so it can be translated properly and remove "buildable", since it isn't actually a word.
2007-03-28(svn r9523) -Cleanup: doxygen changes. Time to take care of "R"belugas