summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
AgeCommit message (Collapse)Author
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
2007-03-22(svn r9400) -Codechange: Use some more representative enum names for ↵belugas
landscape types.
2007-03-18(svn r9303) -Codechange: Use cargo class when counting passengers in a road ↵peter1138
vehicle crash, and when loading aircraft.
2007-03-18(svn r9301) -Codechange: Use cargo class to determine if a road vehicle can ↵peter1138
stop in bus or truck stops.
2007-03-16(svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type...peter1138
2007-03-08(svn r9072) -Codechange: [Orders] added methods to orders to free them and ↵bjarni
check if they are in use
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-02-28(svn r8946) -Feature: [NewGRF] Add support for vehicle variables 0xFE and ↵maedhros
0xFF bit 10, which is set when a vehicle was built during the exclusive testing phase.
2007-02-28(svn r8945) -Codechange: Rename v->load_status to v->vehicle_flags so it can ↵maedhros
be used for more than just the gradual loading status.
2007-02-25(svn r8897) -Fixtron
Change the signature of GetNewVehiclePos(): -void GetNewVehiclePos(const Vehicle *v, GetNewVehiclePosResult *gp); +GetNewVehiclePosResult GetNewVehiclePos(const Vehicle *v);
2007-02-24(svn r8884) -Fixtron
Replace SetSpeedLimitOnBridge() by something simpler
2007-02-23(svn r8868) -Fix (r8715): road vehicles could not overtake anymore in some ↵rubidium
directions (mart3p).
2007-02-14(svn r8735) -Feature: drive-through road stops made possible by the hard ↵rubidium
work of mart3p.
2007-02-14(svn r8730) -Codechange: more replacements of magic numbers by enums and ↵rubidium
removal of some (by now) redundant comments.
2007-02-14(svn r8726) -Codechange: bools are 1 or 0 according to the C++ standard and ↵rubidium
refactor RoadStop::AllocateBay to remove a loop condition. Suggestions by Tron.
2007-02-14(svn r8725) -Fix (r8712): test the first bit of the bitmask, not the nth, as ↵rubidium
we are shifting the bitmask.