Commit Graph

126 Commits (8c585e5ad6d0d115c48fbc4f11a5a70f9f997f24)

Author SHA1 Message Date
michi_cc 9232a2ef0c (svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype. 13 years ago
truebrain 1c9bec1999 (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
smatz 33d283fdb1 (svn r23588) -Codechange: use the 'final' keyword so compiler can optimise out some indirect calls 13 years ago
michi_cc 4d2a9e384c (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 7757a2ed40 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
frosch bbc3409942 (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
alberth b992a93996 (svn r21976) -Doc: Document several crash handling functions. 14 years ago
alberth da0b09557c (svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions. 14 years ago
alberth eea2f90da7 (svn r21925) -Doc: Doxygen additions and markup corrections to vehicle-related functions. 14 years ago
terkhen 50b0e10026 (svn r21923) -Codechange: Unify articulated vehicle iteration functions. 14 years ago
rubidium b11f1bd4ed (svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle 14 years ago
smatz 8b9f0d5ade (svn r21883) -Codechange: make UpdateZPosition() faster by not calling GetSlopeZ() when not needed 14 years ago
smatz 6dc24cf643 (svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing 14 years ago
terkhen d426906a01 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
terkhen 613743538d (svn r21859) -Codechange: Move train subtype flags to GroundVehicle. 14 years ago
terkhen cfbbcf1597 (svn r21858) -Codechange: Give more similar names to ArticulatedPart functions. 14 years ago
michi_cc 868d035b45 (svn r21712) -Change: Tune 'realistic' acceleration even more to make more trains reach their top speed. 14 years ago
terkhen 48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 14 years ago
rubidium 49a77e89c4 (svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags 14 years ago
rubidium b9407f7ca0 (svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo) 14 years ago
rubidium 79c47ef8b0 (svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo) 14 years ago
michi_cc 2d801c64a1 (svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more. 14 years ago
terkhen c8a56f17f8 (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 14 years ago
terkhen 766bf140db (svn r21092) -Codechange: Merge max speed functions. 14 years ago
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 14 years ago
frosch 236737b2f2 (svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype. 14 years ago
frosch 57a098bccc (svn r20504) -Codechange: Move updating of train's visual effect to separate function. 14 years ago
frosch 4ca2609362 (svn r20503) -Fix (r18838): Powered wagons should check the railtype of the tile they are on, not where the engine is on. 14 years ago
terkhen 7d0297f967 (svn r20302) -Add: Method for getting the air drag of a ground vehicle. 14 years ago
terkhen 1fd66d7cc4 (svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag. 14 years ago
michi_cc 811f0db597 (svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes fail to release its reserved path. 14 years ago
frosch e931399b31 (svn r20005) -Codechange: Enumify force_proceed. 14 years ago
terkhen a5f9a7c1a5 (svn r19342) -Codechange: Move inclination update functions to GroundVehicle. 15 years ago
terkhen 4e6cac84d6 (svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
-Codechange: Move GetSlopeResistance to GroundVehicle.
15 years ago
terkhen 07c373d60a (svn r19339) -Codechange: Move acceleration functions to GroundVehicle. 15 years ago
terkhen e4a5a556b4 (svn r19338) -Codechange: Move the acceleration cache to GroundVehicle. 15 years ago
terkhen f428102092 (svn r19337) -Codechange: Create the GroundVehicle class. 15 years ago
terkhen b5714c3597 (svn r19336) -Codechange: Move rail speed limit to its own function. 15 years ago
rubidium 7a73a7490d (svn r19090) -Codechange: some comment coding style fixes 15 years ago
peter1138 2b820780a1 (svn r18972) -Add: [NewGRF] Per-rail type speed limits. 15 years ago
terkhen 72f4bd818c (svn r18960) -Codechange: Move acceleration-related values to a separated cache. 15 years ago
terkhen d4376779f8 (svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own function. 15 years ago
rubidium 23a8d2239f (svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' and rail property (Terhken) 15 years ago
rubidium 719fb9803c (svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen) 15 years ago
rubidium 199091600a (svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen) 15 years ago
rubidium aaf0b4b46c (svn r18812) -Codechange: make some functions in train.h functions of Train. 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 2b97f38cd1 (svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
15 years ago
rubidium 833c6f36f3 (svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical 15 years ago
rubidium e4af35d316 (svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way 15 years ago