rubidium
e2adecd927
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
2010-02-20 22:58:25 +00:00
yexo
045bee5229
(svn r19176) -Fix [FS#3632] (r17859): when selecting "build many industries" in the scenario editor the "build" button wasn't enabled
2010-02-20 21:21:54 +00:00
frosch
9d3be49bd3
(svn r19174) -Fix: Buoys are no Stations, only BaseStations.
2010-02-20 21:00:19 +00:00
translators
304c9297ed
(svn r19173) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
esperanto - 170 changes by Ailanto
turkish - 8 changes by niw3
2010-02-20 18:45:12 +00:00
terkhen
2ae5590f63
(svn r19172) -Codechange: Move road checks from CmdBuildRoadStop to CheckFlatLandRoadStop.
2010-02-20 18:28:21 +00:00
terkhen
d1cce94525
(svn r19171) -Codechange: Split CheckFlatLandBelow into different functions.
2010-02-20 18:12:56 +00:00
terkhen
6b849b5483
(svn r19170) -Codechange: Make CheckFlatLandBelow use TileArea.
2010-02-20 17:56:05 +00:00
terkhen
8a4f1133d8
(svn r19169) -Codechange: Move buildable tile checks outside of CheckFlatLandBelow.
2010-02-20 17:39:51 +00:00
rubidium
9c6512ef9e
(svn r19168) -Fix: under some circumstances timidity (via extmidi) would not shut down properly causing all kinds of trouble (e.g. blocked audio output). Try harder to shut down timidity and first shut down the music so shut down order is the inverse of initialisation order. Based on a patch by Jindřich Makovička.
2010-02-20 17:30:22 +00:00
frosch
e905cb57d8
(svn r19167) -Fix [FS#3631](r19120): Industry 0 could be choosen even if not available.
2010-02-20 16:17:45 +00:00
yexo
7c51a82020
(svn r19166) -Change: don't print the absolute path to AI script files in the AI debug window, use the relative path from /ai/ instead
2010-02-20 13:28:56 +00:00
yexo
85856abb7c
(svn r19165) -Fix [FS#3629]: vehicle running costs shouldn't be changed in a running game
2010-02-19 23:29:47 +00:00
translators
6d9e112b05
(svn r19164) -Update from WebTranslator v3.0:
...
arabic_egypt - 2 changes by kasakg
bulgarian - 19 changes by Tvel
catalan - 2 changes by arnau
czech - 4 changes by Hadez
galician - 9 changes by Condex
hungarian - 8 changes by alyr
norwegian_bokmal - 15 changes by mantaray
norwegian_nynorsk - 18 changes by mantaray
slovak - 150 changes by keso53
vietnamese - 5 changes by myquartz
2010-02-19 18:45:32 +00:00
translators
a97083097e
(svn r19163) -Update from WebTranslator v3.0:
...
korean - 2 changes by junho2813
norwegian_bokmal - 29 changes by mantaray
norwegian_nynorsk - 37 changes by mantaray
polish - 3 changes by xaxa
portuguese - 2 changes by SupSuper
ukrainian - 14 changes by Madvin
2010-02-18 18:45:22 +00:00
yexo
3a36964734
(svn r19161) -Codechange: make the default size of the open list used for yapf a lot lower to reduce memory usage
2010-02-18 18:04:02 +00:00
yexo
1abc0db336
(svn r19160) -Codechange: Enlarge a CBinaryHeapT if the heap is full instead of dropping the added item
...
-Fix: CBinaryHeapT::CheckConsistency compared pointers instead of the actual items (skidd13)
2010-02-18 14:23:18 +00:00
rubidium
3c5d19e411
(svn r19158) -Fix (r19149): MSVC 64 bits compile warning
2010-02-18 01:10:04 +00:00
frosch
f02d6783e9
(svn r19154) -Fix: Invisible depots draw the track, so also draw the overlays.
2010-02-17 21:19:33 +00:00
frosch
239279e795
(svn r19153) -Fix [FS#pm](r19056): PBS reservation was drawn incorrectly for depots.
2010-02-17 21:07:32 +00:00
translators
afd6fe547e
(svn r19152) -Update from WebTranslator v3.0:
...
lithuanian - 2 changes by
romanian - 2 changes by tonny
2010-02-17 18:45:10 +00:00
rubidium
ef90fa7d02
(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan)
2010-02-17 16:45:55 +00:00
rubidium
9f27959fcd
(svn r19150) -Fix (r19143): some more locations could use updating
2010-02-17 15:31:46 +00:00
rubidium
a6112670d0
(svn r19149) -Codechange: make our vsnprintf implementation for Windows more POSIX compliant (adf88)
2010-02-17 15:07:09 +00:00
rubidium
1b0e78c588
(svn r19148) -Fix [FS#3627]: [v]seprintf should return the number of added characters excluding '\0' on truncation (adf88)
2010-02-17 13:55:08 +00:00
translators
fa6942a4fa
(svn r19147) -Update from WebTranslator v3.0:
...
all - update layout to latest english.txt
hebrew - 2 changes by dnd_man
indonesian - 1 changes by prof
lithuanian - 2 changes by
norwegian_bokmal - 35 changes by mantaray
norwegian_nynorsk - 76 changes by mantaray
2010-02-17 12:16:33 +00:00
alberth
dec02fad59
(svn r19146) -Codechange: Use CommandCost in industry checking routines.
2010-02-16 22:01:23 +00:00
translators
50532eb3f4
(svn r19145) -Update from WebTranslator v3.0:
...
french - 2 changes by glx
galician - 25 changes by Drenghist
lithuanian - 2 changes by
slovak - 4 changes by keso53
2010-02-16 18:45:16 +00:00
rubidium
997d52fc69
(svn r19143) -Codechange: trunk's going for 1.1 now.
2010-02-16 00:07:15 +00:00
rubidium
3626eb340e
(svn r19141) -Fix [FS#3619] (r18421): look-ahead for multitile waypoints 'made up' data that shouldn't go into the cache, causing desyncs in MP
2010-02-15 23:55:04 +00:00
alberth
80225cf246
(svn r19140) -Codechange: Move variables closer to their first use.
2010-02-15 19:52:40 +00:00
translators
966f186bf8
(svn r19139) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
czech - 12 changes by Hadez
dutch - 2 changes by habell
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hebrew - 2 changes by dnd_man
hungarian - 1 changes by alyr
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 20 changes by mantaray
norwegian_nynorsk - 195 changes by mantaray
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovak - 21 changes by keso53
slovenian - 1 changes by ntadej
spanish - 1 changes by Terkhen
2010-02-15 18:45:47 +00:00
alberth
c0933e825a
(svn r19138) -Codechange: Rename CheckMultipleIndustryInTown() to FindTownForIndustry().
2010-02-15 11:04:27 +00:00
alberth
6553f49991
(svn r19137) -Add: Report a more useful error when failing to build a bubble generator.
2010-02-15 10:28:40 +00:00
alberth
bb5261a075
(svn r19136) -Doc: Added Doxygen comments for industry checking procedures.
2010-02-15 09:49:10 +00:00
translators
ef59270375
(svn r19135) -Update from WebTranslator v3.0:
...
italian - 1 changes by lorenzodv
lithuanian - 2 changes by
norwegian_bokmal - 1 changes by mantaray
norwegian_nynorsk - 127 changes by mantaray
russian - 1 changes by Lone_Wolf
slovak - 199 changes by keso53
spanish - 1 changes by Terkhen
2010-02-14 18:45:24 +00:00
frosch
30b215a82b
(svn r19134) -Fix (r16983, r17219): YAPF debug output was quite broken.
2010-02-14 18:33:57 +00:00
rubidium
d0122644af
(svn r19133) -Fix [FS#3621]: [Mac OS X] --enable-desync-debug failed compiling (planetmaker)
2010-02-14 16:52:15 +00:00
alberth
33a96b5ef3
(svn r19132) -Codechange: No need to end a line with ;;.
2010-02-14 16:31:35 +00:00
alberth
ac65c41509
(svn r19131) -Doc: Add doxygen comments to some economy variables and constants.
2010-02-14 15:58:10 +00:00
alberth
7dcc414000
(svn r19130) -Codechange: Use references and inlining in CommandCost.
2010-02-14 15:44:21 +00:00
alberth
8641f08df3
(svn r19129) -Fix [FS#3623] (r19122): Don't draw cargo ratings/acceptance when the window is shaded.
2010-02-14 15:35:44 +00:00
alberth
e8d40d6a19
(svn r19128) -Codechange: CommandCost cost methods return void instead of a copy of *this.
2010-02-14 15:30:08 +00:00
frosch
151babee57
(svn r19127) -Codechange: Add printf-like warnings to more functions.
2010-02-14 13:01:33 +00:00
frosch
d757f81646
(svn r19126) -Codechange: Silence a warning.
2010-02-14 13:01:07 +00:00
frosch
b0496c339f
(svn r19125) -Fix (r18809): Compiling with desync-debug failed.
2010-02-13 20:13:34 +00:00
translators
f36fc2c80d
(svn r19124) -Update from WebTranslator v3.0:
...
traditional_chinese - 3 changes by josesun
english_US - 35 changes by agenthh
esperanto - 27 changes by Ailanto
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 51 changes by IPG
icelandic - 55 changes by antonsigur
indonesian - 9 changes by fanioz
lithuanian - 2 changes by
norwegian_bokmal - 229 changes by mantaray
norwegian_nynorsk - 2 changes by mantaray
portuguese - 9 changes by JayCity
brazilian_portuguese - 14 changes by Tucalipe, leandromoh
russian - 7 changes by
serbian - 5 changes by etran
slovenian - 1 changes by ntadej
2010-02-13 18:45:51 +00:00
alberth
09327c2e69
(svn r19123) -Fix [FS#3617]: Resize station cargo widget when needed to display all accepted cargo types.
2010-02-13 18:44:03 +00:00
alberth
1737292d07
(svn r19122) -Codechange: Move cargo drawing to StationViewWindow::OnPaint().
2010-02-13 18:41:31 +00:00
alberth
df920582af
(svn r19121) -Codechange: Introduce a variable for the height of the ratings and accepted cargo widgets.
2010-02-13 18:39:00 +00:00
frosch
e7106d8121
(svn r19120) -Fix: [NewGRF] Industry property 0x17 was interpreted incorrectly and in some cases circumvented the density difficulty setting.
...
-Change: Do not scale the number of industry creations during map creation with the number of available industry types.
-Feature: [NewGRF] Implement special industry flag 0x10000.
2010-02-13 14:06:01 +00:00
rubidium
9c02767a92
(svn r19119) -Fix [FS#3616]: removing towns (in the scenario editor) that had stations/depots refer to them or vehicles were on the town's road could cause a crash
2010-02-13 14:02:36 +00:00
alberth
c1b40ee5e0
(svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon.
2010-02-13 14:00:45 +00:00
terkhen
ff80df980a
(svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders.
2010-02-13 10:33:05 +00:00
rubidium
f6dfce6d59
(svn r19114) -Change: [strgen] Modify the outputted format for MSVC builds of strgen so it also shows fatal errors in the 'error list' and it also counts them. (Fatal) errors are marked as warnings so a failing language file is not causing the complete compilation to fail.
2010-02-12 23:47:50 +00:00
rubidium
b1cce3f70f
(svn r19113) -Change: [strgen] Remove the partially generated language file if compilation fails.
2010-02-12 23:45:25 +00:00
smatz
66837b1edd
(svn r19112) -Fix [FS#3611]: don't crash on broken lng file
2010-02-12 23:39:44 +00:00
rubidium
171dbb7831
(svn r19111) -Fix (r19070): the station view didn't show acceptance anymore
2010-02-12 21:43:58 +00:00
translators
e412dfedca
(svn r19109) -Update from WebTranslator v3.0:
...
catalan - 13 changes by arnau
croatian - 1 changes by VoyagerOne
french - 1 changes by glx
lithuanian - 2 changes by
norwegian_nynorsk - 71 changes by mantaray
polish - 5 changes by silver_777
russian - 15 changes by Lone_Wolf
slovak - 27 changes by keso53
slovenian - 6 changes by ntadej
vietnamese - 39 changes by myquartz, nglekhoi
2010-02-12 18:45:34 +00:00
rubidium
3108101cb2
(svn r19106) -Codechange: change 'const static' -> 'static const' for consistency (1 vs 2900 cases); some GCCs/ICCs are known to warn about the former case, but it's valid C++.
2010-02-12 17:31:40 +00:00
yexo
7d5cfa5884
(svn r19105) -Fix [FS#3614]: not all news data was properly freed when starting a new game
2010-02-12 16:42:29 +00:00
alberth
dd1c72d39a
(svn r19104) -Fix (r19039): Stablize main view centering in smallmap.
2010-02-12 13:46:41 +00:00
alberth
47295bb8b9
(svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation.
2010-02-12 12:14:21 +00:00
alberth
464ad6b951
(svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons.
2010-02-12 10:40:29 +00:00
yexo
26005c55e5
(svn r19099) -Doc: two files had the wrong name in the @file comment
2010-02-11 20:52:56 +00:00
translators
826e8a92ef
(svn r19098) -Update from WebTranslator v3.0:
...
arabic_egypt - 101 changes by kasakg
croatian - 7 changes by VoyagerOne
czech - 8 changes by SmatZ
dutch - 2 changes by habell
finnish - 4 changes by jpx_
french - 12 changes by glx
hebrew - 12 changes by dnd_man
hungarian - 15 changes by IPG
indonesian - 2 changes by fanioz
italian - 2 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 10 changes by BlinK_
luxembourgish - 2 changes by Phreeze
norwegian_bokmal - 5 changes by mantaray
norwegian_nynorsk - 225 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
serbian - 2 changes by etran
slovak - 99 changes by keso53
spanish - 6 changes by Terkhen
vietnamese - 4 changes by myquartz
2010-02-11 18:46:06 +00:00
rubidium
1217bb9411
(svn r19097) -Fix [FS#3610] (r10444): compilation error in the BeMidi driver (jrepan)
2010-02-11 17:13:57 +00:00
yexo
804a6894c5
(svn r19096) -Fix: segfault when one of the items in the news_display group in the config file has no value
2010-02-11 15:12:08 +00:00
yexo
f709290220
(svn r19095) -Fix: segfault when a baseset has an empty metadata field
2010-02-11 15:08:55 +00:00
yexo
6406b75b8f
(svn r19094) -Codechange: don't check for NULL values before calling StrEmpty
2010-02-11 14:58:51 +00:00
smatz
07409e6741
(svn r19093) -Codechange: do not prefix console debug output with 'condbg', [console] is enough
2010-02-10 23:38:43 +00:00
rubidium
32cdc157ee
(svn r19091) -Cleanup: remove some unneeded zeroing
2010-02-10 21:28:26 +00:00
rubidium
7a73a7490d
(svn r19090) -Codechange: some comment coding style fixes
2010-02-10 21:06:05 +00:00
rubidium
249acc9e4f
(svn r19089) -Codechange: some minor coding style
2010-02-10 20:53:23 +00:00
rubidium
aab7768a3e
(svn r19088) -Fix: some typos/spelling errors in the base 'translation'
2010-02-10 20:46:14 +00:00
rubidium
0072503496
(svn r19087) -Codechange: some typos in StringIDs
2010-02-10 20:20:18 +00:00
translators
1aee53ef6c
(svn r19086) -Update from WebTranslator v3.0:
...
traditional_chinese - 4 changes by josesun
dutch - 4 changes by habell
french - 3 changes by glx
german - 2 changes by planetmaker
greek - 4 changes by fumantsu
hebrew - 29 changes by dnd_man
hungarian - 2 changes by alyr
italian - 4 changes by lorenzodv
japanese - 25 changes by PouncingAnt
lithuanian - 34 changes by BlinK_
luxembourgish - 178 changes by Phreeze
romanian - 4 changes by kkmic
slovenian - 2 changes by ntadej
spanish - 2 changes by Terkhen
2010-02-10 18:45:45 +00:00
smatz
8cd83f87df
(svn r19085) -Codechange: simplify hooking of console commands
2010-02-10 18:18:08 +00:00
smatz
c5b34444af
(svn r19084) -Codechange: minor coding-style fixups
2010-02-10 17:37:47 +00:00
smatz
023fc16894
(svn r19083) -Cleanup: remove support for modifying variables from console
2010-02-10 17:32:39 +00:00
smatz
d8a0278cf2
(svn r19082) -Codechange: make 'developer' a regular setting
2010-02-10 17:01:03 +00:00
rubidium
21bd2722cd
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
2010-02-10 16:24:05 +00:00
smatz
78ce2858fc
(svn r19080) -Cleanup: remove unused _debug_ntp_level and _debug_ms_level
2010-02-10 16:12:54 +00:00
smatz
ac6ff0de9b
(svn r19079) -Codechange: use _debug_console_level instead of _stdlib_con_developer
2010-02-10 16:10:05 +00:00
rubidium
2fcab9d54e
(svn r19078) -Update: add cases to Hebrew (dnd_man)
2010-02-10 16:04:11 +00:00
smatz
91988f2722
(svn r19077) -Codechange: remove company_pw from console vars
2010-02-10 15:26:47 +00:00
terkhen
2329eacfe8
(svn r19076) -Codechange: Move graph functions to their own header.
2010-02-10 15:24:48 +00:00
smatz
73ed81b1c7
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
2010-02-10 15:17:27 +00:00
smatz
b91b3ac836
(svn r19074) -Change: when filtering list of settings and console commands, use strstr() instead of strncmp()
2010-02-10 13:52:10 +00:00
rubidium
4cd2ad0a5f
(svn r19073) -Fix (r15027): -a is not a command line parameter
2010-02-09 23:52:08 +00:00
rubidium
ab35d95b5a
(svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection
2010-02-09 23:49:19 +00:00
rubidium
3c9c2f704f
(svn r19071) -Codechange: update the other language files for r19070 (sbr)
2010-02-09 21:50:16 +00:00
rubidium
29ce905bc2
(svn r19070) -Fix [FS#3607]: the station coverage text was not RTL language aware (sbr)
2010-02-09 21:48:57 +00:00
translators
169020051c
(svn r19068) -Update from WebTranslator v3.0:
...
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
hebrew - 14 changes by dnd_man
hungarian - 4 changes by IPG, Petert, alyr
japanese - 16 changes by PouncingAnt
korean - 4 changes by junho2813
luxembourgish - 59 changes by Phreeze
norwegian_bokmal - 5 changes by mantaray
norwegian_nynorsk - 5 changes by mantaray
portuguese - 1 changes by JayCity
brazilian_portuguese - 49 changes by Tucalipe, leandromoh
russian - 5 changes by Lone_Wolf
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-02-09 18:45:53 +00:00
glx
fb207873c5
(svn r19067) -Fix [FS#3604]: remove Bidi control characters from the reordered text
2010-02-09 18:37:19 +00:00
yexo
e582d21981
(svn r19066) -Fix: settings that are part of the "ttdpatch flags" can cause desyncs if they're changed in network games
2010-02-09 16:22:13 +00:00
peter1138
bf862877a4
(svn r19065) -Fix [FS#3605]: Station offset multiplier was wrong.
2010-02-09 15:43:54 +00:00
terkhen
52312ea17f
(svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth).
2010-02-08 23:46:35 +00:00
yexo
3c627747d3
(svn r19063) -Codechange: type in constant name (andythenorth)
2010-02-08 23:05:29 +00:00
terkhen
b9f06f3f29
(svn r19062) -Codechange: Move smallmap related functions to their own header.
2010-02-08 21:19:41 +00:00
translators
0267acff62
(svn r19061) -Update from WebTranslator v3.0:
...
esperanto - 6 changes by Ailanto
galician - 37 changes by Condex
hebrew - 33 changes by dnd_man
luxembourgish - 57 changes by Phreeze
brazilian_portuguese - 53 changes by Tucalipe
2010-02-08 18:45:17 +00:00
peter1138
1bd72e28f0
(svn r19060) -Codechange: Draw custom depot sprites in GUI.
2010-02-08 16:07:46 +00:00
peter1138
898e879bd9
(svn r19056) -Add: [NewGRF] Action 3/2/1 (i.e. new graphics) support for rail types. (To be documented...)
2010-02-07 22:22:54 +00:00
translators
01474412fc
(svn r19055) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
danish - 22 changes by beruic
esperanto - 15 changes by Ailanto
hungarian - 1 changes by alyr
japanese - 15 changes by PouncingAnt
polish - 6 changes by xaxa
2010-02-07 18:45:19 +00:00
rubidium
f47f3a4157
(svn r19054) -Fix [FS#3598]: when banning yourself via rcon do not send the 'command response' to the client as the connection has already been terminated
2010-02-07 18:28:09 +00:00
frosch
fb9b833dc4
(svn r19053) -Codechange: Add an enum for the special flags of industry tiles. (based on andythenorth' work)
2010-02-07 12:04:44 +00:00
alberth
76dbdca2f8
(svn r19052) -Codechange: Remove the _smallmap_draw_procs array.
2010-02-07 11:58:35 +00:00
frosch
3c7dff4270
(svn r19051) -Codechange: Variable scope.
2010-02-06 20:50:50 +00:00
frosch
69184fdc79
(svn r19050) -Fix: Don't call callbacks for disabled industrytypes.
2010-02-06 20:41:27 +00:00
frosch
0ab6f60c62
(svn r19049) -Codechange: Deduplicate computing number of initial industries.
2010-02-06 20:19:59 +00:00
alberth
ec436a7615
(svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines.
2010-02-06 19:24:51 +00:00
alberth
0e97146d4d
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
2010-02-06 19:22:29 +00:00
alberth
5cd81526d8
(svn r19046) -Codechange: Move retrieval of tile colour data in smallmap.
2010-02-06 19:18:09 +00:00
translators
9734124835
(svn r19045) -Update from WebTranslator v3.0:
...
danish - 1 changes by beruic
japanese - 38 changes by PouncingAnt
turkish - 77 changes by niw3
ukrainian - 1 changes by Madvin
vietnamese - 154 changes by myquartz
2010-02-06 18:45:17 +00:00
rubidium
78f31c1744
(svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames.
2010-02-06 17:26:21 +00:00
alberth
da2722da36
(svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef.
2010-02-06 15:10:12 +00:00
alberth
4cf65e6e81
(svn r19042) -Add: Allow mousewheel zooming in smallmap.
2010-02-06 13:22:04 +00:00
alberth
a6e8c747c9
(svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps.
2010-02-06 13:19:46 +00:00
alberth
21589daea9
(svn r19040) -Codechange: Introduce inverse function of RemapCoords.
2010-02-06 13:14:40 +00:00
alberth
db6e077c8a
(svn r19039) -Feature: Add zoom-out to smallmap.
2010-02-06 13:12:59 +00:00
alberth
05388c953a
(svn r19038) -Codechange: Move TileArea methods to their own file.
2010-02-06 12:56:13 +00:00
alberth
21c3dd11bd
(svn r19027) -Doc: Document RemapCoords functions.
2010-02-06 09:30:30 +00:00
alberth
3f2c4d744a
(svn r19026) -Codechange: Move a constant computation out of the loop.
2010-02-06 09:27:04 +00:00
alberth
32db019d9e
(svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn().
2010-02-06 09:25:02 +00:00
rubidium
8ee4a6e7f2
(svn r19024) -Fix [FS#3577]: mass stopping/starting/autoreplacing gave empty errors when there were no vehicles
2010-02-05 21:51:26 +00:00
rubidium
67234a6a6f
(svn r19023) -Fix (r18807): city airport introduction date had become 5 years later
2010-02-05 21:49:56 +00:00
rubidium
64ead0b513
(svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed
2010-02-05 20:22:01 +00:00
rubidium
a126db6ea4
(svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid
2010-02-05 20:18:30 +00:00
translators
0c226b44a3
(svn r19020) -Update from WebTranslator v3.0:
...
basque - 125 changes by Thadah
croatian - 8 changes by UnderwaterHesus
danish - 8 changes by beruic, silentStatic
portuguese - 2 changes by SupSuper
romanian - 6 changes by kkmic
ukrainian - 6 changes by Madvin
vietnamese - 106 changes by myquartz
2010-02-05 18:45:22 +00:00
smatz
d62d0ac489
(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible
2010-02-05 17:05:58 +00:00
rubidium
7c1170668a
(svn r19017) -Doc: [NoAI] A parameter wasn't documented
2010-02-05 16:11:23 +00:00
terkhen
9cf602c7c1
(svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations.
2010-02-05 14:11:25 +00:00
rubidium
5d78e73445
(svn r19015) -Update: Vietnamese language settings
2010-02-05 10:47:07 +00:00
yexo
091d88f514
(svn r19014) -Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop location of trains in a rail station
2010-02-04 23:18:19 +00:00
yexo
d858264ca6
(svn r19012) -Fix (r19003): macos.h is not in video/cocoa/ but in os/macosx/.
2010-02-04 22:17:41 +00:00
rubidium
34fa63b8f5
(svn r19011) -Update: AI changelog
2010-02-04 22:14:11 +00:00
terkhen
9e03eb08a2
(svn r19010) -Codechange: Remove a now unneeded check at CmdBuildRailStation.
2010-02-04 21:09:29 +00:00
translators
afe2fe244d
(svn r19009) -Update from WebTranslator v3.0:
...
basque - 5 changes by Thadah
turkish - 62 changes by niw3
2010-02-04 18:45:09 +00:00
rubidium
d11bb39f43
(svn r19007) -Prepare: 1.0.0-beta4
2010-02-04 17:11:46 +00:00
rubidium
cc8fd6e910
(svn r19006) -Fix (r18970): default rail type determination failed causing 'A'/SHIFT-F4 not to work the first time. As rail types can now be anything the explicit options for the different railtypes have been removed, leaving the most used rail type and first/last available rail types.
2010-02-04 17:08:48 +00:00
rubidium
fbb9b4760a
(svn r19005) -Codechange: make animated cursors have a bit set instead of using negative numbers that are passed as uints, then cast again to be compared as ints before being inverted to be actually used. Also fixes a couple of 'integer conversion resulted in truncation' warnings ICC spewed.
2010-02-04 15:42:38 +00:00
rubidium
09730847ec
(svn r19004) -Codechange: silence ICC warning that 'integer conversion resulted in a change of sign'
2010-02-04 15:27:25 +00:00
rubidium
e62b122bb1
(svn r19003) -Fix [FS#3194]: [OSX] OS X 10.5+ does not (always?) handle 8bpp graphics in a suitable manner. This is actually not a fix but a nasty work around; you can still easily trigger the bug/issue by overriding the 'default' blitter choice (Brad Oliver). I can/have not test(ed) (including compiling) this fix.
...
Bjarni once suggested that 8bpp works for him on 10.5, so apparantly not all 10.5+ does not handle 8bpp graphics. Nevertheless, it seemed that for some systems the already existing 'does this support 8bpp' did not work, i.e. the OS API seemed to suggest that 8bpp worked when it actually did not. So, I don't know what is going on precisely here but it's definitely not nice to suggest that it supports 8bpp when it doesn't. So just ditch 8bpp support for anything that we suspect might not support 8bpp...
2010-02-04 14:32:12 +00:00
rubidium
36298c1454
(svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter Thorson). I can/have not test(ed) it, it cannot break non OSX builds.
2010-02-04 14:21:20 +00:00
rubidium
228da0ccd3
(svn r19001) -Fix: some GCC compile warnings
2010-02-04 13:35:20 +00:00
smatz
2b8f7f2078
(svn r19000) -Cleanup: remove redundant check
2010-02-04 00:40:11 +00:00
rubidium
68b908a27c
(svn r18999) -Change: update some of the defaults (Eddi)
2010-02-03 23:45:19 +00:00
rubidium
9f49882de7
(svn r18998) -Update: the credits
2010-02-03 23:08:46 +00:00
rubidium
d818c7c7b1
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
2010-02-03 21:45:48 +00:00
translators
a61cd5ad85
(svn r18995) -Update from WebTranslator v3.0:
...
greek - 8 changes by fumantsu
hebrew - 17 changes by dnd_man
russian - 6 changes by Lone_Wolf
2010-02-03 18:45:12 +00:00
rubidium
2db44fc18e
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
2010-02-03 18:42:23 +00:00
rubidium
c75f19f40b
(svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call.
2010-02-03 17:25:56 +00:00
rubidium
e437362c7b
(svn r18992) -Codechange: move the file opening/closing out of the content download function
2010-02-03 17:15:35 +00:00
rubidium
589aee0cee
(svn r18991) -Codechange: simplify memory management of DownloadSelectedContent
2010-02-03 17:12:19 +00:00
peter1138
f1458df1ca
(svn r18990) -Codechange: [NewGRF] Add rail type map bounds checking to RailType[Change|Reserve]Info().
2010-02-03 08:02:07 +00:00
peter1138
9950fc1ede
(svn r18989) -Codechange: [NewGRF] Initialise rail type map with default rail types.
2010-02-03 07:58:43 +00:00
yexo
39c1de23d6
(svn r18988) -Fix: [NewGRF] industry var A5 (=high 8 bits of var A4) returned the high 8 bits of var A2. Same problem for 9B/9A/98
2010-02-02 23:11:10 +00:00
terkhen
2798fdf082
(svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way.
2010-02-02 22:27:03 +00:00
terkhen
b02a522038
(svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way.
2010-02-02 21:25:01 +00:00
translators
8d4773be94
(svn r18985) -Update from WebTranslator v3.0:
...
basque - 1 changes by Thadah
hebrew - 33 changes by dnd_man
lithuanian - 1 changes by BlinK_
swedish - 8 changes by Chrill
vietnamese - 4 changes by nglekhoi
welsh - 3 changes by Rufus
2010-02-02 18:45:20 +00:00
terkhen
8849943da5
(svn r18984) -Add: Viewport place methods for dragging a line with limited size.
2010-02-01 23:13:15 +00:00
translators
615324130b
(svn r18983) -Update from WebTranslator v3.0:
...
traditional_chinese - 11 changes by josesun
dutch - 3 changes by habell
greek - 9 changes by fumantsu
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 2 changes by CyberKenny
norwegian_nynorsk - 2 changes by mantaray
vietnamese - 5 changes by nglekhoi
2010-02-01 18:45:24 +00:00
smatz
78ffa78ee7
(svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn')
2010-02-01 18:38:28 +00:00
rubidium
06e80d0a1f
(svn r18980) -Codechange: preceeding -> preceding (spelling)
2010-02-01 12:43:28 +00:00
matthijs
108b86282f
(svn r18979) -Fix: Typo in console save command output.
2010-02-01 12:29:49 +00:00
smatz
d155794605
(svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies
2010-02-01 00:10:52 +00:00
terkhen
68fc39ea1d
(svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess.
2010-01-31 22:37:20 +00:00
frosch
c23e4e4538
(svn r18976) -Fix: Estimating the cost of removing statues could clear the presence flag in the town.
2010-01-31 20:56:24 +00:00
frosch
5f4f562d53
(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.
2010-01-31 20:55:10 +00:00
frosch
cbbe311cea
(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run.
2010-01-31 20:28:36 +00:00
translators
8e6096931a
(svn r18973) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
hebrew - 8 changes by dnd_man
italian - 2 changes by lorenzodv
lithuanian - 12 changes by BlinK_
portuguese - 6 changes by JayCity
2010-01-31 18:45:18 +00:00
peter1138
2b820780a1
(svn r18972) -Add: [NewGRF] Per-rail type speed limits.
2010-01-31 13:17:29 +00:00
peter1138
2331ccd589
(svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed.
2010-01-31 12:56:32 +00:00
peter1138
990cbe6263
(svn r18970) -Codechange: Increase number of possible rail types to 16.
2010-01-30 21:59:22 +00:00
peter1138
32ef582c37
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
2010-01-30 21:49:22 +00:00
translators
84c6616ee0
(svn r18968) -Update from WebTranslator v3.0:
...
bulgarian - 5 changes by Tvel
czech - 3 changes by ReisRyos
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 4 changes by IPG
indonesian - 7 changes by fanioz
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 6 changes by BlinK_
serbian - 2 changes by etran
slovenian - 3 changes by ntadej
spanish - 2 changes by Terkhen
vietnamese - 44 changes by myquartz
2010-01-30 18:45:45 +00:00
frosch
f9cebfcfc4
(svn r18967) -Fix (r18966): Never trust your copy&paste skills.
2010-01-30 18:43:14 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
frosch
2f6fe85f23
(svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical.
2010-01-30 17:42:04 +00:00
frosch
af50e0a4cf
(svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description.
2010-01-30 16:29:52 +00:00
terkhen
272f2cd93e
(svn r18963) -Codechange: Give AccelerationModel a generical name.
2010-01-30 16:27:35 +00:00
alberth
815eede0be
(svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly.
2010-01-30 15:29:35 +00:00
alberth
cdc6f5ddc1
(svn r18961) -Codechange: Simplifying and unduplicating code in smallmap.
2010-01-30 13:11:26 +00:00
terkhen
72f4bd818c
(svn r18960) -Codechange: Move acceleration-related values to a separated cache.
2010-01-30 10:41:15 +00:00
frosch
9e4a62d1ee
(svn r18959) -Feature: [NewGRF] Allow layering of multiple groundsprites in spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble.
2010-01-30 10:08:39 +00:00
alberth
5c9cb9648b
(svn r18958) -Codechange: Merge smallmap remap functions.
2010-01-30 09:54:58 +00:00
alberth
ab4072ba8d
(svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow.
2010-01-30 09:32:48 +00:00
yexo
b7fc8b4979
(svn r18956) -Update: NoAI changelog
2010-01-29 23:59:38 +00:00
yexo
15016e3511
(svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several classes to get easier cost estimations before you start building
2010-01-29 23:56:42 +00:00
smatz
54f958c8e5
(svn r18954) -Fix (r18952): missing 'inline'
2010-01-29 23:54:00 +00:00
yexo
4c4d1e1bf6
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
...
Only settings with the AICONFIG_INGAME flag can be editted in this way
2010-01-29 21:38:55 +00:00
yexo
dc714960e3
(svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed
2010-01-29 21:06:35 +00:00
translators
b0349704b0
(svn r18951) -Update from WebTranslator v3.0:
...
czech - 8 changes by ReisRyos
dutch - 6 changes by Yexo
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
greek - 7 changes by fumantsu
hungarian - 4 changes by Petert
korean - 4 changes by junho2813
norwegian_bokmal - 4 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 24 changes by myquartz
2010-01-29 18:45:45 +00:00
yexo
f381b91de0
(svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid
2010-01-29 18:21:10 +00:00
yexo
f8b0ddd3ec
(svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes'
2010-01-29 17:56:36 +00:00
yexo
ea227aa033
(svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar
2010-01-29 15:50:56 +00:00
yexo
81882039e3
(svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range
2010-01-29 15:45:53 +00:00
yexo
a668e801e4
(svn r18946) -Fix: it was possible to change AI settings without changing to the custom difficulty level by using the query text window
2010-01-29 01:03:22 +00:00
yexo
a43a23b408
(svn r18945) -Codechange: typo
2010-01-29 00:11:30 +00:00
yexo
fae34ee719
(svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version
2010-01-29 00:03:31 +00:00
yexo
d75b9f1642
(svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting)
2010-01-28 23:17:28 +00:00
yexo
fa01b25f74
(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes
2010-01-28 22:34:14 +00:00
yexo
b689e3d6e4
(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes
2010-01-28 22:06:13 +00:00
yexo
da3ff51759
(svn r18940) -Feature: make the crash position of aircraft a bit random by giving aircraft a chance to crash every tick they're breaking.
...
Slow aircraft will crash a bit less, fast aircraft might crash a bit more
2010-01-28 21:59:18 +00:00
terkhen
d4376779f8
(svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own function.
2010-01-28 20:54:29 +00:00
frosch
294bc14652
(svn r18938) -Fix: Industrylayout's special water tile check did not properly check for crossing north border of map. Also don't consider MP_VOID tiles as water.
2010-01-28 19:41:45 +00:00
yexo
6be4560528
(svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void tiles at the north border
2010-01-28 19:27:10 +00:00
translators
8ee96d4d45
(svn r18936) -Update from WebTranslator v3.0:
...
hungarian - 2 changes by IPG
indonesian - 5 changes by fanioz
spanish - 7 changes by yanok
vietnamese - 544 changes by myquartz
2010-01-28 18:45:16 +00:00
rubidium
c1c401b51b
(svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects
2010-01-28 18:19:34 +00:00
glx
27491c5586
(svn r18934) -Fix (r18892, r18913): the deadlock should be definitively gone now
2010-01-28 13:49:20 +00:00
peter1138
08a24fcc31
(svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves.
2010-01-28 02:31:37 +00:00
peter1138
07b285c5ca
(svn r18932) -Codechange: Don't constantly redraw drop drop list.
2010-01-28 02:30:59 +00:00
frosch
a3168269f9
(svn r18931) -Fix: Disabling autoreplace rules might count invalid engines.
2010-01-27 20:54:05 +00:00
frosch
7b237ee607
(svn r18930) -Fix: [NoAI] Autoreplace is also valid for the default group.
2010-01-27 20:51:11 +00:00
frosch
ec9ac775bf
(svn r18929) -Fix [FS#3568]: Preserve some timetable related vehicle flags during autorenew/-replace.
2010-01-27 20:07:29 +00:00
frosch
9a1dddd137
(svn r18928) -Fix (r18304): The date in case of 'early arrival' was misaligned in the timetable GUI.
2010-01-27 19:52:08 +00:00
rubidium
9a4a120b6e
(svn r18927) -Change: move Vietnamese out of unfinished
2010-01-27 18:46:53 +00:00
translators
68344778e3
(svn r18926) -Update from WebTranslator v3.0:
...
romanian - 3 changes by kkmic
ukrainian - 2 changes by Madvin
vietnamese - 738 changes by myquartz
2010-01-27 18:45:13 +00:00
yexo
ea7c90d471
(svn r18925) -Fix (r18924): a waypoint can have a buoy but no rail waypoint tile
2010-01-27 13:06:58 +00:00
yexo
849e676410
(svn r18924) -Fix [NoAI]: AIOrder::GetOrderDestination could return a non-waypoint tile when the waypoint was a multitile waypoint
2010-01-27 12:45:41 +00:00
peter1138
cd6eac77c3
(svn r18923) -Fix [FS#3565]: Check source stationspec exists before copying layouts.
2010-01-27 10:17:09 +00:00
yexo
4df90cddee
(svn r18922) -Doc: add doxygen documentation to all functions in station_map.h
2010-01-26 23:25:28 +00:00
yexo
7f998ce80d
(svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict
2010-01-26 23:03:47 +00:00
translators
0bc1b736d7
(svn r18920) -Update from WebTranslator v3.0:
...
afrikaans - 4 changes by Maccie123
dutch - 3 changes by habell
vietnamese - 638 changes by myquartz
2010-01-26 18:45:11 +00:00
glx
918b3aff5e
(svn r18919) -Fix (r15371): strcasestr() return should not be const
2010-01-26 14:04:56 +00:00
translators
078e1edabc
(svn r18917) -Update from WebTranslator v3.0:
...
danish - 1 changes by Hatsen
lithuanian - 17 changes by BlinK_, Devastator
malay - 17 changes by toadhall
norwegian_bokmal - 84 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
polish - 1 changes by xaxa
swedish - 6 changes by tobjork
2010-01-25 18:45:23 +00:00
frosch
f379b0a1d9
(svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads.
2010-01-25 17:22:06 +00:00
glx
32fa5384d2
(svn r18915) -Fix (r18912): use a macro for empty DrawTileSprites elements (and solve missing braces/initializer warnings)
2010-01-25 15:20:46 +00:00
glx
57718cc5a7
(svn r18913) -Fix (r18892): the deadlock was still possible
2010-01-25 00:43:51 +00:00
yexo
388c713f08
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
2010-01-24 20:25:28 +00:00
yexo
6ff482f515
(svn r18911) -Fix (r18910): forgot to svn add the new file
2010-01-24 20:21:09 +00:00
yexo
de3c92dd06
(svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h
2010-01-24 20:17:18 +00:00
translators
3a23e38898
(svn r18909) -Update from WebTranslator v3.0:
...
hebrew - 5 changes by dnd_man
norwegian_bokmal - 284 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
slovenian - 89 changes by ntadej
welsh - 2 changes by welshdragon
2010-01-24 18:45:28 +00:00
rubidium
3d0b3818dd
(svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low
2010-01-24 11:05:26 +00:00
alberth
b2f9b0ac43
(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().
2010-01-23 22:37:14 +00:00
alberth
d2fc24d61c
(svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap.
2010-01-23 22:32:30 +00:00
peter1138
c83d57f228
(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc
2010-01-23 22:25:00 +00:00
michi_cc
a4f50de959
(svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory.
2010-01-23 22:23:45 +00:00
rubidium
299d405680
(svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work
2010-01-23 19:33:18 +00:00
rubidium
afcce5ed90
(svn r18901) -Change: make the default button work again for the world generation window; previously it worked due to the bug fixed in r18899. Do not add it again for the town custom number because there is no default for that one.
2010-01-23 19:32:56 +00:00
rubidium
37b0a61b42
(svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default'
2010-01-23 19:30:53 +00:00
rubidium
2b82db72ef
(svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set
2010-01-23 19:30:03 +00:00
translators
4d184e9b16
(svn r18898) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
japanese - 16 changes by PouncingAnt
korean - 1 changes by junho2813
lithuanian - 275 changes by BlinK_
norwegian_bokmal - 7 changes by Zhygometh
spanish - 4 changes by Terkhen
swedish - 91 changes by tobjork
2010-01-23 18:45:23 +00:00
frosch
4034f249db
(svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876.
2010-01-23 16:38:09 +00:00
rubidium
9e106dca81
(svn r18896) -Fix [FS#3558]: pressing cancel for the query windows of the world generation window caused the default to be set instead of no changes to the value
2010-01-23 15:53:09 +00:00
peter1138
00ffde86d2
(svn r18893) -Codechange: Replace grf_load_* with methods of ByteReader.
2010-01-23 13:17:30 +00:00
glx
a554b41452
(svn r18892) -Fix: in some rare case a deadlock could happen when stopping sound driver (windows)
2010-01-23 01:36:49 +00:00
peter1138
200dc6821f
(svn r18891) -Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups.
2010-01-22 23:55:20 +00:00
frosch
3df9caa86a
(svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE.
2010-01-22 22:32:39 +00:00
frosch
bf65eb686e
(svn r18889) -Codechange: Use (GroundSprite|SpriteLayout)PaletteTransform() also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured.
2010-01-22 21:52:20 +00:00
frosch
6260d243ee
(svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful.
2010-01-22 18:47:29 +00:00
translators
7f09435239
(svn r18887) -Update from WebTranslator v3.0:
...
bulgarian - 120 changes by Tvel
catalan - 4 changes by arnau
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
korean - 1 changes by junho2813
serbian - 3 changes by etran
slovenian - 4 changes by ntadej
spanish - 1 changes by Terkhen
2010-01-22 18:45:31 +00:00
peter1138
16e621c939
(svn r18886) -Fix (r18884): Spurious casting
2010-01-22 15:34:22 +00:00
peter1138
bb71c61ee1
(svn r18885) -Fix (r18884): Industry tile layouts weren't completely freed on error.
2010-01-22 14:03:36 +00:00
peter1138
927f149ff2
(svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code.
2010-01-22 13:02:15 +00:00
rubidium
7ec3d9a0c6
(svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs
2010-01-21 23:19:50 +00:00
rubidium
18446dd599
(svn r18882) -Change: default to zero AIs
2010-01-21 23:19:13 +00:00
rubidium
5ddf56f0e0
(svn r18881) -Codechange: make the AI debug window look nicer when not at its minimum size
2010-01-21 21:08:58 +00:00
yexo
b76a5669f5
(svn r18880) -Fix: aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal
2010-01-21 19:31:25 +00:00
translators
fdfd0ab922
(svn r18879) -Update from WebTranslator v3.0:
...
portuguese - 2 changes by SupSuper
slovenian - 6 changes by ntadej
spanish - 149 changes by Terkhen
2010-01-21 18:45:13 +00:00
yexo
e80f4f20af
(svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry tile chain when the industry tile was part of an original industry
2010-01-21 18:32:44 +00:00
yexo
d04441e3f7
(svn r18877) -Change: make the default size of the AI debug window bigger so the 'no ai found' message can be read completely without resizing
2010-01-21 17:13:09 +00:00
yexo
18e7ec6b3e
(svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles
2010-01-21 13:34:05 +00:00
rubidium
f608ad7baf
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
2010-01-21 11:17:40 +00:00
rubidium
e130e4e9ba
(svn r18874) -Codechange: Change enum Sprites { to static const StringID = for each SPR_ entry and similar for cursors and palettes. This avoids the need for a cast in some places and thus provides better type-safety.
2010-01-21 01:46:40 +00:00
rubidium
db33e32b4d
(svn r18873) -Codechange: use PaletteID also in the blitter
2010-01-21 01:44:51 +00:00
rubidium
f94c83a387
(svn r18872) -Codechange: introduce PaletteID and use it
2010-01-21 01:38:13 +00:00
translators
05129cf138
(svn r18869) -Update from WebTranslator v3.0:
...
serbian - 2 changes by etran
slovenian - 49 changes by ntadej
2010-01-20 18:45:10 +00:00
frosch
107ad9bfe1
(svn r18868) -Fix [FS#3547](r18776): Wrong comparator.
2010-01-20 17:59:31 +00:00
translators
36bb4e19ae
(svn r18867) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
greek - 1 changes by fumantsu
spanish - 109 changes by Terkhen
2010-01-19 18:45:13 +00:00
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
2010-01-18 22:57:21 +00:00
rubidium
a8749ffa5b
(svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game
2010-01-18 21:44:31 +00:00
translators
a203eaf18f
(svn r18863) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
hebrew - 38 changes by dnd_man
polish - 1 changes by xaxa
spanish - 1 changes by Terkhen
ukrainian - 2 changes by Madvin
2010-01-18 18:45:20 +00:00
rubidium
b1bd106703
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
2010-01-18 15:41:38 +00:00
smatz
a39a446e8f
(svn r18861) -Doc: more doxygen documentation in genworld files
2010-01-18 14:58:32 +00:00
yexo
a1f28ec88b
(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station
2010-01-18 14:32:47 +00:00
smatz
565ad802b1
(svn r18859) -Codechange: rename glwp_modes to GenenerateLandscapeWindowMode
2010-01-18 12:53:01 +00:00
yexo
bcec00fdbd
(svn r18858) -Codechange: use IsAirportTile where possible
2010-01-18 12:36:08 +00:00
yexo
ab68f08886
(svn r18857) -Codechange: don't rely on the fact that all airports are rectangular
2010-01-18 12:32:50 +00:00
smatz
84bc831e32
(svn r18856) -Codechange: do not call GetSlopeZInCorner() when there's no fence to draw
2010-01-18 12:09:25 +00:00
smatz
9fc910fbc2
(svn r18855) -Codechange: record compiler name and version in the crash log
2010-01-18 10:11:27 +00:00
rubidium
23a8d2239f
(svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' and rail property (Terhken)
2010-01-17 23:03:43 +00:00
smatz
11e3a00a23
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
2010-01-17 22:59:24 +00:00
rubidium
a271ef214b
(svn r18852) -Update: tweak date formatting of Hebrew
2010-01-17 22:56:47 +00:00
smatz
2469752559
(svn r18851) -Codechange: enumify number of steps needed to generate landscape
2010-01-17 21:40:35 +00:00
smatz
3850b5912f
(svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes
2010-01-17 20:28:08 +00:00
translators
75395dc8ce
(svn r18849) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 1 changes by jpx_
greek - 1 changes by fumantsu
norwegian_nynorsk - 1 changes by bjelleklang
slovenian - 96 changes by ntadej
2010-01-17 18:45:18 +00:00
rubidium
736c12f6ae
(svn r18848) -Fix (r18838): the original accelaration got broken
2010-01-17 16:52:35 +00:00
frosch
24e0945bc4
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
2010-01-17 15:05:25 +00:00
yexo
830af8ee77
(svn r18845) -Codechange: introduce AirportTileSpec and use it for animation
2010-01-17 14:22:07 +00:00
yexo
f920415752
(svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h
2010-01-17 12:48:09 +00:00
frosch
ae48ea16f9
(svn r18843) -Codechange: Only NewGRF supplied spritelayouts use SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed.
2010-01-17 01:22:43 +00:00
frosch
d9d75c83d5
(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-17 01:01:56 +00:00
frosch
707cf045f8
(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.
2010-01-17 00:51:18 +00:00
frosch
2e9529aff3
(svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing.
2010-01-16 22:52:51 +00:00
frosch
381bf04bab
(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.
2010-01-16 22:44:03 +00:00
rubidium
719fb9803c
(svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen)
2010-01-16 22:30:04 +00:00
frosch
d27999e446
(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file.
2010-01-16 22:25:44 +00:00
rubidium
199091600a
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
2010-01-16 22:16:28 +00:00
peter1138
df06c14f61
(svn r18835) -Fix: Large sounds could still cause an overflow with high sample rates, causing them to be cut off.
2010-01-16 22:15:02 +00:00
rubidium
15adbad2f4
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
2010-01-16 22:01:33 +00:00
peter1138
3a5e588f12
(svn r18833) -Cleanup: Const-ness and style
2010-01-16 20:59:58 +00:00
frosch
c07c7a3818
(svn r18832) -Fix: some indentation whitespace.
2010-01-16 20:51:35 +00:00
rubidium
251ffaa000
(svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report
2010-01-16 19:08:33 +00:00
translators
7e7ec4f250
(svn r18830) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 2 changes by IPG
slovenian - 144 changes by ntadej
2010-01-16 18:45:22 +00:00
peter1138
711dea210b
(svn r18829) -Codechange: Don't free memory from within audio mixer callback handler as it may be required to be real-time safe.
2010-01-16 17:47:26 +00:00
frosch
6101ad8396
(svn r18828) -Fix (r18823): Decrementing uints is different to ints.
2010-01-16 16:44:59 +00:00
alberth
ff11095916
(svn r18827) -Fix: Center main window using smallmap widget edge coordinates.
2010-01-16 15:24:00 +00:00
frosch
6465f02fba
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
2010-01-16 14:22:19 +00:00
frosch
84ece021fd
(svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13)
2010-01-16 14:17:03 +00:00
frosch
e6faf06b68
(svn r18824) -Codechange: Turn some public members into protected ones. (skidd13)
2010-01-16 14:12:18 +00:00
frosch
085e9251c5
(svn r18823) -Codechange: Some uints for unsigned ints. (skidd13)
2010-01-16 14:02:22 +00:00
frosch
c7dafb9a26
(svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13)
2010-01-16 13:52:24 +00:00
rubidium
21fff6407d
(svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable
2010-01-15 23:47:28 +00:00
rubidium
f74ce1890e
(svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly
2010-01-15 23:45:26 +00:00
rubidium
1a1797ec4d
(svn r18819) -Change [FS#3493]: be consistent with airport naming
2010-01-15 22:29:47 +00:00
rubidium
879668811c
(svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed
2010-01-15 22:21:50 +00:00
yexo
31d1e9c051
(svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert
2010-01-15 21:00:46 +00:00
yexo
72572a0586
(svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too
2010-01-15 20:20:24 +00:00
translators
785b7e3382
(svn r18814) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2010-01-15 18:45:15 +00:00
yexo
bd102b78ee
(svn r18813) -Codechange: deduplicate copying a newgrf config
2010-01-15 18:28:30 +00:00
rubidium
aaf0b4b46c
(svn r18812) -Codechange: make some functions in train.h functions of Train.
2010-01-15 18:23:52 +00:00
rubidium
55d1db5b28
(svn r18811) -Fix (r18803): also swap the parameters for the AI API
2010-01-15 18:22:57 +00:00
glx
aff659b0b7
(svn r18810) -Fix (r18809): broken win32 compilation with SDL
2010-01-15 17:59:09 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
yexo
f380a7239d
(svn r18808) -Cleanup: deplicate by using an existing function
2010-01-15 16:37:19 +00:00
yexo
d669801f1d
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
2010-01-15 12:08:08 +00:00
peter1138
c37d69d161
(svn r18806) -Codechange: Typo in comment
2010-01-15 11:56:31 +00:00
rubidium
ca167791b6
(svn r18805) -Codechange: move airport_movement.h to table/
2010-01-15 10:55:43 +00:00
rubidium
4ecb3eb33c
(svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD.
2010-01-14 23:06:41 +00:00
rubidium
c390e8f00e
(svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
2010-01-14 23:05:07 +00:00
frosch
ed83388faa
(svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints.
2010-01-14 22:56:54 +00:00
rubidium
f89d6bea0e
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
2010-01-14 21:48:42 +00:00
rubidium
83c8c562bb
(svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though.
2010-01-14 21:47:31 +00:00
translators
f42b435d28
(svn r18799) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
2010-01-14 18:45:13 +00:00
belugas
1335914ec8
(svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen
2010-01-14 15:52:26 +00:00
rubidium
66b900215a
(svn r18797) -Fix (r18781): building wagons didn't add them to a train
2010-01-13 21:49:15 +00:00
rubidium
7aeccb9bd0
(svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it
2010-01-13 21:34:48 +00:00
translators
f43646cd7d
(svn r18795) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
2010-01-13 18:45:15 +00:00
rubidium
f9d2ccf8db
(svn r18794) -Codechange: add local company and network 'state' to the crash log
2010-01-13 15:03:34 +00:00
translators
2868da2f57
(svn r18793) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
2010-01-12 18:45:15 +00:00
rubidium
9c579a5adf
(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server
2010-01-12 18:09:48 +00:00
rubidium
70aad27dcb
(svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back
2010-01-12 16:38:48 +00:00
peter1138
c3fffe7496
(svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed.
2010-01-12 09:54:18 +00:00
rubidium
cb820e3da3
(svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages
2010-01-12 00:10:38 +00:00
rubidium
351eb4665c
(svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro.
2010-01-11 22:46:00 +00:00
rubidium
a535acb549
(svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window
2010-01-11 20:58:52 +00:00
rubidium
a6ebc1a77e
(svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
2010-01-11 20:42:07 +00:00
rubidium
2365819312
(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos.
2010-01-11 20:39:38 +00:00
rubidium
ebe99fd493
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-11 20:32:32 +00:00
rubidium
3e5a87a52c
(svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable.
2010-01-11 20:21:56 +00:00
rubidium
6a047d2316
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
2010-01-11 20:00:14 +00:00
rubidium
2b97f38cd1
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
translators
48df0d4e06
(svn r18780) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
dutch - 60 changes by Hirundo
french - 1 changes by glx
2010-01-11 18:45:15 +00:00
rubidium
833c6f36f3
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
2010-01-11 18:34:02 +00:00
michi_cc
de878fad31
(svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them.
2010-01-11 00:02:14 +00:00
rubidium
f51aac3523
(svn r18777) -Codechange: remove some unused parameters from a function
2010-01-10 23:20:11 +00:00
frosch
d5fa74369a
(svn r18776) -Codechange: Use SmallVector to collect refit options.
2010-01-10 21:45:32 +00:00
rubidium
3ebec78900
(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation.
2010-01-10 21:20:51 +00:00
frosch
fee0cebc46
(svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15.
2010-01-10 20:33:10 +00:00
translators
632280e06e
(svn r18773) -Update from WebTranslator v3.0:
...
afrikaans - 6 changes by burgerd
croatian - 36 changes by
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
2010-01-10 18:45:27 +00:00
rubidium
aca2daf841
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
2010-01-10 15:35:13 +00:00
rubidium
188c8ebd5c
(svn r18771) -Codechange: minor cleanups in saveload code
2010-01-10 14:57:05 +00:00
rubidium
f5053cee7e
(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
2010-01-10 14:30:32 +00:00
rubidium
3ca0937c1c
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
translators
5afce5831d
(svn r18768) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
2010-01-09 18:45:25 +00:00
rubidium
2f8b49134c
(svn r18767) -Fix: min/max income tooltips for the details performance statistics mentioned months whereas it should be quarters.
2010-01-09 18:44:46 +00:00
peter1138
1382964fa0
(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property
2010-01-09 15:33:41 +00:00
rubidium
b9052fff9f
(svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array
2010-01-09 14:57:03 +00:00
rubidium
e4af35d316
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
2010-01-09 14:43:08 +00:00
rubidium
f65f276d10
(svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen
2010-01-09 14:41:22 +00:00
yexo
7f6016031e
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
2010-01-08 22:42:00 +00:00
frosch
5b422d0c64
(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only using default sprites.
2010-01-08 20:42:12 +00:00
frosch
a16edfebd9
(svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already.
2010-01-08 19:18:32 +00:00
yexo
da3decba52
(svn r18759) -Fix [NewGRF]: don't segfault when a newgrf contains an action2 and action3 but no action0
2010-01-08 19:14:33 +00:00
rubidium
37e2ea30a8
(svn r18758) -Change: move Malay to the 'finished' languages
2010-01-08 18:47:25 +00:00
translators
b6b34e2643
(svn r18757) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
simplified_chinese - 69 changes by EraserKing
croatian - 36 changes by
czech - 11 changes by ReisRyos
danish - 11 changes by beruic
hungarian - 2 changes by IPG
italian - 1 changes by lorenzodv
korean - 1 changes by junho2813
malay - 476 changes by toadhall
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 24 changes by ntadej
spanish - 11 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-01-08 18:45:47 +00:00
glx
6179198c65
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
yexo
be3ca424f6
(svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles close to the starting tile
2010-01-07 20:56:50 +00:00
translators
be6fb855e8
(svn r18754) -Update from WebTranslator v3.0:
...
arabic_egypt - 60 changes by kasakg
croatian - 57 changes by UnderwaterHesus
dutch - 1 changes by habell
french - 1 changes by glx
korean - 2 changes by junho2813
malay - 649 changes by Syed, toadhall
brazilian_portuguese - 1 changes by Rubidium
romanian - 1 changes by kkmic
swedish - 1 changes by Landrash
2010-01-07 18:45:31 +00:00
rubidium
aa0b17bd60
(svn r18753) -Fix: Max TE was incorrect in the engine preview
2010-01-07 17:14:08 +00:00
rubidium
cd55161622
(svn r18752) -Codechange: unduplify some code
2010-01-07 16:39:04 +00:00
rubidium
1fc01513e2
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
175db8d613
(svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window
2010-01-07 11:54:01 +00:00
rubidium
882b23d3ee
(svn r18749) -Fix [FS#3491]: the AI's name and version in the debug panel weren't properly centered
2010-01-07 11:48:59 +00:00
rubidium
0e404038f2
(svn r18747) -Codechange: add some constness to the AI code
2010-01-07 00:09:27 +00:00
rubidium
1967084bc3
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
2010-01-06 20:49:24 +00:00
frosch
9c4b5e32fa
(svn r18745) -Codechange: Assemble custom station foundations into a single bounding box.
2010-01-06 20:23:06 +00:00
frosch
70f96a3dbf
(svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast.
2010-01-06 20:17:46 +00:00
translators
e0bf5da9ed
(svn r18743) -Update from WebTranslator v3.0:
...
afrikaans - 47 changes by burgerd
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 3 changes by jpx_
malay - 537 changes by Syed, toadhall
polish - 4 changes by vanta
portuguese - 4 changes by JayCity
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Madvin
2010-01-06 18:45:30 +00:00
yexo
4257607e2b
(svn r18742) -Fix [NewGRF]: house prop 1D was thrashed when a newgrf contains prop 14 after prop 1D
2010-01-06 15:16:14 +00:00
rubidium
3a26658fed
(svn r18741) -Fix (r14597, r16460): the 'ownname' of a language isn't the name of the translator, but the name of the language in said language.
2010-01-06 13:35:32 +00:00
yexo
509d533c51
(svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert
2010-01-06 09:08:43 +00:00
yexo
06842771a8
(svn r18738) -Fix (r18719): when a tree died while there was snow the amount of snow on the tile changed
2010-01-05 22:32:47 +00:00
peter1138
3157dfb675
(svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation.
2010-01-05 22:18:04 +00:00
yexo
75f717cce3
(svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67
2010-01-05 21:36:05 +00:00
translators
b6bca21877
(svn r18733) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
croatian - 36 changes by
finnish - 3 changes by jpx_
german - 1 changes by planetmaker
greek - 1 changes by Rubidium
malay - 503 changes by toadhall
polish - 1 changes by xaxa
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2010-01-05 18:45:29 +00:00
rubidium
74ffe8647f
(svn r18732) -Codechange: move the company related commands of misc_cmd.cpp to company_cmd.cpp
2010-01-05 17:11:56 +00:00
rubidium
f348afb5aa
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
2010-01-05 16:59:57 +00:00
yexo
9143b65785
(svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct position
2010-01-05 14:26:15 +00:00
yexo
fa23617380
(svn r18729) -Fix [FS#3427]: the lock in the company gui was only drawn for your own company
2010-01-04 23:00:19 +00:00
yexo
6dcfa9a063
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
2010-01-04 22:26:25 +00:00
rubidium
92c75f9092
(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, which could eventually cause crashes.
2010-01-04 21:58:47 +00:00
rubidium
28fc7b47bd
(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
...
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04 21:10:20 +00:00
frosch
1ed599f5cf
(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
...
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
2010-01-04 19:42:29 +00:00
yexo
27fc22a76b
(svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs
2010-01-04 18:50:50 +00:00
rubidium
b42e76d858
(svn r18723) -Codechange: also simplify looping over an area when building trees, desert, rocky areas or leveling land
2010-01-04 18:49:27 +00:00
translators
76bf94bf00
(svn r18722) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
greek - 36 changes by fumantsu
italian - 1 changes by lorenzodv
malay - 58 changes by toadhall
romanian - 1 changes by kkmic
russian - 2 changes by Lone_Wolf
serbian - 4 changes by etran
swedish - 1 changes by Landrash
2010-01-04 18:45:41 +00:00
rubidium
9dfa2db455
(svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists
2010-01-04 18:39:46 +00:00
rubidium
740585c219
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
2010-01-04 18:37:47 +00:00
yexo
b378e82676
(svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
2010-01-04 18:33:43 +00:00
rubidium
3e131e2fec
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
2010-01-04 18:30:10 +00:00
rubidium
87466a4ed0
(svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04 18:21:07 +00:00
rubidium
71f2789270
(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles
2010-01-04 18:16:32 +00:00
rubidium
31b325baaf
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
2010-01-04 18:12:10 +00:00
rubidium
8b88bb0c9b
(svn r18714) -Codechange: move the TileArea struct to it's own header
2010-01-04 18:05:14 +00:00
rubidium
02a297669a
(svn r18713) -Fix [FS#3476]: the join station window didn't account for scrolling, so if you did scroll the station was not joined with the selected station
2010-01-04 17:54:57 +00:00
peter1138
51f5102713
(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.
2010-01-04 16:37:53 +00:00
rubidium
3e481c4027
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
2010-01-04 11:35:12 +00:00
peter1138
abb147d974
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2010-01-04 02:32:36 +00:00
peter1138
5ab64809fe
(svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics.
2010-01-03 22:44:57 +00:00
yexo
9e2ccca327
(svn r18707) -Fix (r17802): local variables should not be accessed after the function returns
2010-01-03 22:43:12 +00:00
rubidium
069b6a9fab
(svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses".
2010-01-03 21:29:20 +00:00
frosch
a9d4147eb2
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
2010-01-03 20:55:00 +00:00
yexo
8a50a4112c
(svn r18701) -Fix (r18700): always compile before making a commit
2010-01-03 20:14:50 +00:00
yexo
47a11fff20
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
2010-01-03 19:33:12 +00:00
frosch
666c856457
(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range.
2010-01-03 19:29:56 +00:00
translators
f82c591022
(svn r18698) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
estonian - 71 changes by KSiimson
greek - 4 changes by fumantsu
indonesian - 4 changes by prof
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
urdu - 13 changes by waderay
2010-01-03 18:45:21 +00:00
rubidium
409007cd92
(svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window'
2010-01-03 15:25:51 +00:00
yexo
6e97511bcb
(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast tiles with trees on them.
2010-01-03 12:42:50 +00:00
translators
c73df2016a
(svn r18694) -Update from WebTranslator v3.0:
...
catalan - 7 changes by arnau
croatian - 36 changes by
korean - 1 changes by junho2813
norwegian_nynorsk - 10 changes by 2rB
polish - 4 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 41 changes by tonny
2010-01-02 18:45:23 +00:00
alberth
ab26bfd6a0
(svn r18693) -Doc: Add some doxygen comments to smallmap code.
2010-01-02 18:29:51 +00:00
yexo
c8c61faff2
(svn r18692) -Fix: after a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone
2010-01-02 17:09:14 +00:00
yexo
d8bcda3b94
(svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to AIWaypoint
2010-01-02 16:47:32 +00:00
rubidium
43a5a4bee8
(svn r18690) -Fix [FS#3469]: some keys that open windows that want to be located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens
2010-01-02 16:05:27 +00:00
rubidium
35c79d81ef
(svn r18689) -Codechange: move the looping over chunkhandlers code to a macro
2010-01-02 15:56:20 +00:00
rubidium
58be174df2
(svn r18688) -Cleanup: remove some unused code/constants
2010-01-02 15:52:41 +00:00
yexo
fe67e85700
(svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a certain engine.
...
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
2010-01-02 15:52:29 +00:00
rubidium
ea75e7da60
(svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table
2010-01-02 15:48:07 +00:00
rubidium
0f22c6030d
(svn r18685) -Update: add genders to Catalan
2010-01-02 11:26:20 +00:00
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
translators
115b207745
(svn r18682) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
czech - 1 changes by martin_meridius
korean - 1 changes by junho2813
norwegian_bokmal - 5 changes by CyberKenny
portuguese - 9 changes by JayCity
romanian - 5 changes by tonny
serbian - 5 changes by etran
ukrainian - 5 changes by Madvin
2010-01-01 18:45:35 +00:00
peter1138
81dc77ee23
(svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area.
2010-01-01 18:19:26 +00:00
peter1138
f77d88c0aa
(svn r18680) -Fix: Whole station area is already correct size.
2010-01-01 18:10:50 +00:00
rubidium
936477c323
(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints
2010-01-01 18:10:10 +00:00
rubidium
0bc292056d
(svn r18678) -Update: happy new year
2010-01-01 00:00:45 +00:00
translators
b6496be499
(svn r18677) -Update from WebTranslator v3.0:
...
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
2009-12-31 18:45:51 +00:00
rubidium
ebfdcf575d
(svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box
2009-12-31 18:12:10 +00:00
rubidium
de3cff9e1a
(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window
2009-12-31 18:11:03 +00:00
peter1138
739aea3e1a
(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen)
2009-12-31 10:41:03 +00:00
peter1138
2d14ced236
(svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM.
2009-12-31 07:39:05 +00:00
rubidium
768bfa969d
(svn r18672) -Codechange: mention the game date in the crash log
2009-12-31 00:09:29 +00:00
rubidium
75c46b7a27
(svn r18671) -Fix [FS#3452]: [NewGRF] If an action B did not have a 'data' string but would print it OpenTTD would segfault
2009-12-30 20:31:43 +00:00
alberth
d86dbabbc4
(svn r18670) -Fix [FS#3455]: Update all tiles when snowline height changes in larger steps than one tile.
2009-12-30 19:30:49 +00:00
translators
84a7f6aa5b
(svn r18669) -Update from WebTranslator v3.0:
...
afrikaans - 13 changes by burgerd
croatian - 36 changes by
english_US - 74 changes by agenthh
finnish - 4 changes by jpx_
french - 5 changes by glx
greek - 20 changes by fumantsu
lithuanian - 55 changes by Devastator
persian - 1 changes by Gajoo
spanish - 4 changes by Terkhen
urdu - 19 changes by waderay
2009-12-30 18:45:29 +00:00
rubidium
fbfbd2dfb9
(svn r18668) -Fix [FS#3450]: the space between the S and X of OS X should be a non-breaking one
2009-12-30 18:10:07 +00:00
rubidium
e6dbe673f0
(svn r18667) -Fix [FS#3454]: [NoAI] crash when trying to get the order destination of a 'nearest depot' order
2009-12-30 18:07:28 +00:00
alberth
4801b17837
(svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap.
2009-12-30 17:58:19 +00:00
alberth
0a7fc9e4ea
(svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap.
2009-12-30 17:44:38 +00:00
alberth
ba3ef1a2d5
(svn r18664) -Fix [FS#3449]: Unshade shaded finances window when toggling size.
2009-12-30 08:40:05 +00:00
alberth
2ab3e5ab40
(svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks.
2009-12-30 08:01:54 +00:00
yexo
60a48dbec1
(svn r18661) -Fix [FS#3169]: aircraft on the metropolitan airport took a long route to the closest loading pad
2009-12-29 23:23:16 +00:00
yexo
1520aab5b2
(svn r18660) -Cleanup: remove useless function
2009-12-29 23:13:36 +00:00
rubidium
891ded5c48
(svn r18658) -Fix [FS#3443]: wrong strings drawn for cargo subtype in vehicle details
2009-12-29 18:57:25 +00:00
translators
6cfa7df1cf
(svn r18657) -Update from WebTranslator v3.0:
...
afrikaans - 174 changes by burgerd
catalan - 10 changes by arnau
croatian - 36 changes by
norwegian_bokmal - 7 changes by Zhygometh
swedish - 32 changes by Landrash
ukrainian - 82 changes by Madvin
vietnamese - 23 changes by nglekhoi
2009-12-29 18:45:24 +00:00
orudge
00ede07b13
(svn r18656) -Feature: Add event semaphore support for OS/2
2009-12-29 04:27:39 +00:00
translators
96c699ff1e
(svn r18654) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 5 changes by jpx_
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
vietnamese - 27 changes by motorolavn, nglekhoi
2009-12-28 18:45:17 +00:00
rubidium
4697a1f431
(svn r18653) -Fix [FS#3442]: when trying to attach a wagon to an existing free wagon chain, don't attach it to itself
2009-12-28 18:26:39 +00:00
rubidium
454e124912
(svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets
2009-12-28 13:04:18 +00:00
smatz
f60b3a28d6
(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
2009-12-28 12:12:57 +00:00
translators
224f3cd361
(svn r18649) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 3 changes by Tve4
korean - 1 changes by dlunch
norwegian_nynorsk - 7 changes by 2rB
vietnamese - 39 changes by motorolavn, nglekhoi
2009-12-27 18:45:17 +00:00
michi_cc
40ba9933dc
(svn r18648) -Fix/Feature [FS#3430-ish]: [YAPP] Treat the backside of an one-way path signals as a safe waiting point.
2009-12-27 14:37:54 +00:00
michi_cc
f7025612e1
(svn r18647) -Fix: [YAPP] A train inside a station was not always found when checking for trains on a reserved path.
2009-12-27 14:37:50 +00:00
michi_cc
182b0b5c14
(svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal.
2009-12-27 14:37:46 +00:00
smatz
29e05554d7
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
2009-12-27 13:38:08 +00:00
rubidium
b0c9b2c232
(svn r18644) -Fix [FS#3434]: company league window was too narrow
2009-12-27 13:19:17 +00:00
rubidium
04a8888547
(svn r18643) -Fix [FS#3436]: rotation could not be changed for heightmaps
2009-12-27 12:58:23 +00:00
rubidium
fb9eba67d1
(svn r18642) -Fix [FS#3432]: when a company goes bankrupt and has vehicles on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted
2009-12-27 09:05:00 +00:00
translators
9aa89db3d6
(svn r18641) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
croatian - 36 changes by
norwegian_nynorsk - 15 changes by 2rB
russian - 4 changes by Lone_Wolf
vietnamese - 45 changes by motorolavn, nglekhoi
2009-12-26 18:45:20 +00:00
smatz
ce08aebde7
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
2009-12-26 13:49:14 +00:00
rubidium
9574371e53
(svn r18639) -Update: Squirrel from 2.2.3 to 2.2.4
...
-Revert (r17273): this fix is included in Squirrel 2.2.4
2009-12-26 09:59:32 +00:00
rubidium
28c7c49855
(svn r18638) -Fix: downloading music sets would fail
2009-12-26 09:38:41 +00:00
rubidium
e7efb42a27
(svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it
2009-12-26 09:01:28 +00:00
smatz
9cefcdab82
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
2009-12-25 23:22:41 +00:00
smatz
e6d6704f32
(svn r18635) -Codechange: store TextEffects in a SmallVector
2009-12-25 23:15:08 +00:00
rubidium
69f1db204e
(svn r18634) -Revert (r16808): the fix doesn't work in all cases
...
-Fix [FS#3421] (r16838): crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame
2009-12-25 23:14:12 +00:00
smatz
a7be7ebe80
(svn r18633) -Codechange: fortify SmallVector a bit more
2009-12-25 23:10:20 +00:00
rubidium
4dbf08fc4b
(svn r18632) -Fix (r18629): error in string caused failure of Czech language
2009-12-25 20:11:31 +00:00
rubidium
7ed2e65b77
(svn r18631) -Fix [FS#3419]: when making a screenshot from the console the currently executed command would be shown twice
2009-12-25 19:17:36 +00:00
rubidium
21a3f97a0b
(svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message
2009-12-25 19:16:58 +00:00
translators
6cf4637dac
(svn r18629) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 63 changes by martin_meridius
danish - 21 changes by beruic
indonesian - 14 changes by adjayanto
russian - 20 changes by Lone_Wolf
2009-12-25 18:45:18 +00:00
rubidium
c8db92e3dd
(svn r18628) -Fix [FS#3422]: (un)loading counter being reset while loading a train and changing the (path) signal setup around the station
2009-12-25 18:01:27 +00:00
smatz
c4205c2599
(svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs
2009-12-25 11:52:14 +00:00
rubidium
770c5d0594
(svn r18626) -Fix [FS#3425]: {CARGO} takes 2 parameters, not 1. This made {N:XYZ} commands after CARGO mess up their indices and that then triggered an assertion
2009-12-25 10:04:30 +00:00
translators
aa6081d830
(svn r18625) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
german - 6 changes by planetmaker
hungarian - 1 changes by alyr
italian - 15 changes by lorenzodv
korean - 1 changes by junho2813
romanian - 171 changes by tonny
spanish - 1 changes by Terkhen
2009-12-24 18:45:26 +00:00
rubidium
60082980fd
(svn r18622) -Merge: release changes
2009-12-23 23:09:47 +00:00
rubidium
2bb5e2de29
(svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game
2009-12-23 22:41:47 +00:00
translators
8436c3d5fb
(svn r18617) -Update from WebTranslator v3.0:
...
catalan - 21 changes by arnau
croatian - 36 changes by
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 10 changes by IPG
korean - 5 changes by junho2813
polish - 5 changes by silver_777
portuguese - 7 changes by JayCity
romanian - 168 changes by tonny
serbian - 8 changes by etran
spanish - 5 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2009-12-23 18:45:40 +00:00
rubidium
97e7a584a2
(svn r18616) -Fix [FS#3413]: crash when the current order is a conditional order when a plane is checking whether it needs servicing
2009-12-23 18:45:05 +00:00
rubidium
277794e26b
(svn r18615) -Fix: conditional orders were seen as 'valid' and as such aircraft with only conditional orders did not crash
2009-12-23 18:43:38 +00:00
smatz
fbaba4e6bd
(svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns
2009-12-23 17:59:34 +00:00
rubidium
82f927bd16
(svn r18613) -Codechange: add the music set to the crashlog too
2009-12-23 17:33:45 +00:00
alberth
52c7d9897e
(svn r18612) -Fix [FS#3407]: Buy vehicle window did not properly disable panel drawing while shaded.
2009-12-23 10:12:43 +00:00
rubidium
91747d72dc
(svn r18611) -Fix (r18608): uppercase-to-lowercase conversion when opening a file wasn't applied when finding the full path of a file
2009-12-23 09:08:52 +00:00
rubidium
6e97343df6
(svn r18610) -Codechange: don't consider a music set at all for 'best' set when it's missing files
2009-12-23 08:51:46 +00:00
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
2009-12-22 21:40:29 +00:00
alberth
b30e56850c
(svn r18607) -Fix (r18583): Preserve window width when shading.
2009-12-22 20:53:28 +00:00
alberth
3323d64f28
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
2009-12-22 20:43:25 +00:00
alberth
7dbc77a1e7
(svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize().
2009-12-22 19:40:23 +00:00
translators
3d2c126268
(svn r18604) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by alyr
korean - 5 changes by junho2813
portuguese - 5 changes by JayCity
romanian - 124 changes by tonny
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2009-12-22 18:45:36 +00:00
rubidium
ade9773080
(svn r18603) -Codechange: move getting the song name to music_gui.cpp
2009-12-22 18:34:07 +00:00
rubidium
b0603f4c2e
(svn r18602) -Codechange: unify the viewport sign and text effect drawing
...
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
alberth
96a8a0f34d
(svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations.
2009-12-22 11:22:07 +00:00
alberth
4733b696a1
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
2009-12-22 11:15:08 +00:00
alberth
d47c6e4135
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
2009-12-22 10:28:58 +00:00
rubidium
c816281e09
(svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario
2009-12-22 08:34:40 +00:00
frosch
8d8bd3d45f
(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker.
2009-12-21 21:14:40 +00:00
alberth
a87748df8a
(svn r18596) -Fix: Add padding to several town generation buttons and labels for nice and consistent layout.
2009-12-21 21:12:41 +00:00
rubidium
0cb84effc8
(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
2009-12-21 20:32:20 +00:00
translators
a7cacd98ed
(svn r18594) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 7 changes by habell
finnish - 1 changes by jpx_
korean - 47 changes by junho2813
norwegian_bokmal - 7 changes by Zhygometh
polish - 7 changes by xaxa
romanian - 13 changes by kkmic
2009-12-21 18:45:24 +00:00
rubidium
50734030aa
(svn r18593) -Fix: GetWidget call case similar to r18591
2009-12-21 18:20:18 +00:00
rubidium
38ceeb41b7
(svn r18592) -Fix (r18591): argh... save after starting the commit :(
2009-12-21 18:13:43 +00:00
rubidium
64ac99a6c1
(svn r18591) -Fix [FS#3399]: FindScrollbar could trigger an assert if the next widget (in the widget array) was a container-ish (e.g. selection) widget
2009-12-21 18:12:25 +00:00
rubidium
7c4e8421be
(svn r18590) -Fix [FS#3397]: too strict assert was triggered
2009-12-21 17:45:02 +00:00
alberth
1d7a75032f
(svn r18589) -Codechange: Add tooltip to some network windows, remove old comment.
2009-12-21 16:28:50 +00:00
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
f55c3312b3
(svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box.
2009-12-21 16:16:40 +00:00
rubidium
cc40883ad8
(svn r18586) -Fix [FS#3398]: pressing default for the starting year/snow line height edit boxes of the world generation windows didn't work.
2009-12-21 16:16:37 +00:00
rubidium
abb601f682
(svn r18585) -Codechange: replace some magic numbers by constants
2009-12-21 16:13:30 +00:00
alberth
b3ecc90992
(svn r18584) -Codechange: Generalize MakeWidgetTree to read only one widget (recursively).
2009-12-21 16:12:43 +00:00
alberth
ca66652005
(svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp).
2009-12-21 16:06:20 +00:00
rubidium
c03aadda08
(svn r18582) -Codechange: save 8 bytes from the Window class
2009-12-20 20:49:47 +00:00
alberth
a4a043344b
(svn r18581) -Change (r18570): Update sprite tables for the window shading sprites too.
2009-12-20 20:15:19 +00:00
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
alberth
20debea202
(svn r18579) -Codechange: Add orientation to scrollbars.
2009-12-20 20:04:30 +00:00
rubidium
cf2349ae10
(svn r18578) -Feature: initially select the last joined server when going to the server list
2009-12-20 19:18:18 +00:00
translators
3d21848258
(svn r18577) -Update from WebTranslator v3.0:
...
basque - 4 changes by Thadah
croatian - 36 changes by
finnish - 7 changes by jpx_
hungarian - 7 changes by alyr
indonesian - 9 changes by prof
polish - 7 changes by silver_777
portuguese - 7 changes by JayCity
serbian - 7 changes by etran
spanish - 7 changes by Terkhen
2009-12-20 18:45:29 +00:00
rubidium
1ea8cb4fc4
(svn r18576) -Codechange: use the function to determine the width of digits for determining the width of the unitnumber in vehicle lists.
2009-12-20 16:44:41 +00:00
rubidium
90b7f0f3cb
(svn r18575) -Fix [FS#3393]: unit numbers weren't always fully shown in the depot
2009-12-20 16:42:35 +00:00
rubidium
f2785ae24d
(svn r18574) -Fix [FS#3392] (r18481): manually sending trains and RVs to depots didn't quite work
2009-12-20 16:19:47 +00:00
michi_cc
4d9097cafb
(svn r18573) -Fix [FS#3198]: [OSX] Try to get a generic RGB colour space if getting the system colour profile failed. (tyler)
2009-12-20 16:10:44 +00:00
frosch
b369d81566
(svn r18572) -Change: Enable 'multiple NewGRF engine sets' by default.
2009-12-20 15:37:39 +00:00
frosch
640442ae03
(svn r18571) -Fix (r18551): Vehicles not carrying any cargo (e.g. engines) were not considered for sending to depot for replacement.
2009-12-20 15:21:39 +00:00
frosch
4434422c11
(svn r18568) -Codechange: Bail out early.
2009-12-20 15:08:20 +00:00
rubidium
ee3a44e74f
(svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work
2009-12-20 14:53:32 +00:00
frosch
1e1fa9ff2e
(svn r18566) -Codechange: When both the union and intersection of refit masks of articulated vehicles are needed, they can be determined at once.
2009-12-20 14:28:55 +00:00
rubidium
e5ebae1085
(svn r18565) -Fix [FS#3391] (r18541): some older GCC warn about implicitly casting from floats to integers
2009-12-20 14:18:22 +00:00
glx
5ac036720b
(svn r18564) -Fix: silence a warning
2009-12-20 14:05:58 +00:00
rubidium
6803672c88
(svn r18563) -Document: some industry related functions
2009-12-20 13:45:43 +00:00
rubidium
ca5a9ab995
(svn r18562) -Document: improve clarity of the AIAccounting class
2009-12-20 12:29:16 +00:00
rubidium
4d78112282
(svn r18561) -Fix [FS#3390]: Do try to overtake a vehicle in a station as overtaking in a station is not allowed
2009-12-20 11:22:36 +00:00
peter1138
468986d41a
(svn r18560) -Fix (r18541): variety distribution dropdown should not be on heightmap window.
2009-12-20 09:28:53 +00:00
peter1138
2a53179f4d
(svn r18559) -Fix: When using original landscape generator, the terrain type and water level fields have no effect for arctic or tropic climates, so disable the dropdowns.
2009-12-20 09:26:37 +00:00
smatz
37ce32106d
(svn r18558) -Cleanup (r18557): no need to document TILE_INVALID twice
2009-12-20 00:53:22 +00:00
smatz
a608fbaf7f
(svn r18557) -Fix: (most of) gcc errors when using lto caused by some structs having different definition in different object files
2009-12-19 23:53:15 +00:00
smatz
64478eb960
(svn r18556) -Fix (r17005): squirrel export didn't accept negative constants
2009-12-19 23:48:42 +00:00
smatz
061de2b2df
(svn r18555) -Fix (r15027): fake definitions of squirrel types were wrong for eg. 64bit systems, don't use them
2009-12-19 23:46:15 +00:00
frosch
e46a9078e6
(svn r18554) -Change: Forbid industries to clear sea/river when leveling land.
2009-12-19 22:17:02 +00:00
rubidium
2555c7966a
(svn r18553) -Fix: make aircraft behave the same on autoreplace/autorenew as other vehicles
2009-12-19 22:04:02 +00:00
glx
59c303e7cd
(svn r18552) -Fix (r18548): some translators were very fast
2009-12-19 22:00:22 +00:00
frosch
7ea108224b
(svn r18551) -Fix [FS#1762]: When autoreplace is the only allowed reason to send vehicles to depot, first check some minimal requirements (engine availability, refittability) and a heuristic for the needed money.
2009-12-19 21:54:34 +00:00
smatz
a62f16c86d
(svn r18550) -Fix (r18281): show expected price of town construction even when the company doesn't have enough money
2009-12-19 21:42:19 +00:00
rubidium
d48ad4b6e3
(svn r18549) -Fix: first do the time-since-last-service check and only then determine whether autoreplace needs to take place. This way they will not keep autoreplacing continuously on failure, but only after some timeout.
2009-12-19 21:19:45 +00:00
peter1138
e97f828c64
(svn r18548) -Fix (r18541): Unused string slipped in.
2009-12-19 20:05:10 +00:00
rubidium
c811f3bd21
(svn r18547) -Fix [FS#3388]: missing thread synchronisation when changing the resolution for SDL via the in game menu
2009-12-19 19:29:01 +00:00
rubidium
a6146f5f51
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
2009-12-19 19:21:37 +00:00
frosch
29d6491605
(svn r18545) -Fix [FS#3292]: Assign '_screen.dst_ptr' as soon as it is allocated.
2009-12-19 18:46:40 +00:00
translators
7572f95448
(svn r18544) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
french - 8 changes by glx
german - 8 changes by planetmaker
greek - 3 changes by fumantsu
norwegian_nynorsk - 10 changes by 2rB
vietnamese - 2 changes by nglekhoi
2009-12-19 18:45:20 +00:00
peter1138
37a6907e79
(svn r18543) -Codechange: Use separate set of strings for variety distribution setting to ease translation.
2009-12-19 18:36:35 +00:00
alberth
614501b1be
(svn r18542) -Codechange: Make nested widget parts obligatory in a window description.
2009-12-19 18:03:04 +00:00
peter1138
99bb3a95b4
(svn r18541) -Feature: Additional map variety option for TGP landscape generator. Evolved from curve map idea from Zephyris.
2009-12-19 18:00:38 +00:00
frosch
f946775205
(svn r18540) -Codechange: resulting in better name for 'result'.
2009-12-19 17:14:35 +00:00
alberth
07a2c21d24
(svn r18539) -Codechange: Re-use cargolist drawing in StationViewWindow::DrawAcceptedCargo()
2009-12-19 16:02:29 +00:00
alberth
7fc7324ef8
(svn r18538) -Codechange: Split DrawStationCoverageText into a calculation part and a drawing part.
2009-12-19 15:52:50 +00:00
frosch
9a11aed4bd
(svn r18537) -Fix (r17436): Also do not account cargo in statistics, if it was not accepted.
2009-12-19 15:51:55 +00:00
rubidium
5c2b6a8943
(svn r18536) -Fix [FS#3386]: MSVC warning. Patch by pavel1269
2009-12-19 15:31:23 +00:00
rubidium
c5159055e3
(svn r18535) -Fix [FS#2722]: don't account for path reservation costs when entering a signal block via a 'block' signal. This way you won't get double penalties, both red signals and reservation costs, for the block signalled tracks
2009-12-19 15:30:24 +00:00
alberth
f051ef01e3
(svn r18534) -Doc: Add doxy strings to StationCoverageType enum.
2009-12-19 15:04:24 +00:00
rubidium
b3e3f0b0ee
(svn r18533) -Fix: don't refer, in the comments, to a long renamed function
2009-12-19 09:23:19 +00:00
rubidium
21324b69d9
(svn r18532) -Codechange/Fix (r18404): don't leave the road stop between tiles, just stay on it. This prevents the rare cases where a road vehicle would stop exactly on the border where it could not load
2009-12-18 21:35:55 +00:00
rubidium
6f1982d151
(svn r18531) -Fix [FS#3384] (r18404): for articulated road vehicles only the first part was accounted for, so for extremely short fronts and lots after it the spreading did not work as it should.
2009-12-18 21:34:06 +00:00
peter1138
6f5425a062
(svn r18530) -Fix (r18304): Width property set on window instead of width.
2009-12-18 19:59:32 +00:00
translators
b7c90a84ad
(svn r18529) -Update from WebTranslator v3.0:
...
croatian - 45 changes by UnderwaterHesus
dutch - 4 changes by habell
finnish - 42 changes by Tve4, jpx_
hungarian - 4 changes by IPG
italian - 11 changes by lorenzodv
norwegian_nynorsk - 2 changes by 2rB
polish - 4 changes by silver_777
serbian - 4 changes by etran
spanish - 4 changes by Terkhen
2009-12-18 18:45:31 +00:00
peter1138
5ef4be1780
(svn r18528) -Fix (FS#3370): Platform length/count buttons not centred when NewGRF stations in use.
2009-12-18 15:56:31 +00:00
yexo
8c737964ec
(svn r18527) -Fix: an industry newgrf that defined a too small size for action0 prop 0A could cause a crash
2009-12-17 23:26:25 +00:00
translators
2fd1ccf289
(svn r18523) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 5 changes by habell
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 8 changes by planetmaker
hebrew - 52 changes by dnd_man
hungarian - 6 changes by IPG
norwegian_bokmal - 8 changes by Zhygometh
polish - 4 changes by silver_777
portuguese - 4 changes by JayCity
serbian - 4 changes by etran
2009-12-17 18:45:35 +00:00
rubidium
5e2b7e0238
(svn r18522) -Feature: add the possibility to not make new tree tiles in-game
2009-12-17 16:59:33 +00:00
rubidium
b0f1fcbead
(svn r18520) -Fix [FS#3272]: allegro doesn't like to work with extmidi; it causes 'random' (looks like a racing condition in allegro) crashes when songs are stopped.
2009-12-16 23:49:21 +00:00
yexo
04dfadc523
(svn r18518) -Add [NoAI]: AIOrder::AIOF_GOTO_NEAREST_DEPOT for goto nearest depot orders
2009-12-16 21:31:21 +00:00
translators
0b9e733560
(svn r18517) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
danish - 3 changes by beruic
dutch - 1 changes by Yexo
french - 4 changes by glx
german - 1 changes by planetmaker
polish - 6 changes by mirqus, silver_777
spanish - 10 changes by Terkhen
welsh - 1 changes by welshdragon
2009-12-16 18:45:27 +00:00
rubidium
5afa990ccf
(svn r18516) -Feature [FS#3359]: moving of AIs in the AI configuration window. Based on a patch by Zuu.
2009-12-16 16:57:26 +00:00
rubidium
fbfcbe06ec
(svn r18515) -Change: make it visible when you're to pass the next signal on danger and possible to cancel it
...
-Fix [FS#2891]: when you pass a signal at danger, in a PBS controlled area, don't try to do the 'safe' thing and stop, but continue going; the user wanted the train to pass the signal at danger so (s)he has to suffer the consequences. Ofcourse one can always stop the train manually.
2009-12-16 16:23:44 +00:00
rubidium
d46127a723
(svn r18514) -Codechange: make it a bit clearer that for tile layouts num_sprites (as in number of sprite sets) is not the same as num_sprites (as in number of building sprites)
2009-12-16 11:35:05 +00:00
rubidium
f0728ca1d1
(svn r18513) -Fix [FS#3379]: sometimes NewGRFs throw invalid data at OpenTTD and that triggered a check... that if a has to be between b and c (inclusive) then c must be bigger than or equal to b (and definitely not smaller)
2009-12-16 00:06:51 +00:00
yexo
35b8c8367e
(svn r18512) -Fix (r17859) [FS#3376]: assert when clicking the industry button in the scenario editor
2009-12-15 22:39:58 +00:00
translators
e673232c18
(svn r18511) -Update from WebTranslator v3.0:
...
croatian - 37 changes by UnderwaterHesus
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 5 changes by dihedral
hungarian - 4 changes by IPG, alyr
norwegian_bokmal - 1 changes by Zhygometh
polish - 8 changes by xaxa
portuguese - 1 changes by JayCity
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 3 changes by nglekhoi
2009-12-15 18:45:34 +00:00
peter1138
7b136d1fdd
(svn r18509) -Codechange (r2515,r2753): Data for drawing single_x/y rail pieces was inverted.
2009-12-15 13:59:20 +00:00
rubidium
7c2a61e210
(svn r18508) -Fix [FS#3372]: if a rail station class had less data than capacity it would try to set a negative position
2009-12-15 01:38:55 +00:00
yexo
619e70f94a
(svn r18507) -Change [FS#3340]: move the 'check online content' button from the AI list window to the AI configuration window
2009-12-15 00:33:44 +00:00
rubidium
3e6c530e1e
(svn r18506) -Fix [FS#3368]: no error message was created for the first fatal NewGRF error.
2009-12-15 00:00:51 +00:00
yexo
5450167efc
(svn r18505) -Fix [FS#3169]: improve airport movement on several airports
2009-12-14 23:35:38 +00:00
yexo
65642c5878
(svn r18504) -Remove [NoAI]: AIVehicle::SkipToVehicleOrder as it was a duplicate or AIOrder.SkipToOrder
2009-12-14 22:17:15 +00:00
rubidium
b7263147c1
(svn r18503) -Fix [FS#3370]: the length and platform buttons in the station window weren't always properly centered
2009-12-14 22:11:06 +00:00
rubidium
c0d4bc5b87
(svn r18502) -Fix: the dummy AI would could a NOT_REACHED if the translated error message contained a quote
2009-12-14 22:06:25 +00:00
rubidium
4250792389
(svn r18499) -Fix/Change/Feature [FS#3159]: autoreplace and autorenew always reset their cargo sub type to 0. Now find a sub cargo type with the exact same name and use that, otherwise fallback to 0. So cargo sub types can be maintained via autoreplace *if* the new vehicle supports the same cargo sub type.
2009-12-14 19:19:47 +00:00
rubidium
a190ae9a71
(svn r18498) -Fix [FS#2616]: cloning of vehicles could create vehicles with invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0.
2009-12-14 19:17:18 +00:00
translators
620ca5e6c1
(svn r18497) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
hebrew - 1 changes by dnd_man
norwegian_bokmal - 23 changes by Zhygometh
2009-12-14 18:45:12 +00:00
rubidium
f9970ac646
(svn r18495) -Codechange: make sure we don't taint the vehicle cache with finding refit options and unmagify a constant
2009-12-13 22:19:19 +00:00
rubidium
c2ec2e2db3
(svn r18494) -Fix (r18474): crash when moving non-engine to new free wagon chain and group count was off when moving a front engine within the same train and the new front isn't an engine.
2009-12-13 22:17:12 +00:00
rubidium
8b9a2218de
(svn r18493) -Fix: don't access something after deleting it
2009-12-13 21:36:10 +00:00
alberth
e0393a3de1
(svn r18492) -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix.
2009-12-13 21:12:36 +00:00
alberth
a8e9891f45
(svn r18491) -Fix (r18482): Update doxy comments of SetupSmallestSize() as well.
2009-12-13 21:05:38 +00:00
alberth
57e6c7fdb7
(svn r18490) -Doc: Fixed syntax of a few doxygen pre and post coditions.
2009-12-13 20:54:52 +00:00
alberth
7c4eaf73a7
(svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap.
2009-12-13 20:37:32 +00:00
alberth
dd12391f10
(svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic.
2009-12-13 20:27:53 +00:00
alberth
d6aae1a84d
(svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well.
2009-12-13 20:19:08 +00:00
rubidium
0e78fdb54c
(svn r18486) -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
2009-12-13 19:33:07 +00:00
translators
43abfbd426
(svn r18485) -Update from WebTranslator v3.0:
...
basque - 23 changes by Thadah
croatian - 93 changes by UnderwaterHesus
german - 1 changes by planetmaker
greek - 1 changes by fumantsu
hungarian - 4 changes by IPG, Petert
norwegian_bokmal - 654 changes by Zhygometh
romanian - 2 changes by kkmic
spanish - 1 changes by Terkhen
2009-12-13 18:45:26 +00:00
rubidium
52cbaf2db2
(svn r18484) -Codechange: simplify the Is(Stopped)InDepot functions for trains
2009-12-13 17:13:20 +00:00
rubidium
b9b357b8e8
(svn r18483) -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where to find them. Also refer to the readme in some error messages.
2009-12-13 14:23:45 +00:00
alberth
5d12f42867
(svn r18482) -Cleanup (r18092): Conversion to widget array is not done any more.
2009-12-13 13:29:13 +00:00
rubidium
472e5501fa
(svn r18481) -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
...
-Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
2009-12-13 10:48:44 +00:00
alberth
3cfcae07e2
(svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments.
2009-12-13 10:25:37 +00:00
peter1138
5a8353fafc
(svn r18479) -Fix (r6532): Direction is accounted for long before motion counter is updated
2009-12-13 08:46:08 +00:00
rubidium
5477aec8fb
(svn r18474) -Fix (r18470): in some odd corner cases the group (vehicle) counts could be off
2009-12-12 23:49:30 +00:00
rubidium
d3e754fa6f
(svn r18473) -Fix (r18470): crash when moving a multiheaded part to be just after itself
2009-12-12 23:24:11 +00:00
rubidium
f4e7eba2e2
(svn r18472) -Fix [FS#3146]: selling vehicles in the depot could create states that are not allowed by the NewGRF attach callback.
2009-12-12 22:59:48 +00:00
frosch
9c75ffb8c5
(svn r18471) -Codechange/Fix: [NoAI] Deduplicate code betweeen AIVehicle::SkipToVehicleOrder and AIOrder::SkipToOrder. They are the same. Also ORDER_CURRENT was not allowed for the latter, but well...
2009-12-12 22:15:14 +00:00
rubidium
9be2c8c6bd
(svn r18470) -Codechange/Fix [part of FS#3146]: moving vehicles around in the depot could create states that are not allowed by the NewGRF attach callback.
2009-12-12 22:11:43 +00:00
rubidium
510f8a9122
(svn r18469) -Fix (r17139): possible invalid reads when listing content on the console
2009-12-12 21:56:13 +00:00
rubidium
ae92fd2865
(svn r18468) -Codechange: make sure one never makes self-loops using Vehicle::SetNext
2009-12-12 21:04:08 +00:00
peter1138
15fbf4af70
(svn r18467) -Fix (r17870): Missed positioning for cargo capacity of non-articulated road vehicles.
2009-12-11 23:00:07 +00:00
rubidium
9ae2422956
(svn r18466) -Codechange: use CmdMoveRailWagon to attach a just build wagon to a chain
2009-12-11 22:23:48 +00:00
rubidium
b094312631
(svn r18465) -Codechange: simplify CheckTrainInDepot and remove some unneeded wrapper functions
2009-12-11 22:04:57 +00:00
alberth
64f1e18830
(svn r18464) -Fix (r17863): Caption of the build vehicle window did not have company colours.
2009-12-11 20:37:24 +00:00
rubidium
53d6d4a094
(svn r18463) -Codechange: some simplifications for finding the end of a vehicle
2009-12-11 19:28:28 +00:00
rubidium
b8a7efc450
(svn r18462) -Fix: when moving a wagon and only the last part of a dual headed engine you could split the dual headed engine over two vehicles.
2009-12-11 19:27:48 +00:00
rubidium
db4e547e24
(svn r18461) -Fix (r18456): when moving a wagon from the front of a train one could make a train 1 longer than allowed
2009-12-11 18:49:03 +00:00
translators
745a6d72d1
(svn r18460) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
traditional_chinese - 4 changes by josesun
croatian - 59 changes by UnderwaterHesus
french - 2 changes by glx
norwegian_bokmal - 34 changes by Zhygometh
serbian - 6 changes by etran
vietnamese - 3 changes by nglekhoi
2009-12-11 18:45:23 +00:00
rubidium
dbe667fbe3
(svn r18459) -Codechange: move the new train validity checking (attach callbacks) to a separate function
2009-12-11 16:16:36 +00:00
rubidium
fddedbe7ac
(svn r18458) -Codechange: make the 'check train length' code of CmdMoveRailVehicle a separate function
2009-12-11 15:50:07 +00:00
yexo
cd9e525808
(svn r18457) -Fix (r18015): southwest and northeast buttons for freeform edges were swapped
2009-12-11 15:16:44 +00:00
rubidium
c803540a9c
(svn r18456) -Codechange: make the length checking functionality of CmdMoveRailVehicle a separate function and simplify the logic
2009-12-11 13:37:01 +00:00
translators
ac17820bdc
(svn r18454) -Update from WebTranslator v3.0:
...
dutch - 2 changes by habell
hebrew - 49 changes by dnd_man
indonesian - 35 changes by fanioz, prof
polish - 5 changes by amateja, silver_777
russian - 1 changes by Lone_Wolf
serbian - 3 changes by etran
2009-12-10 18:45:22 +00:00
rubidium
0db77807b7
(svn r18453) -Fix [FS#3364]: wrong heightmap dimensions, or rather... a nested_array index removed too much
2009-12-10 12:26:39 +00:00
rubidium
826fad03fb
(svn r18450) -Fix [FS#3363]: initial size of the vehicle detail windows would occasionally be too small (although it could be resized)
2009-12-09 22:25:12 +00:00
rubidium
8ecf4bdd56
(svn r18449) -Fix (r18448): invalid argidx offsets in German
2009-12-09 18:50:05 +00:00
translators
1111629a34
(svn r18448) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
german - 7 changes by Roujin, planetmaker
hungarian - 1 changes by alyr
italian - 4 changes by lorenzodv
norwegian_bokmal - 33 changes by CyberKenny
portuguese - 2 changes by JayCity
russian - 2 changes by Lone_Wolf
spanish - 1 changes by Terkhen
vietnamese - 29 changes by nglekhoi
2009-12-09 18:45:29 +00:00
rubidium
ac4ef286f4
(svn r18447) -Change: make some more windows (e.g. graphs, company view) stickyable
2009-12-09 17:10:57 +00:00
glx
0c577dfde6
(svn r18446) -Fix (r17450): abort() doesn't trigger crashlog on windows
2009-12-09 15:24:13 +00:00
rubidium
7a38435a63
(svn r18445) -Fix [FS#3335]: for STR_NEWS_INDUSTRY_CLOSURE_GENERAL the gender of the industry wasn't properly selected for Greek.
2009-12-09 11:42:12 +00:00
rubidium
4d575c0226
(svn r18444) -Feature: allow G and P to 'select' substrings of STRINGn for getting their gender
2009-12-09 11:41:27 +00:00
rubidium
a70f2244e8
(svn r18443) -Fix (r18438): MSVC thinks, in it's infinite wisdom, that int min(int, int) is a better match for min(uint64, uint) than uint64 min(uint64, uint64). As such we need to cast the UINT16_MAX to prevent MSVC from displaying it's infinite wisdom with loads of warnings.
2009-12-09 09:28:47 +00:00
rubidium
29f44c099a
(svn r18442) -Fix (r18440): warning about SDL_Linked_Version never being NULL on non-Windows systems
2009-12-09 09:16:29 +00:00
peter1138
97597b510c
(svn r18441) -Fix: The vehicle list filler widget didn't fill.
2009-12-09 08:23:10 +00:00
glx
def740329f
(svn r18440) -Fix (r17774): don't try to get SDL version when SDL is not loaded
2009-12-09 02:53:59 +00:00
glx
da124cb149
(svn r18439) -Fix (r15233): forgot to load the symbol from SDL.dll
2009-12-09 02:49:01 +00:00
rubidium
b0eacbf350
(svn r18438) -Codechange [FS#3337]: introduce a template for Clamp (fonsinchen) and reuse template functions in their non-template counterparts.
2009-12-09 00:41:18 +00:00
smatz
784d6d836d
(svn r18437) -Fix (r16557): background of disabled button in AI GUI wasn't set back to grey after AI bankrupt
2009-12-09 00:08:13 +00:00
rubidium
7d33e62d7b
(svn r18436) -Fix [FS#3357]: unselect an AI in the AI Settings window when it falls out of the range of active AIs
2009-12-08 23:32:32 +00:00
rubidium
e7810f8061
(svn r18435) -Fix (r18136): articulated road vehicles weren't properly drawn in the vehicle list/details windows
2009-12-08 20:56:45 +00:00
rubidium
0971f666eb
(svn r18434) -Change [FS#565]: use zł instead of zl for the Polish Zloty.
2009-12-08 20:12:43 +00:00
frosch
9dd74395c8
(svn r18433) -Codechange: Show different texts in town GUI when the town does not need food the whole year to grow.
2009-12-08 19:59:21 +00:00
translators
85f8765618
(svn r18432) -Update from WebTranslator v3.0:
...
portuguese - 1 changes by JayCity
spanish - 2 changes by Terkhen
2009-12-08 18:45:09 +00:00
rubidium
42f3a1e909
(svn r18429) -Fix [FS#3360]: when road vehicles are, because of the 'jam protection' running through eachother more vehicles could be in a road stop than there could be under normal circumstances. As such an assert when the road stop's limits are reached isn't good.
2009-12-08 00:16:31 +00:00
rubidium
1e416f90fa
(svn r18428) -Fix: if lots of road vehicles are leaving a depot and the first in the hash linked list is basically the last of the vehicles to leave the depot then due to the 'jam prevention' code all vehicles would fairly quickly increase the blocked counter and drive off all simultaniously
2009-12-08 00:15:15 +00:00
translators
6b9327c162
(svn r18425) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
greek - 1 changes by fumantsu
norwegian_bokmal - 13 changes by 2rB
norwegian_nynorsk - 48 changes by 2rB
spanish - 3 changes by Terkhen
2009-12-07 18:45:20 +00:00
rubidium
36c58649f8
(svn r18424) -Fix [FS#3327]: [Windows] the help window would be too large in some cases
2009-12-07 17:13:28 +00:00
rubidium
9a656dbd32
(svn r18423) -Fix (r17336): [Windows] incorrect relative path the the icon making the icon not being included in the binary
...
-Fix: [Windows] mention the version of GPL in the metadata
2009-12-07 16:55:50 +00:00
rubidium
0e17c23ddd
(svn r18422) -Fix (r18404): MSVC complaining about struct vs class
2009-12-07 10:44:58 +00:00
rubidium
d6e73ea1ce
(svn r18421) -Fix [FS#3244]: pathfinders wouldn't consider the 'other' reachable waypoint tile if the closest one is free but there is no safe waiting point directly after it. Now check for a free safe waiting point beyond the waypoint unless there are junctions before the first safe waiting point.
2009-12-07 08:47:10 +00:00
rubidium
ad6d8c1f46
(svn r18420) -Codechange: split YAPF's track follower from the actual YAPF code
2009-12-07 08:41:18 +00:00
rubidium
73df2c7a25
(svn r18418) -Fix [FS#3298]: under some circumstances a pointer could be left untouched and then freed. Make sure this doesn't happen by ensuring it starts out as NULL instead of 'garbage'.
2009-12-06 20:22:21 +00:00
translators
c5a771b59d
(svn r18417) -Update from WebTranslator v3.0:
...
traditional_chinese - 31 changes by josesun
czech - 46 changes by Hadez
greek - 1 changes by fumantsu
hungarian - 2 changes by IPG
indonesian - 1 changes by prof
norwegian_nynorsk - 111 changes by 2rB
russian - 11 changes by Lone_Wolf
slovak - 14 changes by JamesSVK
2009-12-06 18:45:27 +00:00
frosch
7d905fae22
(svn r18416) -Fix (r15559): Only consider valid cargos in town GUI.
2009-12-06 16:15:58 +00:00
rubidium
a68849fb56
(svn r18415) -Fix [FS#3332]: on slopes the original and better road layouts did not check their minimum distance requirements
2009-12-06 16:14:13 +00:00
peter1138
f49491ddcd
(svn r18414) -Fix: In the depot window, 'free' wagons were not drawn resize.step_height apart
2009-12-06 11:46:57 +00:00
alberth
41d2214e7e
(svn r18413) -Doc: Added doxygen strings for cargo-type related enums, structs, and functions.
2009-12-05 21:39:28 +00:00
smatz
29606c0de6
(svn r18412) -Fix [FS#3350]: don't allow sending ships to rail waypoints and trains to buyos (Hirundo)
2009-12-05 19:21:43 +00:00
translators
be4027ea56
(svn r18411) -Update from WebTranslator v3.0:
...
greek - 3 changes by fumantsu
norwegian_nynorsk - 107 changes by 2rB
portuguese - 3 changes by JayCity
2009-12-05 18:45:11 +00:00
alberth
c38f3ce380
(svn r18410) -Codechange: Move GetCargoSprite() to CargoSpec::GetCargoIcon().
2009-12-05 16:00:58 +00:00
frosch
1e7403d372
(svn r18409) -Change [FS#3349]: Recolour the bubble generator just like any other industry. (planetmaker)
2009-12-05 15:03:32 +00:00
frosch
a12d91423b
(svn r18408) -Fix (r17954): After computing the needed width for the client list, also use it.
2009-12-05 13:53:58 +00:00
rubidium
4047c142eb
(svn r18407) -Fix [FS#3338]: aqueducts were not influenced by the "long bridges" setting
2009-12-04 22:02:37 +00:00
rubidium
bc876098f7
(svn r18406) -Cleanup: remove some unneeded constants and code
2009-12-04 21:13:31 +00:00
rubidium
cbc6653a47
(svn r18405) -Fix (r18405): RVs didn't like to stop when the 'next' drive through station tile didn't have a compatible road type
2009-12-04 21:01:28 +00:00
rubidium
fac2f8ce1a
(svn r18404) -Codechange: link drive through stops better together
...
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
2009-12-04 20:52:19 +00:00
belugas
65b3e38bea
(svn r18403) -Codechange: Re-arrange header of table _original_house_specs
2009-12-04 20:32:51 +00:00
rubidium
19fa38601d
(svn r18402) -Codechange: unify/centralise the code for crashing vehicles
2009-12-04 20:29:46 +00:00
rubidium
c22f9679b5
(svn r18401) -Fix: drive through road stops did not get flooded
2009-12-04 19:16:52 +00:00
translators
710e84f11e
(svn r18400) -Update from WebTranslator v3.0:
...
traditional_chinese - 52 changes by josesun
greek - 17 changes by fumantsu
2009-12-04 18:45:10 +00:00
rubidium
3817153a8e
(svn r18399) -Codechange: bail out early in FloodVehicle instead of a massive if (...) { } else { return }
2009-12-04 18:38:09 +00:00
rubidium
c1c9a3e835
(svn r18398) -Fix [FS#3343]: the tree 'which one to draw' hash wasn't anywhere near random and thus showed a very visible repeated pattern when only one tree type was used
2009-12-04 16:57:35 +00:00
rubidium
c559ec6308
(svn r18397) -Fix [FS#3346]: after cancelling downloading the download button would remain disabled
2009-12-04 14:23:54 +00:00
yexo
c8284c2a5c
(svn r18396) -Fix [FS#3169]: planes turned too much at the end of the runway when landing at the intercontinental airport~
2009-12-04 09:56:21 +00:00
yexo
8bed302bcf
(svn r18395) -Fix (r17415): helicopters can turn freely even while in the air
2009-12-04 09:13:15 +00:00
rubidium
f5f6fc16f6
(svn r18394) -Fix (r18373): one couldn't manually send a RV to a depot... but why compilers haven't complained about this?
2009-12-04 00:46:22 +00:00
translators
d2bcf733f8
(svn r18393) -Update from WebTranslator v3.0:
...
traditional_chinese - 2 changes by josesun
german - 3 changes by planetmaker
italian - 1 changes by lorenzodv
portuguese - 10 changes by JayCity
romanian - 22 changes by kkmic
2009-12-03 18:45:17 +00:00
frosch
f4931ef4a2
(svn r18392) -Fix (r13956)[FS#3345]: [YAPP] Trains on bridges were not found, when searching for the origin of a reservation. (Hirundo)
2009-12-03 18:44:33 +00:00
frosch
169141433a
(svn r18391) -Fix (r0): (Invalid) GRFs could trigger invalid reads.
2009-12-03 15:27:33 +00:00
peter1138
3addf58f30
(svn r18390) -Fix (r17776): [SDL] Reinstate pointer update on 'idle' loop.
2009-12-03 08:24:39 +00:00
rubidium
5c1fdfdd03
(svn r18389) -Fix: some minor documentation alignment issues
2009-12-03 00:05:51 +00:00
rubidium
aa40d8e3ad
(svn r18388) -Codechange: move entering/leaving of road stops to functions of RoadStop
2009-12-02 23:53:15 +00:00
translators
edc7de7936
(svn r18387) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnau
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 11 changes by planetmaker
hungarian - 2 changes by IPG
portuguese - 1 changes by JayCity
spanish - 3 changes by Terkhen
2009-12-02 18:45:25 +00:00
rubidium
865374eeb6
(svn r18386) -Codechange: make the NPF functions static and remove unused functions
2009-12-02 18:34:10 +00:00
rubidium
0ef0e13795
(svn r18385) -Cleanup: remove the now unneeded multistop slot management code
2009-12-02 18:18:56 +00:00
rubidium
429f3993f8
(svn r18384) -Fix (r18351): attempt to 'work around' MSVC's IMO stupid warning
2009-12-02 18:14:34 +00:00
rubidium
66da3cbb20
(svn r18383) -Fix (r18375): triggering NOT_REACHED for some waypoints
2009-12-02 18:12:24 +00:00
rubidium
4ec4fdff36
(svn r18382) -Codechange: make road vehicles behave more like trains 'around' stations and use pathfinder penalties to determine to which 'part' to go. Note that the pathfinder penalties for drive through stops are currently only looking at the occupation of the first in a row, but this is to change later on.
2009-12-02 17:56:02 +00:00
frosch
59f9163e37
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
2009-12-02 17:37:02 +00:00
frosch
2265202d77
(svn r18380) -Fix (r9301): One could not share orders between buses carrying different cargos.
2009-12-02 17:35:54 +00:00
rubidium
9426f2b173
(svn r18379) -Codechange: move the cache updating function to its own header to reduce the include 'pathfinder' dependencies
2009-12-02 16:48:55 +00:00
rubidium
d58e4084de
(svn r18378) -Codechange: move the pathfinder 'length' constants to pathfinder_type.h
2009-12-02 16:38:33 +00:00
rubidium
81062163a2
(svn r18377) -Codechange: add 'cache' of the tile area of truck and bus stops.
2009-12-02 16:20:44 +00:00
rubidium
1c65150d6d
(svn r18376) -Codechange: simplify setting the destination
2009-12-02 14:44:32 +00:00
rubidium
a1e28925e3
(svn r18375) -Codechange: use Station::GetTileArea to get the tile area for CalcClosestStationTile
2009-12-02 14:41:04 +00:00
rubidium
f67c265c6f
(svn r18374) -Cleanup: remove some unused code
2009-12-02 10:47:18 +00:00
rubidium
c10e953141
(svn r18373) -Codechange: unify some road pathfinder functions
2009-12-02 10:44:38 +00:00
rubidium
c56c892b2c
(svn r18372) -Codechange: push some extra type safety into YAPF
2009-12-02 10:13:49 +00:00
rubidium
9165c195b9
(svn r18371) -Codechange: unify calling of the train pathfinders
2009-12-02 09:57:17 +00:00
rubidium
ef8cc49175
(svn r18370) -Codechange: push some constness/type strictness into the ship pathfinders
2009-12-02 09:31:38 +00:00
rubidium
250c355508
(svn r18369) -Fix [FS#3339] (rbeginning): off-by-one in the preconfigured music lists
2009-12-02 08:55:53 +00:00
rubidium
9d5ff5def0
(svn r18368) -Fix: alignment of comment and 'add' some missing comments
2009-12-02 00:01:07 +00:00
rubidium
76fe20cdcc
(svn r18367) -Codechange: unify the ship pathfinder 'calls'
2009-12-01 23:56:04 +00:00
rubidium
291f6490c6
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
2009-12-01 23:22:41 +00:00
rubidium
5d7af2561f
(svn r18365) -Cleanup: remove duplicate table
2009-12-01 23:19:46 +00:00
rubidium
f52e27c688
(svn r18364) -Codechange: move the pathfinders and their related files into a separate directory
2009-12-01 22:45:39 +00:00
rubidium
a7beae8733
(svn r18363) -Feature: do not require advanced settings multistrings to start at 0
2009-12-01 22:27:12 +00:00
rubidium
3a83eab967
(svn r18362) -Cleanup: remove OPF for RVs and NTP to clean up lots of code and simplify some things for the future
2009-12-01 22:18:51 +00:00
frosch
d634f31c7b
(svn r18361) -Fix: Remove unneeded usage of invalid pointer. Also thank Hirundo and SmatZ.
2009-12-01 21:45:50 +00:00
translators
d614dc78ba
(svn r18359) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 114 changes by UnderwaterHesus
hungarian - 26 changes by IPG
2009-12-01 18:45:12 +00:00
frosch
df0b347b45
(svn r18358) -Cleanup: More usage of EPV_CYCLES_(DARK|GLITTER)_WATER.
2009-12-01 18:12:17 +00:00
rubidium
e236c8f101
(svn r18353) -Fix: string colours can't have a case
2009-11-30 21:46:58 +00:00
translators
18665155f6
(svn r18352) -Update from WebTranslator v3.0:
...
afrikaans - 35 changes by Maccie123
traditional_chinese - 1 changes by josesun
croatian - 221 changes by UnderwaterHesus
danish - 129 changes by embql
dutch - 7 changes by habell
finnish - 4 changes by Tve4
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
polish - 1 changes by silver_777
portuguese - 3 changes by JayCity
serbian - 3 changes by etran
spanish - 1 changes by Terkhen
2009-11-30 18:57:42 +00:00
rubidium
5a41a646c2
(svn r18351) -Fix [FS#3333]: endianness issue with saving the zoom level
2009-11-30 11:29:52 +00:00
smatz
9ecfcdff78
(svn r18350) -Codechange: catch SIGILL under unix-like systems as well
2009-11-29 22:18:04 +00:00
alberth
4b4c1ffc17
(svn r18349) -Fix (r18347): Older compilers want explicit assignments.
2009-11-29 21:40:51 +00:00
alberth
ccd7399ea0
(svn r18348) -Doc: Doxygen fixes, and removal of an old @note.
2009-11-29 21:27:12 +00:00
alberth
f2f9ef7a9f
(svn r18347) -Codechange: Compute width of labels in news settings window once.
2009-11-29 21:17:37 +00:00
alberth
bb19a2e757
(svn r18346) -Codechange: Compute size of face part display buttons only once in face window.
2009-11-29 21:16:37 +00:00
alberth
5187a5980b
(svn r18345) -Codechange: Warn the window that it gets initialized, so it can do some work ahead.
2009-11-29 21:14:34 +00:00
rubidium
8a8bf6c53d
(svn r18344) -Change [FS#2923]: do not split up articulated vehicles in the train details view. If an articulated vehicle it too 'wide' draw the information on the next line and if there are multiple cargos split that over multiple lines too. Based on work by frosch123.
2009-11-29 19:31:23 +00:00
rubidium
ff5b46190d
(svn r18343) -Fix [FS#3336] (r18243): dark blue signs would be drawn transparent
2009-11-29 19:27:53 +00:00
rubidium
2e2f72b971
(svn r18342) -Fix: erroneous spaces before ;
2009-11-29 19:20:39 +00:00
frosch
2784f15304
(svn r18341) -Fix: Replace some GetNextVehicle() with GetNextUnit() where needed.
2009-11-29 18:46:54 +00:00
translators
dd1fd66ed6
(svn r18340) -Update from WebTranslator v3.0:
...
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
greek - 30 changes by
hungarian - 2 changes by alyr
indonesian - 4 changes by prof
portuguese - 5 changes by JayCity
russian - 19 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2009-11-29 18:45:28 +00:00
rubidium
65e6355422
(svn r18339) -Cleanup: remove SKIP support from strgen too
2009-11-29 17:24:39 +00:00
rubidium
0fce00edd8
(svn r18338) -Codechange: remove the need for {SKIP}
2009-11-29 17:20:27 +00:00
alberth
548f47af58
(svn r18337) -Codechange: Remove 2x2 {SKIP} in the company finances window + strings.
2009-11-29 12:52:08 +00:00
alberth
1f70f065d6
(svn r18336) -Cleanup (r18092): Remove declaration of an already removed function.
2009-11-29 11:48:20 +00:00
alberth
01d4eba140
(svn r18335) -Codechange: Further reduction of nested_root NULL-ness checking.
2009-11-29 10:56:51 +00:00
alberth
45327a588b
(svn r18334) -Codechange: No need to test a pointer after using it.
2009-11-29 09:18:49 +00:00
alberth
c0dfaec34d
(svn r18333) -Fix (r18127): Station view window did not resize properly when toggling between ratings and acceptance view.
2009-11-29 09:01:03 +00:00
rubidium
736e0c18cc
(svn r18332) -Fix: the MSVC compile warnings
2009-11-29 01:00:03 +00:00
rubidium
5d38d06313
(svn r18331) -Fix [FS#3334]: news items would with some chat 'bars' not be displayed fully. Fix by erikjanp.
2009-11-29 00:41:08 +00:00
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
2009-11-28 20:35:25 +00:00
frosch
bf0b72ae9e
(svn r18329) -Remove: [strgen] Support for {SETX} and {SETXY}. Let it rest in peace as NewGRF relict.
2009-11-28 20:27:42 +00:00
frosch
ae97bf029c
(svn r18328) -Codechange: Remove last usage of {SETX} from strings.
2009-11-28 20:15:16 +00:00
translators
8de6e3fcd9
(svn r18327) -Update from WebTranslator v3.0:
...
catalan - 26 changes by arnau
traditional_chinese - 24 changes by josesun
finnish - 4 changes by jpx_
french - 2 changes by glx
greek - 30 changes by
italian - 6 changes by lorenzodv
polish - 8 changes by silver_777
portuguese - 4 changes by JayCity
spanish - 2 changes by Terkhen
2009-11-28 18:45:30 +00:00
frosch
a66f383d1b
(svn r18326) -Fix (r18325): Missing signedness conversion.
2009-11-28 16:10:22 +00:00
frosch
49aca1edc0
(svn r18325) -Codechange: Use GetSpriteSize() instead of hard {SETX}. Also make the 'current order'-arrow in order and timetable GUI RTL aware.
2009-11-28 15:12:24 +00:00
rubidium
1f0da3710f
(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
2009-11-28 15:01:49 +00:00
rubidium
9bb4ad4ba8
(svn r18323) -Fix [FS#3330]: credits were drawn on the border of the window
2009-11-28 15:00:45 +00:00
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
2009-11-28 14:42:35 +00:00
rubidium
b58b058e2b
(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that
2009-11-28 14:36:43 +00:00
rubidium
6a367fda8a
(svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc.
2009-11-28 14:30:00 +00:00
frosch
a825349bf1
(svn r18319) -Fix: Timetable window wrt. big/small fonts.
2009-11-28 14:07:08 +00:00
rubidium
458c73aecb
(svn r18318) -Codechange: add an enum value for manual window placement
2009-11-28 13:54:28 +00:00
alberth
a427ab751d
(svn r18317) -Codechange: Merge both face windows into a single window description and widget parts array.
2009-11-28 13:47:57 +00:00
alberth
4999a76b3e
(svn r18316) -Codechange: Introduce selection widgets to enable turning parts of the face window on and off.
2009-11-28 13:45:03 +00:00
alberth
3b1d471838
(svn r18315) -Codechange: Remove fixed minimal sizes of the other widgets in both face windows.
2009-11-28 13:43:53 +00:00
frosch
6734252dfa
(svn r18314) -Fix: Disable 'start date' button for timetable windows of other companies.
2009-11-28 13:43:15 +00:00
alberth
692a45c352
(svn r18313) -Codechange: Decide the size of the widgets displaying values of parts in the advanced face window dynamically.
2009-11-28 13:42:35 +00:00
alberth
0be86e295b
(svn r18312) -Codechange: Simplify the nested widget part arrays of both face windows, and move a bit towards merging.
2009-11-28 13:40:41 +00:00
rubidium
ff32ea24fc
(svn r18311) -Codechange: no need to hardcode locations of some 'random' windows
2009-11-28 13:38:34 +00:00
alberth
2dbf1d72f9
(svn r18310) -Codechange: Introduce widgets for the names of the parts in the advanced face editing window,
2009-11-28 13:34:49 +00:00
translators
89c8c4553c
(svn r18309) -Update from WebTranslator v3.0:
...
croatian - 44 changes by UnderwaterHesus
french - 18 changes by glx
german - 4 changes by planetmaker
greek - 31 changes by fumantsu
hungarian - 18 changes by alyr
italian - 19 changes by lorenzodv
polish - 11 changes by silver_777
portuguese - 3 changes by JayCity
serbian - 4 changes by etran
spanish - 14 changes by Terkhen
swedish - 28 changes by Chrill
2009-11-27 18:45:37 +00:00
frosch
bdd0f8762d
(svn r18308) -Codechange: Use GetSpriteSize() instead of hardcoded width in dropdowns with company icon.
2009-11-27 16:46:17 +00:00
frosch
5c6b7fd88d
(svn r18307) -Fix: some coding style.
2009-11-27 16:35:34 +00:00
frosch
b4626547b5
(svn r18306) -Codechange: Remove the need for SETX from checkboxish menu items.
2009-11-27 16:20:56 +00:00
frosch
a37ca47882
(svn r18305) -Codechange: Replace some 2s with WD_FRAMERECT_(LEFT|RIGHT).
2009-11-27 16:18:03 +00:00
rubidium
5dc2e2831d
(svn r18304) -Codechange: don't use SETX for the arrival/departure panel; some languages don't have short abbreviations :(
2009-11-27 15:16:58 +00:00
frosch
efffb1b92c
(svn r18303) -Fix: Widget indices are valid when >= 0.
2009-11-26 22:46:13 +00:00
smatz
421a24001c
(svn r18302) -Fix [FS#3328](r18281): city size multiplier was ignored when generating new game
2009-11-26 22:04:11 +00:00
translators
4eccf3a5cf
(svn r18301) -Update from WebTranslator v3.0:
...
dutch - 20 changes by habell
finnish - 10 changes by jpx_
german - 20 changes by planetmaker
greek - 30 changes by
hungarian - 1 changes by alyr
italian - 19 changes by lorenzodv
portuguese - 18 changes by JayCity
serbian - 20 changes by etran
spanish - 10 changes by Terkhen
2009-11-26 18:45:29 +00:00
rubidium
9a87c35cd0
(svn r18299) -Update: the ai changelog document
2009-11-26 16:47:31 +00:00
frosch
f97daed5ef
(svn r18297) -Fix: Preserve timetable-start when auto-replacing/-renewing.
2009-11-26 14:56:17 +00:00
rubidium
4978d30880
(svn r18296) -Codechange: show the next 4 orders instead of the first 4 orders in the ship/aircraft vehicle lists
2009-11-26 11:34:12 +00:00
frosch
1725a73700
(svn r18295) -Fix [FS#bigos](r18283): Missed one PR_TERRAFORM.
2009-11-26 00:10:16 +00:00
rubidium
851c71a79d
(svn r18294) -Feature: set the start time of a timetable
2009-11-25 23:39:50 +00:00
rubidium
48d74751ac
(svn r18293) -Codechange: add a window to set the date. Based on work by PhilSophus and Maedhros.
2009-11-25 23:38:59 +00:00
rubidium
a951c505bf
(svn r18292) -Codechange: add a command to set the start date of a timetable. Based on work by PhilSophus.
2009-11-25 23:37:15 +00:00
rubidium
1a8c203d6e
(svn r18291) -Codechange: rework the calculation of the 'days till year' macro a bit so it can be properly reused and add a MAX_DAY
2009-11-25 23:28:04 +00:00
rubidium
d3a925af42
(svn r18290) -Codechange: be more strict about what vehicles may use timetables
2009-11-25 22:58:28 +00:00
rubidium
bd39a3b4c4
(svn r18289) -Codechange: if using RTL draw the toolbar in the reverse direction so the buttons overlap 'nicely'
2009-11-25 21:30:45 +00:00
translators
2f5ab16815
(svn r18288) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnau
czech - 7 changes by SmatZ
dutch - 11 changes by habell
finnish - 19 changes by jpx_
french - 9 changes by glx
german - 9 changes by dihedral, planetmaker
greek - 46 changes by fumantsu
hungarian - 31 changes by Petert, alyr
polish - 16 changes by silver_777
portuguese - 9 changes by JayCity
romanian - 13 changes by kkmic
serbian - 9 changes by etran
spanish - 6 changes by Terkhen
2009-11-25 18:45:41 +00:00
rubidium
6941db6c39
(svn r18287) -Fix (r17841): a not properly updated list caused reading just freed memory which caused buttons to not work as they should
2009-11-25 17:48:44 +00:00
frosch
93ef16c520
(svn r18286) -Fix (r18280): Number of platforms and platform length start with 1.
2009-11-25 16:26:25 +00:00
rubidium
6befa88d82
(svn r18285) -Feature: show the expected arrival/departure dates in the timetable window. Based on work by PhilSophus.
2009-11-25 16:17:06 +00:00
frosch
324396ec74
(svn r18284) -Cleanup (r18268, r18283): Replace magic value with enum.
2009-11-24 23:34:46 +00:00
frosch
830231e2bd
(svn r18283) -Feature: [NewGRF] Add new price bases for removing industries, building/removing unmovables (new objects), building/removing rail-waypoints/buoys, interacting with town-authority, building foundations, funding primary industries (when not prospecting) and towns.
...
If a GRF does not set price multipliers for these new prices, but for the previously used ones, the old modifiers will be propagated to the new bases.
2009-11-24 22:15:42 +00:00
frosch
8da21d58a9
(svn r18282) -Codechange: Remove IndustrySpec::raw_industry_cost_multiplier and use 8 * cost_multiplier instead.
2009-11-24 22:02:23 +00:00
smatz
f0c64208cf
(svn r18281) -Feature: founding towns in-game (based on work by Belugas, TheJosh, GeekToo, Terkhen and others)
2009-11-24 21:18:11 +00:00
rubidium
8d6e323ef8
(svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input
2009-11-24 21:13:36 +00:00
translators
3f0e1c9091
(svn r18279) -Update from WebTranslator v3.0:
...
traditional_chinese - 3 changes by josesun
finnish - 2 changes by jpx_
greek - 34 changes by fumantsu
hungarian - 3 changes by alyr
polish - 3 changes by silver_777
spanish - 4 changes by Terkhen
2009-11-24 18:45:22 +00:00
frosch
aa14dc48d0
(svn r18278) -Cleanup (r1): No need to set a cost multiplier for raw-industry-construction of banks. They have never been raw industries.
2009-11-24 18:27:58 +00:00
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
2009-11-24 18:05:55 +00:00
frosch
91865c33da
(svn r18276) -Fix: [NoAI] Make AIIndustryType::GetConstructionCost() return -1, if the industry is neither buildable nor prospectable.
2009-11-24 17:56:45 +00:00
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00
rubidium
8371be352b
(svn r18273) -Codechange: do not require widget numbers for default widgets (close, sticky, resize buttons and the caption), except when you want to use SetStringParameter for the caption ofcourse. Also remove the requirement for some of the WDF flags; no need to test for both the flag whether a feature is used and whether the feature is in action.
2009-11-24 17:13:24 +00:00
rubidium
75bd985876
(svn r18272) -Codechange: make FindScrollbar a const function
2009-11-24 16:54:52 +00:00
rubidium
8193dad106
(svn r18271) -Fix [FS#3315]: road vehicles wouldn't reserve a road stop in tunnels/on bridges so when they leave wormhole they're still focussed on the main road stop causing unneededly long queues
2009-11-24 14:20:39 +00:00
rubidium
32926facf9
(svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function
2009-11-24 14:19:21 +00:00
rubidium
e57d6a8e48
(svn r18269) -Fix [FS#3326]: crash because there was no (hidden) one way widget for the tram toolbar
2009-11-24 13:28:18 +00:00
frosch
d507136e04
(svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself.
2009-11-24 13:15:58 +00:00
rubidium
5e247b6e43
(svn r18267) -Codechange: make the music window big font aware
2009-11-24 13:14:48 +00:00
frosch
912bce0b8c
(svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
2009-11-24 13:12:34 +00:00
rubidium
b6b5515335
(svn r18265) -Codechange: make the finance overview window big font aware
2009-11-24 12:42:36 +00:00
rubidium
584c75722e
(svn r18264) -Codechange: make the company league window big font aware
2009-11-23 22:01:42 +00:00
rubidium
12f5032adf
(svn r18263) -Codechange: make the town views resizable
2009-11-23 21:34:33 +00:00
rubidium
3c109fd7f1
(svn r18262) -Codechange: make the status bar big font aware
2009-11-23 20:25:14 +00:00
rubidium
fb168e25ad
(svn r18261) -Codechange: center the company icons in the toolbar dropdowns
2009-11-23 20:14:42 +00:00
rubidium
b351de15d9
(svn r18260) -Codechange: make the company station view big font aware
2009-11-23 20:13:37 +00:00
rubidium
2ee87ce100
(svn r18259) -Codechange: make the graphs big font aware
2009-11-23 19:53:58 +00:00
translators
f9fd176ce4
(svn r18258) -Update from WebTranslator v3.0:
...
dutch - 1 changes by habell
greek - 30 changes by
hungarian - 2 changes by alyr
indonesian - 6 changes by fanioz
polish - 1 changes by silver_777
portuguese - 18 changes by JayCity
russian - 13 changes by Lone_Wolf
2009-11-23 18:45:23 +00:00
rubidium
2a2884646c
(svn r18257) -Fix: glitch when the news message is wider than the status bar
2009-11-23 16:23:42 +00:00
rubidium
fabd1b7c50
(svn r18256) -Codechange: make the vehicle details window big font aware
2009-11-23 16:18:01 +00:00
rubidium
4b555968c4
(svn r18255) -Codechange: make the town authority window big font aware
2009-11-23 14:04:03 +00:00
rubidium
5ef00aa15b
(svn r18254) -Codechange: make the highscore windows big font aware-ish till the point that it still fits within the graphics
2009-11-23 13:18:20 +00:00
frosch
e3c7e3c169
(svn r18253) -Codechange: Convert the linked list of loaded GRFFiles into a SmallVector.
2009-11-23 13:14:45 +00:00
rubidium
edc90be5b8
(svn r18252) -Fix: crash when news is shown when the end game window is opened (status bar goes missing for a while etc.)
2009-11-23 13:01:12 +00:00
rubidium
29c65215ed
(svn r18251) -Codechange: make the join status window big font aware
2009-11-23 12:45:01 +00:00
rubidium
c7c9f24f60
(svn r18250) -Codechange: make the graph legend big font aware
2009-11-22 22:21:00 +00:00
rubidium
3a16e0edf1
(svn r18249) -Codechange: make the network client list big font aware
2009-11-22 22:17:06 +00:00
rubidium
95436bb5b2
(svn r18248) -Codechange: remove magic numbers from the AI debug window, making it big font aware in the process
2009-11-22 22:12:00 +00:00
rubidium
e4f5dddbe5
(svn r18247) -Codechange: make the AI settings window big font aware
2009-11-22 22:08:28 +00:00
frosch
8e85bb82e9
(svn r18246) -Codechange: Make signs and station/town names big font aware.
2009-11-22 20:56:39 +00:00
frosch
ff5a1f4461
(svn r18245) -Codechange: Deduplicate code wrt. clicking on signs and station/town names.
2009-11-22 20:38:06 +00:00
frosch
c24d6d3f4e
(svn r18244) -Codechange: Make texteffects big font aware.
2009-11-22 20:23:41 +00:00
frosch
4661abd33b
(svn r18243) -Codechange: Deduplicate code wrt. drawing signs and station/town names.
2009-11-22 19:53:49 +00:00
rubidium
f381f9b46f
(svn r18242) -Codechange: make the refit window big font aware
2009-11-22 19:40:48 +00:00
rubidium
5c13e0c1e6
(svn r18241) -Codechange: make the rail depot 'buttons' centered in the window
2009-11-22 19:31:52 +00:00
rubidium
bd0d32a0b6
(svn r18240) -Change: align the 'select' sprite in the network content GUI based on the font height
2009-11-22 19:27:51 +00:00
rubidium
48d1718671
(svn r18239) -Codechange: make the AI 'selection' list window big font aware
2009-11-22 19:24:02 +00:00
rubidium
cf354803d6
(svn r18238) -Codechange: make the autoreplace window big font aware
2009-11-22 19:19:11 +00:00
rubidium
3d6edbdf46
(svn r18237) -Codechange: make the group GUI big font aware
2009-11-22 19:18:51 +00:00
rubidium
c95963a0d7
(svn r18236) -Codechange: make the group gui behave 'better aligned'
2009-11-22 18:51:58 +00:00
rubidium
747e123307
(svn r18235) -Fix: like r18233, but for the non-trains
2009-11-22 18:51:21 +00:00
translators
b7cbfb09e7
(svn r18234) -Update from WebTranslator v3.0:
...
arabic_egypt - 14 changes by kasakg
catalan - 2 changes by arnau
croatian - 92 changes by UnderwaterHesus
greek - 30 changes by
polish - 3 changes by silver_777
2009-11-22 18:45:19 +00:00
alberth
5087bb545b
(svn r18233) -Fix: Fix matrix widget of the autoreplace gui.
2009-11-22 18:32:03 +00:00
alberth
b4f488319c
(svn r18232) -Fix: Extend container widgets to accomadate multiples of filling step size.
2009-11-22 18:31:17 +00:00
alberth
bfd5cc456a
(svn r18231) -Fix: Enable filling of matrix widget in the depot gui.
2009-11-22 18:29:52 +00:00
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
2009-11-22 18:28:14 +00:00
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
2009-11-22 18:26:01 +00:00
rubidium
e772ec1c97
(svn r18228) -Fix: make string drawing big font aware, i.e. don't big characters flicker like a stroboscope.
2009-11-22 16:31:59 +00:00
frosch
41ad9d505e
(svn r18227) -Fix (r17676)[FS#3325]: GRF parameters and palette were no longer displayed in NewGRF gui.
2009-11-22 14:58:27 +00:00
rubidium
a37607bac1
(svn r18226) -Fix: the caption of the select station/waypoint window was black instead of (the default) white
2009-11-22 14:48:33 +00:00
rubidium
c99d15bf74
(svn r18225) -Codechange: make the select station window behave better with big fonts
2009-11-22 14:46:14 +00:00
rubidium
81087052dc
(svn r18224) -Codechange: make the road construction windows big font aware
2009-11-22 14:41:21 +00:00
rubidium
e7075c7e2b
(svn r18223) -Codechange: remove the requirement of having an index for background widgets
2009-11-22 14:40:55 +00:00
rubidium
5ad4a5e3e2
(svn r18222) -Codechange: make the sign list window big font aware
2009-11-22 14:40:25 +00:00
rubidium
a9e09df923
(svn r18221) -Codechange: make the NewGRF window big font aware
2009-11-22 14:15:50 +00:00
alberth
bf93372ca2
(svn r18220) -Codechange: Reduce number of nested widget dynamic casts.
2009-11-22 13:22:53 +00:00
rubidium
2332034822
(svn r18219) -Fix: the up/down buttons in the start network server window didn't work anymore
2009-11-22 13:20:26 +00:00
rubidium
206c01a4e5
(svn r18218) -Codechange: make a few network windows big font aware
2009-11-22 13:12:31 +00:00
rubidium
a95655b7c8
(svn r18217) -Codechange: make the livery window big font aware
2009-11-22 13:01:07 +00:00
rubidium
88e80d4c76
(svn r18216) -Codechange: make the scenario editor dock tool big font aware
2009-11-22 12:24:33 +00:00
rubidium
186295ca85
(svn r18215) -Codechange: make the simple face window big font aware
2009-11-22 12:18:26 +00:00
rubidium
d276acf6e7
(svn r18214) -Codechange: make the AI config window big font aware
2009-11-22 12:08:12 +00:00
rubidium
8204f226f1
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
2009-11-22 11:24:30 +00:00
rubidium
d913282e7a
(svn r18212) -Codechange: remove unneeded 'parameters' for WWT_CAPTION, WWT_CLOSEBOX and WWT_STICKYBOX in the nested widget arrays
2009-11-22 11:20:12 +00:00
rubidium
e9b6e73333
(svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances
2009-11-22 11:10:17 +00:00
alberth
9a67f81610
(svn r18210) -Codechange: Child widgets always get the entire space in perpendicular direction of the container.
2009-11-22 10:59:12 +00:00
translators
bd1e541372
(svn r18209) -Update from WebTranslator v3.0:
...
traditional_chinese - 7 changes by josesun
german - 2 changes by Roujin
greek - 37 changes by fumantsu
indonesian - 4 changes by prof
italian - 2 changes by lorenzodv
korean - 76 changes by dlunch
norwegian_bokmal - 7 changes by thondal
norwegian_nynorsk - 33 changes by thondal
polish - 2 changes by silver_777
serbian - 2 changes by etran
2009-11-21 18:45:32 +00:00
rubidium
e8141ba9d5
(svn r18208) -Fix [FS#3321]: in some cases the size of the land information window wasn't properly calculated
2009-11-21 17:22:37 +00:00
rubidium
a274cc6a60
(svn r18207) -Fix [FS#3324] (r11961): [NewGRF] When starting a new game the values of action D variable 13 were incorrect
2009-11-21 16:39:36 +00:00
rubidium
5c6cf4f8d2
(svn r18206) -Fix [FS#3322]: on could 'pan' on the viewports of other windows, like the industry view, too
2009-11-21 16:02:05 +00:00
rubidium
402008d69e
(svn r18205) -Codechange: unduplicate some code
2009-11-21 12:45:00 +00:00
rubidium
37056b564c
(svn r18204) -Codechange: introduce a type for Ticks and use it; furthermore document some related variables/functions
2009-11-21 12:43:09 +00:00
alberth
0512761214
(svn r18203) -Codechange (r18092): Remove DisplayFlags enum of old widgets.
2009-11-21 10:10:53 +00:00
rubidium
2750c719cc
(svn r18202) -Codechange: remove an unused function
2009-11-20 22:00:28 +00:00
alberth
777d5ce12e
(svn r18201) -Codechange (r18092): No need anymore for initializing nested widgets for Widget* arrays.
2009-11-20 20:10:06 +00:00
translators
e166d5b402
(svn r18200) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
french - 2 changes by glx
german - 1 changes by planetmaker
hebrew - 17 changes by dnd_man
hungarian - 2 changes by alyr
italian - 1 changes by lorenzodv
spanish - 2 changes by Terkhen
2009-11-20 18:45:24 +00:00
rubidium
77d6c4e07a
(svn r18199) -Codechange: make the company view window RTL aware and somewhat big font aware
2009-11-20 17:36:46 +00:00
rubidium
69f50570e3
(svn r18198) -Codechange: make the AI configuration window RTL aware
2009-11-20 16:01:29 +00:00
rubidium
e170c14cfd
(svn r18197) -Codechange: make the advanced settings window RTL aware and more big font aware
2009-11-20 14:52:55 +00:00
rubidium
d786f42427
(svn r18196) -Codechange: make the performance rating details window big font and RTL aware
2009-11-20 14:03:17 +00:00
rubidium
da25f121ac
(svn r18195) -Codechange: move the child padding calculation/handling to WWT_FRAME
...
-Fix (r18168): crash when switching languages when a non-standard font height is used
2009-11-19 22:49:04 +00:00
rubidium
e43659440e
(svn r18194) -Codechange: make the AI 'config' window RTL aware
2009-11-19 21:21:39 +00:00
rubidium
bfadbba2ed
(svn r18193) -Codechange: make the cheat window RTL aware
2009-11-19 21:07:08 +00:00
rubidium
16f270467f
(svn r18192) -Codechange: make the music window RTL aware
2009-11-19 20:34:45 +00:00
translators
0658ce739a
(svn r18190) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnau
french - 1 changes by glx
serbian - 2 changes by etran
spanish - 1 changes by Terkhen
2009-11-19 18:45:17 +00:00
rubidium
c24755c032
(svn r18189) -Codechange: remove some now unneeded strings
2009-11-19 18:08:35 +00:00
rubidium
30f7483f9c
(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
2009-11-19 18:01:24 +00:00
rubidium
64d65cc635
(svn r18187) -Codechange: make the advanced face selection, custom currency, difficulty, news settings, signal, sign and vehicle details window RTL aware (use the arrow widget)
2009-11-19 17:57:27 +00:00
rubidium
089992ef13
(svn r18186) -Add: a widgets for left/right arrows with the ability to turn themselves around when a RTL language is loaded
2009-11-19 17:56:03 +00:00
rubidium
a36c258644
(svn r18185) -Fix: the up/down buttons had the wrong logical ordering with RTL. Also one of the tooltips was incorrect.
2009-11-19 16:33:11 +00:00
glx
2535b1afcf
(svn r18184) -Codechange: add crash screenshot for win32
2009-11-19 16:27:15 +00:00
rubidium
68400db749
(svn r18183) -Codechange: make the NewGRF window RTL aware
2009-11-19 15:45:08 +00:00
rubidium
8e201585e6
(svn r18182) -Codechange: use the zero fill control code instead of duplicating strings with 'only' the 0 differing
2009-11-19 13:56:10 +00:00
rubidium
2f0b1ef5f1
(svn r18181) -Add: the concept of zero filled numbers to strgen
2009-11-19 13:53:54 +00:00
rubidium
4987d97810
(svn r18180) -Codechange: make the news history window RTL aware
2009-11-19 11:10:32 +00:00
rubidium
8b5a010f3a
(svn r18179) -Codechange: make the town authority window RTL aware
2009-11-19 10:56:14 +00:00
peter1138
f216fcecd4
(svn r18178) -Codechange: Let NewGRF Add window's text filter expand.
2009-11-19 10:44:35 +00:00
peter1138
b0049500a6
(svn r18177) -Fix (r18001): [SDL] Viewport could jump when mouse moved and right button pressed at the same time.
2009-11-18 23:07:29 +00:00
rubidium
4ade749532
(svn r18176) -Fix: wrong parameter locations caused occasional crashes when showing an engine preview or new engine news message
2009-11-18 22:14:13 +00:00
rubidium
8bb9d7026f
(svn r18175) -Codechange: make the network lobby and client list RTL aware
2009-11-18 22:00:04 +00:00
rubidium
45a7bce83d
(svn r18174) -Codechange: make the sign list RTL aware
2009-11-18 21:27:13 +00:00
rubidium
5a15fbde11
(svn r18173) -Codechange: make the smallmap RTL aware
2009-11-18 21:18:51 +00:00
rubidium
a7bf15d5a6
(svn r18172) -Fix: consistency w.r.t. using space after the copyright symbol in the about window
2009-11-18 20:28:03 +00:00
rubidium
b6f627a968
(svn r18171) -Change: always align the about to the left; it is not translated and as such it's never a RTL text.
2009-11-18 20:27:18 +00:00
rubidium
cee67acfba
(svn r18170) -Codechange: make the station view RTL aware
2009-11-18 20:22:39 +00:00
translators
db65d675eb
(svn r18169) -Update from WebTranslator v3.0:
...
french - 1 changes by glx
german - 2 changes by dihedral
italian - 1 changes by lorenzodv
polish - 3 changes by silver_777
2009-11-18 18:45:16 +00:00
peter1138
031e353d3c
(svn r18168) -Codechange: Adjust a frame's child's padding to account for text height, and draw the top bar appropriately.
2009-11-18 18:17:27 +00:00
rubidium
095d64c4fc
(svn r18167) -Change: make the graph legend, cargo payment graph and company league windows RTL aware
2009-11-18 15:09:39 +00:00
rubidium
c461ccfecb
(svn r18166) -Codechange: make the livery colour window RTL aware
2009-11-18 12:45:20 +00:00
rubidium
0fc733f3a0
(svn r18165) -Codechange: make company dropdowns RTL aware
2009-11-18 12:31:48 +00:00
rubidium
76a5f4f8cd
(svn r18164) -Change: make dropdown 'right' align to the opening widget with RTL
2009-11-18 12:31:09 +00:00
rubidium
b4e9cb3ca3
(svn r18163) -Codechange: make the depot GUI RTL aware
2009-11-18 10:45:49 +00:00
rubidium
4b225afad5
(svn r18162) -Fix: rest-of-train train selection
2009-11-18 10:45:33 +00:00
peter1138
f07fdac2d8
(svn r18161) -Codechange: Remove hyphen from y-label in all languages
2009-11-18 10:33:24 +00:00
peter1138
d2358c5ea6
(svn r18160) -Codechange: The hyphen character may not line up in all fonts, so draw
...
the Y-axis ticks manually.
2009-11-18 10:09:22 +00:00
peter1138
b07c99a0fd
(svn r18159) -Codechange: Rework graphs to scale to the widget they are in, instead of using absolute pixel placement. X-axis labels still need work for large fonts.
2009-11-18 08:32:39 +00:00
smatz
b0c370c7e5
(svn r18158) -Codechange: add crash screenshot for OSX
2009-11-18 01:00:01 +00:00
rubidium
3180d16baf
(svn r18157) -Codechange: some minor tweaks of the boundaries of strings etc. in the depot window
2009-11-17 23:32:18 +00:00
smatz
5924863a49
(svn r18156) -Add: crash screenshot, created from blitter buffer
2009-11-17 23:12:42 +00:00
smatz
4eaa558ca1
(svn r18155) -Codechange: in MakeScreenshotName(), don't return pointer to local static variable - use global one instead
2009-11-17 23:08:55 +00:00
rubidium
d747a643cc
(svn r18154) -Codechange: let the depot window better scale with bigger fonts
2009-11-17 22:58:41 +00:00
peter1138
61fa8d4fca
(svn r18153) -Codechange: Correct height for 'key' button on graph windows.
2009-11-17 22:06:18 +00:00
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
2009-11-17 19:16:48 +00:00
peter1138
063e8adcec
(svn r18151) -Codechange: Let industry build/found widgets fill the window.
2009-11-17 19:12:49 +00:00
rubidium
abe1c6f3c7
(svn r18150) -Codechange: make the horizontal scrollbar scroll in the opposite direction with RTL
2009-11-17 18:45:57 +00:00
translators
673ebe0518
(svn r18149) -Update from WebTranslator v3.0:
...
dutch - 11 changes by habell
finnish - 2 changes by jpx_
greek - 2 changes by fumantsu
hungarian - 4 changes by alyr
italian - 1 changes by lorenzodv
polish - 9 changes by silver_777
spanish - 2 changes by Terkhen
2009-11-17 18:45:24 +00:00
rubidium
b9aecbf78c
(svn r18148) -Fix: with the waypoint picker the wrong widget was 'grayed' with RTL and the y offset of the grayed area was incorrect for big fonts
2009-11-17 18:45:00 +00:00
peter1138
00f0dfd00d
(svn r18146) -Codechange: Improve content download window scaling and offsets for different font size
2009-11-17 17:51:44 +00:00
rubidium
9e84075db5
(svn r18145) -Codechange: pass the 'proper' left and right values to DrawVehicleInDepot
2009-11-17 16:03:51 +00:00
rubidium
ddffeb791e
(svn r18144) -Codechange: ignore SETX(Y) spacing in vehicle details and graphical glitches due to (incorrect) SETX(Y) usage
2009-11-17 15:26:46 +00:00
rubidium
e297f79b7f
(svn r18143) -Codechange: allow stripping/ignoring of SETX(Y) during DrawString
2009-11-17 15:25:40 +00:00
rubidium
cbc12fdd86
(svn r18142) -Codechange: make the vehicle details RTL (and huge ship/aircraft) aware
2009-11-17 15:05:12 +00:00
rubidium
36a20894aa
(svn r18141) -Fix (r18051): one couldn't (easily) continue a game in single player that was 'not enough players'/'waiting on join'-paused
2009-11-17 14:06:28 +00:00
peter1138
adadabed04
(svn r18140) -Codechange: Use text lines widget part to set height of 'Name' button on vehicle detail window, and the start/stop button on vehicle view window.
2009-11-17 13:17:09 +00:00
peter1138
9e49386d9d
(svn r18139) -Codechange: Scale company league table for font height.
2009-11-17 13:07:12 +00:00
peter1138
14c6fd0e39
(svn r18138) -Codechange: Add a new widgetpart to specify the height of a widget in text lines.
2009-11-17 13:04:05 +00:00
peter1138
f14cd93ec8
(svn r18137) -Codechange: Make station rating graphics in station list scale to the small font size.
2009-11-17 12:05:55 +00:00
rubidium
9bfcf2b615
(svn r18136) -Codechange: support RTL in the vehicle lists
2009-11-17 11:36:36 +00:00
peter1138
5fdff78c42
(svn r18135) -Codechange: File list text overflowed its container.
2009-11-17 10:04:21 +00:00
rubidium
bdb118aa69
(svn r18134) -Codechange: scale the offset of the text/vehicle in the vehicle lists based on the font and the unit numbers in the list
2009-11-17 09:09:20 +00:00
rubidium
a808623b24
(svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image
2009-11-16 22:25:01 +00:00
peter1138
6204c56d99
(svn r18132) -Codechange: Scale OSK buttons to font height.
2009-11-16 21:42:04 +00:00
rubidium
2fa03c71f7
(svn r18131) -Codechange: account for the height of the small order lists when determining the height of a vehicle list item
2009-11-16 21:39:47 +00:00
rubidium
e438fc6a80
(svn r18130) -Codechange: initial steps into making the vehicle/group lists big font and RTL aware
2009-11-16 21:28:12 +00:00
peter1138
d499aa0187
(svn r18129) -Codechange: Fix up train details window for correct offsets and line spacing.
2009-11-16 21:10:23 +00:00
rubidium
ef11ce84ee
(svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists.
2009-11-16 20:58:38 +00:00
peter1138
2e54ff1aa2
(svn r18127) -Codechange: Adjust station accept/rating list height by number of lines instead of pixels.
2009-11-16 20:40:35 +00:00
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
2009-11-16 20:34:57 +00:00
rubidium
cb3c4f2ebe
(svn r18125) -Fix: the waypoint/buoy window had the wrong text colour in their title
2009-11-16 20:17:27 +00:00
translators
d01dabcd28
(svn r18124) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
french - 1 changes by glx
indonesian - 5 changes by prof
romanian - 11 changes by kkmic
russian - 2 changes by Lone_Wolf
2009-11-16 18:45:17 +00:00
rubidium
bae066ecaf
(svn r18123) -Codechange: try our best to keep the vehicles within the build vehicle list/autoreplace lists instead of overflowing.
2009-11-16 17:58:46 +00:00
rubidium
fdbe2d827c
(svn r18122) -Fix: the build vehicle GUI would draw a (few) pixels over the border
2009-11-16 17:56:59 +00:00
rubidium
1c5a92ae98
(svn r18121) -Codechange: pass the maximum left/right location to the Draw*Engine functions
2009-11-16 17:15:42 +00:00
rubidium
179b924173
(svn r18120) -Fix (r18119): sometimes ReInit didn't dirty the new window
2009-11-16 17:01:25 +00:00
rubidium
e7dd53dffc
(svn r18119) -Codechange/Fix: always call OnResize so the matrices/scrollbars are initialised without the need for duplicating the OnResize code
2009-11-16 16:42:04 +00:00
rubidium
5589792d0c
(svn r18118) -Codechange: improve behaviour of the engine lists (both build vehicle/autoreplace) w.r.t. large(r) fonts and RTL. RTL support for 'wider than usual' vehicles is still needed though.
2009-11-16 16:22:14 +00:00
rubidium
f025475535
(svn r18117) -Codechange: don't pass the location of the vehicle count but whether to show the vehicle count
2009-11-16 15:11:54 +00:00
rubidium
ae799e7b1b
(svn r18116) -Change: make the station list support RTL when drawing the ratings
2009-11-16 14:48:22 +00:00
rubidium
b824b27fd6
(svn r18115) -Codechange: prevent RTL glitch with refitting and cargo suffix
2009-11-16 13:19:39 +00:00
rubidium
f9feac8607
(svn r18114) -Fix: RTL languages don't have the keyboard swapped
2009-11-16 12:29:52 +00:00
rubidium
fd75575bdd
(svn r18113) -Fix: RTL glitch in play heightmap window
2009-11-16 11:54:59 +00:00
rubidium
b02662c4c4
(svn r18112) -Fix (rnewpool): crash when a company got removed and you had the company league window opened
2009-11-15 23:22:07 +00:00
alberth
0666a70583
(svn r18111) -Change: One more developer added to the history of OpenTTD.
2009-11-15 21:07:39 +00:00
smatz
47660b984b
(svn r18110) -Codechange [FS#3316]: search for stations nearby only once per producer (instead of once pre produced cargo type) (fonsinchen)
2009-11-15 21:06:13 +00:00
frosch
e41c2e128b
(svn r18109) -Fix: Up-/down-buttons of CreateScenarioWindow were not raised again.
2009-11-15 20:37:13 +00:00
rubidium
95af4f40f3
(svn r18108) -Fix (r17986): crash when clicking just 'outside' of the date panel
2009-11-15 20:16:51 +00:00
peter1138
4c9b87d850
(svn r18107) -Codechange: Add spacer panel to end of transparency window, to fill space if title is too long.
2009-11-15 19:31:12 +00:00
peter1138
31f7df2cb0
(svn r18106) -Codechange: Draw string underline FONT_HEIGHT_NORMAL pixels down, not 10.
2009-11-15 19:18:19 +00:00
translators
8e936f2b95
(svn r18105) -Update from WebTranslator v3.0:
...
finnish - 39 changes by jpx_
greek - 9 changes by fumantsu
hungarian - 9 changes by alyr
polish - 3 changes by silver_777
serbian - 9 changes by etran
vietnamese - 24 changes by nglekhoi
2009-11-15 18:45:21 +00:00
peter1138
4c6f55fc71
(svn r18104) -Codechange: Let the query popup window's text entry field expand if necessary (e.g. with long window title).
2009-11-15 18:44:33 +00:00
peter1138
3c913ac253
(svn r18103) -Codechange: Base content window detail title height on font height.
2009-11-15 18:39:22 +00:00
smatz
c71e3548d7
(svn r18102) -Codechange: simplify Company::Get(this->window_number)->index to just this->window_number
2009-11-15 18:21:17 +00:00
peter1138
60c04c25a2
(svn r18101) -Fix (r15188): AI settings window used window-relative pixel positions
2009-11-15 17:22:47 +00:00
rubidium
cddc057a60
(svn r18099) -Codechange: scale the edit boxes to the fontsize
2009-11-15 15:37:37 +00:00
peter1138
f28d32943d
(svn r18096) -Fix (r5079/r7158??): Use free type ascender/descender metrics to position font offset correctly.
2009-11-15 14:39:37 +00:00
rubidium
f6ec2fa5b9
(svn r18095) -Fix (r18093): a bit too much nested_array != NULL removal
2009-11-15 14:07:23 +00:00
rubidium
54fb944468
(svn r18094) -Codechange: make the network content GUI work better with RTL
2009-11-15 14:01:45 +00:00
rubidium
5fe405bad1
(svn r18093) -Fix: the mouseover handler could crash if there wasn't a widget under the mouse
2009-11-15 13:50:49 +00:00
rubidium
aeb9f8e715
(svn r18092) -Codechange: remove support for the unnested widgets
2009-11-15 13:36:30 +00:00
alberth
7337a0553c
(svn r18091) -Codechange: CompanyWindow uses pure nested widgets.
2009-11-15 13:31:27 +00:00
alberth
8415a2238f
(svn r18090) -Fix: Only allow raising of WWT_* nested widgets.
2009-11-15 13:08:50 +00:00
rubidium
b812a48a8d
(svn r18089) -Codechange: remove ResizeWindowForWidget
2009-11-15 10:40:06 +00:00
rubidium
884561f431
(svn r18088) -Codechange: remove CompareWidgetArrays
2009-11-15 10:38:04 +00:00
rubidium
9396a701fe
(svn r18087) -Codechange: remove NWID_LAYERED
2009-11-15 10:30:32 +00:00
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
2009-11-15 10:26:01 +00:00
alberth
1b72fa84e2
(svn r18085) -Codechange: Make the company face window use nested widgets.
2009-11-15 09:46:40 +00:00
rubidium
261955945a
(svn r18084) -Codechange: make the cheat gui nested
2009-11-15 09:23:40 +00:00
rubidium
125d369c4e
(svn r18083) -Codechange: make the small map GUI nested.
2009-11-14 20:56:25 +00:00
rubidium
517162cc45
(svn r18082) -Codechange: make it visually easier to see where the different legenda 'tables' are split + some typos
2009-11-14 20:34:46 +00:00
translators
383d96b077
(svn r18081) -Update from WebTranslator v3.0:
...
catalan - 9 changes by arnau
traditional_chinese - 9 changes by josesun
polish - 103 changes by silver_777
brazilian_portuguese - 1 changes by Tucalipe
swedish - 13 changes by markisen
turkish - 4 changes by dcelasun
2009-11-14 18:45:22 +00:00
rubidium
66e1aafe5b
(svn r18080) -Codechange: add some const to the smallmap
2009-11-14 17:47:05 +00:00
smatz
28916ca39e
(svn r18079) -Codechange: allow overwriting of screenshots with user-supplied filenames
2009-11-14 15:50:38 +00:00
rubidium
16c2e53191
(svn r18078) -Codechange: remove some duplicate (non translatable) strings
2009-11-14 15:37:33 +00:00
alberth
668a98909b
(svn r18077) -Codechange: Make the livery window use pure nested widgets.
2009-11-14 15:34:21 +00:00
smatz
3ccf1e1b12
(svn r18076) -Codechange: rename MakeBmpImage() to MakeBMPImage()
2009-11-14 15:31:06 +00:00
smatz
7163c7d3ab
(svn r18075) -Codechange: let ScreenshotHandlerProc() accept 'name' as 'const char \*'
2009-11-14 15:28:57 +00:00
michi_cc
32c6633bef
(svn r18074) -Fix [FS#3314]: [OSX] Don't link clipboard support twice when building without Cocoa.
2009-11-14 15:26:43 +00:00
rubidium
1066af500f
(svn r18073) -Codechange: remove some more unneeded skips
2009-11-14 13:11:40 +00:00
rubidium
9d74a2910e
(svn r18072) -Codechange: remove the need for {SKIP} (and a string) from the order window
2009-11-14 12:55:48 +00:00
rubidium
d41302c310
(svn r18071) -Codechange: remove the need for {SKIP} in the autoreplace window + strings
2009-11-14 12:50:38 +00:00
rubidium
629b7fcfe5
(svn r18070) -Fix: some possible unwanted side effects if using some sorts of boolean expressions in DEBUG
2009-11-14 11:57:55 +00:00
alberth
94261ad01a
(svn r18069) -Codechange: Initialize window flags at the same tme as the other fields instead of afterwards.
2009-11-14 09:58:52 +00:00
alberth
4d84dbb26b
(svn r18068) -Cleanup: Remove obsolete BaseVehicleListWindow(const WindowDesc *desc, WindowNumber window_number) constructor.
2009-11-14 08:49:58 +00:00
alberth
fb0158c8ce
(svn r18067) -Codechange: Eliminate a constant representing a widget top edge in vehicle windows.
2009-11-14 08:44:12 +00:00
alberth
e016fa0fac
(svn r18066) -Codechange: Make group gui window use pure nested widgets.
2009-11-13 21:42:49 +00:00
rubidium
2b5154f0a2
(svn r18065) -Codechange/Fix: account for the text in WWT_FRAMEs when determining the minimum width
2009-11-13 20:23:48 +00:00
rubidium
7288ef506e
(svn r18064) -Codechange: make the sticky box size to the height of the title bar preventing glitches with larger fonts
2009-11-13 20:10:13 +00:00
rubidium
d529886056
(svn r18061) -Fix: glitches with the dock GUI when the title is very long
2009-11-13 19:46:12 +00:00
translators
38d7e95fb2
(svn r18060) -Update from WebTranslator v3.0:
...
finnish - 9 changes by jpx_
french - 9 changes by glx
german - 9 changes by Roujin
italian - 9 changes by lorenzodv
polish - 165 changes by silver_777
spanish - 9 changes by Terkhen
ukrainian - 9 changes by Madvin
2009-11-13 18:45:27 +00:00
alberth
ad2c2c2be3
(svn r18059) -Codechange: Move some variable declarations to their use.
2009-11-13 18:17:46 +00:00
rubidium
c77c24cb7a
(svn r18058) -Fix: typos in parameter names
2009-11-13 17:40:21 +00:00
smatz
8d95e16ff1
(svn r18057) -Codechange: replace assert_compile() by new one which works with gcc3.3 and removes the need of assert_tcompile()
2009-11-13 15:53:51 +00:00
rubidium
1a04b9081a
(svn r18056) -Fix (r17737): compiling without networking failed
2009-11-12 21:08:41 +00:00
rubidium
b0f18a27fb
(svn r18054) -Change/Fix [FS#3310]: make pause on join pause during the whole joining (including download) phase
2009-11-12 20:52:14 +00:00
rubidium
64ecceadda
(svn r18053) -Codechange: remove the manual pause/unpause limitation with min_active_clients
2009-11-12 20:38:52 +00:00
rubidium
2a1cab4d46
(svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are.
2009-11-12 20:33:30 +00:00
rubidium
934e6a295d
(svn r18051) -Codechange: make the active clients pause use a separate bit in the pause mode
2009-11-12 17:46:04 +00:00
rubidium
3f2dce581e
(svn r18050) -Codechange: disallow 'pause on join' paused when not in a network game
2009-11-12 17:44:49 +00:00
rubidium
9059e4f85f
(svn r18049) -Fix [FS#3310] (r16448): Crash when an articulated RV is turning on a drive through road station that gets forcefully (bankrupt) removed
2009-11-12 17:28:20 +00:00
rubidium
c08c10f329
(svn r18048) -Change: make no distinction between unpausing because of a client aborting to join or actually joining
2009-11-12 17:27:24 +00:00
rubidium
485b5a9c2f
(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a "non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'.
...
We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t).
This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
2009-11-11 21:15:58 +00:00
rubidium
83e7ca3dc8
(svn r18042) -Cleanup: remove some stale comments
2009-11-11 20:53:23 +00:00
rubidium
ac25ba62d2
(svn r18041) -Codechange: some coding style
2009-11-11 20:43:06 +00:00
rubidium
8f9157b648
(svn r18040) -Codechange: the size parameter (if it's that actually) isn't needed for the delete operator
2009-11-11 20:40:40 +00:00
translators
c5ebac830a
(svn r18039) -Update from WebTranslator v3.0:
...
bulgarian - 5 changes by Tvel
polish - 7 changes by amateja
ukrainian - 2 changes by Madvin
vietnamese - 12 changes by nglekhoi
2009-11-11 18:45:14 +00:00
rubidium
6cfeb1920f
(svn r18038) -Fix [FS#3290] (r17402): AIs failed to load their data from savegames by crashing them when they tried
2009-11-11 18:13:17 +00:00
translators
dd28ddfd9f
(svn r18037) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
czech - 3 changes by SmatZ
indonesian - 1 changes by prof
polish - 4 changes by silver_777
2009-11-10 18:45:15 +00:00
frosch
364eb961ae
(svn r18036) -Fix (r17999): Always two they are.
2009-11-10 16:50:00 +00:00
rubidium
15ede6b763
(svn r18035) -Fix (r16909): one could remotely crash (assert) the server on certain commands
2009-11-10 11:19:07 +00:00
translators
7247011636
(svn r18034) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
dutch - 1 changes by habell
finnish - 1 changes by jpx_
french - 1 changes by glx
greek - 4 changes by fumantsu
hungarian - 1 changes by Petert
italian - 1 changes by lorenzodv
polish - 42 changes by amateja, silver_777
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
2009-11-09 18:45:32 +00:00
rubidium
cbeba59fc2
(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
2009-11-09 17:20:48 +00:00
smatz
a84921f8f5
(svn r18032) -Codechange: add one const
2009-11-09 16:33:52 +00:00
rubidium
88a7e23897
(svn r18031) -Codechange: since basically r7157 adding up 'all' mouse movement isn't needed anymore because after each even that movement is handled and the counter is reset. As such simply assigning instead of adding works.
2009-11-09 16:07:03 +00:00
rubidium
cbf4b80b86
(svn r18030) -Fix: screen jumped a bit for at least SDL and Allegro when right-click-dragging
2009-11-09 16:05:24 +00:00
glx
85a910f02e
(svn r18029) -Fix (r18028): AppendPathSeparator() should stay global
2009-11-09 15:16:38 +00:00
rubidium
860b9b1cea
(svn r18028) -Codechange: unglobalise some functions
2009-11-09 10:40:33 +00:00
rubidium
c2221885f4
(svn r18027) -Codechange: make some unneededly global variables static and remove some unused variables
2009-11-09 09:59:35 +00:00
rubidium
3702746756
(svn r18026) -Codechange: make a lookup table static that doesn't need to be 'exported'
2009-11-09 09:27:48 +00:00
rubidium
6db598e408
(svn r18025) -Fix (r17217): more missing/extra parentheses (for compilers I've never heard of)
2009-11-08 23:56:39 +00:00
rubidium
29ee106efa
(svn r18024) -Fix (r17217): missing (
2009-11-08 22:24:33 +00:00
alberth
311534797a
(svn r18023) -Codechange: Make the timetable window nested.
2009-11-08 20:52:14 +00:00
rubidium
85a3dce45c
(svn r18022) -Cleanup: remove some (now) unused button resize functions
2009-11-08 19:49:13 +00:00
alberth
efbdba72b3
(svn r18021) -Codechange: Have a widget for every cargo-type to eliminate searching.
2009-11-08 19:36:17 +00:00
alberth
7f1f105afa
(svn r18020) -Codechange: Make the company station list window nested.
2009-11-08 19:31:57 +00:00