Commit Graph

15103 Commits

Author SHA1 Message Date
translators
1fc589bd2d (svn r26288) -Update from WebTranslator v3.0:
polish - 1 changes by wojteks86
2014-02-01 18:45:14 +00:00
translators
4fd67347bd (svn r26287) -Update from WebTranslator v3.0:
lithuanian - 1 changes by Stabilitronas
2014-01-30 18:45:10 +00:00
fonsinchen
91407b924e (svn r26286) -Fix: Thoroughly erase dead flows. 2014-01-29 19:55:29 +00:00
translators
e4a4f2c1dd (svn r26285) -Update from WebTranslator v3.0:
latvian - 3 changes by Tranzistors
2014-01-29 18:45:09 +00:00
frosch
9041473814 (svn r26284) -Fix: Comparison of NULL and char 0. (lbalbalba) 2014-01-28 20:03:12 +00:00
fonsinchen
b12bf124c7 (svn r26283) -Fix [FS#5878]: Prevent infinite recursion also in RefreshLinks. 2014-01-28 19:49:43 +00:00
translators
84b8d376b6 (svn r26282) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
catalan - 1 changes by juanjo
finnish - 2 changes by jpx_
russian - 1 changes by KorneySan
2014-01-28 18:45:25 +00:00
translators
61380f51bb (svn r26281) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
danish - 1 changes by Knogle
dutch - 1 changes by habell
german - 2 changes by planetmaker
italian - 1 changes by lorenzodv
korean - 1 changes by telk5093
norwegian_bokmal - 1 changes by cuthbert
slovak - 1 changes by Milsa
spanish - 1 changes by Terkhen
2014-01-27 18:45:52 +00:00
translators
87d373e673 (svn r26280) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
french - 1 changes by glx
korean - 8 changes by telk5093
slovenian - 5 changes by ntadej
welsh - 1 changes by kazzie
2014-01-26 18:45:54 +00:00
frosch
5d4c4b9172 (svn r26279) -Fix [FS#5853]: [NoAI] Some RemoveRail methods required to set a valid railtype, though it was not used anyway. Remove the need to set one. 2014-01-26 14:54:34 +00:00
frosch
f0e7f9982a (svn r26277) -Add [FS#5849]: Display speed limit also for road bridges in the TileInfo window. 2014-01-26 13:50:10 +00:00
fonsinchen
95354136be (svn r26276) -Fix [FS#5874]: Don't spawn link graph jobs for link graphs with only one node 2014-01-24 21:39:07 +00:00
frosch
932dad7c8b (svn r26275) -Fix: If NewGRF provided the same station name for different industry types, stations would end up with same name. So also consider the provided name, not only the industry type. 2014-01-23 20:23:14 +00:00
translators
278b380d10 (svn r26274) -Update from WebTranslator v3.0:
danish - 6 changes by Elyon
norwegian_nynorsk - 2 changes by skjaeve
2014-01-22 18:45:12 +00:00
translators
c884665cb9 (svn r26271) -Update from WebTranslator v3.0:
norwegian_nynorsk - 8 changes by 2rB
2014-01-21 18:45:07 +00:00
frosch
f36d084db5 (svn r26270) -Fix-ish: If ScriptTown::FoundTown fails to generate a new random town name, don't bother sending a command, but fail immediately. 2014-01-20 22:34:22 +00:00
translators
efe6adba6a (svn r26269) -Update from WebTranslator v3.0:
danish - 10 changes by manframe
norwegian_nynorsk - 24 changes by 2rB
2014-01-20 18:45:11 +00:00
translators
5a41423e03 (svn r26268) -Update from WebTranslator v3.0:
danish - 50 changes by Elyon
persian - 1 changes by rey
2014-01-19 18:45:16 +00:00
fonsinchen
7e91f96b92 (svn r26267) -Fix [FS#5865]: Really fix the infinite recursion problem and always consider all branches of conditional orders as possible next stopping stations. 2014-01-19 09:27:44 +00:00
fonsinchen
b158c7d0fa (svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins different company and make sure company masks are valid 2014-01-19 09:26:56 +00:00
fonsinchen
be62387e44 (svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a row 2014-01-19 09:26:17 +00:00
translators
f373f8a9c2 (svn r26264) -Update from WebTranslator v3.0:
danish - 75 changes by Elyon
2014-01-18 18:45:12 +00:00
fonsinchen
a5152be795 (svn r26263) -Fix [FS#5865]: Don't run into infinite recursion when getting next stopping station 2014-01-16 20:50:43 +00:00
frosch
e3947c8019 (svn r26262) -Fix (r25075, r25076): Custom currency was reset on game start. 2014-01-15 21:52:22 +00:00
translators
1213e6ba71 (svn r26261) -Update from WebTranslator v3.0:
swedish - 5 changes by spacejens
2014-01-13 18:45:13 +00:00
rubidium
ef9108bd58 (svn r26260) -Codechange: add template parameters for (non) translucent and (non) animated sprites, so the least expensive variant can be chosen (MJP) 2014-01-13 18:20:23 +00:00
rubidium
eb2c2ef877 (svn r26259) -Codechange: add and maintain some general flags about sprites to prevent unneeded execution of expensive code (MJP) 2014-01-13 18:17:17 +00:00
rubidium
fdf55a1a48 (svn r26258) -Codechange: deduplicate Draw methods (MJP) 2014-01-13 18:12:33 +00:00
rubidium
f5f4f8a4b3 (svn r26257) -Codechange: replace most of the SSE macros by functions 2014-01-13 18:09:21 +00:00
rubidium
3a44e22b1a (svn r26256) -Codechange: do not load some data when it is not (often) used later on (MJP) 2014-01-13 18:06:53 +00:00
rubidium
70901e04c5 (svn r26255) -Codechange: improve performance of brightness adjustment (MJP) 2014-01-13 18:05:47 +00:00
rubidium
2f7c4f6d12 (svn r26254) -Codechange: MOVD is better in some cases than PINSRD (MJP) 2014-01-13 18:04:28 +00:00
rubidium
5b3b533697 (svn r26253) -Codechange: remove margin limitation to preserve block type (MJP) 2014-01-13 18:03:35 +00:00
rubidium
7f6e837b3a (svn r26252) -Codechange: deduplicate code for margin case (MJP) 2014-01-13 18:02:20 +00:00
rubidium
9a90bed79b (svn r26251) -Codechange: prepare Draw code for code deduplication (MJP) 2014-01-13 18:00:18 +00:00
rubidium
6e34672c6c (svn r26250) -Codechange: deduplicate darkening (e.g. shadow) code (MJP) 2014-01-13 17:58:58 +00:00
rubidium
76661f2c56 (svn r26249) -Codechange: simplify/cleanup ALPHA_BLEND macro (MJP) 2014-01-13 17:57:30 +00:00
rubidium
31c6e33878 (svn r26248) -Fix (r26223): missed compiler warning (MJP) 2014-01-13 17:55:34 +00:00
rubidium
a942619911 (svn r26247) -Fix [FS#5854, FS#5855]: Possible out of bounds reads with the sse blitters (MJP) 2014-01-13 17:54:24 +00:00
translators
54a898be33 (svn r26246) -Update from WebTranslator v3.0:
danish - 4 changes by Hatsen
2014-01-12 18:45:11 +00:00
frosch
ee5c115950 (svn r26245) -Codechange: No need for a map, if a vector suffices. 2014-01-12 18:01:50 +00:00
frosch
e9c22ef16f (svn r26244) -Feature: [NewGRF] Add StringCodes 9A 1B, 9A 1C and 9A 1D to display amounts of cargo. 2014-01-12 18:01:33 +00:00
frosch
00e7ceeca4 (svn r26243) -Cleanup: Move TTDPStringIDToOTTDStringIDMapping to newgrf.cpp, it's only used there. 2014-01-12 18:01:16 +00:00
frosch
4f419b8f84 (svn r26242) -Codechange: Use GRFFile that filled the TextRefStack to translate StringIDs from the TextRefStack, instead of passing stuff via global vars. 2014-01-12 18:00:55 +00:00
frosch
ba1779b978 (svn r26241) -Codechange: Remember the GRFFile which filled the TextRefStack in the TextRefStack. 2014-01-12 18:00:39 +00:00
frosch
73c6565cf2 (svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID. 2014-01-12 18:00:19 +00:00
frosch
477c15383d (svn r26239) -Fix: Check that there is space left in the string parameter array, before pushing NewGRF parameters to it. 2014-01-12 18:00:02 +00:00
frosch
5ab39cc651 (svn r26238) -Codechange: Use StringParameters::GetDataLeft to check for left space in the param array. 2014-01-12 17:59:43 +00:00
frosch
bc86bf9b12 (svn r26237) -Cleanup: Remove unused SCC_STRING_ID. 2014-01-12 17:59:27 +00:00
fonsinchen
9ad173c9cc (svn r26236) -Fix: Don't overreserve after autorefit, but do reserve mail for aircraft 2014-01-12 17:44:55 +00:00
planetmaker
8259d279d5 (svn r26235) -Fix: Decimal and digit separators were swapped for Korean language 2014-01-11 14:13:23 +00:00
translators
de5f0e9cbb (svn r26234) -Update from WebTranslator v3.0:
bulgarian - 69 changes by kokobongo
2014-01-10 18:45:09 +00:00
translators
208db963ad (svn r26233) -Update from WebTranslator v3.0:
swedish - 2 changes by spacejens
2014-01-09 18:45:09 +00:00
translators
6025a52ee9 (svn r26232) -Update from WebTranslator v3.0:
korean - 6 changes by telk5093
portuguese - 1 changes by frosch
2014-01-08 18:45:14 +00:00
fonsinchen
014813141d (svn r26228) -Fix: missing variable initialization 2014-01-05 11:28:31 +00:00
zuu
998049a618 (svn r26226) -Fix (r26212): Compilation in visual studio 2008 failed 2014-01-05 10:15:57 +00:00
rubidium
4575420dcc (svn r26225) -Document: more tidbits about cpuid and PIC (Eagle_Rainbow) 2014-01-04 19:46:24 +00:00
translators
b48bb25288 (svn r26224) -Update from WebTranslator v3.0:
brazilian_portuguese - 4 changes by Tucalipe
2014-01-03 18:45:13 +00:00
planetmaker
7b20da8a0a (svn r26223) -Codechange: Silence some compile warnings about unititialized variables in the SSE blitters (MJP) 2014-01-03 18:43:10 +00:00
rubidium
115c712f4e (svn r26222) -Codechange: use SSE instructions for transparent colour "remap" in the SSE2/SSSE3 blitters as well 2014-01-03 18:03:14 +00:00
rubidium
613fb9c6ef (svn r26221) -Codechange: normalize constant names in anim-sse4 with the others (MJP) 2014-01-03 17:55:40 +00:00
rubidium
9947bdb0c4 (svn r26220) -Fix?: another attempt at getting cpuid to finally work "everywhere" 2014-01-03 15:09:55 +00:00
rubidium
e6fc55b07b (svn r26219) -Fix: cpuid code still didn't work right in some situations 2014-01-03 13:29:12 +00:00
rubidium
f480c5a623 (svn r26217) -Change: blitter autoselection based on full animation state, so the non-animated optimizations can actually be used in an easy manner (based on patch by MJP) 2014-01-03 08:51:49 +00:00
rubidium
1d4565a666 (svn r26216) -Change: the blitter selection to also consider the 32bpp-sse4-anim blitter (MJP) 2014-01-03 08:31:32 +00:00
rubidium
1e1656110a (svn r26215) -Codechange: rework code so one can test if a blitter factory exists before attempting trying to instantiate an instance 2014-01-03 08:29:07 +00:00
rubidium
4c84d13454 (svn r26214) -Add: specialised animated SSE4 blitter (MJP)
With 32bpp base set about 15-20% faster in the Draw function (slower with 8bpp base set). Overall, with 32bpp base set, about 5% faster.
2014-01-02 23:52:13 +00:00
rubidium
78df732a7b (svn r26213) -Add: specialised non-animated SSE4 blitter (MJP)
With 32bpp base set about 40% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 8 and 1% of total run time
2014-01-02 23:21:07 +00:00
rubidium
71a81a8762 (svn r26212) -Add: specialised non-animated SSSE3 blitter (MJP)
With 32bpp base set about 35% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 6 and 1% of total run time
2014-01-02 23:17:01 +00:00
rubidium
fb05674cb7 (svn r26211) -Add: specialised non-animated SS2 blitter (MJP)
With 32bpp base set about 30% faster than 32bpp-optimized, or about 10% for 8bpp base sets in the Draw function. Respectively about 5 and 1% of total run time
2014-01-02 23:12:32 +00:00
rubidium
899c0f9cd2 (svn r26210) -Codechange: add infrastructure for not registering a blitter 2014-01-02 22:48:32 +00:00
rubidium
2618d960e3 (svn r26209) -Codechange: remove some template magic and simplify some code 2014-01-02 22:41:58 +00:00
rubidium
456dba4889 (svn r26208) -Fix (r26197): the cpuid assembly didn't work when PIC was enabled 2014-01-02 21:28:40 +00:00
rubidium
b100125866 (svn r26207) -Codechange: move the CPUID flag detection into cpu.cpp 2014-01-02 18:52:54 +00:00
frosch
7247ecf172 (svn r26206) -Fix [FS#5829]: Run everything from ini, obg, obs, obs, ... files through str_validate. 2014-01-02 17:55:57 +00:00
rubidium
3c94485ba0 (svn r26205) -Feature: SSE 4.1 sprite sorter, improving the sorting performance significantly (MJP)
For example with GCC 4.8, x86_64 Linux, Intel i5-3337U this patch improves the performance of Pile, Treham and Hamac test save games by about 10% in over-all run time at fast forward at 1920x1080 when zoomed out and when trees are not disabled.
2014-01-02 16:48:16 +00:00
rubidium
c98a94da44 (svn r26204) -Codechange: rework GfxBlitter to remove some unneeded operations when there is no sub sprite (based on patch by MJP) 2014-01-02 11:58:13 +00:00
rubidium
256a3160c4 (svn r26203) -Codechange: unduplicate GfxMainBlitter and GfxMainBlitterViewport 2014-01-02 11:47:09 +00:00
rubidium
9bf21279f8 (svn r26202) -Cleanup: since ZOOM_LEVEL_NORMAL 0 and there aren't any negative zoom levels, there is no reason to account for negative zoom levels in the zoom functions (based on patch by MJP) 2014-01-02 11:05:42 +00:00
rubidium
fb4db0b022 (svn r26201) -Fix: unscaling by a negative value is the same as scaling by a positive number 2014-01-02 11:04:37 +00:00
rubidium
868a67111b (svn r26200) -Fix (r26197): hopefully it works now 2014-01-02 09:26:21 +00:00
rubidium
298b003db1 (svn r26199) -Fix (r29197): typo in function name 2014-01-02 09:14:13 +00:00
rubidium
e76d294c10 (svn r26197) -Add: wrappers around cpuid 2014-01-02 08:55:32 +00:00
rubidium
59ff2836d4 (svn r26195) -Codechange: move debug's ottd_rdtsc (CPU specific high precision timer) into cpu.h/cpp 2014-01-02 08:45:28 +00:00
translators
aad80b7536 (svn r26193) -Update from WebTranslator v3.0:
german - 1 changes by Jogio
2014-01-01 18:45:12 +00:00
rubidium
e3542b1977 (svn r26192) -Fix (r24878): off-by-one error ;) 2013-12-31 23:08:55 +00:00
translators
0de65cbf91 (svn r26190) -Update from WebTranslator v3.0:
indonesian - 2 changes by abdu354
2013-12-31 18:45:07 +00:00
translators
2c6aa62bbf (svn r26189) -Update from WebTranslator v3.0:
indonesian - 33 changes by abdu354
korean - 5 changes by telk5093
2013-12-30 18:45:13 +00:00
fonsinchen
ecdd796a86 (svn r26188) -Codechange: Move station refitting to a separate function. 2013-12-30 14:50:45 +00:00
fonsinchen
63b43ed914 (svn r26187) -Fix: allow refitting at station if cargo has already been reserved. 2013-12-30 14:50:09 +00:00
fonsinchen
c71aa27b92 (svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED. 2013-12-30 14:46:24 +00:00
translators
cab6391ded (svn r26185) -Update from WebTranslator v3.0:
norwegian_nynorsk - 137 changes by terjesc
2013-12-29 18:45:09 +00:00
translators
a178781487 (svn r26184) -Update from WebTranslator v3.0:
welsh - 126 changes by kazzie
2013-12-28 18:45:09 +00:00
translators
28de2ec68b (svn r26183) -Update from WebTranslator v3.0:
estonian - 9 changes by KSiimson
indonesian - 4 changes by abdu354
korean - 85 changes by telk5093
2013-12-27 18:45:17 +00:00
translators
cc873704ac (svn r26182) -Update from WebTranslator v3.0:
arabic_egypt - 15 changes by abdXelrhman
2013-12-26 18:45:07 +00:00
translators
fb1a5caf9f (svn r26181) -Update from WebTranslator v3.0:
estonian - 20 changes by KSiimson
hungarian - 7 changes by IPG
korean - 1 changes by telk5093
2013-12-25 18:45:17 +00:00
frosch
3bdb4982d7 (svn r26180) -Fix: Visual effects did not work for articulated RV parts. 2013-12-25 11:37:10 +00:00
translators
40bf635a6d (svn r26179) -Update from WebTranslator v3.0:
estonian - 9 changes by KSiimson
greek - 51 changes by Evropi
korean - 2 changes by telk5093
2013-12-24 18:45:18 +00:00
translators
1154aecad6 (svn r26176) -Update from WebTranslator v3.0:
estonian - 6 changes by KSiimson
2013-12-24 05:04:18 +00:00
frosch
49852e3dac (svn r26175) -Add: Log in desync output when persistent storage is discarded. 2013-12-23 18:09:29 +00:00
frosch
eca86d1baf (svn r26174) -Codechange: Rename BaseStorageArray to BasePersistentStorageArray 2013-12-23 18:09:03 +00:00
frosch
a9e8d7a361 (svn r26173) -Change: [NewGRF] Reset the temporary storage registers for every sprite resolving. 2013-12-23 18:08:36 +00:00
frosch
3eea1befa7 (svn r26172) -Codechange: Make SpriteGroup::Resolve aware of nested calls. 2013-12-23 18:08:16 +00:00
frosch
82eb9d13df (svn r26171) -Codechange: Make TemporaryStorageArray keep track of assigned registers. Also make clearing the array 'cheaper'. 2013-12-23 18:07:57 +00:00
rubidium
00c05e79b1 (svn r26170) -Feature-ish: add the currently used fonts to the crash log 2013-12-22 17:46:27 +00:00
frosch
b02179bd8e (svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve. 2013-12-22 11:55:07 +00:00
frosch
62c0d42f92 (svn r26167) -Fix [FS#5834]: Certain hotkeys crashed the content GUI when the list was empty. 2013-12-20 18:29:53 +00:00
fonsinchen
ec492bfb77 (svn r26166) -Fix: Scale flows only after mapping to avoid rounding errors. 2013-12-20 14:57:44 +00:00
frosch
4818b72c75 (svn r26165) -Change [FS#5832]: Improve layout of build-airport GUI (hackalittlebit) 2013-12-18 18:23:30 +00:00
zuu
b2f2a017b1 (svn r26164) -Doc: Fix Game Script API docs on that deity can build/prospect independent of advanced setting for that 2013-12-17 20:41:51 +00:00
translators
6817e97898 (svn r26163) -Update from WebTranslator v3.0:
czech - 4 changes by retro
latvian - 6 changes by Parastais
2013-12-17 18:45:13 +00:00
translators
0727b81db9 (svn r26162) -Update from WebTranslator v3.0:
thai - 1 changes by nirakanz
2013-12-16 18:45:08 +00:00
frosch
3d53c0f7b9 (svn r26161) -Fix [FS#5830] (r22567) (r25956-ish): Backup data of altered persistent storage arrays was freed twice. 2013-12-16 18:18:58 +00:00
translators
e595720085 (svn r26160) -Update from WebTranslator v3.0:
danish - 1 changes by Hellwing
gaelic - 7 changes by GunChleoc
2013-12-14 18:45:18 +00:00
frosch
a12fa22a75 (svn r26158) -Fix: NewGRF inspect window lacked several newer variables. 2013-12-13 20:52:25 +00:00
frosch
e0d69933f6 (svn r26157) -Feature: [NewGRF] Vehicle variable 4D for determining the position within an articulated vehicle. 2013-12-13 20:21:04 +00:00
translators
07ecc26efa (svn r26156) -Update from WebTranslator v3.0:
luxembourgish - 4 changes by Phreeze
2013-12-11 18:45:11 +00:00
translators
86c0bc6b78 (svn r26154) -Update from WebTranslator v3.0:
luxembourgish - 34 changes by Phreeze
2013-12-09 18:45:08 +00:00
frosch
ab9be31562 (svn r26153) -Doc [FS#5826]: Fix copy-pasty. (krinn) 2013-12-09 18:38:07 +00:00
frosch
c69c2a243b (svn r26152) -Revert/Fix (r26118) [FS#5822]: While the condition is non-sense, the 'true' case is required for articulated parts and the 'false' case is required for savegame compatibility. 2013-12-08 21:22:03 +00:00
translators
065f8df860 (svn r26151) -Update from WebTranslator v3.0:
luxembourgish - 37 changes by Phreeze
turkish - 40 changes by wakeup
2013-12-08 18:45:14 +00:00
frosch
51f5d62fdb (svn r26150) -Revert (r26120): EnforcePrecondition alters the last-error status and is only meant for commands. 2013-12-08 18:20:14 +00:00
frosch
bf0e7c34e6 (svn r26149) -Fix [FS#5825]: [Script] Various API functions did not check whether ScrtipRoad::SetCurrentRoadType was called appropiately. 2013-12-08 15:44:09 +00:00
frosch
2e79fd9c40 (svn r26148) -Fix [FS#5824] (r25735): Script API failed for vehicles with only implicit orders. 2013-12-08 15:13:06 +00:00
translators
3cafd72cc4 (svn r26146) -Update from WebTranslator v3.0:
luxembourgish - 40 changes by Phreeze
turkish - 56 changes by wakeup
2013-12-07 18:45:13 +00:00
translators
ce8a45c870 (svn r26145) -Update from WebTranslator v3.0:
norwegian_bokmal - 3 changes by Trond
polish - 1 changes by p0358
2013-12-06 18:45:16 +00:00
translators
da67cfe17c (svn r26144) -Update from WebTranslator v3.0:
slovak - 1 changes by Tinix
2013-12-05 18:45:11 +00:00
translators
8f7f4ccc5e (svn r26143) -Update from WebTranslator v3.0:
danish - 15 changes by Hellwing
english_AU - 8 changes by mrtux
korean - 2 changes by telk5093
latvian - 1 changes by Parastais
luxembourgish - 6 changes by Phreeze
2013-12-04 18:45:26 +00:00
translators
5890e184bb (svn r26142) -Update from WebTranslator v3.0:
latvian - 10 changes by Parastais
turkish - 49 changes by wakeup
2013-12-03 18:45:16 +00:00
translators
1f62de41ec (svn r26141) -Update from WebTranslator v3.0:
portuguese - 1 changes by vesgo
turkish - 39 changes by wakeup
2013-12-02 18:45:19 +00:00
translators
7d632b7414 (svn r26140) -Update from WebTranslator v3.0:
turkish - 41 changes by wakeup
2013-12-01 18:45:09 +00:00
translators
a3471b4ab9 (svn r26139) -Update from WebTranslator v3.0:
latvian - 3 changes by Parastais
vietnamese - 2 changes by nglekhoi
2013-11-29 18:45:17 +00:00
rubidium
eec66b089d (svn r26138) -Fix [FS#5821] (r26105-ish): [Script] scripts could trigger the internal IsValidRoadType assertion 2013-11-29 18:06:14 +00:00
rubidium
354ec53b3c (svn r26137) -Merge: documentation updates from 1.3 branch 2013-11-29 13:15:02 +00:00
rubidium
aa8f9e28a2 (svn r26134) -Fix [FS#5820]: aircraft crashing near the map's border due to a lack of airports could trigger an assertion in most builds 2013-11-28 19:37:24 +00:00
translators
f6362ae298 (svn r26133) -Update from WebTranslator v3.0:
frisian - 1 changes by Taeke
malay - 3 changes by aarchen1795
2013-11-28 18:45:10 +00:00
rubidium
70b2093ddb (svn r26132) -Fix-ish: prevent issues due to overflowing multiplications by limiting the size of full zoom sprites to about 32kix32ki 2013-11-26 22:03:56 +00:00
translators
b0a6efc7b3 (svn r26131) -Update from WebTranslator v3.0:
simplified_chinese - 1 changes by siu238X
traditional_chinese - 1 changes by siu238X
turkish - 13 changes by wakeup
2013-11-26 18:45:17 +00:00
rubidium
d2ba772f6a (svn r26130) -Codechange: add some guards against using invalid image indices 2013-11-26 16:08:58 +00:00
rubidium
7abe85d727 (svn r26129) -Fix: remove dead code; it could be made to do what it did, but then it would be inconsistent with moving vehicles around 2013-11-26 15:30:41 +00:00
rubidium
b1bcd1adab (svn r26128) -Fix: erroneous cast 2013-11-26 15:12:54 +00:00
rubidium
f514e31978 (svn r26127) -Fix (r18186): missing break 2013-11-26 15:08:15 +00:00
rubidium
54a8e00a7e (svn r26126) -Cleanup: remove unneeded check for NULL 2013-11-26 14:52:28 +00:00
rubidium
982fcb7aab (svn r26125) -Fix: make sure the tile area's variables are always properly initialised 2013-11-26 14:47:45 +00:00
rubidium
5e3aa72855 (svn r26124) -Fix: make sure all members of the default string iterator are initialised 2013-11-26 13:42:09 +00:00
rubidium
02059ab4a7 (svn r26123) -Fix: make sure the maximum row length when making company buttons is at least 1 2013-11-26 13:27:34 +00:00
rubidium
79ccf48636 (svn r26122) -Fix-ish: remove essentially dead code; if nested_array were NULL there, it would segfault in RaiseWidget 2013-11-26 13:23:31 +00:00
rubidium
50fdf5e30c (svn r26121) -Codechange: add some asserts after dynamic casts to show they shouldn't return NULL ever 2013-11-26 13:21:25 +00:00
rubidium
945fccc706 (svn r26120) -Fix: [Script] Replace simple check with precondition check, after that simple check was documented as a precondition 2013-11-26 12:48:56 +00:00
rubidium
3b83a195ca (svn r26119) -Fix: ResolveCompanyID on an already resolved CompanyID 2013-11-26 12:46:21 +00:00
rubidium
b12205697b (svn r26118) -Fix-ish?: comparing the old Direction to the possibly new state containing a TrackDir... well comparing apples and pears. Occasionally they would be the same and occasionally not; at least without any logic behind it.
Since the occasions that the false branch was taken never resulted in a bug report, I highly doubt that removing it completely affects anything... except the visual speed of cornering in a numer of corners (<50%) and visual speed in an old style road stop.
2013-11-26 12:04:16 +00:00
rubidium
f669101560 (svn r26117) -Cleanup: unneeded NULL check 2013-11-26 10:00:15 +00:00
rubidium
04e97a0bec (svn r26116) -Codechange: validate that the number of lines in a graph is more than 0 2013-11-25 22:32:32 +00:00
rubidium
77e5b1e3b2 (svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught 2013-11-25 22:22:32 +00:00
rubidium
d2ffba07bb (svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell 2013-11-25 21:50:54 +00:00
rubidium
43f76dcabb (svn r26113) -Fix: unhandled seek error, and leaking file descriptor 2013-11-25 16:42:35 +00:00
rubidium
ffb9279479 (svn r26112) -Fix: make sure a vehicle list is always initialised 2013-11-25 16:36:11 +00:00
rubidium
b53da6a6f5 (svn r26111) -Fix: theoretical case where sprite table could be overread for aqueducts that start at flat land 2013-11-25 16:26:50 +00:00
rubidium
c2ee87c1a9 (svn r26110) -Codechange: add guard for enterdir being valid in signal code 2013-11-25 16:22:29 +00:00
rubidium
00264cc708 (svn r26109) -Fix: missing initialisation 2013-11-25 14:34:09 +00:00
rubidium
defda16eb6 (svn r26108) -Codechange: some coding style (whitespace) 2013-11-25 14:30:22 +00:00
rubidium
6996b441d9 (svn r26107) -Codechange/cleanup: remove some coding bloat and simplify the driver factory instatiations 2013-11-25 14:26:46 +00:00
rubidium
a399fc667c (svn r26106) -Codechange: document fall through explicitly 2013-11-25 13:28:08 +00:00
rubidium
4b8d9aad5b (svn r26105) -Codechange: add a lot of assertions to track/road functions that might eventually lead to become indices into tables 2013-11-25 13:16:06 +00:00
rubidium
c143ca729a (svn r26104) -Fix: do not attempt to do stuff with an invalid direction, especially using it as index into a table 2013-11-25 13:13:35 +00:00
rubidium
f817b06c18 (svn r26103) -Fix: prevent odd overflows due to integer promotion 2013-11-25 13:06:33 +00:00
rubidium
e106e54f9f (svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true 2013-11-25 11:11:56 +00:00
rubidium
18beaac571 (svn r26101) -Fix: NULL pointer dereference when one can't allocate an order list but wants to make implicit orders 2013-11-25 11:08:21 +00:00
rubidium
573f6dcd34 (svn r26100) -Fix: possible buffer overflow in console handling of aliases 2013-11-25 10:13:59 +00:00
rubidium
2009da4f7d (svn r26099) -Codechange: make NewGRF scanner management slightly easier 2013-11-25 09:22:56 +00:00
rubidium
43edd2409e (svn r26098) -Fix: close the log file when OpenTTD was forked and finally closed 2013-11-25 09:20:35 +00:00
rubidium
ee0aa389a8 (svn r26097) -Fix: another minor memory leak (when pressing cancel in the bootstrap window) 2013-11-25 09:12:49 +00:00
rubidium
0460b78515 (svn r26093) -Fix (r26092): compilation error 2013-11-24 19:53:35 +00:00
rubidium
168fa4129d (svn r26092) -Fix [FS#5818]: prevent scripts from crashing OpenTTD when they send text with command codes to user editable texts such as sign and station names 2013-11-24 19:46:16 +00:00
rubidium
4de2871fc0 (svn r26091) -Fix (r26089): double frees... woospie 2013-11-24 16:21:19 +00:00
rubidium
c54a70cce8 (svn r26090) -Fix: leaking of file descriptor when reading strings for game texts 2013-11-24 15:25:41 +00:00
rubidium
0ac9ed0b6b (svn r26089) -Fix: a number of minor memory leaks 2013-11-24 15:21:38 +00:00
rubidium
2fc10b7e04 (svn r26088) -Fix (r26086): Windows compilation 2013-11-24 15:17:53 +00:00
rubidium
3eecd246eb (svn r26087) -Fix: file descriptor leak when finding a corrupt tar 2013-11-24 15:02:05 +00:00
rubidium
83eeba28b7 (svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for dropdowns 2013-11-24 14:46:26 +00:00
frosch
db894b0b3f (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. 2013-11-24 14:41:19 +00:00
rubidium
45a5aba8d5 (svn r26084) -Fix: don't allow executing the palette toggling code when it's not editable 2013-11-24 14:34:33 +00:00
rubidium
58c356e935 (svn r26083) -Codechange: pass the CommandContainer for the station joiner around using a reference instead of by-value 2013-11-24 14:29:32 +00:00
rubidium
b75e60124d (svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in the root directory would not be read properly (zydeco) 2013-11-24 13:00:06 +00:00
rubidium
6fb28d8719 (svn r26081) -Fix [FS#5815]: memset with virtual functions doesn't quite work. Upon further review CompanyProperties doesn't need to be virtual in the current code base 2013-11-24 09:52:35 +00:00
rubidium
a8e8f606d8 (svn r26080) -Fix: possible out of bounds array access 2013-11-24 09:30:30 +00:00
rubidium
5e2d22da79 (svn r26077) -Codechange: handle strings like strings when scanning a tar instead of merely blobs of memory 2013-11-23 21:42:45 +00:00
rubidium
5049e938f5 (svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs 2013-11-23 21:31:00 +00:00
translators
2f51639af8 (svn r26074) -Update from WebTranslator v3.0:
afrikaans - 3 changes by mulderpf
2013-11-23 18:45:10 +00:00
rubidium
d336bf65df (svn r26073) -Cleanup: unneeded check against NULL 2013-11-23 18:13:46 +00:00
rubidium
be6b64f4e6 (svn r26072) -Cleanup: mark some unreachable default cases by NOT_REACHED() 2013-11-23 18:13:30 +00:00
rubidium
729d64d8d9 (svn r26071) -Fix: always initialise GRFFileProps 2013-11-23 18:11:22 +00:00
rubidium
1b9e32664f (svn r26070) -Fix: prevent extremely huge size for data (1+GiB) 2013-11-23 18:11:01 +00:00
rubidium
cf130ce9d8 (svn r26069) -Fix: missing break in NewGRF object handling 2013-11-23 18:10:06 +00:00
rubidium
9e216a688f (svn r26068) -Fix: unneeded NULL check 2013-11-23 18:08:48 +00:00
rubidium
c035a9531b (svn r26067) -Fix: possible NULL dereference when getting NewGRF version 2013-11-23 18:08:15 +00:00
rubidium
d18852170b (svn r26066) -Fix: possible NULL dereference when resolving industry scope 2013-11-23 18:07:11 +00:00
rubidium
c29f18f357 (svn r26065) -Fix: possible dereference of NULL for texts from game scripts 2013-11-23 18:06:27 +00:00
rubidium
d9ee35006d (svn r26064) -Fix: possible uninitialised array when loading a broken TT-ish savegame 2013-11-23 18:06:00 +00:00
rubidium
3bae1522c9 (svn r26063) -Fix (r26062): a few tabs too much 2013-11-23 13:24:31 +00:00
rubidium
3b2a92ea97 (svn r26062) -Fix: beef up checks against invalid data in highscore and language files 2013-11-23 13:18:29 +00:00
rubidium
78a316d349 (svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases 2013-11-23 13:17:45 +00:00
rubidium
29ef70c246 (svn r26060) -Fix: do not let depend overrun its buffers when paths are extremely (and unlikely) long 2013-11-23 13:16:45 +00:00
rubidium
ba1b35a0ac (svn r26059) -Fix (r20435): missed one instance causing to compare an array to NULL instead of an array's element 2013-11-23 13:16:05 +00:00
rubidium
0e9c992104 (svn r26058) -Fix: handle the return value of a number of functions better 2013-11-23 13:15:07 +00:00
rubidium
b3e93d6520 (svn r26057) -Fix: a number of possibly uninitialised variables 2013-11-23 13:12:19 +00:00
rubidium
2e54c8fdfa (svn r26056) -Fix: a number of possibly uninitialised variables 2013-11-22 21:50:43 +00:00
rubidium
bdd62a4b3e (svn r26055) -Codechange: mark switch default as really not triggerable, as technically it's dead code 2013-11-22 21:47:03 +00:00
rubidium
0eaa8fbfcd (svn r26054) -Fix: minor memory leak in strgen 2013-11-22 21:45:57 +00:00
rubidium
3362606401 (svn r26053) -Fix: possible use-after-free 2013-11-22 21:45:28 +00:00
rubidium
83a76c73c7 (svn r26052) -Fix: missing virtual destructor could cause some memory to be not freed 2013-11-22 21:44:51 +00:00
rubidium
8e27031492 (svn r26051) -Fix: out of bounds access in CmdTownCargoGoal 2013-11-22 21:44:23 +00:00
rubidium
6f21593bf6 (svn r26050) -Fix: possible, but currently untriggered, out of bounds access in strgen 2013-11-22 21:43:47 +00:00
rubidium
1b924f194f (svn r26049) -Codechange: remove some dead code as order can't be NULL there 2013-11-22 21:42:47 +00:00
rubidium
830a49692d (svn r26048) -Fix: use delete instead of free when allocated by new 2013-11-22 21:42:20 +00:00
rubidium
ed4e14dc20 (svn r26047) -Fix: possible, but very unlikely, null pointer dereference when gunziping just downloaded files 2013-11-22 21:41:49 +00:00
rubidium
fad4fa09ba (svn r26046) -Fix: handle a number of failure conditions from methods called in the network code 2013-11-22 21:41:19 +00:00
translators
b37d402b2d (svn r26045) -Update from WebTranslator v3.0:
norwegian_bokmal - 2 changes by Trond
swedish - 3 changes by abbedabb
2013-11-22 18:45:13 +00:00
translators
b568de6c49 (svn r26044) -Update from WebTranslator v3.0:
norwegian_bokmal - 4 changes by Trond
2013-11-21 18:45:08 +00:00
rubidium
1a043202d1 (svn r26043) -Fix [FS#5811]: occasional hanging when client joins 2013-11-21 18:35:31 +00:00
translators
ae7b830964 (svn r26042) -Update from WebTranslator v3.0:
japanese - 3 changes by nex259
luxembourgish - 1 changes by Phreeze
2013-11-20 18:45:12 +00:00
fonsinchen
8852d63711 (svn r26041) -Fix: make variable initialization more obvious for humans and compilers. 2013-11-19 19:43:56 +00:00
fonsinchen
29d0c68bb0 (svn r26040) -Fix: return 0 from unreached part of function to silence some compilers 2013-11-19 19:42:40 +00:00
translators
65752ec55b (svn r26039) -Update from WebTranslator v3.0:
belarusian - 139 changes by KorneySan
croatian - 1 changes by VoyagerOne
korean - 2 changes by telk5093
turkish - 15 changes by wakeup
2013-11-19 18:45:22 +00:00
frosch
78d0c37298 (svn r26038) -Fix: Doxygen syntax. 2013-11-18 20:09:09 +00:00
rubidium
5b3d3b7240 (svn r26037) -Fix (r26036): there was a reason they weren't references... 2013-11-18 19:47:43 +00:00
rubidium
a36fb735c0 (svn r26036) -Fix [FS#5809]: multi line text was handled incorrectly causing glitches 2013-11-18 19:35:06 +00:00
translators
88216aa520 (svn r26035) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
catalan - 1 changes by juanjo
dutch - 1 changes by habell
french - 28 changes by glx
german - 1 changes by planetmaker
norwegian_bokmal - 7 changes by Trond
spanish - 2 changes by Terkhen
2013-11-18 18:45:49 +00:00
translators
baf0a2b3d6 (svn r26030) -Update from WebTranslator v3.0:
italian - 1 changes by lorenzodv
japanese - 3 changes by nex259
lithuanian - 1 changes by Stabilitronas
norwegian_bokmal - 14 changes by Trond, cuthbert
2013-11-17 17:27:49 +00:00
michi_cc
b0b20192a9 (svn r26029) -Fix (r26017): The internal index of a character in the layout line depends on the used layouter. 2013-11-17 17:08:20 +00:00
frosch
ec4806a82d (svn r26027) -Change [FS#5669-ish]: [NewGRF] Invalidate vehicle colour palette when leaving a station. 2013-11-17 16:02:39 +00:00
frosch
8fbd2f5cb5 (svn r26026) -Fix (r25648) [FS#5775-ish]: Invalidate vehicle colour palette again when rearranging consist, reversing, ... 2013-11-17 16:01:50 +00:00
michi_cc
2708aff853 (svn r26023) -Fix [FS#5805] (r25686): [OSX] Checking for a valid NSTextInputContext is supposed to fail on 10.4 according to docs, but somehow didn't, leading to a crash when an edit box lost focus. 2013-11-17 12:05:40 +00:00
rubidium
4c5ccc8b94 (svn r26018) -Codechange: since there's a wrapper for ICU functions now, we can use proper coding style for names again 2013-11-16 21:05:26 +00:00
rubidium
ddc0026712 (svn r26017) -Change: allow the fallback and ICU layouter to exist in unison
-Fix [FS#5711]: crash when the ICU layouter thinks a font is corrupted
2013-11-16 20:57:54 +00:00
rubidium
6449e96f1a (svn r26016) -Codechange: prepare for some class renames 2013-11-16 20:32:55 +00:00
rubidium
b9e4697d8a (svn r26015) -Codechange: some constificaton 2013-11-16 19:59:06 +00:00
translators
16ecd533f3 (svn r26014) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
polish - 1 changes by wojteks86
romanian - 15 changes by tonny
russian - 2 changes by Lone_Wolf
slovak - 4 changes by Milsa
swedish - 1 changes by Joel_A
2013-11-16 18:45:43 +00:00
fonsinchen
e6668f24b5 (svn r26013) -Revert (r25495) [FS#5684]: Having trains miss a platform that is just being modified is less of a problem than having trains stop twice without moving. 2013-11-16 17:52:00 +00:00
zuu
6fc653d2d7 (svn r26012) -Add: new goal type that show a story page when clicked 2013-11-16 17:41:57 +00:00
zuu
41b07b571d (svn r26010) -Document [FS#5662]: The AI/GS library name to use in Import, is not the name given by GetName but GetInstanceName 2013-11-16 12:33:45 +00:00
rubidium
3b9f92e14c (svn r26009) -Fix: warning about conditional expression with enumeral with non-enumeral type 2013-11-16 10:05:57 +00:00
rubidium
b934e528d9 (svn r26008) -Fix (r25975): uninitialised warning 2013-11-16 10:04:10 +00:00
rubidium
a25ecfd982 (svn r26007) -Change: make handling strings coming from game scripts slightly more lenient, i.e. less 'fatal error... must quit' 2013-11-16 09:54:22 +00:00
rubidium
d7af679fd6 (svn r26006) -Fix [FS#5804]: Game script showing vehicle on a story book, then the vehicle being removed and eventually being replaced by a non-user vehicle (most likely smoke) causing an assertion to trigger 2013-11-16 09:49:13 +00:00
rubidium
18a3a569fb (svn r26005) -Fix [FS#5478]: crash when transferring savegame from server to client 2013-11-15 22:22:01 +00:00
translators
c98c41e007 (svn r26004) -Update from WebTranslator v3.0:
romanian - 30 changes by tonny
swedish - 1 changes by Joel_A
2013-11-15 18:45:13 +00:00
michi_cc
a985f19d5a (svn r26003) -Fix [FS#5795b] (r25743): [OSX] Some hotkeys were still triggered during text input. 2013-11-14 23:04:04 +00:00
michi_cc
8f8173c3fe (svn r26002) -Fix: [OSX] If the console hotkey is a dead key, require two presses to toggle the console, allowing input of accented characters. 2013-11-14 23:03:59 +00:00
michi_cc
8ceef6ec61 (svn r26001) -Fix [FS#5795a] (r25686): [OSX] Clear any pending marked characters from an edit box losing focus. 2013-11-14 23:03:54 +00:00