rubidium
e0e5eae1ee
(svn r17721) -Codechange: replace a magic number with a constant
2009-10-06 17:28:06 +00:00
rubidium
5f59d0c5b4
(svn r17720) -Codechange: guard the CargoPacket variables that are cached in CargoLists so they cannot be written from outside the CargoList class (based on patch by fonsinchen)
2009-10-06 17:23:15 +00:00
frosch
a4835e3f0b
(svn r17719) -Change: [NoAI] Make AIEngine:CanRefitCargo() not report refittability to Mail by default for aircraft. It is not necessarily true, and the special case of carrying both passenger&mail is better handled by AIs themself than by the API.
2009-10-05 20:21:12 +00:00
translators
cccda0d864
(svn r17718) -Update from WebTranslator v3.0:
...
afrikaans - 35 changes by Maccie123
frisian - 50 changes by Minifan
2009-10-05 17:45:10 +00:00
michi_cc
d900b0d628
(svn r17717) -Codechange: [OSX] Replace deprecated variable type.
2009-10-04 21:39:12 +00:00
michi_cc
6ad7440ae5
(svn r17716) -Codechange: [OSX] Invoke a (semi-)private Objective-C method in a way that does not rely on the SDK version.
2009-10-04 21:39:08 +00:00
michi_cc
dbb13fd856
(svn r17715) -Cleanup: [OSX] And a final round of coding style and some cleaning.
2009-10-04 21:36:26 +00:00
michi_cc
ba6866128d
(svn r17714) -Cleanup: [OSX] Apply more coding style.
2009-10-04 21:36:22 +00:00
michi_cc
9b54d5bbd7
(svn r17713) -Cleanup: [OSX] Move variable definitions to first use and apply more coding style.
2009-10-04 21:36:17 +00:00
michi_cc
ec90a8778f
(svn r17712) -Codechange [FS#1411]: [OSX] Replace undocumented process manager API calls with a documented alternative. (pyth)
2009-10-04 21:33:36 +00:00
michi_cc
8484e08ee0
(svn r17711) -Codechange: [OSX] Don't use deprecated methods to construct a Cocoa string.
2009-10-04 21:33:31 +00:00
michi_cc
dffd1be12d
(svn r17710) -Feature [FS#3223]: [OSX] Add a MIDI driver using Cocoa/CoreAudio.
2009-10-04 21:24:09 +00:00
michi_cc
049d62b35c
(svn r17708) -Feature [FS#2053]: [OSX] Implement clipboard support for OS X.
2009-10-04 21:08:38 +00:00
michi_cc
a831143f45
(svn r17707) -Fix: [OSX] Show the OS mouse cursor when displaying a dialog box if it was hidden.
2009-10-04 21:08:34 +00:00
michi_cc
5f67762a7f
(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure.
2009-10-04 21:08:30 +00:00
michi_cc
4f98178fcd
(svn r17705) -Fix: [OSX] Re-enable signal handling on OSX 10.3.9. Trying to link with an undefined symbols that lives in the system library seems to confuse the loader on 10.3.9. Use a different function to circumvent it.
2009-10-04 21:08:25 +00:00
michi_cc
e2ef24919e
(svn r17704) -Codechange: [OSX] Improve detection of OS X version. (planetmaker)
2009-10-04 20:53:30 +00:00
michi_cc
10ca710e98
(svn r17702) -Change: [OSX] Assure that the minimal OSX version is defined in all cases.
...
-Codechange: [OSX] Improve conditional defines for OS version dependant code.
2009-10-04 20:53:22 +00:00
smatz
6c7f8fc8b4
(svn r17701) -Codechange: don't start line with a space if it's not inside comment
2009-10-04 20:51:50 +00:00
frosch
b243f6ca97
(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.
2009-10-04 20:33:18 +00:00
rubidium
5ff6053326
(svn r17699) -Codechange: move #ifdef ENABLE_NETWORK till after the 'generic' includes so compilation without network support doesn't get broken as easily by changes in header files
2009-10-04 20:00:56 +00:00
frosch
1ee5520854
(svn r17698) -Fix (r17140) [FS#3205]: Convert endian after loading sounds from file.
2009-10-04 18:52:34 +00:00
rubidium
e7fb5f00e7
(svn r17697) -Codechange: coding style in the automatically generated squirrel wrapper code
2009-10-04 18:16:44 +00:00
rubidium
54806e7437
(svn r17696) -Fix (r17693): compile failure when compiling without freetype
2009-10-04 18:13:56 +00:00
translators
b2f50e79b2
(svn r17695) -Update from WebTranslator v3.0:
...
frisian - 37 changes by Minifan
hebrew - 133 changes by dnd_man
hungarian - 2 changes by alyr
thai - 66 changes by ityellow
vietnamese - 12 changes by nglekhoi
2009-10-04 17:45:14 +00:00
smatz
854af7d70f
(svn r17694) -Codechange: don't break $ to two lines in squirrel_export.awk
2009-10-04 17:26:43 +00:00
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
2009-10-04 17:16:41 +00:00
smatz
32cbe57178
(svn r17692) -Codechange: minor coding style fixes
2009-10-04 17:10:57 +00:00
rubidium
1666f7a1a9
(svn r17691) -Codechange: make the status bar nested
2009-10-04 15:38:16 +00:00
smatz
5c2fb2f8c1
(svn r17690) -Fix: minor coding style issue
2009-10-04 14:49:39 +00:00
glx
1e665c7639
(svn r17689) -Fix (r16307): depend could segfault in some case (TrueBrain)
2009-10-04 12:17:10 +00:00
smatz
c344ae2e1d
(svn r17688) -Fix (r17684): incorrect comments
2009-10-04 04:57:01 +00:00
translators
de798c5ae9
(svn r17687) -Update from WebTranslator v3.0:
...
traditional_chinese - 8 changes by josesun
polish - 14 changes by amateja
spanish - 1 changes by Terkhen
vietnamese - 40 changes by nglekhoi
2009-10-03 17:45:16 +00:00
rubidium
f76ef2f6ce
(svn r17686) -Fix [FS#3247]: make the -c <config file> location relative to the current directory instead of the directory of the binary
2009-10-03 14:51:30 +00:00
rubidium
afed4330da
(svn r17685) -Fix: autounpausing kept trying to unpause a loaded game that was paused due to an error. Just reject such savegames in dedicated servers.
2009-10-03 14:48:12 +00:00
frosch
12a814f487
(svn r17684) -Fix: tcache.first_engine and rcache.first_engine need to be set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
2009-10-03 14:46:48 +00:00
translators
539f31f76c
(svn r17683) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
korean - 9 changes by telk5093
portuguese - 1 changes by SupSuper
brazilian_portuguese - 153 changes by Tucalipe
2009-10-02 17:45:17 +00:00
rubidium
e9624fe0cc
(svn r17682) -Codechange: remove erroneous space before some commas
2009-10-02 15:13:15 +00:00
rubidium
9c6157c578
(svn r17681) -Fix [FS#3248] (r17668): crash when the caption of the query window used parameters
2009-10-02 15:06:14 +00:00
translators
6cd143ea7b
(svn r17680) -Update from WebTranslator v3.0:
...
dutch - 1 changes by habell
brazilian_portuguese - 42 changes by Tucalipe
2009-10-01 17:45:10 +00:00
rubidium
6e6af43d77
(svn r17676) -Codechange: make the NewGRF GUI nested
2009-09-30 21:49:24 +00:00
rubidium
a96d161b00
(svn r17675) -Codechange: move the 'state' changes out of the OnPaint of the newgrf window
2009-09-30 21:11:29 +00:00
rubidium
c847f5c04e
(svn r17674) -Codechange: replace SetDirty + OnInvalidateData with InvalidateData (which does the same). Also call InvalidateData in a few cases where that was actually meant.
2009-09-30 21:07:54 +00:00
rubidium
0032405093
(svn r17673) -Codechange: make InvalidateThisWindowData a function of the window class
2009-09-30 21:00:35 +00:00
frosch
2fa312aab9
(svn r17672) -Revert (r8081): 'last_value' and 'reseed' are shared between procedure and main chain.
...
-Fix (r8075): 'scope' and 'count' are not.
2009-09-30 20:25:59 +00:00
frosch
3863742c72
(svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them.
2009-09-30 18:54:33 +00:00
frosch
d8eec0ebf0
(svn r17670) -Cleanup (r12819): ResolverObject::procedure_call is not used anymore.
2009-09-30 18:36:18 +00:00
translators
6a03335a0e
(svn r17669) -Update from WebTranslator v3.0:
...
simplified_chinese - 1 changes by Gavin
traditional_chinese - 7 changes by josesun
english_US - 4 changes by agenthh
hebrew - 9 changes by dnd_man
russian - 1 changes by Lone_Wolf
2009-09-30 17:45:20 +00:00
yexo
5fbb263bd2
(svn r17668) -Codechange: Query window uses nested widgets
2009-09-30 15:14:34 +00:00
rubidium
124e543b1d
(svn r17667) -Fix [FS#3245]: autopause tried to (un)pause the server every tick when the pause command only gets processed once every frame_freq ticks. So it would spam the console with duplicate attempts.
2009-09-30 13:32:39 +00:00
rubidium
5028e3536b
(svn r17665) -Codechange: make the extra viewport window nested
2009-09-29 20:16:03 +00:00
translators
2692a86312
(svn r17664) -Update from WebTranslator v3.0:
...
esperanto - 1 changes by raskolnik
finnish - 1 changes by jpx_
indonesian - 1 changes by prof
italian - 1 changes by lorenzodv
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
slovak - 18 changes by JamesSVK
spanish - 1 changes by Terkhen
ukrainian - 1 changes by Madvin
2009-09-29 17:45:30 +00:00
frosch
3ddf4d2c2b
(svn r17663) -Change: [NewGRF] Apply default refitmasks only when the NewGRF did not set any of the three refittability properties (xor mask, positive classes, negative classes).
2009-09-28 19:24:20 +00:00
rubidium
252096fe3c
(svn r17662) -Codechange: make the sign edit window nested
2009-09-28 19:12:15 +00:00
translators
77e8fa46b6
(svn r17661) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
esperanto - 25 changes by raskolnik
french - 1 changes by glx
german - 1 changes by dihedral
serbian - 1 changes by etran
vietnamese - 3 changes by nglekhoi
2009-09-28 17:45:21 +00:00
glx
57252e5225
(svn r17660) -Fix: StringID typo
2009-09-28 14:15:23 +00:00
rubidium
cc3ef246fd
(svn r17659) -Codechange: remove the last custom drawing from the signal GUI
2009-09-28 13:42:47 +00:00
rubidium
4347758e48
(svn r17658) -Codechange: remove custom drawing of the signal density in the signal GUI
...
-Codechange: move the state updates from OnPaint
2009-09-28 12:38:35 +00:00
rubidium
d74216b7fe
(svn r17657) -Fix [FS#3242]: some semaphore signals fell outside of the signal GUI. Now the signals are properly centered which should make that problem go away
2009-09-28 12:19:15 +00:00
rubidium
1bc18905d7
(svn r17656) -Change: typo in function name. Also document the parameter (Terkhen)
2009-09-27 18:36:05 +00:00
translators
7b46347bb1
(svn r17655) -Update from WebTranslator v3.0:
...
english_US - 38 changes by agenthh
portuguese - 9 changes by SupSuper
2009-09-27 17:45:11 +00:00
rubidium
09124e2186
(svn r17654) -Fix [FS#3220] (r17612): the edit box of the town fund window wasn't updated properly (based on patch of Terkhen)
2009-09-27 10:44:25 +00:00
alberth
8a21979b42
(svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot window should adapt to differences in height.
2009-09-27 08:49:42 +00:00
alberth
4130ae0dfa
(svn r17652) -Codechange: Merging/renaming the depot block-size functions.
2009-09-27 08:28:49 +00:00
rubidium
73ffd2b178
(svn r17651) -Fix [FS#3238] (r17644): crashes when commands related to company settings where done
2009-09-26 22:37:44 +00:00
alberth
dd108f2399
(svn r17650) -Codechange: Checking a condition once is enough.
2009-09-26 19:26:08 +00:00
alberth
f7120de1f7
(svn r17649) -Codechange: Depot gui uses pure nested widgets.
2009-09-26 19:21:20 +00:00
alberth
16dcc64540
(svn r17648) -Codechange: Move type initialization and widget disabling to the constructor.
2009-09-26 18:47:41 +00:00
alberth
9c3722f31c
(svn r17647) -Codechange: Moving widget array access to outside the function.
2009-09-26 18:15:35 +00:00
rubidium
812ba03058
(svn r17646) -Fix (r17644): GCC 4.4/4.5 compile failure
2009-09-26 17:50:10 +00:00
translators
870af9695a
(svn r17645) -Update from WebTranslator v3.0:
...
traditional_chinese - 10 changes by josesun
russian - 1 changes by Lone_Wolf
vietnamese - 26 changes by nglekhoi
2009-09-26 17:45:12 +00:00
rubidium
ac99610a05
(svn r17644) -Fix [FS#3219]: some inconsistencies with the difficulty settings in the scenario editor. Also re-enable changing some difficulty settings (e.g. max loan) in the scenario editor.
2009-09-26 17:43:06 +00:00
alberth
a47138ad34
(svn r17643) -Codechange: Code style for variables in depot gui.
2009-09-26 16:06:54 +00:00
rubidium
06040213b4
(svn r17642) -Change: make a comment more clear (Eddi)
2009-09-26 12:30:30 +00:00
rubidium
2b61d49f30
(svn r17641) -Codechange: remove the {N:...} that's not needed anymore since the currency window is nested.
2009-09-26 10:06:48 +00:00
rubidium
02bf984273
(svn r17640) -Codechange: make the custom currency window nested
2009-09-26 10:01:53 +00:00
rubidium
862754d36d
(svn r17639) -Codechange: let the difficulty settings GUI make really use the nested widget features
2009-09-26 08:30:02 +00:00
rubidium
22c4ef6aee
(svn r17638) -Fix [FS#3235]: Crash when trying to build an industry that has no industry layout defined; yes, it's very similar to r17633 because one case was forgotten.
2009-09-25 21:08:45 +00:00
rubidium
025876aa25
(svn r17637) -Codechange: move the game difficulty window's window/widget description below the window class
2009-09-25 19:42:57 +00:00
rubidium
2080c0990c
(svn r17636) -Codechange: make the difficulty setting window nested
2009-09-25 19:36:09 +00:00
rubidium
3f600bba24
(svn r17635) -Codechange: make the chat gui nested
2009-09-25 18:15:41 +00:00
translators
99881a1c9b
(svn r17634) -Update from WebTranslator v3.0:
...
simplified_chinese - 6 changes by Gavin
finnish - 8 changes by jpx_
german - 2 changes by Roujin
romanian - 49 changes by kkmic
ukrainian - 51 changes by Madvin
vietnamese - 92 changes by nglekhoi
2009-09-25 17:45:21 +00:00
rubidium
36e70b57ee
(svn r17633) -Fix [FS#3233]: [NewGRF] Crash when trying to build an industry that has no industry layout defined.
2009-09-25 09:32:20 +00:00
translators
d378dc0d3b
(svn r17628) -Update from WebTranslator v3.0:
...
danish - 2 changes by beruic
german - 5 changes by dihedral
thai - 119 changes by ityellow
2009-09-24 17:45:12 +00:00
yexo
52f2359edd
(svn r17627) -Document [FS#3216]: The remaining functions in info.nut
2009-09-23 22:15:57 +00:00
alberth
53188cd528
(svn r17626) -Codechange: Use Dimension structs instead of array of length 2 for storing horizontal/vertical information.
2009-09-23 20:48:30 +00:00
rubidium
4b7e2ff704
(svn r17625) -Codechange: make a nested window of the station joiner
2009-09-23 20:14:59 +00:00
alberth
39c14f9044
(svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does what the docs say.
2009-09-23 19:57:56 +00:00
rubidium
2d03e0af5d
(svn r17623) -Codechange: don't update the station's joiner scrollbar count in the drawing code
2009-09-23 19:41:25 +00:00
translators
244923a18d
(svn r17622) -Update from WebTranslator v3.0:
...
catalan - 8 changes by arnau
dutch - 5 changes by habell
english_US - 9 changes by agenthh
french - 5 changes by glx
indonesian - 5 changes by prof
italian - 5 changes by lorenzodv
russian - 1 changes by Lone_Wolf
serbian - 5 changes by etran
turkish - 6 changes by niw3
2009-09-23 17:45:31 +00:00
rubidium
6032f406ad
(svn r17621) -Document [FS#3216]: most of the functions an AI can/must use in their instantiation of AIInfo.
2009-09-23 16:07:17 +00:00
rubidium
a848fda880
(svn r17620) -Fix (r17502): edit box offsets were off. Now they're still off, but look (in my opinion) even better than before
2009-09-23 15:42:29 +00:00
glx
92c4831bf2
(svn r17619) -Fix: rename STR_TINT_GROUP to STR_TINY_GROUP
2009-09-23 13:25:00 +00:00
rubidium
b3c5c8cadb
(svn r17618) -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset
2009-09-22 21:14:31 +00:00
rubidium
7d24e84a81
(svn r17617) -Codechange: make the server side packet handling be more like the client side's handling, i.e. return the connection status
...
-Fix: do not do invalid reads when a packet handling function closed a connection
2009-09-22 20:44:14 +00:00
frosch
e261d8d9a0
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
2009-09-22 19:28:57 +00:00
smatz
8f45efa8dd
(svn r17615) -Fix (r17612): town sign could be glitchy when creating town with custom name (Terkhen)
2009-09-22 18:55:15 +00:00
smatz
de96f4d309
(svn r17614) -Fix: crash when deleting town while TownDirectory is open
2009-09-22 18:50:58 +00:00
translators
cc5acdf304
(svn r17613) -Update from WebTranslator v3.0:
...
traditional_chinese - 107 changes by josesun
dutch - 12 changes by habell
french - 3 changes by glx
german - 1 changes by dihedral
hungarian - 6 changes by alyr
indonesian - 1 changes by prof
italian - 6 changes by lorenzodv
russian - 7 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 8 changes by Terkhen
2009-09-22 17:45:35 +00:00
smatz
1da745c9ad
(svn r17612) -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
2009-09-22 13:54:54 +00:00
smatz
665864e5b0
(svn r17611) -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives
2009-09-22 12:42:56 +00:00
yexo
3a7da30922
(svn r17609) -Fix: the dummy AI had no API version set, causing the 'API compatibility script not found' error to be printed when loading it
2009-09-22 11:10:04 +00:00
smatz
93d275f1be
(svn r17608) -Codechange: use CmdFoundTown when founding 'Random town' too
2009-09-21 20:22:56 +00:00
smatz
0a6e336484
(svn r17607) -Fix: when command didn't fail in test run and failed in exec run, error message wasn't set. Affects only few commands
2009-09-21 19:40:05 +00:00
rubidium
01ab1c6001
(svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet)
2009-09-21 18:36:33 +00:00
rubidium
3dd202ba1c
(svn r17605) -Fix [FS#3218]: [NewGRF] Crash when defining the same tile in a tile layout twice
2009-09-21 18:31:47 +00:00
smatz
9da24054b2
(svn r17604) -Update (r17603): rename strings in other lang files too
2009-09-21 18:18:01 +00:00
smatz
15511678e3
(svn r17603) -Codechange: since now, towns are 'founded' instead of 'built'
2009-09-21 18:16:00 +00:00
translators
60a13f49bd
(svn r17602) -Update from WebTranslator v3.0:
...
english_US - 2 changes by agenthh
russian - 1 changes by Lone_Wolf
vietnamese - 6 changes by nglekhoi
2009-09-21 17:45:12 +00:00
smatz
494ef040e5
(svn r17601) -Fix (r17592): don't mark cargo as 'accepted' when accepted amount is 0
2009-09-21 17:24:21 +00:00
smatz
8a003eb197
(svn r17600) -Cleanup: remove unused variable
2009-09-21 17:06:19 +00:00
smatz
662ef3173b
(svn r17597) -Codechange: rename namegen* to townname*
2009-09-21 11:01:16 +00:00
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
2009-09-20 23:11:01 +00:00
alberth
e07efc2370
(svn r17595) -Codechange: Tree build window uses pure nested widgets.
2009-09-20 21:09:27 +00:00
frosch
7fa4d576ca
(svn r17594) -Fix: Vehicle image was not always updated when needed.
2009-09-20 19:36:27 +00:00
yexo
bbce4fba25
(svn r17593) -Fix (r17591): as always after a noai commit ...
2009-09-20 19:01:38 +00:00
smatz
9cf2e92159
(svn r17592) -Fix [FS#3212](r17436): force all cargo being accepted when industry tiles accept it but industry itself doesn't
2009-09-20 18:52:12 +00:00
yexo
12ef0046dd
(svn r17591) -Add [NoAI] [FS#3212]: AIAirport::IsAirportInformationAvailable. Also update several preconditions so it's now possible to get information on airports types that can no longer be build (small airport after 1960)
2009-09-20 18:38:43 +00:00
translators
64ed7cc8de
(svn r17590) -Update from WebTranslator v3.0:
...
turkish - 4 changes by niw3
vietnamese - 78 changes by nglekhoi
2009-09-20 17:45:09 +00:00
smatz
9225b3ba03
(svn r17589) -Codechange: rename town_acc to always_accepted
2009-09-20 17:44:33 +00:00
rubidium
2049d60e34
(svn r17588) -Fix [FS#3220]: erroneous message about changing the difficulty level
2009-09-20 17:19:45 +00:00
alberth
bae15616f7
(svn r17587) -Codechange: Town authority window uses pure nested widgets.
2009-09-20 14:46:15 +00:00
alberth
46cd3ee944
(svn r17586) -Codechange: Adding documentation, and replacing some numbers with constants in the town authority window.
2009-09-20 10:25:03 +00:00
rubidium
a8c80a5afc
(svn r17585) -Fix [FS#3214]: also do the StringID conversion for StringIDs that are pushed on the (NewGRF string) stack
2009-09-20 10:22:27 +00:00
rubidium
47bd3ee4ba
(svn r17584) -Codechange: split the NewGRF StringID mapping in a 'global' part and a part that's for NewGRF strings
2009-09-20 10:21:00 +00:00
rubidium
9d0b10ccda
(svn r17583) -Change: make SDL's video driver more likely to be loaded than Allegro's video driver; SDL seems to perform better.
2009-09-20 10:19:13 +00:00
alberth
17a52eb852
(svn r17582) -Codechange: Move TownActions and _town_action_costs[] to a header file to allow sharing.
2009-09-20 10:08:10 +00:00
translators
9ba9e31495
(svn r17581) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
russian - 1 changes by Lone_Wolf
vietnamese - 104 changes by nglekhoi
2009-09-19 17:45:13 +00:00
alberth
f7f2d1caa5
(svn r17580) -Fix (r17541): Fix signed/unsigned mismatch with MSVC 2008.
2009-09-19 16:22:49 +00:00
rubidium
ca91a97826
(svn r17579) -Fix: remove doxygen docs for removed parameters, or change @param to @tparam if necessary
2009-09-19 15:17:47 +00:00
alberth
89df436f84
(svn r17578) -Fix (r17572): Some compilers don't like default function template arguments.
2009-09-19 14:41:43 +00:00
alberth
1497cf7e01
(svn r17577) -Codechange: Order window uses pure nested widgets.
2009-09-19 13:57:02 +00:00
rubidium
4ee9de96fd
(svn r17576) -Fix [FS#3208]: assertion triggered when the second vehicle in a 101+ (or 11+ if mammoth trains is disabled) vehicle free wagon chain is an engine and the first vehicle is moved to another chain
2009-09-19 13:55:37 +00:00
alberth
8d7498b82c
(svn r17575) -Codechange: Adding a new combined button+dropdown widget.
2009-09-19 13:08:37 +00:00
alberth
86395277d3
(svn r17574) -Fix (r17573): Insert NWID_SELECTION in nested_array when appropriate.
2009-09-19 12:52:49 +00:00
alberth
ceab116065
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
2009-09-19 11:55:44 +00:00
alberth
116c77c342
(svn r17572) -Codechange: Use the Window::GetWidget() function to access nested widgets through the nested_array.
2009-09-19 11:31:12 +00:00
rubidium
9d7fe9bd86
(svn r17571) -Fix [FS#3213] (r17569): town view didn't show the right town in most of the cases
2009-09-19 10:19:15 +00:00
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
2009-09-19 09:51:14 +00:00
alberth
fa33b92b0f
(svn r17569) -Codechange: Town view window runs with nested widgets.
2009-09-18 19:59:05 +00:00
translators
340c138e83
(svn r17568) -Update from WebTranslator v3.0:
...
romanian - 28 changes by kkmic
russian - 7 changes by Lone_Wolf
vietnamese - 53 changes by nglekhoi
2009-09-18 17:45:12 +00:00
rubidium
04d5b67eb6
(svn r17567) -Fix: some doxygen warnings
2009-09-18 14:23:58 +00:00
rubidium
e5755bd950
(svn r17566) -Fix: ai_basestation.hpp.sq linked to the wrong header; it did work though
2009-09-18 14:23:39 +00:00
rubidium
5557d2a224
(svn r17563) -Fix: memory leak when viewing the NewGRF settings of a server
2009-09-17 21:45:47 +00:00
rubidium
55c0109ee0
(svn r17562) -Fix [FS#2972]: the NewGRF settings of (remote) network games did not get properly updated when the NewGRFs were rescanned causing reading of freed data
2009-09-17 21:14:16 +00:00
smatz
1858fef92f
(svn r17561) -Fix: diacritics was missing at few places
2009-09-17 18:56:31 +00:00
translators
e6f3dc777f
(svn r17560) -Update from WebTranslator v3.0:
...
finnish - 94 changes by Tve4
german - 1 changes by dihedral
latvian - 3 changes by LDZ
turkish - 3 changes by niw3
vietnamese - 48 changes by nglekhoi
2009-09-17 17:45:18 +00:00
rubidium
1f1161f10d
(svn r17559) -Fix [FS#3206]: close the "Add NewGRF" window when you close the "NewGRF Settings" window. The add window has a pointer to the settings which means that not deleting it would cause dereferencing an already freed pointer
2009-09-17 12:34:00 +00:00
rubidium
430ce19418
(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
2009-09-16 19:10:50 +00:00
alberth
24e9ee8ab4
(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().
2009-09-16 19:00:53 +00:00
translators
5fe3097a6b
(svn r17555) -Update from WebTranslator v3.0:
...
czech - 4 changes by SmatZ
hebrew - 47 changes by dnd_man
italian - 1 changes by lorenzodv
russian - 3 changes by Lone_Wolf
vietnamese - 71 changes by nglekhoi
2009-09-16 17:45:17 +00:00
rubidium
962598451b
(svn r17553) -Update: some documentation about the callbacks
2009-09-16 10:10:12 +00:00
rubidium
af457fc9fe
(svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used.
2009-09-15 20:58:44 +00:00
rubidium
e9ae22d2c5
(svn r17551) -Fix [FS#3201] (r17222): vehicles waiting for their time table didn't load anymore after their initial load was completed
2009-09-15 20:13:47 +00:00
frosch
28f759f905
(svn r17550) -Fix (r8973): Aircraft are good enough, don't make them even better.
2009-09-15 19:56:41 +00:00
frosch
c254021af4
(svn r17549) -Fix (r17128): Distance limit for town to town subsidies got lost.
2009-09-15 18:47:42 +00:00
translators
142089b3f5
(svn r17548) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
simplified_chinese - 1 changes by Gavin
english_US - 1 changes by agenthh
french - 1 changes by glx
greek - 17 changes by fumantsu
hebrew - 55 changes by dnd_man
indonesian - 1 changes by prof
russian - 26 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 2 changes by Terkhen
vietnamese - 138 changes by nglekhoi
2009-09-15 17:45:35 +00:00
rubidium
23252c99bb
(svn r17547) -Feature: [NewGRF] Implement callback 145 (custom station rating)
2009-09-15 17:24:18 +00:00
rubidium
ac36433b52
(svn r17546) -Fix (r9617): sign extending of profit calculation didn't work
2009-09-15 17:23:24 +00:00
rubidium
f2487381ce
(svn r17545) -Fix [FS#3202]: [NoAI] AIs had 'infinite' time when running code from the global scope
2009-09-15 16:18:10 +00:00
rubidium
227824f753
(svn r17544) -Fix [FS#3202]: [NoAI] Crash when doing commands in the 'global' scope
2009-09-15 16:16:28 +00:00
rubidium
4dfef325ce
(svn r17543) -Fix [FS#3200]: allegro's sound output was worse than excepted
2009-09-14 22:48:34 +00:00
yexo
5ef54ed4f9
(svn r17542) -Fix: don't access variables in the company struct after it has been deleted
...
-Cleanup: remove some never-used code
2009-09-14 22:09:50 +00:00
frosch
2d9c54c9a8
(svn r17541) -Feature: Filtering in Add-NewGRF dialog.
2009-09-14 20:59:46 +00:00
smatz
95dd198053
(svn r17540) -Codechange: move functionality of PlaceProc_Town() to FoundTownWindow::OnPlaceObject()
2009-09-14 20:40:07 +00:00
frosch
bc8557d5c0
(svn r17539) -Codechange: Replace a magic number.
2009-09-14 20:24:17 +00:00
frosch
2773865cd6
(svn r17538) -Codechange: Rename STR_CONTENT_FILTER_(OSKTITLE|TOOLTIP) for more general usage.
2009-09-14 20:15:29 +00:00
smatz
d6f4cda74e
(svn r17537) -Fix: don't crash while printing gamelog in crash handler if we crashed before while gamelog action was active
2009-09-14 19:30:13 +00:00
translators
8deb7efcc7
(svn r17536) -Update from WebTranslator v3.0:
...
english_US - 4 changes by agenthh
hungarian - 3 changes by alyr
russian - 64 changes by Lone_Wolf
vietnamese - 23 changes by nglekhoi
2009-09-14 17:45:14 +00:00
rubidium
14ea4e7672
(svn r17535) -Fix: compiling without networking failed; also unhackify the crash logger a bit.
2009-09-14 15:53:19 +00:00
rubidium
64bafcbe18
(svn r17534) -Codechange: unify the naming of callback masks/flags
2009-09-14 12:22:57 +00:00
smatz
d96333b7c3
(svn r17533) -Fix: missing 'const'
2009-09-13 23:30:29 +00:00
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
2009-09-13 19:15:59 +00:00
rubidium
5de9cc46b5
(svn r17531) -Fix: wrong @file for ai_basestation.hpp
2009-09-13 17:58:00 +00:00
rubidium
17313b6e3f
(svn r17530) -Codechange: use QSortT instead of qsort for sorting EngineIDs
2009-09-13 17:47:07 +00:00
translators
e4809052c3
(svn r17529) -Update from WebTranslator v3.0:
...
finnish - 81 changes by jpx_
greek - 207 changes by fumantsu
portuguese - 5 changes by SupSuper
vietnamese - 55 changes by nglekhoi
2009-09-13 17:45:15 +00:00
rubidium
ca7f6f5d7a
(svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems
2009-09-13 17:39:33 +00:00
rubidium
67448246d3
(svn r17527) -Codechange: use QSortT instead of qsort for sorting smallmaps
2009-09-13 17:38:49 +00:00
rubidium
45e3141444
(svn r17526) -Codechange: use QSortT instead of qsort for sorting the language list in the network GUI
2009-09-13 17:38:07 +00:00
frosch
734edc178d
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
2009-09-13 17:37:47 +00:00
rubidium
53cc397607
(svn r17524) -Codechange: use QSortT instead of qsort for sorting NewGRFs
2009-09-13 17:36:50 +00:00
frosch
ba97964af8
(svn r17523) -Fix (r17514): InvalidateWindowClasses() only does SetDirty(), which is no longer enough.
2009-09-13 16:43:16 +00:00
frosch
0c8c208569
(svn r17522) -Fix: Scroll to selected content after sorting the list and after updating the scrollbar maximum.
2009-09-13 14:50:52 +00:00
rubidium
d0836f9ec8
(svn r17521) -Change: don't assume that there is always 'another' industry tile after two '0x18' industry tiles
2009-09-13 10:58:41 +00:00
rubidium
50e424ba24
(svn r17518) -Document: some of the callback 'masks'
2009-09-13 07:48:47 +00:00
rubidium
afc7f576f7
(svn r17515) -Fix [FS#3189]: [Squirrel] In some cases the call stack would not be cleaned up properly during crash handling. Occasionally this causes asserts to be triggered or crashes.
2009-09-12 20:31:41 +00:00
frosch
e720d23d86
(svn r17514) -Codechange: Nestify Add-NewGRF dialog.
2009-09-12 18:40:02 +00:00
translators
30e0c4f0e8
(svn r17513) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
simplified_chinese - 39 changes by EraserKing
dutch - 18 changes by habell
greek - 55 changes by fumantsu
indonesian - 60 changes by prof
vietnamese - 7 changes by nglekhoi
2009-09-12 17:45:19 +00:00
rubidium
9894e025a4
(svn r17512) -Add: some basic information about the loaded AIs in the crash log
2009-09-12 17:32:24 +00:00
frosch
d0de94be99
(svn r17511) -Codechange: Simplify ShowNewGRFInfo() by passing 'right' instead of 'width'.
2009-09-12 17:17:07 +00:00
frosch
5c59ed2011
(svn r17510) -Fix [FS#3197]: When loading GRFConfigs from ini file, validate them wrt. duplicate GRF IDs.
2009-09-12 14:40:26 +00:00
rubidium
4c65a04a50
(svn r17509) -Fix [FS#3196]: if building a part fails during cloning, sell what was already cloned instead of leaving it 'for free'
...
-Fix: make cloning multiheaded trains possible with with 'max - 1' vehicles existing
2009-09-12 14:37:29 +00:00
rubidium
c60cebd4bb
(svn r17508) -Fix [FS#3195] (r16859): join station window didn't get updated when stations were removed from the pool
2009-09-12 12:56:49 +00:00
alberth
461556e2c0
(svn r17507) -Codechange: Make some methods of the OrdersWindow non-static.
2009-09-12 10:25:23 +00:00
rubidium
1dc2284e0c
(svn r17506) -Fix [FS#3191]: signs partly drawn out of the rectangle in 4/8x zoom out.
2009-09-11 22:21:54 +00:00
alberth
a10d841970
(svn r17505) -Codechange: WWT_EMPTY is not a special case any more for invalidating widgets.
2009-09-11 19:26:44 +00:00
alberth
afe190a216
(svn r17504) -Codechange: un-inlining SetFocusedWidget() as it is not often used.
2009-09-11 19:12:05 +00:00
alberth
e1ae20a307
(svn r17503) -Fix (r17502): Save all files before commit.
2009-09-11 18:54:33 +00:00
alberth
669b7d01ac
(svn r17502) -Codechange [FS#3184]: Extend QueryStringBaseWindow to support windows with nested widgets (by Terkhen with a few tweaks).
2009-09-11 18:52:56 +00:00
translators
4cb6451507
(svn r17501) -Update from WebTranslator v3.0:
...
catalan - 20 changes by arnau
traditional_chinese - 19 changes by josesun
2009-09-11 17:45:10 +00:00
yexo
8ef7b80719
(svn r17500) -Fix (r16502): The wrong value was restored to SetAllowDoCommand possible resulting in an AI that wasn't allowed to do any actions
2009-09-11 17:18:06 +00:00
yexo
c9a25c88fa
(svn r17499) -Fix (r17498): remove 2 unused functions so some compilers stop warning about them
2009-09-10 23:14:21 +00:00
yexo
ca6c4ee98a
(svn r17498) -Add [NoAI]: Enable the squirrel std math library
2009-09-10 20:19:12 +00:00
frosch
6175ee0fa4
(svn r17497) -Codechange: Macrofy AirportMovingData.
2009-09-10 20:16:29 +00:00
translators
ba2eeaae33
(svn r17496) -Update from WebTranslator v3.0:
...
catalan - 39 changes by arnau
english_US - 2 changes by agenthh
italian - 4 changes by lorenzodv
romanian - 5 changes by kkmic
russian - 3 changes by Lone_Wolf
ukrainian - 42 changes by Madvin
2009-09-10 17:45:22 +00:00
rubidium
860a538adc
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
2009-09-10 14:37:55 +00:00
rubidium
751ea62f44
(svn r17494) -Codechange: improve algorithmic complexitiy of Depot::GetByTile from O(n) to O(1)
2009-09-10 14:36:38 +00:00
rubidium
55ddce8da2
(svn r17493) -Codechange: store the depot index on the map
2009-09-10 14:33:07 +00:00
rubidium
bb94724a09
(svn r17492) -Codechange: don't store the town index for road depots.
2009-09-10 14:27:43 +00:00
rubidium
96e2435aa8
(svn r17491) -Fix [FS#3188]: road vehicles could get lost when the prelimiary destination (for the pathfinder heuristics) is unreachable.
2009-09-09 21:01:45 +00:00
translators
48893c3a97
(svn r17490) -Update from WebTranslator v3.0:
...
dutch - 47 changes by habell
english_US - 1 changes by agenthh
french - 4 changes by glx
german - 4 changes by Roujin, planetmaker
indonesian - 6 changes by prof
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
spanish - 13 changes by Terkhen
turkish - 3 changes by niw3
2009-09-09 17:45:30 +00:00
rubidium
e179a72d67
(svn r17489) -Fix [FS#3187] (r17471): the tooltip said the inverse of what actually happened
2009-09-09 16:28:29 +00:00
rubidium
324389cf0b
(svn r17488) -Feature [FS#2339]: add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off'.
2009-09-09 15:11:46 +00:00
rubidium
a807026336
(svn r17487) -Fix: silence some MSVC warnings
2009-09-09 12:41:51 +00:00
rubidium
f3f6eaa6dc
(svn r17486) -Add [NoAI]: a vehicle list for all vehicle that are ordered to a specific depot
2009-09-09 09:46:08 +00:00
rubidium
f1cc044a40
(svn r17485) -Change [FS2459]: make the performance ratings harder to exploit; only count profitable vehicles and recently serviced stations.
2009-09-09 08:22:21 +00:00
rubidium
008ffc58dd
(svn r17484) -Fix: squirrel export didn't like one of the casts
2009-09-09 08:04:27 +00:00
yexo
e2122dc7f0
(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing
2009-09-09 00:03:35 +00:00
yexo
4924e4ffba
(svn r17482) -Fix (r17405): helicopters were not able to land anymore on the intercontinental airport
2009-09-08 23:05:28 +00:00
rubidium
b615ae7015
(svn r17481) -Fix (r16998): in cases where the northern most tile of an airport-to-build didn't touch the station you wanted it to join, but another part did, it wouldn't join the airport to the existing station
2009-09-08 22:48:37 +00:00
yexo
37d702b2ce
(svn r17480) -Fix (r17405): fast aircraft could get stuck flyin gin circles trying to reach a certain point
2009-09-08 22:39:19 +00:00
rubidium
99af06dd30
(svn r17479) -Fix: silence compile warning that's only triggered when you're using a broken iconv.
2009-09-08 21:43:47 +00:00
smatz
b52f692c29
(svn r17478) -Document [NoAI]: descibe changes in subsidy logic in AI changelog
2009-09-08 20:34:23 +00:00
translators
58a3023f3e
(svn r17477) -Update from WebTranslator v3.0:
...
afrikaans - 36 changes by Maccie123
catalan - 2 changes by arnau
simplified_chinese - 1 changes by Gavin
english_US - 115 changes by agenthh
french - 2 changes by glx
german - 2 changes by planetmaker
hebrew - 77 changes by dnd_man
indonesian - 2 changes by prof
italian - 33 changes by lorenzodv
portuguese - 32 changes by SupSuper
russian - 6 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 11 changes by Terkhen
2009-09-08 17:45:43 +00:00
glx
458e7876d3
(svn r17475) -Codechange: show path to crash.log and crash.dmp in crash window. Also tells the user where crash.sav is when saving succeeded.
2009-09-08 14:58:15 +00:00
rubidium
472ed0dc76
(svn r17473) -Codechange: use the post destructor for destroying companies too instead of complicating the graph GUI invalidate code.
2009-09-08 12:27:27 +00:00
rubidium
535f71fc13
(svn r17472) -Fix [FS#3182]: industry list was rebuilt too early during industry removal causing the removed industry to be still in the list after removal
2009-09-08 12:22:28 +00:00
rubidium
dcd6b2096d
(svn r17471) -Change: when removing a station or waypoint keep the rail unless Ctrl is pressed. This makes the behaviour consistent between the two.
2009-09-08 10:12:13 +00:00
smatz
8cbcf17421
(svn r17470) -Fix (r17460): possible crash when overbuiling rail by station
2009-09-08 07:16:26 +00:00
rubidium
f40885ec50
(svn r17469) -Change: make the AI compatability wrapper not whine about deprecation (yet), but make it clear that the wrapper is running and what (slight) changes there are w.r.t. to 0.7.
2009-09-07 23:30:31 +00:00
rubidium
bd9670ea47
(svn r17467) -Change: show the client id in join messages at the server (patch by dihedral)
2009-09-07 21:28:16 +00:00
rubidium
673df8c5c7
(svn r17466) -Feature: reconnect console command (based on patch of bilbo)
2009-09-07 21:03:41 +00:00
smatz
2e2d00bee7
(svn r17465) -Codechange: use builtin static_assert() for assert_compile() if available
2009-09-07 21:02:10 +00:00
smatz
434693b838
(svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0
2009-09-07 21:01:24 +00:00
frosch
fe7032a7a6
(svn r17463) -Change (r17453): Retrigger the abort signal after writing the crashlog, so the next one can catch it again (e.g. to write a core dump).
2009-09-07 20:30:45 +00:00
rubidium
ba5e66a763
(svn r17461) -Document: that a certain compiler warning when compiled without asserts in gcc 4.4+ isn't our fault but GCC's. Includes a reference to the appropriate GCC bug report
2009-09-07 20:07:47 +00:00
rubidium
5396d6167b
(svn r17460) -Feature: allow building rail stations over existing rail without signals but will upgrade normal rail to electrified rail if necessary (based on patch by laurijh)
2009-09-07 18:35:38 +00:00
translators
314e4939e4
(svn r17458) -Update from WebTranslator v3.0:
...
simplified_chinese - 1 changes by Gavin
french - 28 changes by glx
german - 16 changes by Roujin, dihedral
hebrew - 77 changes by dnd_man
italian - 3 changes by lorenzodv
russian - 29 changes by Lone_Wolf
serbian - 5 changes by etran
spanish - 39 changes by Terkhen
2009-09-07 17:45:28 +00:00
yexo
ec63a0fc14
(svn r17455) -Codechange: use sprite names instead of magic numbers in table/clear_land.h and change some names
2009-09-07 13:38:57 +00:00
rubidium
d916400521
(svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations
2009-09-07 12:14:45 +00:00
rubidium
46e5625278
(svn r17452) -Fix (r17450): emergency savegames weren't rejected by the crash logger anymore
2009-09-07 12:13:33 +00:00
smatz
4f7caea7fb
(svn r17451) -Fix (r17442): loading of TTO/TTD savegames failed
2009-09-07 12:08:43 +00:00
rubidium
2b144e2ea6
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
2009-09-07 11:10:49 +00:00
rubidium
8186dd616b
(svn r17449) -Fix (r17436): MSVC compile warning about comparing signed and unsigned values
2009-09-07 10:00:14 +00:00
rubidium
b4e5383078
(svn r17448) -Change [FS#2997]: buy vehicles instead of building them; makes it consistent with selling. Based on a patch by planetmaker
2009-09-07 09:09:10 +00:00
rubidium
167d632e16
(svn r17447) -Codechange: rename a local variable so it doesn't collide with the name of a global function
2009-09-07 09:07:56 +00:00
rubidium
1f21a5cb41
(svn r17446) -Codechange: rename BUILD with BUY for strings that are about building (in the future buying) vehicles.
2009-09-07 08:59:43 +00:00
smatz
98e2742863
(svn r17445) -Fix (r17318): force resort after changing sort type in the industry list window
2009-09-07 08:52:01 +00:00
rubidium
1474be7ea7
(svn r17444) -Fix [FS#3173]: when building roads isn't allowed for town, then don't build the initial piece either
2009-09-07 08:36:52 +00:00
rubidium
130781102e
(svn r17443) -Fix (r17442): clear the depot tile after removing the depot in all cases instead of only for ships; makes removing road/rail depots not crash :)
2009-09-07 08:35:45 +00:00