Commit Graph

578 Commits

Author SHA1 Message Date
rubidium 79027229b9 (svn r20582) -Fix [FS#4044]: Autoreplace can trigger an assertion when at the vehicle limit 2010-08-20 17:35:10 +00:00
rubidium cc658392eb (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit 2010-08-19 20:45:29 +00:00
rubidium 646fbb628a (svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit 2010-08-19 20:42:00 +00:00
rubidium 926594b599 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 2010-08-18 20:48:38 +00:00
rubidium c5a670037b (svn r20536) -Codechange: unify the refitting of vehicles 2010-08-18 00:47:31 +00:00
yexo eeca1846d6 (svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings 2010-08-18 00:30:12 +00:00
rubidium 4780cc50b2 (svn r20532) -Codechange: unify selling of vehicles a bit 2010-08-17 23:55:22 +00:00
rubidium c14853b72e (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 2010-08-17 23:15:55 +00:00
frosch 236737b2f2 (svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype. 2010-08-15 19:59:48 +00:00
frosch 57a098bccc (svn r20504) -Codechange: Move updating of train's visual effect to separate function. 2010-08-15 19:53:53 +00:00
alberth 35fec79700 (svn r20499) -Doc: Spelling fixes, and one doxygen comment addition. 2010-08-15 14:06:43 +00:00
rubidium 29b489a055 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 2010-08-10 15:54:53 +00:00
yexo a3a24f4c68 (svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ) 2010-08-05 12:09:08 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
alberth a825b4fa5f (svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements. 2010-07-31 21:02:56 +00:00
terkhen 88ca183191 (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
michi_cc 811f0db597 (svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes fail to release its reserved path. 2010-07-09 14:14:17 +00:00
frosch a7d168b2e5 (svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the 192-256-magic of vehicle movement. 2010-07-04 13:07:47 +00:00
frosch be5e880f0b (svn r20006) -Fix: Trains should also have running cost while slowing down for stop. 2010-06-21 17:36:46 +00:00
frosch e931399b31 (svn r20005) -Codechange: Enumify force_proceed. 2010-06-21 17:35:27 +00:00
frosch 94efc4c3b9 (svn r19992) -Fix [FS#3878]: Clear force_proceed when entering depots and when loading.
-Fix (r18515): Resetting of force_proceed on manual stopping did not work.
2010-06-16 20:27:59 +00:00
terkhen 54403a8251 (svn r19961) -Codechange: Unify "vehicle is destroyed" errors. 2010-06-11 20:20:45 +00:00
rubidium 4092471a98 (svn r19892) -Fix [FS#3856] (r19792): crash when trying to reserve 'in depot' track on clearing a crashed train 2010-05-23 22:14:22 +00:00
rubidium 99ecfe4061 (svn r19792) -Change: use the typed FOR_EACH_SET_BIT for Tracks (adf88) 2010-05-11 21:02:26 +00:00
rubidium e594042fb7 (svn r19785) -Codechange: reorder/rework the checks for CheckNextTrainTile a bit, causing the whole function to be a few percent faster and hopefully better to understand 2010-05-11 14:16:16 +00:00
rubidium 38d60f4b47 (svn r19784) -Fix [FS#3770]: if a waypoint is immediately followed by a path signal a reservation would be made from that path signal before the waypoint is marked passed. As a result the order to go to the waypoint is used to reserve the path after the waypoint and as such trains get lost 2010-05-11 11:55:12 +00:00
smatz 00a52cc475 (svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance 2010-05-03 23:36:17 +00:00
terkhen d9dc4c04f4 (svn r19699) -Codechange: Use InvalidateData at the refit window. 2010-04-23 17:29:53 +00:00
rubidium bc81039cb8 (svn r19687) -Fix: desync when joining the game because of using the wrong variable 2010-04-21 12:36:00 +00:00
frosch 1f28e232c3 (svn r19621) -Codechange: Remove direct usage of magic 'p1's in build vehicle commands. 2010-04-13 19:10:08 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
alberth 05d705e077 (svn r19494) -Codechange: Remove _error_message. 2010-03-20 17:58:24 +00:00
alberth 7cc68f493d (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 2010-03-13 17:11:28 +00:00
frosch dc79bf4c01 (svn r19356) -Fix: Whitespace. 2010-03-06 16:15:50 +00:00
terkhen a5f9a7c1a5 (svn r19342) -Codechange: Move inclination update functions to GroundVehicle. 2010-03-06 12:52:44 +00:00
terkhen 4e6cac84d6 (svn r19341) -Codechange: Move GOINGUP/GOINGDOWN flags to GroundVehicle.
-Codechange: Move GetSlopeResistance to GroundVehicle.
2010-03-06 12:50:55 +00:00
terkhen 07c373d60a (svn r19339) -Codechange: Move acceleration functions to GroundVehicle. 2010-03-06 12:44:30 +00:00
terkhen e4a5a556b4 (svn r19338) -Codechange: Move the acceleration cache to GroundVehicle. 2010-03-06 12:42:53 +00:00
terkhen b5714c3597 (svn r19336) -Codechange: Move rail speed limit to its own function. 2010-03-06 12:27:23 +00:00
alberth 63dd6ce6b0 (svn r19291) -Codechange: Rename HasVehicleOnTunnelBridge() to TunnelBridgeIsFree() and return a CommandCost status. 2010-02-28 18:15:19 +00:00
michi_cc eae120361d (svn r19286) -Fix (r18648): [YAPP] If reversing at path signals was disabled, a train would not reverse when hitting the back of an one-way signal. 2010-02-28 08:18:20 +00:00
smatz 7b1e0a4b67 (svn r19260) -Codechange: another minor coding style fix 2010-02-25 22:59:24 +00:00
smatz ebab6120e6 (svn r19257) -Codechange: minor coding style fix 2010-02-25 21:13:50 +00:00
smatz f051066bc4 (svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit 2010-02-24 14:46:15 +00:00
rubidium 32cdc157ee (svn r19091) -Cleanup: remove some unneeded zeroing 2010-02-10 21:28:26 +00:00
peter1138 2b820780a1 (svn r18972) -Add: [NewGRF] Per-rail type speed limits. 2010-01-31 13:17:29 +00:00
peter1138 2331ccd589 (svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed. 2010-01-31 12:56:32 +00:00
terkhen 272f2cd93e (svn r18963) -Codechange: Give AccelerationModel a generical name. 2010-01-30 16:27:35 +00:00