Commit Graph

14473 Commits

Author SHA1 Message Date
frosch 290fbd2231 (svn r25564) -Add: a simple clipping rule to decide whether a string without linebreaks is visible before computing the layouting. This skips around 2/3 of layout computations in usual-sized list-like windows. 2013-07-06 12:18:20 +00:00
rubidium e3bb1d8c73 (svn r25563) -Fix: WT3 validation error 2013-07-05 19:35:29 +00:00
frosch 840f836704 (svn r25562) -Fix [FS#5633]: If the next order cannot be resolved, reset the current order property instead of leaving it in an intermediate state. 2013-07-05 19:09:18 +00:00
translators c6aad246c9 (svn r25561) -Update from WebTranslator v3.0:
traditional_chinese - 118 changes by siu238X
hungarian - 5 changes by IPG
japanese - 221 changes by guppy
slovak - 2 changes by Milsa
spanish - 2 changes by Terkhen
2013-07-05 17:45:28 +00:00
rubidium 3f7fdd738b (svn r25558) -Fix [FS#5568]: [Squirrel] Infinite recursion loop in freeing data via a looping set of references 2013-07-04 20:06:27 +00:00
rubidium 1e715bfbea (svn r25557) -Fix [FS#5524]: one could build bridges over owned land of another company 2013-07-04 20:05:07 +00:00
translators 021cc15672 (svn r25556) -Update from WebTranslator v3.0:
catalan - 83 changes by smauleon
simplified_chinese - 44 changes by siu238X
traditional_chinese - 52 changes by siu238X
french - 2 changes by glx
galician - 50 changes by Michi
hungarian - 2 changes by Brumi
japanese - 936 changes by guppy
polish - 3 changes by p0358
slovak - 2 changes by Milsa
thai - 2 changes by nirakanz
2013-07-04 17:46:01 +00:00
rubidium 4c443bce5c (svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated before they were shown, causing an assertion to trigger 2013-07-04 16:36:47 +00:00
translators 76566fde5b (svn r25554) -Update from WebTranslator v3.0:
czech - 44 changes by Eskymak
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
italian - 2 changes by lorenzodv
korean - 2 changes by telk5093
russian - 2 changes by Lone_Wolf
slovak - 8 changes by Milsa
2013-07-03 17:45:39 +00:00
rubidium 1efc64fa7d (svn r25553) -Fix [FS#5530]: provide a warning when no vehicles are available, and tell what to do in that case 2013-07-02 18:57:26 +00:00
translators 79ddda1b10 (svn r25552) -Update from WebTranslator v3.0:
russian - 39 changes by Lone_Wolf
slovak - 19 changes by Milsa
swedish - 1 changes by Joel_A
thai - 3 changes by nirakanz
turkish - 4 changes by emremeydan
2013-07-02 17:45:30 +00:00
frosch e8b6d2b32d (svn r25551) -Fix (r25465): Possible reading of uninitialised memory due to undefined execution order. 2013-07-01 19:53:05 +00:00
rubidium d9065fbfbe (svn r25550) -Fix [FS#5571]: [Windows] Race condition between two drawing threads could crash OpenTTD 2013-07-01 19:48:52 +00:00
translators 68659495b5 (svn r25549) -Update from WebTranslator v3.0:
finnish - 41 changes by jpx_
korean - 39 changes by telk5093
polish - 6 changes by p0358
slovak - 37 changes by Milsa
2013-07-01 17:45:24 +00:00
frosch 3a81868518 (svn r25548) -Fix [FS#5629] (r25537): Removed too much code and forgot some other places. 2013-07-01 17:15:30 +00:00
rubidium 7bc4845aac (svn r25547) -Fix [FS#5626]: ICU returns the width of the visual run as if the trailing space was added (in case a newline was added). This caused the width to be more than the requested width, but it would still be drawn correctly 2013-07-01 15:26:27 +00:00
rubidium f4c9ba4981 (svn r25546) -Fix: two small memory leaks 2013-06-30 20:40:49 +00:00
translators 36bd61f303 (svn r25545) -Update from WebTranslator v3.0:
croatian - 39 changes by VoyagerOne
english_AU - 39 changes by mrtux
french - 39 changes by glx
german - 1 changes by Jogio
hungarian - 39 changes by Brumi
italian - 39 changes by lorenzodv
korean - 2 changes by telk5093
polish - 5 changes by wojteks86
thai - 42 changes by nirakanz
turkish - 113 changes by emremeydan
2013-06-30 17:46:07 +00:00
rubidium 1ff95f36bf (svn r25544) -Fix [FS#5625] (r25488, r25486): [GS] The checks and validations for setting the extra text in the town window became too stringent 2013-06-30 15:59:10 +00:00
frosch c1bf3122ad (svn r25543) -Cleanup: Make the bridge and object picker not restore their previous size, but the previously saved size. 2013-06-30 14:39:09 +00:00
frosch f128c61595 (svn r25542) -Fix: Do not just add 65 pixels to the width of the train vehicle list whenever it is opened, but remember the width of the train list separately from other vehicle types. 2013-06-30 14:38:45 +00:00
frosch c640289d7f (svn r25541) -Cleanup: No need to clear a bit which is never set. 2013-06-30 14:38:20 +00:00
frosch 83a0174ef2 (svn r25540) -Fix: Unify selecting a new object class in the object GUI. (sbr) 2013-06-30 14:37:50 +00:00
frosch d798766f2e (svn r25539) -Codechange: Setup object GUI matrix before restoring selected object, so that the matrix state can be properly set. (sbr) 2013-06-30 14:37:24 +00:00
frosch bcb0e04bf2 (svn r25538) -Fix [FS#5567] (r25283): Use the UI index of the selected object to make it visible when re-opening the build object window. (sbr) 2013-06-30 14:37:01 +00:00
frosch 43ec0bf0c1 (svn r25537) -Codechange: Optionally make WWT_MATRIX compute the number of rows and columns from the resize step size. 2013-06-30 14:36:31 +00:00
frosch 8116aeff21 (svn r25536) -Cleanup: No need to set scrollbar capacity anywhere but in OnResize. 2013-06-30 14:36:07 +00:00
frosch 634607573f (svn r25535) -Fix [FS#5584]: Initialise scrollbars before FinishInitNested, so their capacity is set via OnResize. 2013-06-30 14:35:44 +00:00
frosch df732f2bae (svn r25534) -Codechange: FinishInitNested calls OnResize, no need to setup scrollbar capacity before that. 2013-06-30 14:34:23 +00:00
frosch e184b9799c (svn r25533) -Codechange: Use SetCapacityFromWidget more often. 2013-06-30 14:33:32 +00:00
frosch 5f8f71edf0 (svn r25532) -Fix: Do not make the minimal size of matrix or panel widgets depend on their number of rows, since that changes when resizing the window. 2013-06-30 14:33:15 +00:00
frosch 98fdd20f84 (svn r25531) -Codechange: Use separate function to set data of WWT_MATRIX widgets. 2013-06-30 14:32:31 +00:00
alberth 631540c400 (svn r25527) -Fix[FS#5621]: strndup should not examine strings beyond its upper limit. 2013-06-30 08:29:51 +00:00
rubidium 92f276f26d (svn r25526) -Fix: line breaking in fallback layouter was off-by-one, so sometimes strings that needed to be broken off earlier got truncated later on 2013-06-30 07:46:10 +00:00
rubidium 4fed658a63 (svn r25525) -Fix: off-by-one in fallback layout w.r.t. colour/font changes 2013-06-30 07:29:31 +00:00
rubidium ea5d35a896 (svn r25524) -Fix [FS#5624]: fallback layouter broke on long "words" without space after a newline 2013-06-30 07:21:37 +00:00
rubidium 4fbcb73166 (svn r25523) -Fix [FS#5587]: SDL does not give an event when an application gets mouse focus while going to full screen, so manually force the mouse-is-in-window state 2013-06-29 18:21:19 +00:00
translators d894a6b897 (svn r25521) -Update from WebTranslator v3.0:
english_US - 39 changes by Rubidium
german - 40 changes by Jogio, planetmaker
japanese - 48 changes by riolukid
korean - 3 changes by telk5093
spanish - 39 changes by Terkhen
tamil - 16 changes by aswn
turkish - 154 changes by emremeydan
2013-06-29 17:45:43 +00:00
rubidium c33040e037 (svn r25520) -Fix-ish: don't pretend that trunk is still doing something 1.3-ish in the Windows executable version information 2013-06-29 16:13:41 +00:00
zuu be4451d40f (svn r25519) -Fix [FS#5614] (r25342): Select page to update by its id and not the page id 2013-06-29 14:54:07 +00:00
rubidium 094ac8c441 (svn r25518) -Cleanup: remove old string 2013-06-29 13:20:40 +00:00
rubidium 4356510408 (svn r25517) -Fix-ish (r25515) / Feature-ish [FS#5623]: properly align the statistics as well when the infra sharing is turned on 2013-06-29 13:19:19 +00:00
rubidium ba1e42d057 (svn r25516) -Codechange: reduce code duplication in infrastructure statistics window 2013-06-29 13:11:52 +00:00
rubidium c27ce651c9 (svn r25515) -Feature [FS#5595]: right align the infrastructure statistics 2013-06-29 12:41:43 +00:00
rubidium 1b9f54f0b2 (svn r25514) -Update: other translations 2013-06-29 12:11:38 +00:00
rubidium bdb62c14e2 (svn r25513) -Fix [FS#5623]: the high score's company/president name was stored with encoded string codes, causing it to cause trouble when the encoding of the string codes changes. Furthermore, check the incoming dangerous content better 2013-06-29 12:09:55 +00:00
rubidium 66b7123ed9 (svn r25512) -Fix-ish: the high score company name could not have enough space to have both the company and president name 2013-06-29 12:07:40 +00:00
rubidium fac0b83df6 (svn r25511) -Fix-ish: add the same printable key assert to the sprite font cache as the freetype font cache 2013-06-29 12:03:44 +00:00
rubidium dd49c84363 (svn r25510) -Fix: forgot to update some documentation 2013-06-29 09:51:03 +00:00
rubidium 096f1e37d3 (svn r25509) -Cleanup: remove old strings 2013-06-29 09:50:32 +00:00
rubidium f9c9ff6ec3 (svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
2013-06-29 09:47:18 +00:00
rubidium 6e97b7a6e8 (svn r25507) -Cleanup: double definition 2013-06-29 08:58:25 +00:00
rubidium 5b2a5ac790 (svn r25506) -Document: a function, and name it slightly better 2013-06-28 21:11:35 +00:00
rubidium 31af0a3397 (svn r25505) -Fix [FS#5563]: use proper doxygen style link to images 2013-06-28 20:54:05 +00:00
rubidium 3831e3829d (svn r25501) -Fix: compilation error on OS X 2013-06-28 19:31:31 +00:00
frosch 934f4decba (svn r25497) -Fix (r25479): byte is not unit 2013-06-28 19:20:45 +00:00
rubidium d3ccc7c194 (svn r25495) -Fix [FS#5553]: when addings bits to a (train) station, the train trying to stop there could overshoot the (new) stop location and not stop at all 2013-06-28 18:09:07 +00:00
translators 6e8f2f29f5 (svn r25494) -Update from WebTranslator v3.0:
catalan - 7 changes by juanjo
spanish - 5 changes by juanjo
vietnamese - 9 changes by nglekhoi
2013-06-28 17:45:19 +00:00
rubidium 0c14a586bd (svn r25493) -Codechange: support for the safer variant of ICU's getFontTable 2013-06-27 21:21:47 +00:00
michi_cc 6f359bc1f0 (svn r25492) -Doc: Missing comment. 2013-06-27 21:18:56 +00:00
rubidium 11e6d5c8df (svn r25490) -Fix [FS#5610]: the face of the manager differed on clients when the company was started after the clients joined 2013-06-27 20:20:13 +00:00
rubidium 868001a1e0 (svn r25489) -Fix (r25488): we want to have the begin, not the end of the decoded text as string to pass along 2013-06-27 20:07:09 +00:00
rubidium 19eca468fc (svn r25488) -Fix [FS#5613]: do not send encoded texts to names, but decode them into a plain C string and then pass them on 2013-06-27 19:57:41 +00:00
rubidium 8463335b00 (svn r25487) -Fix: do not allow control codes in names of things (signs, vehicles, towns, stations, etc), so they have a known maximum fixed size and are, by definition, the same for everyone 2013-06-27 19:56:54 +00:00
rubidium 5d37e21d04 (svn r25486) -Fix [FS#5613-ish]: missing length validation for town and president names in script APIs 2013-06-27 19:23:23 +00:00
rubidium 928df8163a (svn r25485) -Fix-ish: silence compiler warning 2013-06-27 18:33:46 +00:00
translators b82a3460d1 (svn r25484) -Update from WebTranslator v3.0:
luxembourgish - 21 changes by Phreeze
slovak - 2 changes by Milsa
2013-06-27 17:45:14 +00:00
rubidium 6ab0545022 (svn r25483) -Fix: don't commit too much... 2013-06-27 16:25:30 +00:00
rubidium 569eaf0e11 (svn r25482) -Fix [FS#5620]: forced newlines were not properly handled 2013-06-27 16:24:19 +00:00
rubidium bd2f4b9a24 (svn r25481) -Fix [FS#5620]: when the font size and colour change directly after eachother in a string, the latter isn't taken into account 2013-06-27 15:22:19 +00:00
michi_cc 0150ab1bb2 (svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration. 2013-06-26 21:17:09 +00:00
frosch 7c9f0545b4 (svn r25479) -Fix (r23861): [NewGRF] When cargo NewGRF define a mulitplier to modify vehicle capacities, use the same multiplier to modify loading speed. 2013-06-26 20:38:32 +00:00
frosch 653a005d19 (svn r25478) -Fix: Clip glyphs using the actual sprite dimensions instead of the text advancement. 2013-06-26 19:35:40 +00:00
rubidium 809120bc05 (svn r25477) -Fix: truncation didn't work because the string was truncated (or rather a newline was added) too early 2013-06-26 19:10:22 +00:00
frosch eb7962a72e (svn r25476) -Cleanup: Remove unused _max_char_size, _max_char_height, _max_char_width. 2013-06-26 18:49:53 +00:00
translators fc5335111d (svn r25475) -Update from WebTranslator v3.0:
czech - 59 changes by Eskymak
luxembourgish - 8 changes by Phreeze
slovak - 27 changes by Milsa
thai - 4 changes by nirakanz
2013-06-26 17:45:27 +00:00
rubidium 8f9d213675 (svn r25474) -Fix [FS#5618]: OS X compilation failure 2013-06-26 15:02:16 +00:00
rubidium 3fe1e9176d (svn r25473) -Fix: uninitialised warning 2013-06-25 20:48:12 +00:00
rubidium f980d1a43c (svn r25472) -Cleanup: remove the old methods for drawing text 2013-06-25 20:44:54 +00:00
rubidium 8bbbb1b37a (svn r25471) -Fix/Feature [FS#5481]: support for Brahmic scripts (e.g. Tamil and Thai) 2013-06-25 20:44:23 +00:00
rubidium 48c1e4f87e (svn r25470) -Feature-ish: use ICU's layout engine when that's available 2013-06-25 20:40:58 +00:00
rubidium 7b10e39bf1 (svn r25469) -Add: method for getting the font tables from freetype fonts 2013-06-25 20:39:58 +00:00
rubidium c90dbe2018 (svn r25468) -Fix-ish: the min/max of the close box were so small the glyph wouldn't even fit between them 2013-06-25 20:39:03 +00:00
rubidium 899c4d85e4 (svn r25467) -Add: truncation support to the drawing routine 2013-06-25 20:38:29 +00:00
rubidium 4f0ef61d4e (svn r25466) -Add: drawing routine for the layout engine 2013-06-25 20:38:12 +00:00
rubidium 2446b8ea60 (svn r25465) -Codechange: add the concept of a layouting engine for text 2013-06-25 20:29:31 +00:00
frosch bbbecceae1 (svn r25464) -Fix: Hide default size button in non-newstation rail-station picker since it is not resizeable anyway. 2013-06-25 20:22:08 +00:00
rubidium 43a37f7f28 (svn r25463) -Codechange: export more size related information from the fonts 2013-06-25 20:21:21 +00:00
rubidium 092c33be3f (svn r25462) -Codechange: make a better distinction between characters and glyphs 2013-06-25 20:20:15 +00:00
rubidium b4106e686b (svn r25461) -Fix: MSVC compiler warning 2013-06-25 18:52:12 +00:00
translators 9bb031533d (svn r25460) -Update from WebTranslator v3.0:
czech - 4 changes by Eskymak
german - 3 changes by Jogio
luxembourgish - 2 changes by Phreeze
2013-06-25 17:45:17 +00:00
frosch e158383118 (svn r25459) -Fix: Disable the depot-refit button in the order GUI, if the consist is not refittable. 2013-06-24 21:02:26 +00:00
frosch 58ae2d5aeb (svn r25458) -Fix-ish: Enable the autorefit-button in the order GUI in case the vehicle is not auto-refittable but already has a autorefit-order set to allow clearing the refit. 2013-06-24 21:01:05 +00:00
frosch bfbdbe688e (svn r25457) -Fix: Do not test EF_AUTO_REFIT for the mail apartment or rotor of aircraft. 2013-06-24 20:58:25 +00:00
frosch abb5a13f1e (svn r25456) -Fix [FS#5560]: Assertion when opening the refit GUI for a not refittable vehicle. 2013-06-24 20:57:50 +00:00
rubidium be2b87c1cd (svn r25455) -Cleanup: make local function really local 2013-06-24 20:52:28 +00:00
rubidium 7c0f34130c (svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it 2013-06-24 18:39:19 +00:00
translators 8197a3ea2a (svn r25453) -Update from WebTranslator v3.0:
vietnamese - 1 changes by nglekhoi
2013-06-24 17:45:08 +00:00
rubidium ed36aa0458 (svn r25452) -Codechange: let the chat messages be drawn like the console messages; drawing complete multiline strings from the bottom, instead of manually breaking the strings and drawing those 2013-06-23 20:44:18 +00:00
frosch 798f472552 (svn r25451) -Fix (r25445): Ini configuration for medium font was overwritten by front configuration of other sizes. 2013-06-23 20:08:13 +00:00
rubidium aa3c106843 (svn r25450) -Fix: compilation without freetype 2013-06-23 18:32:02 +00:00
rubidium ab4bd11208 (svn r25449) -Fix: WT3 validation error 2013-06-23 17:48:39 +00:00
translators 048b705360 (svn r25448) -Update from WebTranslator v3.0:
slovak - 4 changes by Milsa
2013-06-23 17:45:14 +00:00
planetmaker 8b25444300 (svn r25447) -Fix (r25437): [OSX] Compilation was broken 2013-06-23 17:14:34 +00:00
rubidium 8190d26f9e (svn r25446) -Codechange: call sprite fontcache code from freetype font cache in case a sprite must be shown 2013-06-23 15:38:51 +00:00
rubidium 8c5a7cf0ab (svn r25445) -Codechange: simplify the font loading 2013-06-23 15:37:18 +00:00
rubidium c23eaf0790 (svn r25444) -Codechange: move sprite font code together with the other sprite font code 2013-06-23 15:36:29 +00:00
rubidium ac4dd5d627 (svn r25443) -Codechange: move the glyph to sprite cache into the FreeTypeFontCache instance 2013-06-23 15:35:06 +00:00
rubidium d724088a1c (svn r25442) -Codechange: move height and ascender information into the FontCache instances 2013-06-23 15:32:09 +00:00
rubidium eb4388f4f3 (svn r25441) -Codechange: move the freetype font allocation into the FreeTypeFontCache 2013-06-23 15:29:20 +00:00
rubidium 97a42f4b4f (svn r25440) -Fix: MSVC compilation error 2013-06-23 15:27:55 +00:00
rubidium a285743d48 (svn r25439) -Codechange: move the glyph to sprite ID mapping into the SpriteFontCache 2013-06-23 15:25:35 +00:00
rubidium e1a2a8275b (svn r25438) -Codechange: introduce classes for the FontCache 2013-06-23 15:24:36 +00:00
rubidium 94a5fe6b92 (svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped 2013-06-23 15:23:22 +00:00
rubidium 13c450a66b (svn r25436) -Codechange: split the font detection code out of the font caching code 2013-06-23 15:20:23 +00:00
fonsinchen 930c19dae2 (svn r25435) -Fix: reroute cargo in vehicles if station is deleted 2013-06-23 08:29:28 +00:00
fonsinchen 3dd811e179 (svn r25434) -Fix: reroute cargo staged for unloading if a link breaks 2013-06-23 08:28:53 +00:00
translators 57e5a95b6f (svn r25433) -Update from WebTranslator v3.0:
brazilian_portuguese - 29 changes by Tucalipe
2013-06-22 17:45:08 +00:00
rubidium e797f53c33 (svn r25432) -Fix [FS#5608]: clang compiler error; sometimes it's more strict than others 2013-06-22 07:44:59 +00:00
translators d0fe055ae4 (svn r25431) -Update from WebTranslator v3.0:
thai - 10 changes by nirakanz
2013-06-21 17:45:09 +00:00
translators 07071c88e5 (svn r25430) -Update from WebTranslator v3.0:
latvian - 22 changes by Parastais
thai - 21 changes by nirakanz
2013-06-20 17:45:12 +00:00
frosch 6df6b16320 (svn r25429) -Fix [FS#5603] (r25140): When town creation failed, removing remnants of the construction failed on protected houses. 2013-06-19 20:03:10 +00:00
translators b55d8fee84 (svn r25427) -Update from WebTranslator v3.0:
simplified_chinese - 2 changes by siu238X
traditional_chinese - 2 changes by siu238X
croatian - 31 changes by VoyagerOne
french - 2 changes by glx
hungarian - 1 changes by Brumi
slovak - 44 changes by Milsa
thai - 30 changes by nirakanz
2013-06-19 17:45:36 +00:00
fonsinchen 1584c8f733 (svn r25426) -Fix: highlight the right entry in the sorting selector in station view window 2013-06-18 19:32:58 +00:00
translators 854d5e4b78 (svn r25425) -Update from WebTranslator v3.0:
simplified_chinese - 50 changes by siu238X, ww9980
traditional_chinese - 7 changes by siu238X
croatian - 32 changes by VoyagerOne
english_AU - 2 changes by mrtux
german - 9 changes by Jogio
2013-06-18 17:45:30 +00:00
fonsinchen f0119308f6 (svn r25424) -Fix: keep old flows around in an invalidated state to continue routing cargo if necessary 2013-06-17 20:38:11 +00:00
fonsinchen b923eb31a8 (svn r25423) -Fix: integer overflows in MCF solver 2013-06-17 20:37:31 +00:00
fonsinchen d9985c3331 (svn r25422) -Fix: properly initialize base capacity for paths 2013-06-17 20:37:07 +00:00
translators be3b25fd65 (svn r25421) -Update from WebTranslator v3.0:
simplified_chinese - 58 changes by siu238X
traditional_chinese - 12 changes by siu238X
galician - 6 changes by Michi
german - 3 changes by Jogio
korean - 4 changes by telk5093
thai - 54 changes by nirakanz
2013-06-17 17:45:33 +00:00
translators a575465e03 (svn r25420) -Update from WebTranslator v3.0:
traditional_chinese - 54 changes by siu238X
estonian - 16 changes by KSiimson
galician - 34 changes by Michi
german - 2 changes by planetmaker
hungarian - 2 changes by Brumi
italian - 2 changes by lorenzodv
russian - 4 changes by Lone_Wolf
thai - 546 changes by nirakanz
turkish - 42 changes by wakeup
2013-06-16 17:45:49 +00:00
fonsinchen c9452bbbff (svn r25419) -Fix: assign some random other source station to packets which have lost their source 2013-06-15 20:48:50 +00:00
rubidium e06ad1dda1 (svn r25418) -Fix: WT3 validation error 2013-06-15 17:50:58 +00:00
translators ff67cf2893 (svn r25417) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
spanish - 2 changes by Terkhen
thai - 3 changes by nirakanz
2013-06-15 17:45:26 +00:00
frosch fef30983e6 (svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList. 2013-06-15 15:31:22 +00:00
frosch ee4e68bd5e (svn r25413) -Fix-ish: Suppress focussing editboxes which are not visible. 2013-06-15 15:31:04 +00:00
frosch 5cb174c6b8 (svn r25412) -Codechange: Make use of Window::OnHotkey 2013-06-15 15:30:44 +00:00
frosch 6291383823 (svn r25411) -Add: Window::OnHotkey 2013-06-15 15:30:16 +00:00
frosch 1b8b1f3f6c (svn r25410) -Codechange: Put all hotkeys of a window into a static HotkeyList member. 2013-06-15 15:28:09 +00:00
rubidium 40c2864e4d (svn r25409) -Cleanup: remove removed string 2013-06-15 15:27:51 +00:00
frosch d9e9710cb3 (svn r25408) -Codechange: Simplify hotkeys by removing unused stuff. 2013-06-15 15:27:33 +00:00
frosch cd0a57fba3 (svn r25407) -Codechange: Use order hotkey enum instead of function pointers. 2013-06-15 15:27:08 +00:00
frosch 59b71b5666 (svn r25406) -Cleanup: There were two hotkeys to toggle between 'unload' and 'unload if possible'. 2013-06-15 15:26:49 +00:00
rubidium 420f95a6e9 (svn r25405) -Feature-ish: differentiate between total waiting cargo count and available (not reserved) cargo count in the station list
-Change: sort based on the cargo count, not the cargo value
2013-06-15 15:26:24 +00:00
rubidium 2ef4438882 (svn r25404) -Feature: Thai 2013-06-15 15:24:20 +00:00
translators 59a9d05776 (svn r25403) -Update from WebTranslator v3.0:
thai - 1612 changes by nirakanz
2013-06-15 15:21:05 +00:00
frosch 18ae9c78bc (svn r25402) -Fix-ish: Prevent copying of BasePool and WindowDesc, since they register in static vectors. 2013-06-15 15:06:22 +00:00
frosch bb308c5e30 (svn r25401) -Fix-ish: Add missing includes with prototypes to functions declared in the cpp file. 2013-06-15 15:05:54 +00:00
translators e4e86620dd (svn r25400) -Update from WebTranslator v3.0:
dutch - 22 changes by habell
finnish - 2 changes by jpx_
german - 9 changes by Jogio
hungarian - 1 changes by Brumi
swedish - 3 changes by Joel_A
2013-06-14 17:45:26 +00:00
rubidium 9240ec0e3a (svn r25399) -Fix: invalid UTF8 character 2013-06-13 18:01:03 +00:00
translators e5135f5c0f (svn r25398) -Update from WebTranslator v3.0:
dutch - 7 changes by habell
hungarian - 61 changes by Brumi
persian - 18 changes by rkarimabadi
russian - 12 changes by Lone_Wolf
ukrainian - 1 changes by Strategy
2013-06-13 17:45:28 +00:00
zuu 80d35ca284 (svn r25397) -Fix (r25342,r25352): Document API additions in the GS changelog 2013-06-12 19:31:33 +00:00
translators b7a9a434fb (svn r25396) -Update from WebTranslator v3.0:
english_AU - 25 changes by mrtux
korean - 60 changes by telk5093
russian - 3 changes by Lone_Wolf
gaelic - 6 changes by GunChleoc
spanish - 2 changes by Terkhen
2013-06-12 17:45:28 +00:00
frosch 9cb89b3639 (svn r25395) -Fix [FS#5596]: The size of station construction windows could oscillate when resizing the window moved the mouse into the window. 2013-06-11 18:36:26 +00:00
frosch c73219f9e5 (svn r25394) -Fix: Restrict renaming engines to the server, just like renaming towns. 2013-06-11 18:24:01 +00:00
translators 040562909b (svn r25393) -Update from WebTranslator v3.0:
dutch - 32 changes by habell
english_AU - 37 changes by mrtux
english_US - 2 changes by Rubidium
german - 2 changes by Jogio
italian - 6 changes by lorenzodv
korean - 1 changes by junho2813
russian - 6 changes by Lone_Wolf
gaelic - 28 changes by GunChleoc
swedish - 3 changes by Zuu
2013-06-11 17:45:54 +00:00
fonsinchen 1c995a3faa (svn r25391) -Fix: make ChangeShare really aware of INT_MIN 2013-06-10 21:53:11 +00:00
fonsinchen 06d95e9123 (svn r25390) -Fix: add missing compatibility settings in afterload. 2013-06-10 21:30:31 +00:00
translators dee02ba153 (svn r25389) -Update from WebTranslator v3.0:
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
french - 4 changes by glx
german - 5 changes by Jogio, planetmaker
italian - 59 changes by lorenzodv
polish - 1 changes by wojteks86
spanish - 2 changes by Terkhen
2013-06-10 17:45:38 +00:00
zuu 15a0ed2782 (svn r25388) -Fix [FS#5593] (r25376): Forgot to add tooltips for the new main menu buttons 2013-06-10 17:17:59 +00:00
rubidium b860353a66 (svn r25387) -Fix: "typos" in @file filename 2013-06-09 18:58:36 +00:00
frosch 9e7513d9e8 (svn r25386) -Fix: Use plural forms in linkgraph settings. 2013-06-09 18:51:49 +00:00
translators a2bda93647 (svn r25385) -Update from WebTranslator v3.0:
english_US - 59 changes by Rubidium
finnish - 59 changes by jpx_
french - 18 changes by glx
german - 21 changes by Jogio, planetmaker
lithuanian - 42 changes by butkus
spanish - 59 changes by Terkhen
swedish - 39 changes by Zuu, daishan
2013-06-09 18:20:54 +00:00
zuu 78b6e79c01 (svn r25384) -Fix (25344): Correctly invalidate the story window when data changes 2013-06-09 16:18:58 +00:00
zuu be8645e137 (svn r25383) -Fix (r25376): Remove now redundant menu entries for story book and goals 2013-06-09 15:36:31 +00:00
fonsinchen 21d0f2e883 (svn r25382) -Fix: STR_CONFIG_SETTING_DISTRIBUTION_ARMOURED_HELPTEXT was inaccurate 2013-06-09 15:23:01 +00:00
zuu 53d2e785f5 (svn r25381) -Fix: Silent story book compiler warnings 2013-06-09 14:13:59 +00:00
zuu dda71a15d1 (svn r25380) -Fix (r25344): Vertically center images of page elements in the available vertical space 2013-06-09 14:11:55 +00:00
fonsinchen 6166772bc5 (svn r25379) -Fix: avoid warning in FlowStatMap::FinalizeLocalConsumption 2013-06-09 14:10:33 +00:00
rubidium 9a92d55dee (svn r25378) -Cleanup: remove stale/outdated string 2013-06-09 13:56:36 +00:00
rubidium a2af1f69af (svn r25377) -Feature: timetable spreading of vehicles by Ctrl+Click when setting a start date 2013-06-09 13:55:33 +00:00
zuu a724a9924b (svn r25376) -Feature: Allow access to goal list and story book of other companies than your own 2013-06-09 13:37:04 +00:00
fonsinchen f9b08b1aec (svn r25375) -Update: add fonsinchen to credits 2013-06-09 13:31:59 +00:00
zuu ed38214794 (svn r25374) -Update: Remove stale goal translations 2013-06-09 13:31:14 +00:00
fonsinchen 4e902f2e20 (svn r25373) -Add: squirrel bindings for cargodist-specific widgets 2013-06-09 13:24:26 +00:00
zuu eaede14b8f (svn r25372) -Add: Allow opening a goal list window specific to a company 2013-06-09 13:23:03 +00:00
zuu 086aae8d04 (svn r25370) -Fix: Make the prefix for widget constants unique for the goal list window 2013-06-09 13:17:20 +00:00
zuu 8980cb427d (svn r25369) -Add: allow opening a story window specific to a company 2013-06-09 13:13:47 +00:00
fonsinchen f373d29d62 (svn r25368) -Add: french translation for cargodist 2013-06-09 13:11:08 +00:00
fonsinchen cdfb296783 (svn r25367) -Add: russian translation for cargodist 2013-06-09 13:10:36 +00:00
fonsinchen 2505963b65 (svn r25366) -Add: german translation for cargodist 2013-06-09 13:10:07 +00:00
fonsinchen 0fc198cb00 (svn r25365) -Feature: show cargo by next hops and final destinations in the station GUI 2013-06-09 13:08:52 +00:00
fonsinchen b4ab43be5f (svn r25364) -Add: support for flow stats to linkgraph overlay 2013-06-09 13:07:53 +00:00
fonsinchen 0e5fa8d195 (svn r25363) -Codechange: bump the savegame version for cargodist 2013-06-09 13:06:03 +00:00
fonsinchen 741c431caa (svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station 2013-06-09 13:04:32 +00:00
fonsinchen 04e3eb6fab (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 2013-06-09 13:03:48 +00:00
fonsinchen a2ff96d682 (svn r25360) -Codechange: save and load flow stats 2013-06-09 13:03:11 +00:00
fonsinchen 5c8ff0a251 (svn r25359) -Codechange: schedule jobs when tracking capacities of links 2013-06-09 13:02:40 +00:00
fonsinchen 3d0a0e8e48 (svn r25358) -Codechange: save and load link graph jobs and the schedule 2013-06-09 13:02:05 +00:00
fonsinchen 575cabe90a (svn r25357) -Add: flow mapper for link graph 2013-06-09 13:01:23 +00:00
fonsinchen 9824d53d6a (svn r25356) -Add: Multi-Commodity-Flow solver for link graph 2013-06-09 13:00:41 +00:00
fonsinchen 6a46b5262f (svn r25355) -Add: demand handler for link graph 2013-06-09 12:59:51 +00:00
fonsinchen c32eea02dd (svn r25354) -Add: link graph schedule and typedefs for LinkGraph and related classes 2013-06-09 12:58:37 +00:00
fonsinchen 22f56ffdd7 (svn r25353) -Add: link graph job implementation 2013-06-09 12:57:41 +00:00
zuu 33ad9774fb (svn r25352) -Feature: GameScript API for selecting a story page to view 2013-06-09 12:57:22 +00:00
fonsinchen a49a4eec6e (svn r25351) -Add: settings for link graph 2013-06-09 12:56:35 +00:00
fonsinchen fdf04f60e0 (svn r25350) -Add: basic definitions for link graph 2013-06-09 12:53:34 +00:00
fonsinchen 4fd57501bb (svn r25348) -Add: multimap implementation with guaranteed order between equal keys 2013-06-09 12:52:11 +00:00
fonsinchen dfad8317aa (svn r25347) -Add: function for deterministic approximate division 2013-06-09 12:50:33 +00:00
fonsinchen db671ffb86 (svn r25346) -Codechange: Glue between stations and flow stats 2013-06-09 12:49:47 +00:00
fonsinchen c8f068d979 (svn r25345) -Add: implementation of SharesMap and FlowStatMap 2013-06-09 12:48:42 +00:00
zuu a2d84868e7 (svn r25344) -Feature: GUI for viewing story pages 2013-06-09 12:48:27 +00:00
zuu e311902198 (svn r25343) -Add: method to count the number of lines required to draw a string with line warping 2013-06-09 12:21:44 +00:00
zuu 9aa1bf0264 (svn r25342) -Add: StoryPage data structures and GS API 2013-06-09 12:19:09 +00:00
fonsinchen 16307a8a6f (svn r25337) -Fix: saving only 8 bits of 16 causes endianness problems 2013-06-08 20:47:59 +00:00
translators ab8531ac9c (svn r25336) -Update from WebTranslator v3.0:
korean - 2 changes by telk5093
2013-06-08 17:45:51 +00:00
frosch 3ff6d19238 (svn r25335) -Change: Revisit the map menu in scenario editor: Remove linkgraph legend, add industry list. 2013-06-08 16:54:19 +00:00
frosch d79b2b03d0 (svn r25334) -Fix: Position the linkgraph legend window automatically like most windows. 2013-06-08 16:52:33 +00:00
frosch 5bb1d01af9 (svn r25333) -Fix: Potential signedness issue. 2013-06-08 13:22:06 +00:00
zuu a23b84fdfc (svn r25332) -Fix (25331): Committed too much 2013-06-08 13:02:28 +00:00
zuu 059eee93fc (svn r25331) -Fix (r25263): Update ScriptWindow with link graph widgets 2013-06-08 12:37:36 +00:00
fonsinchen 478fcadd21 (svn r25330) -Fix [FS#5583]: return some reserved cargo if vehicle is overloaded by station stopping acceptance for cargo scheduled to be delivered 2013-06-07 22:22:52 +00:00
fonsinchen a1a96b2e8b (svn r25329) -Fix [FS#5582]: for refreshing next hops implicit orders are equivalent to explicit stopping orders 2013-06-07 22:12:39 +00:00
rubidium 4ed1de4683 (svn r25328) -Fix: remove zero width space from Urdu (unfinished) as well 2013-06-07 19:10:08 +00:00
rubidium 8b793e4791 (svn r25327) -Fix: remove zero width space 2013-06-07 19:05:19 +00:00
rubidium b35b17beeb (svn r25326) -Fix [FS#5589]: check for zero width space in translations and fail upon finding them 2013-06-07 19:05:04 +00:00
translators 3283cf9373 (svn r25325) -Update from WebTranslator v3.0:
traditional_chinese - 55 changes by siu238X
persian - 120 changes by rkarimabadi
2013-06-07 17:45:12 +00:00
translators dba533b640 (svn r25323) -Update from WebTranslator v3.0:
traditional_chinese - 34 changes by siu238X
hungarian - 5 changes by Brumi
2013-06-06 17:45:14 +00:00
translators 71e26ce6db (svn r25322) -Update from WebTranslator v3.0:
german - 1 changes by Jogio
2013-06-05 17:45:08 +00:00
translators c5f9488a26 (svn r25321) -Update from WebTranslator v3.0:
tamil - 18 changes by aswn
2013-06-04 17:45:07 +00:00
rubidium 0fbc7140c5 (svn r25320) -Fix [FS#5577]: link graph start time was not accounted for when cheating dates 2013-06-04 15:06:22 +00:00
rubidium 254c3834d0 (svn r25319) -Fix [FS#5570]: crash when train with reserved cargo vanishes 2013-06-04 15:04:59 +00:00
matthijs 0d28dc92fc (svn r25318) -Fix: [SDL, FS#5580] Keyboard input stopped working after fullscreen toggle 2013-06-04 06:36:59 +00:00
translators 61f7b50480 (svn r25317) -Update from WebTranslator v3.0:
finnish - 1 changes by jpx_
galician - 106 changes by Michi
2013-06-03 17:45:13 +00:00
translators bf96b0330c (svn r25316) -Update from WebTranslator v3.0:
lithuanian - 34 changes by RunisLabs
macedonian - 1 changes by Ristovski
norwegian_bokmal - 26 changes by cuthbert
2013-06-02 17:45:15 +00:00
translators 2093dea58a (svn r25315) -Update from WebTranslator v3.0:
catalan - 33 changes by arnau
croatian - 4 changes by VoyagerOne
indonesian - 8 changes by Yoursnotmine
vietnamese - 19 changes by myquartz, nglekhoi
welsh - 5 changes by kazzie
2013-06-01 17:45:29 +00:00
frosch 4261b6cc82 (svn r25314) -Fix (r25313): If '0' is the broadest digit, 0 * sum(10^i, i=0..(n-1)) is not the broadest n-digit number.
-Fix [FS#5562]: Proper size-estimation for numbers with n digits.
2013-06-01 15:10:32 +00:00
frosch ce110eed32 (svn r25313) -Fix: Do not assume '8' to be the broadest digit, but test all of them. 2013-06-01 14:33:48 +00:00
rubidium f292a87dc4 (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 2013-06-01 07:44:53 +00:00
frosch 4b286812c3 (svn r25307) -Fix: Do not focus the editbox in the NewGRF window, if there is no editbox visible. 2013-05-31 18:47:49 +00:00
translators 7b3bd1adda (svn r25306) -Update from WebTranslator v3.0:
czech - 38 changes by LucikMucik
romanian - 22 changes by mariush
2013-05-30 17:45:17 +00:00
zuu a58427115c (svn r25305) -Fix [FS#5561]: Game Script APIs that execute a DoCommand were returning the same result as in TestMode during world generation 2013-05-29 19:31:58 +00:00
frosch 2547523c0f (svn r25304) -Change: Move the GS goals window from the subsidies to the league menu. 2013-05-29 18:49:58 +00:00
translators 4c1e969a31 (svn r25303) -Update from WebTranslator v3.0:
korean - 5 changes by telk5093
gaelic - 9 changes by GunChleoc
swedish - 4 changes by Joel_A
turkish - 40 changes by niw3
2013-05-29 17:45:26 +00:00
frosch 812faf08b5 (svn r25302) -Fix [FS#5565]: Build railway fences next to objects, even if they are owned by the same company. 2013-05-29 17:13:53 +00:00
translators a28cfd2d74 (svn r25300) -Update from WebTranslator v3.0:
italian - 3 changes by lorenzodv
portuguese - 8 changes by hthief
russian - 1 changes by Lone_Wolf
gaelic - 8 changes by GunChleoc
vietnamese - 7 changes by nglekhoi
2013-05-28 17:45:28 +00:00
zuu 168391ad56 (svn r25299) -Feature: Allow more concurrent goals in a game 2013-05-27 21:59:11 +00:00
translators 73c96fc66d (svn r25298) -Update from WebTranslator v3.0:
dutch - 4 changes by habell
english_AU - 3 changes by mrtux
english_US - 4 changes by Rubidium
finnish - 4 changes by jpx_
german - 3 changes by planetmaker
italian - 1 changes by lorenzodv
polish - 4 changes by nouwak
russian - 3 changes by Lone_Wolf
gaelic - 3 changes by GunChleoc
spanish - 4 changes by Terkhen
2013-05-27 17:45:55 +00:00
frosch dd826ecbdf (svn r25297) -Fix (r25291): 32bit compilation. 2013-05-26 20:17:07 +00:00
zuu a4cddc3e08 (svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed. 2013-05-26 19:54:43 +00:00
frosch 05c472f08a (svn r25295) -Feature: Allow saving window sizes as default sizes. 2013-05-26 19:30:31 +00:00
frosch 4e4e635916 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 2013-05-26 19:30:07 +00:00
frosch 559b7ef35e (svn r25293) -Add: GUI sprite for default window size button. 2013-05-26 19:29:43 +00:00
frosch ed851034f5 (svn r25292) -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button. 2013-05-26 19:27:44 +00:00
frosch 23ba42b66c (svn r25291) -Add: WindowDesc ability to load and store information in a config file. 2013-05-26 19:27:22 +00:00
frosch 8157a8afd8 (svn r25290) -Add: Assign string names to notable windows. 2013-05-26 19:25:01 +00:00
frosch 8c4714ad90 (svn r25289) -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc. 2013-05-26 19:24:37 +00:00
frosch b6d76c4d4c (svn r25288) -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible. 2013-05-26 19:24:11 +00:00
frosch 56e4a8c4d6 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 2013-05-26 19:23:42 +00:00
translators b10a4f151a (svn r25286) -Update from WebTranslator v3.0:
gaelic - 46 changes by GunChleoc
2013-05-26 17:45:10 +00:00
translators a7c9c6a4e7 (svn r25285) -Update from WebTranslator v3.0:
korean - 1 changes by telk5093
2013-05-25 17:45:08 +00:00