Commit Graph

1307 Commits (0ae32838ea2d898423ff7078092c2d6dbdb5813f)

Author SHA1 Message Date
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 2795ed5b09 (svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen) 12 years ago
rubidium 84ca041564 (svn r25008) -Codechange: Make CargoList::Truncate behave similarly to CargoList::MoveTo, i.e. pass the amount to truncate (fonsinchen) 12 years ago
rubidium 369a6f9d1b (svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138) 12 years ago
rubidium 8539c04192 (svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138) 12 years ago
rubidium c77cd1f409 (svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138) 12 years ago
rubidium 2c67dc3d9f (svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138) 12 years ago
frosch e9c44aaeb3 (svn r24944) -Fix [FS#5452]: Deleting implicit orders wasn't able to deal with the various side-effects of DeleteOrder. 12 years ago
frosch ddfd734523 (svn r24944) -Fix [FS#5452]: Deleting implicit orders wasn't able to deal with the various side-effects of DeleteOrder. 12 years ago
peter1138 c00a400cc7 (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
peter1138 1e10e91fde (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium 0dd0bbc071 (svn r24882) -Fix: desync when NewGRF changes the stats related to acceleration (power, weight, tractive effort, etc) during service or 32 day triggers 12 years ago
rubidium 07963e5a5a (svn r24882) -Fix: desync when NewGRF changes the stats related to acceleration (power, weight, tractive effort, etc) during service or 32 day triggers 12 years ago
frosch e888f9da9f (svn r24711) -Fix (r10354): Check whether to not display a ^ loading indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks. 12 years ago
frosch 94ee0ddc43 (svn r24711) -Fix (r10354): Check whether to not display a ^ loading indicator at drop stations only worked if there was no other vehicle unloading for 255 ticks. 12 years ago
frosch 9f43908d08 (svn r24709) -Codechange: Simplify some code. 12 years ago
frosch 86a801ed75 (svn r24709) -Codechange: Simplify some code. 12 years ago
planetmaker a9af5f3c76 (svn r24579) -Change [FS#5322] (r21961): Show no loading indicator when orders are 'no unloading and no loading' (sbr) 12 years ago
planetmaker 6c617cb121 (svn r24579) -Change [FS#5322] (r21961): Show no loading indicator when orders are 'no unloading and no loading' (sbr) 12 years ago
alberth 0849fb8d36 (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
alberth 6c6abd87db (svn r24535) -Doc: Two additions, lots of small spelling fixes, and some Doxygen improvements. 12 years ago
frosch 48e0d9901f (svn r24443) -Codechange: Move Vehicle::name to BaseConsist. 12 years ago
frosch 4216eb383f (svn r24443) -Codechange: Move Vehicle::name to BaseConsist. 12 years ago
frosch 00b3ff80bb (svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to preemptively deduplicate code. 12 years ago
frosch ae4681ab4c (svn r24282) -Codechange: Add AddVehicleAdviceNewsItem function to preemptively deduplicate code. 12 years ago
rubidium 5bfed864a0 (svn r24219) -Fix [FS#5152]: immediately do the cargo payment on vehicle crashes instead of when they are cleared 12 years ago
rubidium 763ed799e7 (svn r24219) -Fix [FS#5152]: immediately do the cargo payment on vehicle crashes instead of when they are cleared 12 years ago
michi_cc a4b02d0a5d (svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a crash. (riffraffselbow) 12 years ago
michi_cc 72d6eb4342 (svn r24142) -Feature [FS#3576]: Randomise count of passengers killed in a crash. (riffraffselbow) 12 years ago
michi_cc 6a70abbd99 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
michi_cc 72b3bb9dd5 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
michi_cc ef8ee48044 (svn r24128) -Change: Don't let vehicles break down directly after servicing. 12 years ago
michi_cc 4de25e41bf (svn r24128) -Change: Don't let vehicles break down directly after servicing. 12 years ago
michi_cc bb8506032e (svn r24124) -Add [FS#4658]: [NewGRF] Misc engine flag to disable breakdown smoke. (Hirundo) 12 years ago
michi_cc 748d786c52 (svn r24124) -Add [FS#4658]: [NewGRF] Misc engine flag to disable breakdown smoke. (Hirundo) 12 years ago
rubidium 180e4e4c66 (svn r24067) -Change/fix: do not redraw up to 25% of the map when making a new vehicle visible for the first time 12 years ago
rubidium 85996f039b (svn r24067) -Change/fix: do not redraw up to 25% of the map when making a new vehicle visible for the first time 12 years ago
michi_cc f2c694c8fb (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
michi_cc 64c5299b4d (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
rubidium a08370f9da (svn r23928) -Fix [FS#5053]: don't accelerate, for smoke purposes, when you reached the track's maximum speed 13 years ago
rubidium 48a685748c (svn r23928) -Fix [FS#5053]: don't accelerate, for smoke purposes, when you reached the track's maximum speed 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 0d929e877f (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 13 years ago
truebrain 92c60447dc (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 13 years ago
truebrain 19004a77f8 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 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
truebrain 0e9a98619d (svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one 13 years ago
truebrain 5dbac2f2ae (svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one 13 years ago
rubidium 4de1f3be88 (svn r23540) -Codechange: unify and document vehicle widgets 13 years ago
rubidium 6b404d35b8 (svn r23540) -Codechange: unify and document vehicle widgets 13 years ago
rubidium 3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium 9aab2dc861 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
truebrain 98103121d4 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
truebrain af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
peter1138 2f05d090fb (svn r23328) -Change: Make the viewport vehicle position hash cover the same area. 13 years ago
peter1138 ba617a796c (svn r23328) -Change: Make the viewport vehicle position hash cover the same area. 13 years ago
peter1138 81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 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
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 c9a7f572ec (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
frosch 026317bb44 (svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity(). 13 years ago
frosch 3178814a00 (svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity(). 13 years ago
frosch 52774235eb (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 13 years ago
frosch a608cbab5d (svn r23148) -Change: [NewGRF] Check the results of various callbacks for validness. 13 years ago
michi_cc a3e6e113fe (svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting. 13 years ago
michi_cc 1497efbd5d (svn r23112) -Codechange: Check if vehicle chain lengths stays constant when auto-refitting. 13 years ago
rubidium 9782b7bb0a (svn r23110) -Codechange: let the flying altitude return ints are well 13 years ago
rubidium e8eb3fe381 (svn r23110) -Codechange: let the flying altitude return ints are well 13 years ago
rubidium 2a2c102b0b (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 13 years ago
rubidium 0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 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
rubidium de980ef0f9 (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 acc3c75951 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 13 years ago
frosch ad38f27242 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 13 years ago
frosch 72cd855978 (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
frosch e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
frosch cadaa0a8b6 (svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy. 13 years ago
frosch 4cbd8791a4 (svn r23050) -Fix: [NewGRF] When vehicles break down, update the image cache after changing the vehicle state to make fish happy. 13 years ago
frosch d071eefc54 (svn r22985) -Feature: Display autoreplace status in group GUI. 13 years ago
frosch 37301ea23d (svn r22985) -Feature: Display autoreplace status in group GUI. 13 years ago
frosch 23a2f23eb3 (svn r22984) -Feature: Display profit icons for groups in the group GUI. 13 years ago
frosch f9f257ce4a (svn r22984) -Feature: Display profit icons for groups in the group GUI. 13 years ago
frosch 1a12008fcf (svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead. 13 years ago
frosch a80d20fdb1 (svn r22982) -Cleanup: Remove CountCompanyVehicles() and use ALL_GROUP statistics instead. 13 years ago
frosch dd74536bef (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 13 years ago
frosch f406385319 (svn r22981) -Add: GroupStatistics for the ALL_GROUP. 13 years ago
frosch 5be8f73204 (svn r22980) -Add: GroupStatistics for DEFAULT_GROUP. 13 years ago
frosch f43290d6af (svn r22980) -Add: GroupStatistics for DEFAULT_GROUP. 13 years ago
frosch fafa06e821 (svn r22979) -Codechange: Add GroupStatistics::CountEngine(). 13 years ago
frosch 3ecf9d424a (svn r22979) -Codechange: Add GroupStatistics::CountEngine(). 13 years ago
frosch 68f969282e (svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle(). 13 years ago
frosch 3665b85c24 (svn r22978) -Codechange: Replace IncreaseGroupNumVehicle() and DecreaseGroupNumVehicle() with GroupStatistics::CountVehicle(). 13 years ago
frosch b6766c2ed5 (svn r22976) -Codechange: Split group statistics into separate struct. 13 years ago
frosch c531453320 (svn r22976) -Codechange: Split group statistics into separate struct. 13 years ago
frosch 2188383658 (svn r22947) -Fix: [NewGRF] Do not call CB 32 for disaster, effect vehicles or aircraft shadows/rotors. 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
frosch b642b4a881 (svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew. 13 years ago
frosch 0feb852668 (svn r22847) -Fix (r22816): Wagons shall not be processed by autorenew. 13 years ago
frosch 28117b3eb0 (svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts. 13 years ago
frosch e801aebbfc (svn r22816) -Feature(ette): [NewGRF] Also age wagons and articulated parts. 13 years ago
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
michi_cc 050a212195 (svn r22572) -Fix: MSVC performance warning (assigning int to bool). 13 years ago
michi_cc 8b38847c1e (svn r22572) -Fix: MSVC performance warning (assigning int to bool). 13 years ago
michi_cc c9af6126f8 (svn r22532) -Fix: Do not create an implicit order if the current order is the first order in the order list and we visit the station of the last entry of the order list. 13 years ago
michi_cc 5970854fa8 (svn r22532) -Fix: Do not create an implicit order if the current order is the first order in the order list and we visit the station of the last entry of the order list. 13 years ago
frosch 460d24fd83 (svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries. 13 years ago
frosch bc3404f90c (svn r22506) -Feature [FS#4625]: Make the transparency options for industries also affect the effect vehicles created by industries. 13 years ago
frosch 87515d0873 (svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc. 13 years ago
frosch 5108896362 (svn r22492) -Fix [FS#4624] (r21642, r22328): Only try to insert implicit orders for ground vehicles. Aircraft may reach unscheduled terminals when skippnig orders etc. 13 years ago
frosch 474b4799e8 (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 13 years ago
frosch 62b6d0eb0e (svn r22482) -Codechange: Add some contants for the number of ticks between certain cyclical tasks. 13 years ago
planetmaker 43c8cd1d5e (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 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
frosch 204a6b16c3 (svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones. 13 years ago
frosch 6fbc8e46a1 (svn r22333) -Change: Prefer deleting automatic orders instead of inserting new ones. 13 years ago
frosch 74069dbda3 (svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders. 13 years ago
frosch 333a7ac24e (svn r22332) -Fix: When inserting automatic orders, do not create consecutive duplicate orders. 13 years ago
frosch 8dd2f413bd (svn r22331) -Change: When inserting an (automatic) order A in front of an order B, disable modifications of automatic orders for all vehicles currently heading for B as we do not know whether they will reach A or B first. (except for the vehicle causing the insertion of the automatic order itself) 13 years ago
frosch 58c4de2caf (svn r22331) -Change: When inserting an (automatic) order A in front of an order B, disable modifications of automatic orders for all vehicles currently heading for B as we do not know whether they will reach A or B first. (except for the vehicle causing the insertion of the automatic order itself) 13 years ago
frosch 709f0e4f83 (svn r22329) -Change: When the current orders are interrupted for non-ordered service, disable modifications to automatic orders until the next real order is completed. (train part already slipped by in r22328) 13 years ago
frosch 1ef4e543e7 (svn r22329) -Change: When the current orders are interrupted for non-ordered service, disable modifications to automatic orders until the next real order is completed. (train part already slipped by in r22328) 13 years ago
frosch 194a941a37 (svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal of automatic orders until the next real order is reached. 13 years ago
frosch 7de7488788 (svn r22328) -Add: a flag to GroundVehicles to disable insertion and removal of automatic orders until the next real order is reached. 13 years ago
frosch aedd38255b (svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing GroundVehicle<>::gv_flags through a Vehicle struct. 13 years ago
frosch a296ccb74e (svn r22327) -Add: Vehicle::GetGroundVehicleFlags() for accessing GroundVehicle<>::gv_flags through a Vehicle struct. 13 years ago
frosch 5eafcd8de6 (svn r22324) -Fix: Vehicles skipped orders when inserting automatic orders failed. 13 years ago
frosch d53875b661 (svn r22324) -Fix: Vehicles skipped orders when inserting automatic orders failed. 13 years ago
frosch dd20823277 (svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself. 13 years ago
frosch 071957f593 (svn r22245) -Codechange: Make vehicle lists handle command-/GUI-scope invalidations themself. 13 years ago
frosch 19b7249ade (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 14 years ago
frosch 074548f8f3 (svn r22135) -Fix [FS#4523]: When commands need to invalidate windows, process these events asynchronously before the next redraw. Calling window code directly from command scope uses wrong _current_company and might issue nested DoCommands() which interfer with the running command. 14 years ago
smatz 756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
smatz c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
rubidium 68bc93f950 (svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools 14 years ago
rubidium 7e4ff17e35 (svn r22111) -Codechange/fix-ish: upon cleaning a pool a destructor should not delete items from other pools 14 years ago
smatz 7af2470a78 (svn r22022) -Fix [FS#4468]: verify we can allocate an order before we actually try to do so 14 years ago
smatz 12b1f24ca1 (svn r22022) -Fix [FS#4468]: verify we can allocate an order before we actually try to do so 14 years ago
rubidium bc3ce1e53b (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium cb2c7f871f (svn r22018) -Cleanup: remove some (now) unneeded includes of functions.h 14 years ago
rubidium 64cba95fbe (svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under bridges, or rather through bridges 14 years ago
rubidium b5f0c341eb (svn r22006) -Fix [FS#4480]: smoke/sparks of trains would be shown under bridges, or rather through bridges 14 years ago
rubidium 4c5ca17486 (svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it 14 years ago