Commit Graph

84 Commits (79c94729b5e16deef82264bc959e82bb32e0f838)

Author SHA1 Message Date
rubidium df009178d4 (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium 7cb7488836 (svn r10493) -Codechange: update some callback ID enums to reflect their changed usage, add a few and update the comments. 17 years ago
rubidium ec137f60ed (svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class. 18 years ago
rubidium c0e341ee05 (svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image. 18 years ago
peter1138 85fb4eb94b (svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf) 18 years ago
matthijs 25f7e8c8a0 (svn r10345) -Fix [FS#290]: Make OPF handle coming out of a tunnel as well 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.
18 years ago
maedhros 9fce70ac21 (svn r10335) -Fix (r10331): Increment the current order index *after* using it in UpdateVehicleTimetable. 18 years ago
rubidium 37e3cbb980 (svn r10287) -Fix (r10266): some surprises from that (almost always) complaining compiler... 18 years ago
rubidium fc201d4ad8 (svn r10266) -Codechange: keep track of the origin, time of travel and 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. 18 years ago
maedhros 7fb6e8f11d (svn r10236) -Feature: Introduce a form of timetabling for vehicles. 18 years ago
rubidium 23727da96f (svn r10208) -Codechange: replace int32 with Money where appropriate. 18 years ago
rubidium 773a7c9cb6 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 18 years ago
rubidium 3ccc83e640 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 18 years ago
maedhros f8ae742da4 (svn r10122) -Codechange: Add a CountBitsSet function and use it to replace some less efficient loops. 18 years ago
peter1138 ce590b59f3 (svn r10111) -Codechange: Add new vehicle hash table for collision detection 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') 18 years ago
maedhros c186f91cbd (svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
18 years ago
rubidium 17dd40ea0f (svn r10029) -Fix (r9923): trams should not/cannot turn on roadworks. 18 years ago
glx 435cc84f66 (svn r10012) -Fix (r9999): crash when forcing road vehicles to turn 18 years ago
rubidium b3aa28e879 (svn r10003) -Fix (r9999): crash when vehicle had to turn on a bridge. 18 years ago
rubidium f7f289667d (svn r10002) -Fix (r9999): don't try to get the disallowed directions from a road depot... 18 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 18 years ago
rubidium 734a302fd1 (svn r9989) -Fix [FS#817]: trams/road vehicles did go to the closest road stop regardless whether they could actually "drive" on there. 18 years ago
bjarni ae9b3c41e0 (svn r9941) -Fix: trams could be cloned to appear in normal road depots and vice versa (spotted by Desolator) 18 years ago
rubidium 781f8cf61b (svn r9927) -Fix: assert triggered when letting a tram run into the wrong side of a depot. 18 years ago
rubidium 7ce4b8e29c (svn r9924) -Fix: update the road vehicle speeds when stopped and/or running just behind another vehicle. 18 years ago
rubidium a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 18 years ago
rubidium ce84250249 (svn r9919) -Codechange: prepare some more places for more road types. 18 years ago
rubidium 21546a66f3 (svn r9917) -Codechange: prepare some more areas for more road types. 18 years ago
rubidium 821e58ac95 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 18 years ago
rubidium fcb5e74fbb (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing. 18 years ago
peter1138 e16ea9b758 (svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains. 18 years ago
rubidium a84ca16dc4 (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions. 18 years ago
peter1138 ebe81b98ce (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types. 18 years ago
rubidium 9a893ebe20 (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle. 18 years ago
rubidium cc9d811f53 (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station. 18 years ago
rubidium 5a46c763f0 (svn r9760) -Codechange: remove the need for saving some vehicle variables. 18 years ago
rubidium df59f5cd15 (svn r9755) -Codechange: refactor some more of the begin loading stuff. 18 years ago
rubidium 0def47a3b0 (svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches. 18 years ago
rubidium dba21ab802 (svn r9752) -Codechange: remove some duplication related to BeginLoading. 18 years ago
maedhros 8acc58b731 (svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time. 18 years ago
truelight 948ef6dc1b (svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment 18 years ago
maedhros aaa917d56d (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot. 18 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 18 years ago
belugas 76faa0f759 (svn r9664) -Documentation: Doxygen corrections,errors and omissions 18 years ago
maedhros 3d81de8d7e (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 18 years ago
maedhros 00d828e738 (svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four strings so it can be
translated properly and remove "buildable", since it isn't actually a word.
18 years ago
belugas 34272ad201 (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" 18 years ago
belugas 691f8578fd (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
peter1138 3d3d8d7c47 (svn r9303) -Codechange: Use cargo class when counting passengers in a road vehicle crash, and when loading aircraft. 18 years ago
peter1138 497e5fe565 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops. 18 years ago