Commit Graph

16743 Commits (6e5b90f4f726c0f53861d725cf5a5ecc4093f477)

Author SHA1 Message Date
Peter Nelson 6e5b90f4f7 Change: For consistency, add company name to colour scheme window. 6 years ago
Peter Nelson 256b94a03d Fix: Ignore company colour selection when showing different company's colour scheme. 6 years ago
Samu 3e0e3cfac1 Fix: Direct the aircraft to the correct location of the hangar when skipping to a go to hangar order
When manually skipping to a 'go to hangar' order in the order list, while the aircraft is flying, direct the aircraft to the correct location of the hangar.
6 years ago
Samu 2084779b5a Fix #6574: Go to takeoff if no hangar
Sends the aircraft to takeoff if the airport it's currently at, got no hangar even if the order is to go to hangar.
6 years ago
J0an Josep a5836874ef Codechange: Use track functions. 6 years ago
glx a18b0eba5b Add: more options for translators 6 years ago
translators 36e299fb6d Update: Translations from eints
croatian: 3 changes by VoyagerOne
russian: 18 changes by Lone_Wolf
6 years ago
Peter Nelson b6de8c0930 Fix #7098, Fix #7061: Inverted test led to invalid iterator access. 6 years ago
glx e76fd99c47 Fix #7007: deadlock when launched with -n switch 6 years ago
translators 9fa827ed78 Update: Translations from eints
polish: 24 changes by p0358
6 years ago
glx 255fa6e1a8 Fix: enable DPI-awareness for MINGW builds 6 years ago
Nikolas Nyby 4158c077cd Fix: Remove duplicate French and Slovak town names
I've replaced some of the duplicate real town names with new real town
names in the French and Slovak sets.

Also, some Slovak town names were missing accents, so I've fixed those.
6 years ago
Peter Nelson 225790892d Change: Make ships stop and change direction slowly instead of instantly turning. 6 years ago
Johannes E. Krause 479f13fc41 Codechange: Tweak ViewportAddLandscape so it no more relies on "go down as fast as possible" tile height model (Patch by adf88, #6583) 6 years ago
Johannes E. Krause c33596fe4a Codechange: Unify tile height model in all functions (Patch by adf88, #6583) 6 years ago
Johannes E. Krause 05da5a177c Codechange: Simplify marking tiles dirty when terraforming (Patch by adf88, #6583) 6 years ago
Johannes E. Krause f744dea0ff Fix: jumping effect when scrolling viewport over bottom edge of the map (Patch by adf88, #6583) 6 years ago
Johannes E. Krause f0290d5de7 Codechange: Add InverseRemapCoords2 function for remapping viewport coordinates to underlying tile coordinates (Patch by adf88, #6583) 6 years ago
Johannes E. Krause 43852baace Codechange: Remove unused GetTilePixelZOutsideMap and GetTileMaxPixelZOutsideMap functions (Patch by adf88, #6583) 6 years ago
translators b934cdf0ab Update: Translations from eints
italian: 7 changes by lorenzodv
6 years ago
Jonathan G Rennison 4b256fed36 Codechange: [Blitter] Adjust line-drawing algorithm to reduce wasted off-screen work
This clips the line segment to be within the screen area prior to pixel iteration.
6 years ago
Jonathan G Rennison 0240e90169 Fix: [Blitter] Avoid signed overflow when drawing long lines 6 years ago
Jonathan G Rennison db924a4681 Codechange: [Blitter] Change DrawLine to be templated
This is remove per-pixel overheads due to use of the SetPixel virtual
method.
These overheads included:
* expensive virtual method call which prevents inlining
* palette lookup for every pixel
* branch on whether palette animation is enabled on every pixel

Regenerate project files.
6 years ago
translators ed325ada88 Update: Translations from eints
spanish: 3 changes by SilverSurferZzZ
6 years ago
glx 7292591967 Add: generate_widget.vbs to allow script_window.hpp enums generation for users unable to run bash/gawk scripts 6 years ago
glx 636fcc2cc0 Fix: keep the line ending when generating widget enums with bash/gawk on windows 6 years ago
PeterN c3dbe836b4
Add: Draw network password indicator lock in company drop down list. (#7079) 6 years ago
Niels Martin Hansen 48b334cf97 Add: Houses can accept up to 16 different cargo types via NewGRF.
New Action0 property 23 for feature 07, variable length, format B n*(B B). Initial byte is number of structures following. First byte in structure is cargo id, second is acceptance level in 1/8 units.
6 years ago
J0an Josep 9ce92521c1 Fix: If screen size changes, windows are relocated and dropdown may not fit the screen. 6 years ago
J0an Josep 628af2fabc Fix #6060: When opening a scrollable dropdown above a widget, scroll it to its very bottom.
This "prevents" the fast movement towards the bottom when holding down the mouse button.
6 years ago
Juanjo 226dbcb422 Codechange #6060: Allow drawing dropdown lists with scrollbars above the widgets 6 years ago
btzy 9d75600ac0 Fix: Round up deltas for smooth scrolling, so target will be reached 6 years ago
translators e71f7cf277 Update: Translations from eints
russian: 10 changes by Lone_Wolf
hungarian: 5 changes by Brumi
spanish (mexican): 6 changes by Absay
6 years ago
Peter Nelson f35b135e17 Change 81330b8d6e: Cached path only needs to be cleared if it was found to be invalid. 6 years ago
Peter Nelson 4daaec1a94 Change: Invalidate ship path caches if pathfinder choice or forbid-90-degree turns are changed. 6 years ago
Peter Nelson 81330b8d6e Change: Add path cache for ships. 6 years ago
Peter Nelson 1c725fce47 Change: Add ability to save/load std::deque<> containers. 6 years ago
translators 60da05cf2a Update: Translations from eints
french: 3 changes by glx
6 years ago
Ingo von Borstel 4e9e115760 Add: [NewGRF] Airport animation trigger for plane landing (#6334, patch by Supercheese) 6 years ago
Niels Martin Hansen f37304f9f5 Cleanup: Remove unused strings 6 years ago
Niels Martin Hansen 08ffa16d51 Fix 8859381: Display of requires/produces in Build Industry window
Change the window to use a dynamically generated string of cargoes,
instead of one of a few fixed-length lists. With up to 16 cargoes
on each list, having 16 with the only difference how many are listed
seems like a bad maintenance idea.
6 years ago
translators 07a40df9ab Update: Translations from eints
spanish: 4 changes by SilverSurferZzZ
spanish (mexican): 1 change by Absay
6 years ago
nikolas d8ccad91f9 Fix: Some code and comment typos
Found with codespell
6 years ago
glx 1623cb553b Fix #7032: use the same mode to load and render glyphs 6 years ago
Charles Pigott fe8c24e081 Codechange: Remove unnecessarily defined functions under MinGW 6 years ago
Charles Pigott 2d981a4b2c Fix: A few minor compile warnings under MinGW 6 years ago
glx 1106534262 Fix: depend was messing the line endings in append mode 6 years ago
translators 91315a7a39 Update: Translations from eints
spanish: 3 changes by SilverSurferZzZ
6 years ago
Peter Nelson 6b0a467a50 Change: Obey forbid_90_deg_turns when choosing available track with no destination. 6 years ago
Peter Nelson 7284b593c7 Change: When ship is lost, pick first available track instead of a random track. 6 years ago