Commit Graph

22832 Commits (913119487fa58bb4346af8d0024f95b6517f4d46)
 

Author SHA1 Message Date
peter1138 9bc27c9a72 (svn r27844) -Change: (Yapf) Treat max cost exceeded separately from path too long condition, as destination should not be considered in the former case. 7 years ago
peter1138 39fa3c7cbd (svn r27843) -Change: (Yapf) Consider depot as destination before reversing path and applying penalty. 7 years ago
translators 9a7fa689a1 (svn r27842) -Update from Eints:
spanish: 9 changes by SilverSurferZzZ
7 years ago
peter1138 27033a2231 (svn r27841) -Fix: Don't consider locks or ship depots as clear water when placing industries. 7 years ago
peter1138 d51defb0b9 (svn r27838) -Fix: Small news window's fake caption (r19943) was not sized to fit its text. 7 years ago
peter1138 86430757bf (svn r27837) -Fix (r26969): Black remap did nothing in 8bpp-simple blitter. 7 years ago
translators 5594f262c7 (svn r27836) -Update from Eints:
catalan: 2 changes by juanjo
7 years ago
translators 36ad20f369 (svn r27835) -Update from Eints:
norwegian (bokmal): 37 changes by eirik174
7 years ago
peter1138 a9a7abf26c (svn r27834) -Change: Parse extmidi command string for parameters to pass on. 7 years ago
peter1138 06785c9df2 (svn r27833) -Change: Trackdir maps directly to TrackdirBits 7 years ago
peter1138 54025df392 (svn r27832) -Fix: Missing or incorrect colour codes in translations 7 years ago
peter1138 efe201d1df (svn r27831) -Fix (r24577): Misaligned resize icon (due to widget bounds being inclusive) 7 years ago
translators 31cbcd6de1 (svn r27830) -Update from Eints:
catalan: 6 changes by juanjo
italian: 1 change by lorenzodv
russian: 6 changes by Lone_Wolf
7 years ago
peter1138 dac0a3e86e (svn r27829) -Fix (r27821): Occasional crash caused by mixing int/uint arithmetic. 7 years ago
translators 0cf3266280 (svn r27828) -Update from Eints:
croatian: 2 changes by VoyagerOne
italian: 6 changes by lorenzodv
english (us): 15 changes by Supercheese
latin: 15 changes by Supercheese
7 years ago
frosch 610bdbd68b (svn r27827) -Codechange (r27819): Deduplicate code. (adf88) 7 years ago
peter1138 65d77ff317 (svn r27826) -Fix (r27825): Wrong code style 7 years ago
peter1138 d934ef9b00 (svn r27825) -Feature [FS#4950]: Add option to close windows with right click (Flamefire) 7 years ago
translators 2385f4adbc (svn r27824) -Update from Eints:
catalan: 7 changes by juanjo
croatian: 4 changes by VoyagerOne
korean: 15 changes by telk5093
scottish gaelic: 54 changes by GunChleoc
7 years ago
peter1138 65fef84855 (svn r27823) -Fix: Vehicle viewport is not user scrollable so flag window as such. 7 years ago
peter1138 19d56a33e8 (svn r27822) -Feature: Vehicle Group Info: Add profits and occupancy display to group vehicle list (mtm, JGR) 7 years ago
peter1138 bcc5c9f81d (svn r27821) -Change: Draw images in centre of buttons (inspired by Juanjo) 7 years ago
peter1138 902663176d (svn r27820) -Fix: Allow dropdown to be drawn above origin widget even with scrollbar (Juanjo) 7 years ago
peter1138 c5660b58d9 (svn r27819) -Fix (r26990): Update viewport sign dimensions when changing GUI zoom level. 7 years ago
translators 0d8ae4d6f4 (svn r27818) -Update from Eints:
greek: 36 changes by kyrm
7 years ago
translators 1fa25f128f (svn r27817) -Update from Eints:
greek: 39 changes by kyrm
croatian: 7 changes by VoyagerOne
7 years ago
peter1138 73ea8cdb21 (svn r27816) -Fix [FS#6421]: Do not search directories when opening ini files as we already have their full path. 7 years ago
translators e8ea4748ed (svn r27815) -Update from Eints:
russian: 7 changes by Lone_Wolf
7 years ago
peter1138 c3ae3989c2 (svn r27814) -Change: Remove _roadveh_depot_exit_trackdir
_roadveh_depot_exit_trackdir was just a copy of
DiagDirToDiagTrackdir. (cirdan)
7 years ago
peter1138 2e27a35f1b (svn r27813) -Change: Remove _road_enter_dir_to_reachable_trackdirs
_road_enter_dir_to_reachable_trackdirs was just a copy of
DiagdirReachesTrackdirs. (cirdan)
7 years ago
peter1138 6d0f8ec7b9 (svn r27812) -Fix: Road tunnel/bridge heads have no trackbits wrt catenary drawing
Road tunnels and bridges do not have any rail, so do not treat them
as if they had when drawing a catenary. (cirdan)
7 years ago
peter1138 5951d2406e (svn r27811) -Change: Remove unused parameters in FreeTrainTrackReservation
FreeTrainTrackReservation is always called with INVALID_TILE
and INVALID_TRACKDIR as second and third arguments, so remove
them and just use those constants instead. (cirdan)
7 years ago
peter1138 890a44f130 (svn r27810) -Change: Factor out reservation-handling code in station_cmd.cpp
Code dealing with freeing and restoring track reservations is
duplicated in CmdBuildRailStation and RemoveFromRailBaseStation;
make separate functions for it. (cirdan)
7 years ago
peter1138 67ab0450dd (svn r27809) -Codechange: Improve check in UpdateLevelCrossing
In UpdateLevelCrossing, checking if a level crossing is reserved is
cheaper than finding trains on it or approaching it, so do it first. (cirdan)
7 years ago
peter1138 f3cbe98156 (svn r27808) -Codechange: Adjust the size of _track_crosses_trackdirs
_track_crosses_trackdirs is indexed by a Track, not a
Trackdir, so adjust its size accordingly. (cirdan)
7 years ago
peter1138 3c7dc746d5 (svn r27807) -Codechange: Remove _ship_leave_depot_offs
There is already TileOffsByDiagDir for that. (cirdan)
7 years ago
peter1138 2a555480bd (svn r27806) -Codechange: Remove function ShipGetNewDirection
ShipGetNewDirection has no side effects and its return value
is ignored by its only caller, so do away with it.

Also remove now unused _new_vehicle_direction_table. (cirdan)
7 years ago
peter1138 4f9fd074b8 (svn r27805) -Codechange: Remove function ShipGetNewDirectionFromTiles
The only user of ShipGetNewDirectionFromTiles can be better
served by DiagdirBetweenTiles, so remove the former. (cirdan)
7 years ago
translators 8c49f7b98a (svn r27804) -Update from Eints:
italian: 7 changes by lorenzodv
luxembourgish: 11 changes by Phreeze
french: 7 changes by glx
7 years ago
alberth 49c0facf2e (svn r27803) -Change: Remove obsolete aircraft preview strings from other languages 7 years ago
alberth da608f6214 (svn r27802) -Add: Display aircraft type in engine preview window (patch by Samu) 7 years ago
alberth 2f1d808781 (svn r27801) -Change: Also rename long aircraft preview window strings of other languages 7 years ago
alberth dda71fab19 (svn r27800) -Change: Rename long aircraft string names of the preview window 7 years ago
alberth 319de74d99 (svn r27799) -Add: Display aircraft type in buy window (patch by Samu) 7 years ago
alberth 85ed4975bf (svn r27798) -Change: Also remove obsolete string from the other languages 7 years ago
alberth ad88588481 (svn r27797) -Add: Display aircraft type in its vehicle window (patch by Samu) 7 years ago
frosch 19188818ea (svn r27796) -Fix [FS#6545]: 32bpp-anim blitters assumed that pitch and width of the screen were equal. 7 years ago
translators 36d709e047 (svn r27795) -Update from Eints:
luxembourgish: 3 changes by Phreeze
7 years ago
peter1138 ed01e81c42 (svn r27794) -Fix [FS#6526]: Chat text background overflowed due to missing padding. 7 years ago
peter1138 ff26c6393e (svn r27793) -Fix [FS#6450]: Use of uninitialised variable cause lzo to fail. Add check for error status. 7 years ago