Commit Graph

16458 Commits

Author SHA1 Message Date
Charles Pigott 86012e10ea Fix: Remove need to instantiate SmallStack's pool object by making it a singleton method 2018-04-21 16:28:50 +02:00
Charles Pigott 5c5267726f Fix: Warning about base set template instantiations with clang 2018-04-21 16:28:50 +02:00
Ricardo N Feliciano e8de33a61f Cleanup: Use new filename for README file. (#6738) 2018-04-21 11:05:38 +02:00
PeterN 3b32075e8a
Add: {PUSH_COLOUR} and {POP_COLOUR} control codes to handle switching colours. (#6737)
This replaces the internal SCC_PREVIOUS_COLOUR swap.
2018-04-19 19:33:21 +01:00
translators f4f9e18790 Update: Translations from eints
belarusian: 3 changes by KorneySan
2018-04-19 19:45:40 +02:00
Pavel Stupnikov 9175c349da Fix #6465: Add {NORMAL_FONT} and {MONO_FONT} control codes to GS strings (#6726) 2018-04-17 18:41:31 +01:00
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.
2018-04-16 23:48:19 +02:00
translators a72117111e Update: Translations from eints
spanish (mexican): 6 changes by Absay
2018-04-16 23:25:46 +02:00
Michael Lutz 7dd6027194 Codechange: Use a SmallVec for the animated tile list instead of replicating most of the logic. 2018-04-15 20:49:29 +02:00
Michael Lutz 4851feb102 Codechange: Add functions to insert and extract an element at a specific position in a SmallVec. 2018-04-15 20:49:29 +02:00
Michael Lutz f240274b7e Codechange: Replace magic numbers with the proper enum. 2018-04-15 00:33:57 +02:00
Charles Pigott 62d79900ec Add: List recent news messages in crashlog output 2018-04-13 22:08:13 +02:00
frosch 192770e6da Change: Non-tag revisions are now named '<commitdate>-<branch>-g<shorthash><modified>'. 2018-04-12 22:26:45 +02:00
frosch e0a62a9e55 Remove: [NewGRF] OpenTTD version no longer contains a revision number. 2018-04-12 22:26:45 +02:00
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.
2018-04-11 22:07:21 +02:00
TrueBrain 66f67ac5ac Fix #6550: minor spelling mistake in comment (juanjo) 2018-04-11 20:08:08 +02:00
Charles Pigott dd6b82d6b2 Codechange: Simplify C++11 check for assert_compile 2018-04-11 18:24:19 +02:00
Michael Lutz 6c3902ac41 Codechange: [OSX] Use newer APIs to get resolution information when available. 2018-04-10 23:30:01 +02:00
Michael Lutz 964d310cda Codechange: [OSX] Use non-deprecated API for displaying an alert where supported. 2018-04-10 23:30:01 +02:00
Michael Lutz f670277ff5 Codechange: [OSX] Try to set the thread name for debugger display. 2018-04-10 23:30:01 +02:00
Michael Lutz 4971678f52 Codechange: [OSX] Use 10.10+ API to get the OSX version when available. 2018-04-10 23:30:01 +02:00
Michael Lutz 74b7f0a9aa Fix: [OSX] Remove some OSX compiler warnings on newer SDKs/compilers. 2018-04-10 23:30:01 +02:00
Michael Lutz fa587ad3cc Codechange: [OSX] Use 10.6+ APIs to get the path for a font where available. 2018-04-10 23:30:01 +02:00
Michael Lutz 27bfb1df8f Codechange: [OSX] Use 10.6+ APIs to initialise audio when available. 2018-04-10 23:30:01 +02:00
Michael Lutz 4bfd277017 Codechange: [Win32] Use OS function for mouse tracking if present. 2018-04-10 21:07:27 +02:00
Charles Pigott 19076c24c1 Fix #6690: Compilation with ICU 61 2018-04-08 11:47:26 +02:00
translators f84ad5f7c0 (svn r28004) -Update from Eints:
belarusian: 42 changes by KorneySan
2018-04-06 17:45:38 +00:00
translators 81f25d4736 (svn r28003) -Update from Eints:
indonesian: 4 changes by fanioz
2018-04-04 17:45:38 +00:00
translators de961e14fb (svn r28000) -Update from Eints:
welsh: 7 changes by kazzie
2018-03-29 17:45:40 +00:00
translators 41b28d7194 (svn r27999) -Update from Eints:
bulgarian: 18 changes by kokobongo
2018-03-28 17:45:39 +00:00
translators 080f7b3cba (svn r27998) -Update from Eints:
welsh: 9 changes by kazzie
2018-03-22 18:45:37 +00:00
translators 328a4ff00d (svn r27994) -Update from Eints:
welsh: 2 changes by kazzie
2018-03-18 18:45:38 +00:00
frosch 09d4735679 (svn r27993) -Change: Heading for 1.9 now 2018-03-14 19:36:41 +00:00
translators 080d57d97a (svn r27991) -Update from Eints:
spanish (mexican): 1 change by Absay
2018-03-14 18:45:37 +00:00
frosch 8c458c153d (svn r27990) -Update: Docs 2018-03-14 18:05:06 +00:00
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.
2018-03-11 15:08:51 +00:00
frosch 043274afd6 (svn r27987) -Change: Increase maximum allowed vehicle sprite size to reduce clipping of ships. 2018-03-11 13:25:26 +00:00
frosch 5558899621 (svn r27986) -Codechange: Name magic constants in the vehicle position hash functions. 2018-03-11 13:23:26 +00:00
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. 2018-03-11 13:21:27 +00:00
frosch d9d669dcf8 (svn r27984) -Codechange: Make ScopeResolver constructors/destructors inlineable. Speedup sprite resolving by about 8 percent. 2018-03-11 13:19:41 +00:00
frosch 7c406f0d9d (svn r27983) -Codechange: Reduce complexity of VA2 add-div/mod adjustments 2018-03-11 13:18:13 +00:00
frosch 4fc178aebd (svn r27982) -Codechange: Reduce invocations of GetGlobalVariable. Speedup sprite resolving by about 3 percent. 2018-03-11 13:17:44 +00:00
frosch db54db00df (svn r27981) -Change [FS#6679]: Check companies for bankruptcy before subtracting reoccuring monthly costs. (Samu) 2018-03-11 12:46:05 +00:00
frosch 91464af737 (svn r27980) -Doc: Yearly increment 2018-03-11 12:24:32 +00:00
frosch ebe6564e8b (svn r27979) -Add: adf88 to readme 2018-03-11 12:18:30 +00:00
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) 2018-03-11 12:11:09 +00:00
peter1138 8c0d5b2ffd (svn r27975) -Fix (r8969) [FS#6642]: Missing one hair style. 2018-03-11 07:16:58 +00:00
peter1138 dacd8d87ef (svn r27974) -Fix (r27907) [FS#6627]: free() called on static airport rotation data (JGR) 2018-03-06 07:48:29 +00:00
peter1138 50fb460203 (svn r27973) -Fix: [FS#6662] Avoid tile operations outside map border when building lock. 2018-03-05 22:57:49 +00:00
peter1138 86829c54c4 (svn r27972) -Fix (r15271) [FS#6670]: Catenary sprites got mixed up for depots. 2018-03-05 21:24:48 +00:00
translators d4301cd7b6 (svn r27971) -Update from Eints:
spanish (mexican): 2 changes by Absay
2018-03-01 18:45:36 +00:00
translators 6fc26a00fe (svn r27970) -Update from Eints:
greek: 1 change by Jubilee
2018-02-28 18:45:37 +00:00
translators b1b15c83fe (svn r27969) -Update from Eints:
danish: 22 changes by Knogle
2018-02-23 18:45:38 +00:00
translators dd567c6105 (svn r27968) -Update from Eints:
korean: 1 change by telk5093
2018-02-07 18:45:38 +00:00
translators b36e70cba8 (svn r27967) -Update from Eints:
portuguese: 2 changes by Samu
2018-01-23 18:45:40 +00:00
translators 0c43d6903a (svn r27966) -Update from Eints:
spanish (mexican): 32 changes by Absay
portuguese: 41 changes by Samu
2018-01-22 18:45:38 +00:00
translators 6886b156d2 (svn r27965) -Update from Eints:
spanish (mexican): 43 changes by Absay
2018-01-21 18:45:39 +00:00
translators ef6adb0030 (svn r27964) -Update from Eints:
spanish (mexican): 10 changes by Absay
2018-01-16 18:45:39 +00:00
translators 844da806c7 (svn r27963) -Update from Eints:
norwegian (bokmal): 2 changes by Leifbk
2018-01-11 18:45:39 +00:00
translators 98c2fa87e6 (svn r27962) -Update from Eints:
spanish (mexican): 1 change by Absay
2018-01-09 18:45:38 +00:00
translators 4882c1d617 (svn r27960) -Update from Eints:
spanish (mexican): 2 changes by Absay
2018-01-06 18:45:38 +00:00
translators 6e3bb4dd90 (svn r27959) -Update from Eints:
spanish (mexican): 8 changes by Absay
2018-01-05 18:45:40 +00:00
translators 60aa3074e3 (svn r27958) -Update from Eints:
spanish (mexican): 26 changes by Absay
2018-01-04 18:45:39 +00:00
translators 62d072b57c (svn r27957) -Update from Eints:
spanish (mexican): 3 changes by Absay
2018-01-03 18:45:37 +00:00
translators 1298e3c94a (svn r27956) -Update from Eints:
spanish (mexican): 16 changes by Absay
2017-12-31 18:45:41 +00:00
translators d7ef54268d (svn r27955) -Update from Eints:
french: 2 changes by glx
2017-12-28 18:45:40 +00:00
frosch 2e20751c5f (svn r27954) -Cleanup [FS#6644]: Remove unused function (M3Henry) 2017-12-27 22:07:59 +00:00
frosch 1bc6fdef31 (svn r27953) -Cleanup: Adjust other languages for r27952 2017-12-27 21:55:30 +00:00
frosch 0d1cc32b19 (svn r27952) -Change: Reword texts in industry view, when stockpiling is used. 2017-12-27 21:54:52 +00:00
translators ced7d2a4ec (svn r27951) -Update from Eints:
spanish (mexican): 6 changes by Absay
2017-12-26 18:45:39 +00:00
frosch b69c0acca2 (svn r27950) -Merge: Documentation updates from 1.7 branch 2017-12-24 12:18:36 +00:00
translators 43be9c80b1 (svn r27947) -Update from Eints:
spanish (mexican): 1 change by Absay
2017-12-22 18:45:39 +00:00
translators 873e3ed27f (svn r27946) -Update from Eints:
spanish (mexican): 1 change by Absay
2017-12-21 18:45:38 +00:00
translators 0fac4a751a (svn r27945) -Update from Eints:
spanish (mexican): 3 changes by Absay
2017-12-20 18:45:39 +00:00
translators 470d136358 (svn r27944) -Update from Eints:
spanish (mexican): 1 change by Absay
2017-12-14 18:45:41 +00:00
frosch 42392fd7b5 (svn r27938) -Fix (r27899): When scrolling in the train depot, also scroll the tile separators. 2017-12-10 13:48:49 +00:00
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. 2017-12-10 13:48:06 +00:00
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. 2017-12-10 13:45:53 +00:00
michi_cc c722cb26b8 (svn r27935) -Fix [FS#6629]: [Win32] Right mouse scrolling didn't work properly with the Windows 10 Fall Creators Update. 2017-12-09 19:21:45 +00:00
michi_cc e856e3cca8 (svn r27934) -Fix (r27900): Warning about unsigned unary minus. 2017-12-09 19:21:41 +00:00
translators f2a22573d5 (svn r27933) -Update from Eints:
croatian: 26 changes by UnderwaterHesus
portuguese (brazilian): 54 changes by Tucalipe
2017-12-09 18:45:38 +00:00
frosch 6347e5f11e (svn r27932) -Fix (r0) [FS#6639]: Forest, candyfloss forest and battery farm skipped the first animation frame. 2017-11-25 16:50:28 +00:00
translators 2202544474 (svn r27931) -Update from Eints:
portuguese: 7 changes by neuralshock
2017-11-18 18:45:38 +00:00
translators a9992e1751 (svn r27930) -Update from Eints:
chinese (simplified): 2 changes by yfdyh000
2017-11-02 18:45:39 +00:00
frosch 135ad9c6c9 (svn r27929) -Cleanup: Remove unused Industry::random_triggers 2017-10-25 15:38:19 +00:00
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.
2017-10-25 15:38:14 +00:00
translators 146e4eddb6 (svn r27927) -Update from Eints:
french: 6 changes by glx
2017-10-13 17:45:40 +00:00
translators 40d7a628ff (svn r27926) -Update from Eints:
slovenian: 2 changes by Necrolyte
polish: 12 changes by McZapkie
hebrew: 34 changes by dnd_man
2017-10-12 17:45:42 +00:00
translators 4fca142bfb (svn r27925) -Update from Eints:
malay: 5 changes by rionix88
2017-10-09 17:45:39 +00:00
translators 4cfccc7e85 (svn r27924) -Update from Eints:
hebrew: 5 changes by Metheny
2017-10-04 17:45:38 +00:00
translators 539f6f50f7 (svn r27923) -Update from Eints:
polish: 15 changes by McZapkie
2017-10-01 17:45:39 +00:00
translators 6cf47d2280 (svn r27922) -Update from Eints:
polish: 12 changes by McZapkie
2017-09-28 17:45:40 +00:00
translators 83c2158e7c (svn r27921) -Update from Eints:
polish: 22 changes by McZapkie
2017-09-27 17:45:38 +00:00
frosch 24a1b82840 (svn r27916) -Codechange: Enable usage of static_assert for MSVC 2017-09-24 13:35:27 +00:00
adf88 56ffa35511 (svn r27914) -Fix/Feature: 'unban' console command - fix invalid help text and be more verbose 2017-09-10 14:03:29 +00:00
adf88 f3fbf6beb8 (svn r27913) -Fix: 'unban' console command was not handling IPv6 adresses properly 2017-09-10 14:02:13 +00:00
michi_cc 016a68815d (svn r27912) -Fix (r13948): [NPF] Reserved track bits were not accounted for when trying to find any safe position. 2017-09-03 13:06:29 +00:00
translators 6d08d054ef (svn r27911) -Update from Eints:
korean: 1 change by telk5093
hebrew: 4 changes by dnd_man
2017-09-02 17:45:39 +00:00
translators 6b46133a2a (svn r27910) -Update from Eints:
spanish (mexican): 10 changes by Absay
dutch: 145 changes by mrLeopold
2017-09-01 17:45:42 +00:00
translators dc649f2738 (svn r27909) -Update from Eints:
spanish (mexican): 4 changes by Absay
2017-08-31 17:45:38 +00:00