Commit Graph

173 Commits (e428c27a547051b1b4f51bf27ded684ad214dad0)

Author SHA1 Message Date
fonsinchen 0d9612a0fb (svn r25737) -Codechange: move inner workings of RefreshNextHopsStats into separate function 11 years ago
fonsinchen ae5e88e186 (svn r25565) -Codechange: Rewrite order prediction logic to introduce proper refit prediction 11 years ago
fonsinchen f022550df9 (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 11 years ago
rubidium 6b746167e4 (svn r25259) -Codechange: track capacities and usage of links 11 years ago
rubidium 7dd2354a13 (svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle 12 years ago
rubidium 58ec317c5a (svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138) 12 years ago
rubidium 8539c04192 (svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138) 12 years ago
rubidium 2c67dc3d9f (svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138) 12 years ago
frosch f7ca5d29ed (svn r24528) -Fix: [NewGRF] RandomAction 84 should interpret register 100 as signed. 12 years ago
frosch 348f2d35be (svn r24446) -Add [FS#5199]: Store more consist properties in order backups. 12 years ago
frosch 4216eb383f (svn r24443) -Codechange: Move Vehicle::name to BaseConsist. 12 years ago
frosch 2a875a1907 (svn r24442) -Codechange: Split some members of Vehicle into a new class BaseConsist. 12 years ago
frosch 358a2bd6ed (svn r24384) -Fix [FS#5188-ish]: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked. 12 years ago
michi_cc d561bfe4db (svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max speed for vehicles. 12 years ago
michi_cc 72b3bb9dd5 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
truebrain d9f717dcfa (svn r23714) -Codechange: don't mix Viewport with non-viewport code 13 years ago
truebrain 92c60447dc (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 13 years ago
truebrain 5f65e056e1 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 13 years ago
alberth 06597e684c (svn r23704) -Doc: Doxygen comment fixes and additions. 13 years ago
truebrain aa1a0053b0 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
rubidium 00fc0d45b0 (svn r23594) -Codechange: follow coding style with multi line comments 13 years ago
smatz 36747f96a6 (svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls 13 years ago
frosch dea03342aa (svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of the wrong GRF. 13 years ago
michi_cc 3b45b41e68 (svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block. 13 years ago
rubidium 1138abad35 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
frosch ad38f27242 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 13 years ago
frosch e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
michi_cc 1dcf0c5233 (svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2. 13 years ago
frosch 43053b59a2 (svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors. 13 years ago
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
planetmaker 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 13 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 13 years ago
frosch a296ccb74e (svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing GroundVehicle<>::gv_flags through a Vehicle struct. 13 years ago
alberth 9af2feb993 (svn r21938) -Codechange: AfterLoadGame() is no longer friend of Vehicle. 14 years ago
frosch 7c04ea586d (svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
rubidium c7939e8a63 (svn r21932) -Document: some tidbits related to vehicles 14 years ago
alberth b5e2e83823 (svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions. 14 years ago
alberth 5ef4317dd9 (svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions. 14 years ago
terkhen 0ac0bcfdf7 (svn r21923) -Codechange: Unify articulated vehicle iteration functions. 14 years ago
terkhen b974d69988 (svn r21922) -Codechange: Unify articulated vehicle checking functions. 14 years ago
terkhen 14e0343d21 (svn r21921) -Codechange: Move GroundVehicleSubtypeFlags as they will be needed by some Vehicle functions. 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
smatz 792659936e (svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing 14 years ago
rubidium 3dd1cf6049 (svn r21843) -Codechange: move documentation towards the code to make it more likely to be updates [t-z]. 14 years ago
rubidium da371c5776 (svn r21807) -Codechange: split automatic order removal into a separate function (fonsinchen) 14 years ago
peter1138 bf09d85f93 (svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed. 14 years ago
rubidium 1446bfaac6 (svn r21644) -Change: keep showing "No orders" when the order list is filled with only automatic orders 14 years ago
rubidium 4d6841b553 (svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen 14 years ago
terkhen f7c4d35f67 (svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from a Vehicle. 14 years ago