Commit Graph

93 Commits (d99dd98cb9a6bcdeca337c2ed210a171a535b490)

Author SHA1 Message Date
maedhros fb5072b824 (svn r10020) -Fix [FS#824]: GetNextVehicle() is invalid for anything that isn't a train. 18 years ago
maedhros fa548f1a6f (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type. 18 years ago
maedhros d07b57f9aa (svn r9959) -Fix: Only call GetNextVehicle for trains. 18 years ago
peter1138 7273802f0c (svn r9956) -Codechange: Add tram livery schemes 18 years ago
maedhros 4ff33af406 (svn r9953) -Fix: Only check whether trains are multiheaded when cloning. 18 years ago
maedhros c7897d4422 (svn r9939) -Fix (r3139): EngineHasArticPart(v) is only valid for trains. 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
glx bba732921f (svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once 18 years ago
peter1138 45d1c92030 (svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme. 18 years ago
rubidium 86bb5cc2a6 (svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles. 18 years ago
rubidium 8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 18 years ago
rubidium c17c5e972b (svn r9872) -Codechange: more type strictness for vehicle types 18 years ago
rubidium c8d05162c2 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 18 years ago
truelight b605f68631 (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
18 years ago
rubidium 08be68e0b4 (svn r9841) -Codechange: add a little more type strictness to the vehicle types. 18 years ago
rubidium 07bdd6c3cc (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading. 18 years ago
rubidium 5ae882a184 (svn r9831) -Codechange: more refactoring of the loading/unloading. 18 years ago
rubidium a84ca16dc4 (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions. 18 years ago
rubidium f47e81c900 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 18 years ago
rubidium 425923c8d2 (svn r9795) -Codechange: enumify the EngineClass. 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 d52b515de8 (svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered. 18 years ago
rubidium bc1901a6e4 (svn r9784) -Codechange: remove unused variable. 18 years ago
glx 2b05a306e2 (svn r9773) -Fix r9772: MSVC warning 18 years ago
rubidium e11e91b02c (svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly). 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 5e4c9ad875 (svn r9764) -Codechange: replace some lookup tables by functions. 18 years ago
rubidium dfe7c5cd66 (svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either. 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
peter1138 d7d29cfc1e (svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading. 18 years ago
peter1138 9861db8596 (svn r9702) -Codechange: Add livery support to newgrf vehicle var 43 18 years ago
rubidium 52daf7a2d3 (svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station. 18 years ago
bjarni 404880feed (svn r9689) -Fix: Clone vehicles will no longer refit for free 18 years ago
maedhros 88af5b07d3 (svn r9684) -Fix (r9683): Remove vehicles from the station loading list instead of adding
them again when they leave, and add a v->LeaveStation() call for aircraft.
18 years ago
rubidium 1951817f3b (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains. 18 years ago
rubidium 2ce514284c (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 18 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 18 years ago
peter1138 0d32783f87 (svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable. 18 years ago
belugas 0eaa72e324 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 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 f925791a10 (svn r9581) -Revert (r9562): This broke as much as it fixed, so revert until a proper way of paying for refits when cloning can be found. 18 years ago
maedhros 0340291888 (svn r9562) -Fix: When cloning, pay for the refit costs as well. 18 years ago
belugas 45b0c8042f (svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that... 18 years ago
peter1138 93fe91cc8c (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. 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