Commit Graph

16537 Commits (5db883fbe9b8ef6171bfafc145a80932c3920504)

Author SHA1 Message Date
translators 61515c9abd Update: Translations from eints
belarusian: 10 changes by KorneySan
russian: 6 changes by KorneySan
spanish (mexican): 10 changes by Absay
6 years ago
Niels Martin Hansen 52655b5849 Change: [Win32 MIDI] Reset pitch bend range controllers on song change
Some songs (at least one in OpenMSX) use the MIDI pitch bend range controllers
but don't reset these at the end. This causes all subsequent songs to sound
wrong.
6 years ago
Niels Martin Hansen 99a39c842c Change: [Win32 MIDI] Send Roland reverb control message like TTD DOS does 6 years ago
Niels Martin Hansen b902e01e10 Change #6685: Replace Win32 music driver with one not depending on MCI
MCI MIDI is poorly supported on newer versions of Windows and can cause large
delays at the beginning of tracks.

The new driver is based on a from-scratch reader for Standard MIDI Files. This
should be re-usable in other music drivers too, and can allow for finer control
of playback in general.

It also provides a better framework for reading MIDI data from other formats
than just SMF.
6 years ago
Michael Lutz 9959cd9522 Fix 0165fe1: Native OSX doesn't have a __BYTE_ORDER macro but defines a differently named macro. 6 years ago
Michael Lutz bb5584c835 Fix 74b7f0a: [OSX] Mouse cursor getting occasionally stuck. 6 years ago
J0an Josep cfb8092397 Fix b4b98e5165: Use FALLTHROUGH attribute with correct indentation. 6 years ago
translators 3f40cd505d Update: Translations from eints
croatian: 10 changes by VoyagerOne
italian: 4 changes by lorenzodv
french: 7 changes by glx
6 years ago
J0anJosep 79a551a83c Codechange: Use TileAddBy(Diag)Dir when possible. 6 years ago
Joan Josep 944f785be8 Fix: Spelling errors (#6769) 6 years ago
Matthijs Kooijman fa87212a76 Fix: Some spelling errors in printed messages 6 years ago
Joan Josep a6b18f0d92 Fix #6090: And (svn r27822). Run scripts for widgets. (#6765)
Fix 19f5a6cbb0, Fix 19d56a33e8: Run scripts to update GS for new widgets (#6765)
6 years ago
translators a806424ec1 Update: Translations from eints
italian: 6 changes by lorenzodv
french: 6 changes by glx
russian: 9 changes by Lone_Wolf
6 years ago
Niels Martin Hansen 683b46a5b5 Cleanup: Remove unused strings from language files 6 years ago
Niels Martin Hansen 19f5a6cbb0 Feature #6090: Change music set during gameplay 6 years ago
Niels Martin Hansen 430e20f7e4 Fix: Clipping issues with volume sliders in Music GUI
Tested with various languages and GUI font sizes, should look good everywhere.

Also clamps near-end values to minimum and maximum so 0 and 127 are possible to achieve even on small GUI sizes (like the default.)
6 years ago
Niels Martin Hansen bb809e35ce Change: Less intrusive "no music" message from Music window 6 years ago
Niels Martin Hansen e172794947 Change: Disable music control buttons when there is no music 6 years ago
Niels Martin Hansen 76cccc64c9 Codechange: Music GUI comments and function naming 6 years ago
Patric Stout 0165fe1283
Codechange: remove endian_check in favour of __BYTE_ORDER macro (Rubidium) (#6762) 6 years ago
Patric Stout aef69443e7 Remove: WinCE support 6 years ago
Patric Stout 85adde7485 Remove: PSP support 6 years ago
Pavel Stupnikov 8d8b9a026a Feature #6610: Allow towns to build houses on road turns (#6758) 6 years ago
PeterN cfe6a8ea4f
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. (#6756) 6 years ago
Pavel Stupnikov 913119487f Feature: Add GS method to question a single client (#6748) 6 years ago
Pavel Stupnikov 8e4bce58ea Feature: GS methods to scroll viewport for players (#6745) 7 years ago
gdinit 34b63930f5 Fix: Typo in game.hpp
Just a typo fix in a code comment line.
7 years ago
Pavel Stupnikov 6ff81b908e Feature #6459: API for querying network clients from GS (#6736) 7 years ago
Michael Lutz e0ae67cefa Fix: [OSX] Compiler warning about an unused NULL argument. 7 years ago
Charles Pigott 86012e10ea Fix: Remove need to instantiate SmallStack's pool object by making it a singleton method 7 years ago
Charles Pigott 5c5267726f Fix: Warning about base set template instantiations with clang 7 years ago
Ricardo N Feliciano e8de33a61f Cleanup: Use new filename for README file. (#6738) 7 years ago
PeterN 3b32075e8a
Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. (#6737)
This replaces the internal SCC_PREVIOUS_COLOUR swap.
7 years ago
translators f4f9e18790 Update: Translations from eints
belarusian: 3 changes by KorneySan
7 years ago
Pavel Stupnikov 9175c349da Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726) 7 years ago
Patric Stout 88be2413ce
Codechange #6729: mute bogus GCC 7 warning (#6733)
We do a memset of (byte - byte), which strictly seen ranges from -254 .. 255, for which GCC warns.
But just before this memset is an if() which says the first byte has to be bigger than the second.
So this is a bogus warning.
7 years ago
translators a72117111e Update: Translations from eints
spanish (mexican): 6 changes by Absay
7 years ago
Michael Lutz 7dd6027194 Codechange: Use a SmallVec for the animated tile list instead of replicating most of the logic. 7 years ago
Michael Lutz 4851feb102 Codechange: Add functions to insert and extract an element at a specific position in a SmallVec. 7 years ago
Michael Lutz f240274b7e Codechange: Replace magic numbers with the proper enum. 7 years ago
Charles Pigott 62d79900ec Add: List recent news messages in crashlog output 7 years ago
frosch 192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 7 years ago
frosch e0a62a9e55 Remove: [NewGRF] OpenTTD version no longer contains a revision number. 7 years ago
Patric Stout 17bd580630
Remove: NO_DEBUG_MESSAGES was only read and setting it broke compilation (#6703)
Given any speed issue cannot be attributed to checking for _debug_NNN_level, removing this is a safe action

This fixes #6652.
7 years ago
TrueBrain 66f67ac5ac Fix #6550: minor spelling mistake in comment (juanjo) 7 years ago
Charles Pigott dd6b82d6b2 Codechange: Simplify C++11 check for assert_compile 7 years ago
Michael Lutz 6c3902ac41 Codechange: [OSX] Use newer APIs to get resolution information when available. 7 years ago
Michael Lutz 964d310cda Codechange: [OSX] Use non-deprecated API for displaying an alert where supported. 7 years ago
Michael Lutz f670277ff5 Codechange: [OSX] Try to set the thread name for debugger display. 7 years ago
Michael Lutz 4971678f52 Codechange: [OSX] Use 10.10+ API to get the OSX version when available. 7 years ago
Michael Lutz 74b7f0a9aa Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers. 7 years ago
Michael Lutz fa587ad3cc Codechange: [OSX] Use 10.6+ APIs to get the path for a font where available. 7 years ago
Michael Lutz 27bfb1df8f Codechange: [OSX] Use 10.6+ APIs to initialise audio when available. 7 years ago
Michael Lutz 4bfd277017 Codechange: [Win32] Use OS function for mouse tracking if present. 7 years ago
Charles Pigott 19076c24c1 Fix #6690: Compilation with ICU 61 7 years ago
translators f84ad5f7c0 (svn r28004) -Update from Eints:
belarusian: 42 changes by KorneySan
7 years ago
translators 81f25d4736 (svn r28003) -Update from Eints:
indonesian: 4 changes by fanioz
7 years ago
translators de961e14fb (svn r28000) -Update from Eints:
welsh: 7 changes by kazzie
7 years ago
translators 41b28d7194 (svn r27999) -Update from Eints:
bulgarian: 18 changes by kokobongo
7 years ago
translators 080f7b3cba (svn r27998) -Update from Eints:
welsh: 9 changes by kazzie
7 years ago
translators 328a4ff00d (svn r27994) -Update from Eints:
welsh: 2 changes by kazzie
7 years ago
frosch 09d4735679 (svn r27993) -Change: Heading for 1.9 now 7 years ago
translators 080d57d97a (svn r27991) -Update from Eints:
spanish (mexican): 1 change by Absay
7 years ago
frosch 8c458c153d (svn r27990) -Update: Docs 7 years ago
frosch 55a503e6f2 (svn r27989) -Fix (r27985): VA2 optimisation failed in various special cases:
- nvar=0 is meant to return the calculated result.
  - Missing references resolve to NULL and got identified with the default result.
  - Missing 'break' broke overlapping cases.
  - Splitting into non-overlapping cases could result in more than 256 cases.
7 years ago
frosch 043274afd6 (svn r27987) -Change: Increase maximum allowed vehicle sprite size to reduce clipping of ships. 7 years ago
frosch 5558899621 (svn r27986) -Codechange: Name magic constants in the vehicle position hash functions. 7 years ago
frosch 07d841d0ef (svn r27985) -Codechange: Convert VA2 switches into ones with non-overlapping ranges, sort them and resolve them using binary search. Speedup sprite resolving by about 7 percent. 7 years ago
frosch d9d669dcf8 (svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent. 7 years ago
frosch 7c406f0d9d (svn r27983) -Codechange: Reduce complexity of VA2 add-div/mod adjustments 7 years ago
frosch 4fc178aebd (svn r27982) -Codechange: Reduce invocations of GetGlobalVariable. Speedup sprite resolving by about 3 percent. 7 years ago
frosch db54db00df (svn r27981) -Change [FS#6679]: Check companies for bankruptcy before subtracting reoccuring monthly costs. (Samu) 7 years ago
frosch 91464af737 (svn r27980) -Doc: Yearly increment 7 years ago
frosch ebe6564e8b (svn r27979) -Add: adf88 to readme 7 years ago
frosch 59dd7be686 (svn r27978) -Fix [FS#6673] (r18541): Store the map variety setting in the samegame like the other mapgen settings, so restarting maps considers it. (Samu) 7 years ago
peter1138 8c0d5b2ffd (svn r27975) -Fix (r8969) [FS#6642]: Missing one hair style. 7 years ago
peter1138 dacd8d87ef (svn r27974) -Fix (r27907) [FS#6627]: free() called on static airport rotation data (JGR) 7 years ago
peter1138 50fb460203 (svn r27973) -Fix: [FS#6662] Avoid tile operations outside map border when building lock. 7 years ago
peter1138 86829c54c4 (svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots. 7 years ago
translators d4301cd7b6 (svn r27971) -Update from Eints:
spanish (mexican): 2 changes by Absay
7 years ago
translators 6fc26a00fe (svn r27970) -Update from Eints:
greek: 1 change by Jubilee
7 years ago
translators b1b15c83fe (svn r27969) -Update from Eints:
danish: 22 changes by Knogle
7 years ago
translators dd567c6105 (svn r27968) -Update from Eints:
korean: 1 change by telk5093
7 years ago
translators b36e70cba8 (svn r27967) -Update from Eints:
portuguese: 2 changes by Samu
7 years ago
translators 0c43d6903a (svn r27966) -Update from Eints:
spanish (mexican): 32 changes by Absay
portuguese: 41 changes by Samu
7 years ago
translators 6886b156d2 (svn r27965) -Update from Eints:
spanish (mexican): 43 changes by Absay
7 years ago
translators ef6adb0030 (svn r27964) -Update from Eints:
spanish (mexican): 10 changes by Absay
7 years ago
translators 844da806c7 (svn r27963) -Update from Eints:
norwegian (bokmal): 2 changes by Leifbk
7 years ago
translators 98c2fa87e6 (svn r27962) -Update from Eints:
spanish (mexican): 1 change by Absay
7 years ago
translators 4882c1d617 (svn r27960) -Update from Eints:
spanish (mexican): 2 changes by Absay
7 years ago
translators 6e3bb4dd90 (svn r27959) -Update from Eints:
spanish (mexican): 8 changes by Absay
7 years ago
translators 60aa3074e3 (svn r27958) -Update from Eints:
spanish (mexican): 26 changes by Absay
7 years ago
translators 62d072b57c (svn r27957) -Update from Eints:
spanish (mexican): 3 changes by Absay
7 years ago
translators 1298e3c94a (svn r27956) -Update from Eints:
spanish (mexican): 16 changes by Absay
7 years ago
translators d7ef54268d (svn r27955) -Update from Eints:
french: 2 changes by glx
7 years ago
frosch 2e20751c5f (svn r27954) -Cleanup [FS#6644]: Remove unused function (M3Henry) 7 years ago
frosch 1bc6fdef31 (svn r27953) -Cleanup: Adjust other languages for r27952 7 years ago
frosch 0d1cc32b19 (svn r27952) -Change: Reword texts in industry view, when stockpiling is used. 7 years ago
translators ced7d2a4ec (svn r27951) -Update from Eints:
spanish (mexican): 6 changes by Absay
7 years ago
frosch b69c0acca2 (svn r27950) -Merge: Documentation updates from 1.7 branch 7 years ago
translators 43be9c80b1 (svn r27947) -Update from Eints:
spanish (mexican): 1 change by Absay
7 years ago
translators 873e3ed27f (svn r27946) -Update from Eints:
spanish (mexican): 1 change by Absay
7 years ago
translators 0fac4a751a (svn r27945) -Update from Eints:
spanish (mexican): 3 changes by Absay
7 years ago
translators 470d136358 (svn r27944) -Update from Eints:
spanish (mexican): 1 change by Absay
7 years ago
frosch 42392fd7b5 (svn r27938) -Fix (r27899): When scrolling in the train depot, also scroll the tile separators. 7 years ago
frosch c14f23a03d (svn r27937) -Change: When train depots have a horizontal scrollbar, allow scrolling 1 tile beyond the longest train, so you can actually attach a wagon at the end. 7 years ago
frosch 6f36c52736 (svn r27936) -Fix: When moving wagons in the depot, the drag highlight did not exactly match the length of the dragged wagon chain. 7 years ago
michi_cc c722cb26b8 (svn r27935) -Fix [FS#6629]: [Win32] Right mouse scrolling didn't work properly with the Windows 10 Fall Creators Update. 7 years ago
michi_cc e856e3cca8 (svn r27934) -Fix (r27900): Warning about unsigned unary minus. 7 years ago
translators f2a22573d5 (svn r27933) -Update from Eints:
croatian: 26 changes by UnderwaterHesus
portuguese (brazilian): 54 changes by Tucalipe
7 years ago
frosch 6347e5f11e (svn r27932) -Fix (r0) [FS#6639]: Forest, candyfloss forest and battery farm skipped the first animation frame. 7 years ago
translators 2202544474 (svn r27931) -Update from Eints:
portuguese: 7 changes by neuralshock
7 years ago
translators a9992e1751 (svn r27930) -Update from Eints:
chinese (simplified): 2 changes by yfdyh000
7 years ago
frosch 135ad9c6c9 (svn r27929) -Cleanup: Remove unused Industry::random_triggers 7 years ago
frosch 82ae414e8d (svn r27928) -Fix: [NewGRF] While executing random triggers, var 5F should include the new triggers.
-Fix: [NewGRF] Reset used random triggers only after all A123 chains have been resolved, so that all RA2 in all chains can test the shard triggers. This also includes multiple RA2 in the same A123 chain.
-Fix: [NewGRF] Industry random triggers are stored per tile, even when randomising the shared random bits of the parent industry.
7 years ago
translators 146e4eddb6 (svn r27927) -Update from Eints:
french: 6 changes by glx
7 years ago
translators 40d7a628ff (svn r27926) -Update from Eints:
slovenian: 2 changes by Necrolyte
polish: 12 changes by McZapkie
hebrew: 34 changes by dnd_man
7 years ago
translators 4fca142bfb (svn r27925) -Update from Eints:
malay: 5 changes by rionix88
7 years ago
translators 4cfccc7e85 (svn r27924) -Update from Eints:
hebrew: 5 changes by Metheny
7 years ago
translators 539f6f50f7 (svn r27923) -Update from Eints:
polish: 15 changes by McZapkie
7 years ago
translators 6cf47d2280 (svn r27922) -Update from Eints:
polish: 12 changes by McZapkie
7 years ago
translators 83c2158e7c (svn r27921) -Update from Eints:
polish: 22 changes by McZapkie
7 years ago
frosch 24a1b82840 (svn r27916) -Codechange: Enable usage of static_assert for MSVC 7 years ago
adf88 56ffa35511 (svn r27914) -Fix/Feature: 'unban' console command - fix invalid help text and be more verbose 7 years ago
adf88 f3fbf6beb8 (svn r27913) -Fix: 'unban' console command was not handling IPv6 adresses properly 7 years ago
michi_cc 016a68815d (svn r27912) -Fix (r13948): [NPF] Reserved track bits were not accounted for when trying to find any safe position. 7 years ago
translators 6d08d054ef (svn r27911) -Update from Eints:
korean: 1 change by telk5093
hebrew: 4 changes by dnd_man
7 years ago
translators 6b46133a2a (svn r27910) -Update from Eints:
spanish (mexican): 10 changes by Absay
dutch: 145 changes by mrLeopold
7 years ago
translators dc649f2738 (svn r27909) -Update from Eints:
spanish (mexican): 4 changes by Absay
7 years ago
adf88 6dec889306 (svn r27908) -Codechange: Mark airport tile tables and FTAs "const" to be sure that they are really constant 7 years ago
adf88 b56453f93b (svn r27907) -Fix: AirportSpec::rotation was memleaking 7 years ago
adf88 1dd6930507 (svn r27906) -Cleanup: Remove some NPF code with no effect and mark possible bug about never used NPF_FLAG_IGNORE_RESERVED flag 7 years ago
adf88 74e1fe130c (svn r27905) -Fix [FS#6585]: Keep the "link" between industry chain and smallmap windows whenever possible 7 years ago
adf88 88726f71b6 (svn r27904) -Fix [FS#6593]: When last vehicle is removed from shared orders group, hide the "Stop sharing" button in vehile orders window 7 years ago
translators 13d0296e7c (svn r27903) -Update from Eints:
vietnamese: 37 changes by myquartz
7 years ago
frosch 09abccd316 (svn r27901) -Codechange: GetWindowZPriority only needs a WindowClass; this way it can also be used for WindowDesc before a Window instance is created. (3298) 7 years ago
frosch 80dffae130 (svn r27900) -Change [FS#6568]: Remove the gap between windows when positioning them after opening.
-Fix: Make automatic window-positioning RTL-aware.
-Fix: Automatic window-positioning now uses GUI-scale/style dependent sizes/distances instead of fixed pixel values.
7 years ago
frosch 61c68f906d (svn r27899) -Feature: Draw vertical separators at tile distance in the train depot GUI. This only applies if all vehicles use consistent lengths, i.e. either if only using default vehicles, or if only using NewGRF vehicles with 32px reference width. (based on patch by Wolf01) 7 years ago
translators 1afb3a91f8 (svn r27898) -Update from Eints:
dutch: 18 changes by habell
7 years ago
frosch 062c736437 (svn r27896) -Fix: some warnings 7 years ago
alberth a6e7f1142b (svn r27895) -Fix [FS#6606]: Tooltip of 'increase service interval' said 'decrease' (adf88) 7 years ago
alberth 2eae80bbfe (svn r27894) -Fix [FS#6608]: Typo fix in STATIOV_* string names (Wolf01) 7 years ago
frosch b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 7 years ago
translators 19bae485b0 (svn r27892) -Update from Eints:
finnish: 41 changes by USephiroth
7 years ago
translators ccf7580eb8 (svn r27891) -Update from Eints:
spanish: 29 changes by SilverSurferZzZ
7 years ago
translators 8220a8a971 (svn r27890) -Update from Eints:
spanish: 3 changes by SilverSurferZzZ
7 years ago
frosch a682962719 (svn r27889) -Change: Do not cancel headquarter construction and engine-preview-query when shift-clicking (adf88) 7 years ago
frosch 64c5f00429 (svn r27888) -Fix: Member access coding style (adf88) 7 years ago
frosch 3eae9aba79 (svn r27887) -Cleanup: Remove unused/unimplemented prototype (adf88) 7 years ago
frosch 4c50ecd958 (svn r27886) -Fix [FS#6575-ish]: Do not modify argv[0]. 7 years ago