Commit Graph

10991 Commits

Author SHA1 Message Date
smatz
728220ec88 (svn r21531) -Fix: gcc 3.4 warning 2010-12-16 14:03:21 +00:00
smatz
92d54c1e96 (svn r21530) -Fix: remove trailing period from most of English strings 2010-12-15 23:43:39 +00:00
rubidium
95041ad220 (svn r21529) -Doc: update comment after function name change (Krille) 2010-12-15 23:23:30 +00:00
smatz
fb039534e2 (svn r21528) -Add: plural 'genders' for Czech translation 2010-12-15 23:05:00 +00:00
rubidium
efa010c23f (svn r21527) -Fix (r21526, r21525): should ofcourse make sure I fix all wrong strings... 2010-12-15 22:50:44 +00:00
rubidium
f929c8e2cd (svn r21526) -Fix: failure of WT3 to properly validate some strings... 2010-12-15 22:32:38 +00:00
translators
3e9c0c2b33 (svn r21525) -Update from WebTranslator v3.0:
croatian - 7 changes by VoyagerOne
czech - 3 changes by SmatZ
frisian - 19 changes by gjannema
greek - 6 changes by Gonik
hungarian - 5 changes by IPG
italian - 1 changes by lorenzodv
polish - 30 changes by nouwak
romanian - 12 changes by kkmic
spanish - 1 changes by Terkhen
2010-12-15 18:45:30 +00:00
michi_cc
e744b97ec8 (svn r21524) -Fix [FS#4302]: Do not apply the last signal red pathfinder penalty when the signal is a path signal. 2010-12-15 14:33:24 +00:00
terkhen
fc42e98226 (svn r21523) -Fix: Some windows were not updated correctly after a train acceleration model change. 2010-12-15 09:01:04 +00:00
planetmaker
832625bb0e (svn r21522) -Fix: [OSX] Silence a warning when compiling without quartz and quickdraw 2010-12-15 01:30:13 +00:00
terkhen
48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 2010-12-14 21:33:53 +00:00
terkhen
a93944e765 (svn r21520) -Document: Complete the comments of GroundVehicleCache. 2010-12-14 21:31:45 +00:00
terkhen
a4a9274177 (svn r21519) -Codechange: Allow direct access to the GroundVehicleCache from a Vehicle. 2010-12-14 21:31:00 +00:00
terkhen
12c86a1391 (svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache. 2010-12-14 21:28:45 +00:00
terkhen
d6959dcc6b (svn r21517) -Codechange: Add IsGroundVehicle function to the Engine class. 2010-12-14 21:27:30 +00:00
terkhen
79e2b3153d (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 2010-12-14 21:26:03 +00:00
terkhen
96b98b392a (svn r21515) -Codechange: Use cached_total_length where appropiate. 2010-12-14 21:24:51 +00:00
translators
91df711d61 (svn r21514) -Update from WebTranslator v3.0:
belarusian - 5 changes by KorneySan
croatian - 4 changes by VoyagerOne
dutch - 1 changes by habell
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by glx
italian - 4 changes by lorenzodv
russian - 5 changes by KorneySan
serbian - 5 changes by etran
2010-12-14 18:45:34 +00:00
rubidium
b149fcd127 (svn r21513) -Feature [FS#532]: make the chat message timeout user configurable 2010-12-14 15:00:43 +00:00
rubidium
e68efb9e71 (svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused 2010-12-14 14:57:51 +00:00
rubidium
4045429df6 (svn r21511) -Feature: vehicle lost message for ships 2010-12-13 21:56:40 +00:00
rubidium
6bc002ad74 (svn r21510) -Feature [FS#1956]: vehicle lost message for road vehicles 2010-12-13 21:56:25 +00:00
rubidium
b05d2675fc (svn r21509) -Codechange: rename the rail pathfinders "path_not_found" parameter to "path_found" and remove the ! where the variables are set / read 2010-12-13 21:55:59 +00:00
rubidium
6d831906a3 (svn r21508) -Codechange: move the code to handle the pathfinder's "path found" status to a separate function 2010-12-13 21:55:06 +00:00
rubidium
55a0e31c44 (svn r21507) -Update: the other translations 2010-12-13 21:54:27 +00:00
rubidium
3cb75db0d4 (svn r21506) -Codechange: rename the train/vehicle lost warning strings to be more generic 2010-12-13 21:53:54 +00:00
rubidium
e3b391249d (svn r21505) -Change: generalise the lost_train_warning setting to lost_vehicle_warning 2010-12-13 21:53:23 +00:00
rubidium
49a77e89c4 (svn r21504) -Codechange: move the "lost" bit from the train's flags to vehicle flags 2010-12-13 21:52:39 +00:00
translators
a2b50b05c1 (svn r21503) -Update from WebTranslator v3.0:
belarusian - 8 changes by KorneySan
bulgarian - 155 changes by Wold
croatian - 2 changes by VoyagerOne
dutch - 7 changes by habell
english_US - 4 changes by Rubidium
finnish - 8 changes by USephiroth, jpx_
french - 5 changes by glx
italian - 4 changes by lorenzodv
malay - 4 changes by rionix88
polish - 7 changes by voythas
russian - 2 changes by KorneySan
spanish - 10 changes by Terkhen
2010-12-13 18:45:40 +00:00
rubidium
d2c7f91cbb (svn r21502) -Change/Fix [FS#3991] (r150, r18402): before r18402 a train crash caused 2 "driver" deaths and a flooding 4 (added in r150). In r18402 the counting was merged and the flooding code was taken for counting drivers. Given those numbers were inconsistent (unlike for other vehicles) we better use the real original amount of driver deaths instead of the erroneous amount. 2010-12-13 18:26:09 +00:00
rubidium
20364bcefa (svn r21501) -Fix (rnotlongago): guess what was complaining this time? 2010-12-13 15:34:30 +00:00
rubidium
6892cc8a60 (svn r21500) -Feature [FS#730]: diagonal tile clearing and terraforming. Based on patch by fonsinchen 2010-12-13 15:15:02 +00:00
rubidium
b20e77be92 (svn r21499) -Add: diagonal tile iterator. Based on patch by fonsinchen 2010-12-13 15:13:05 +00:00
rubidium
652e262601 (svn r21498) -Codechange: make the measurement tooltip handle diagonal selection properly 2010-12-13 15:11:03 +00:00
rubidium
959308a243 (svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally 2010-12-13 15:09:59 +00:00
rubidium
2e9108afe9 (svn r21496) -Fix (r21494): ofcourse older GCCs (< 4.3) have something to complain about 2010-12-13 12:52:43 +00:00
rubidium
7ecb00547b (svn r21495) -Codechange: don't hide a local variable 2010-12-13 11:30:22 +00:00
rubidium
a336aacb4f (svn r21494) -Codechange: split the tile iterator in two classes 2010-12-13 11:25:26 +00:00
rubidium
b448b7c98d (svn r21493) -Codechange: don't use the full 32 bits of the level land command to tell whether to raise, lower or keep the level of the first selected tile 2010-12-13 11:21:53 +00:00
rubidium
542254e8ae (svn r21491) -Document: the tile highlight data struct 2010-12-12 23:17:44 +00:00
rubidium
cdd35c6a51 (svn r21490) -Codechange: abstract/encapsulate the map area iterating a bit 2010-12-12 20:58:33 +00:00
rubidium
e0351ab414 (svn r21489) -Codechange: replace the last instances of TILE_LOOP with TILE_AREA_LOOP 2010-12-12 20:11:46 +00:00
rubidium
773b6136a9 (svn r21488) -Codechange: make use of TILE_AREA_LOOP in the tile list AI API 2010-12-12 18:47:08 +00:00
translators
a1a0526aaf (svn r21487) -Update from WebTranslator v3.0:
english_US - 5 changes by Rubidium
finnish - 1 changes by jpx_
french - 5 changes by glx
german - 4 changes by planetmaker
hungarian - 10 changes by IPG
italian - 1 changes by lorenzodv
russian - 6 changes by Lone_Wolf
serbian - 7 changes by etran
slovenian - 9 changes by ntadej
turkish - 13 changes by niw3
2010-12-12 18:45:35 +00:00
rubidium
b5b8a7b5ed (svn r21486) -Codechange: use TILE_AREA_LOOP for station expansion checks as well 2010-12-12 18:23:38 +00:00
rubidium
1123d4790f (svn r21485) -Codechange: use CircularTileSearch to find whether there's a transmitter nearby 2010-12-12 18:18:50 +00:00
rubidium
02451d8af6 (svn r21484) -Codechange: use TILE_AREA_LOOP in CommonRaiseLowerBigLand 2010-12-12 18:05:34 +00:00
rubidium
15b4941401 (svn r21483) -Codechange: make StationRect::ScanForStationTiles make use of TILE_AREA_LOOP. Making use of make makes me making use of my brain to determine whether I make use of tautology, or make use of pleonasm, or make use of both, or even make use of neither 2010-12-12 17:36:34 +00:00
rubidium
67e6ad2a4b (svn r21482) -Codechange: make landscape clearing make use of TILE_AREA_LOOP as well 2010-12-12 17:22:17 +00:00
rubidium
a1d923700f (svn r21481) -Codechange: make rail conversion make use of TILE_AREA_LOOP as well 2010-12-12 17:21:49 +00:00
rubidium
90e247c84d (svn r21480) -Change [FS#4292]: make it possible to start actions that require selecting stuff (landscaping, vehicle cloning, etc) in the viewport while paused. As side-effect you'll get an error message explaining the command can't be executed because the game is paused instead of seemingly nothing happening when you click. Addition side effect of this is that you can make use of the measurement tooltip while paused 2010-12-12 15:20:54 +00:00
frosch
cd7b23b0f4 (svn r21479) -Fix (r9563): Keep transparency for textual stuff in newspaper. 2010-12-12 14:51:26 +00:00
rubidium
15e07279dd (svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille 2010-12-12 14:46:42 +00:00
rubidium
a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
frosch
5910bde583 (svn r21476) -Fix [FS#4299]: DC_FORCE_CLEAR_TILE should only add extra cost for clearing water for stuff which results in water after clearing. 2010-12-12 11:41:15 +00:00
rubidium
0575c8fec9 (svn r21475) -Fix: MSVC's code analyser says DeleteObject shouldn't be called with NULL 2010-12-12 11:34:01 +00:00
rubidium
d332c59a4c (svn r21474) -Fix: some MSVC code analysis warnings in strgen 2010-12-12 01:21:02 +00:00
rubidium
42dc2e63f2 (svn r21473) -Feature [FS#4279]: [NewGRF] Use the station graphics property to determine a fallback for the depot sprites 2010-12-11 23:14:35 +00:00
rubidium
9bc1e35625 (svn r21472) -Fix [FS#4298] (r21459-ish): make sure the query window is only opened once per parent window / callback. 2010-12-11 20:38:37 +00:00
rubidium
293ede7bdf (svn r21471) -Change [FS#4153]: make building aqueducts behave more like building tunnels. They can't be built on flat (or foundationed) tiles, so there is at most one destination tile like there is only one for tunnels 2010-12-11 19:49:44 +00:00
rubidium
7cf40e5d25 (svn r21470) -Codechange: add method to get the distance from the edge in a given direction 2010-12-11 19:48:31 +00:00
translators
ae30f4d010 (svn r21469) -Update from WebTranslator v3.0:
basque - 32 changes by HerrBasque
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 6 changes by planetmaker
italian - 5 changes by lorenzodv
spanish - 5 changes by Terkhen
2010-12-11 18:45:23 +00:00
rubidium
fe841c3d0b (svn r21468) -Change: make sure the end of a bridge is always a valid tile as well, and for aqueducts show "wrong land slope" when that would be more appropriate than "bridge heads not at same height" 2010-12-11 18:28:34 +00:00
alberth
997551c599 (svn r21467) -Doc: Add a few doxygen comments to config file settings code. 2010-12-11 15:14:28 +00:00
rubidium
23369337c1 (svn r21466) -Codechange: make VehicleHasDepotOrders a function of Vehicle. 2010-12-11 13:48:30 +00:00
rubidium
fc70825905 (svn r21465) -Cleanup [FS#4295]: remove some dead code (fonsinchen) 2010-12-11 13:42:01 +00:00
planetmaker
2a62be547a (svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu 2010-12-11 13:38:35 +00:00
rubidium
71e3562f76 (svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and size aren't the same as when they're read. As a check was incorrect. 2010-12-11 13:34:23 +00:00
rubidium
0d32cd3cc8 (svn r21462) -Codechange [FS#3689]: don't do unnecessary cargo reservations in while loading/unloading vehicles. It is only needed when at least one vehicle is loading; all other times it is a waste of effort. Roughly halves the time it takes to perform loading/unloading of vehicles (fonsinchen) 2010-12-11 11:00:42 +00:00
rubidium
834f4f157a (svn r21461) -Feature(tte) [FS#3711]: make it more clear that you're stopping a shared order, and make it possible retain the order list upon unsharing (sbr) 2010-12-11 10:52:45 +00:00
rubidium
b8c9931f75 (svn r21460) -Change [FS#3975]: place the bridge building window under the mouse instead of somewhere randomly on the screen and change the default sort order 2010-12-11 10:10:25 +00:00
planetmaker
9336dccee6 (svn r21459) -Feature(tte) [FS#3217]: Hotkey Ctrl+W for returning to the main menu 2010-12-10 23:38:26 +00:00
rubidium
676a53fb40 (svn r21458) -Fix [FS#4180]: possible crash when news item gets removed at just the wrong moment 2010-12-10 22:39:01 +00:00
rubidium
8faa97c060 (svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror) 2010-12-10 22:32:53 +00:00
yexo
fff4bdecd8 (svn r21456) -Fix: [NewGRF] make sure the parameter for house var 60 is the id of an original house 2010-12-10 22:18:16 +00:00
rubidium
77aa035e4a (svn r21455) -Feature [NewGRF]: selecting of different views of an object 2010-12-10 21:34:36 +00:00
rubidium
5d0da9492e (svn r21454) -Codechange: add support for object variable 48 2010-12-10 21:32:52 +00:00
rubidium
cd6180a46d (svn r21453) -Codechange: add the view of an object to the savegame 2010-12-10 21:32:04 +00:00
rubidium
fdeab92dc7 (svn r21452) -Codechange: read object property 17 (number of views) 2010-12-10 21:30:26 +00:00
rubidium
c1efcb76ca (svn r21451) -Fix (r21449): make sure the matrix's child widget's size is updated with the right widget index 2010-12-10 20:05:20 +00:00
translators
84b4057342 (svn r21450) -Update from WebTranslator v3.0:
romanian - 14 changes by kkmic
ukrainian - 6 changes by Fixer
2010-12-10 18:47:31 +00:00
rubidium
8350642b26 (svn r21449) -Change: make the waypoint window make use the generic "matrix" widget 2010-12-10 17:47:40 +00:00
rubidium
b91ae2483e (svn r21448) -Add: generic widget for creating a scrollable (one direction) and resizable (both directions) area with same sized widgets 2010-12-10 17:47:11 +00:00
rubidium
0848d92af1 (svn r21447) -Add: accessor function to get the direction of a scrollbar 2010-12-10 17:33:50 +00:00
yexo
91b043afbc (svn r21446) -Doc: doxygen comments for some functions in strings.cpp 2010-12-09 21:41:31 +00:00
yexo
74d608a67e (svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
Change: strgen no longer writes the type of a string for a gender choice list
2010-12-09 21:01:50 +00:00
yexo
475ac872c9 (svn r21444) -Codechange: compute the type of elements in the argv string array on the fly and compare it with the type set by strgen 2010-12-09 20:57:52 +00:00
translators
8a194a2b42 (svn r21443) -Update from WebTranslator v3.0:
croatian - 6 changes by VoyagerOne
english_US - 8 changes by Rubidium
german - 9 changes by planetmaker
hungarian - 1 changes by IPG
serbian - 6 changes by etran
2010-12-09 18:45:19 +00:00
rubidium
ee4c152f71 (svn r21442) -Fix [FS#4293] (r21412): don't use the current company for awarding subsidies; it's not quite valid there 2010-12-09 15:19:43 +00:00
yexo
23d8ebba3b (svn r21441) -Codechange: check all accesses to the argv array so a bad NewGRF can 'only' trigger an assert but no longer cause an invalid memory read 2010-12-09 00:16:50 +00:00
yexo
12e0f28229 (svn r21440) -Codechange: pass a pointer to just past the end of the argv array around in FormatString and friends 2010-12-09 00:15:38 +00:00
translators
194d1faa8e (svn r21439) -Update from WebTranslator v3.0:
belarusian - 6 changes by KorneySan
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 7 changes by IPG
italian - 6 changes by lorenzodv
polish - 6 changes by voythas
russian - 6 changes by Lone_Wolf
slovenian - 6 changes by ntadej
spanish - 6 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2010-12-08 18:45:39 +00:00
rubidium
f570285653 (svn r21438) -Fix (r21424): fix triggered an assertion when the build did support networking 2010-12-08 18:21:29 +00:00
rubidium
566174ecc0 (svn r21437) -Fix: Object newgrf debug data table was outdated 2010-12-08 17:51:57 +00:00
yexo
ac0e83a7e2 (svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed 2010-12-08 13:44:01 +00:00
yexo
5c181fe556 (svn r21433) -Fix: [NewGRF] a newgrf with incomplete string codes at the end of a string could cause invalid memory reads 2010-12-07 22:34:30 +00:00
rubidium
ec63b0cf28 (svn r21432) -Cleanup: remove the now obsolete strings as well 2010-12-07 21:14:00 +00:00
rubidium
00d3428edf (svn r21431) -Cleanup: remove the build-while-paused cheat 2010-12-07 21:13:34 +00:00
rubidium
5dbd80ff3c (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 2010-12-07 21:13:00 +00:00
rubidium
0c23b0b3a4 (svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands 2010-12-07 21:12:23 +00:00
rubidium
49162ab39b (svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting 2010-12-07 21:09:30 +00:00
rubidium
e170b1d83e (svn r21427) -Add: helper function to determine whether a command may be executed 2010-12-07 21:08:35 +00:00
rubidium
df410fd7ed (svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused 2010-12-07 21:08:08 +00:00
rubidium
b3eb3b96b9 (svn r21425) -Codechange: add "command types" to all commands 2010-12-07 21:05:27 +00:00
rubidium
0f2402306c (svn r21424) -Fix: CMD_CLEAR_ORDER_BACKUP might not get executed when the user pressed the shift key 2010-12-07 20:45:11 +00:00
rubidium
249d21d3de (svn r21423) -Codechange: replace some magic numbers by slightly less magic numbers 2010-12-07 20:40:50 +00:00
translators
933a4d4825 (svn r21422) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
estonian - 6 changes by Jaanus
italian - 1 changes by lorenzodv
brazilian_portuguese - 41 changes by Tucalipe
russian - 3 changes by KorneySan, Lone_Wolf
thai - 18 changes by kenny
2010-12-07 18:45:22 +00:00
translators
4b90c8b9e8 (svn r21421) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
catalan - 3 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 21 changes by habell
french - 1 changes by glx
irish - 2 changes by tem
korean - 1 changes by junho2813
polish - 2 changes by voythas
romanian - 7 changes by kneekoo
russian - 2 changes by KorneySan
serbian - 25 changes by etran
slovenian - 3 changes by ntadej
ukrainian - 2 changes by Fixer
vietnamese - 2 changes by myquartz, nglekhoi
2010-12-06 18:45:47 +00:00
rubidium
1dfd5c6405 (svn r21420) -Fix: admins were always given the stats of company 0 2010-12-06 14:55:47 +00:00
rubidium
54f3e04590 (svn r21418) -Fix: core.h needs config.h 2010-12-06 11:53:05 +00:00
rubidium
378e233023 (svn r21417) -Fix: ofcourse MSVC x64 has something to complain about 2010-12-05 22:43:56 +00:00
rubidium
ea68039718 (svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes 2010-12-05 22:25:49 +00:00
rubidium
44d1c55347 (svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes 2010-12-05 22:25:36 +00:00
rubidium
5c9c3f1acf (svn r21414) -Codechange: limit town name by amount of characters, not bytes 2010-12-05 22:25:21 +00:00
rubidium
6e69b943d6 (svn r21413) -Codechange: limit sign name by amount of characters, not bytes 2010-12-05 22:25:08 +00:00
rubidium
cf61c2f11f (svn r21412) -Codechange: limit company name by amount of characters, not bytes 2010-12-05 22:24:50 +00:00
rubidium
768da4b48f (svn r21411) -Codechange: limit group name by amount of characters, not bytes 2010-12-05 22:24:34 +00:00
rubidium
ab9cc74ba5 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 2010-12-05 22:24:20 +00:00
rubidium
091263317e (svn r21409) -Codechange: limit depot name by amount of characters, not bytes 2010-12-05 22:24:04 +00:00
rubidium
9a18050646 (svn r21408) -Codechange: limit president name by amount of characters, not bytes 2010-12-05 22:23:50 +00:00
rubidium
66c7f00b60 (svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes 2010-12-05 22:22:54 +00:00
rubidium
bbaa262b0d (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
rubidium
9139a6c858 (svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed 2010-12-05 22:21:13 +00:00
rubidium
440a529701 (svn r21404) -Add: method for getting the length of an Utf8 string in characters 2010-12-05 22:17:25 +00:00
rubidium
7e9b132d04 (svn r21403) -Change: the maximum size of the string argument of a command 2010-12-05 22:17:25 +00:00
translators
1d96ac6ca3 (svn r21402) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
czech - 2 changes by SmatZ
finnish - 2 changes by jpx_
french - 2 changes by glx
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
romanian - 12 changes by kneekoo
spanish - 2 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-12-05 18:45:31 +00:00
rubidium
5f25cdbbd5 (svn r21401) -Fix: ofcourse MSVC x64 has something to complain about... 2010-12-05 15:08:41 +00:00
rubidium
ff8a01fbd2 (svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit 2010-12-05 14:49:46 +00:00
rubidium
216e48cd07 (svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds. 2010-12-05 14:48:39 +00:00
rubidium
02b3bc57d5 (svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately 2010-12-05 14:45:52 +00:00
rubidium
948cffc930 (svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file 2010-12-05 14:44:31 +00:00
rubidium
69766049ce (svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter 2010-12-05 14:43:10 +00:00
rubidium
085c693289 (svn r21395) -Codechange: move the save and load filter's interface to a header 2010-12-05 14:41:34 +00:00
rubidium
5ff58155d1 (svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well 2010-12-05 14:37:54 +00:00
rubidium
da76d2f46f (svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format" 2010-12-05 14:35:55 +00:00
rubidium
97434f0e06 (svn r21392) -Change: prepare the network protocol for getting the file size later in the download process 2010-12-05 14:34:19 +00:00
rubidium
c8e8b0e0a0 (svn r21391) -Update (r21390): the string names in the translations 2010-12-05 14:33:20 +00:00
rubidium
98df56d032 (svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client 2010-12-05 14:32:13 +00:00
terkhen
77cb1b7e06 (svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window. 2010-12-04 22:54:11 +00:00
alberth
fd2f1399d4 (svn r21388) -Feature [FS#4289]: Allow entering of the new year in a text box when cheating the year. 2010-12-04 21:51:02 +00:00
alberth
4a35dafcd2 (svn r21387) -Codechange: Add an enum for cheat numbers. 2010-12-04 21:38:42 +00:00
alberth
2baa9f2c5d (svn r21386) -Codechange: Use updated value to decide year to cheat to, instead of increment/decrement. 2010-12-04 21:36:36 +00:00
alberth
fd1c95342e (svn r21385) -Codechange: Added a missing 'this' prefix, and some documentation to cheat gui code. 2010-12-04 21:25:24 +00:00
rubidium
6a54bf78c6 (svn r21384) -Fix: failure of WT3 to properly validate some string... 2010-12-04 18:48:11 +00:00
translators
eae1457fbe (svn r21383) -Update from WebTranslator v3.0:
belarusian - 7 changes by KorneySan
czech - 1 changes by marek995
german - 1 changes by norbert79
russian - 6 changes by KorneySan
slovak - 1 changes by marek995
spanish - 2 changes by Terkhen
2010-12-04 18:45:22 +00:00
rubidium
e5b456f289 (svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion 2010-12-04 13:04:19 +00:00
rubidium
a0fb4c8a13 (svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun... 2010-12-04 10:08:32 +00:00
rubidium
b7d2d79581 (svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place 2010-12-04 09:56:13 +00:00
rubidium
bf7da9b3a8 (svn r21379) -Codechange: move the actual save code into a separate function 2010-12-04 09:54:38 +00:00
rubidium
a7b9297d20 (svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class 2010-12-04 09:53:43 +00:00
rubidium
1d8d046823 (svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters 2010-12-04 09:52:52 +00:00
rubidium
d1db18757d (svn r21376) -Codechange: generalise ClearMemoryDumper 2010-12-04 09:43:13 +00:00
rubidium
8d81e17acc (svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters 2010-12-04 09:09:29 +00:00
planetmaker
f6aa80c617 (svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines' 2010-12-04 08:38:02 +00:00
rubidium
b250888aa3 (svn r21373) -Codechange: rewrite the game state to memory dumper 2010-12-02 23:08:22 +00:00
yexo
22d0ce0366 (svn r21372) -Cleanup: remove some broken npf debug code 2010-12-02 23:05:48 +00:00
rubidium
d81cee085b (svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable 2010-12-02 22:43:10 +00:00
yexo
3df30280d4 (svn r21370) -Fix: [NewGRF] a grf with an invalid action14 could cause an out of memory error 2010-12-02 19:21:13 +00:00
rubidium
6f549e54b5 (svn r21369) -Fix: don't add object specs that weren't associate with graphics 2010-12-02 18:51:44 +00:00
translators
654f475983 (svn r21368) -Update from WebTranslator v3.0:
german - 1 changes by planetmaker
norwegian_bokmal - 8 changes by mantaray
2010-12-02 18:45:10 +00:00
frosch
6d962a3e35 (svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be. 2010-12-01 21:35:18 +00:00
translators
2dcda5fa8f (svn r21366) -Update from WebTranslator v3.0:
basque - 81 changes by Thadah
marathi - 4 changes by jcravi
vietnamese - 2 changes by nglekhoi
2010-12-01 18:45:09 +00:00
rubidium
fe9db12935 (svn r21364) -Change: increase the default amount of companies, clients and spectators. Furthermore tighten the command execution/queueing limits a bit 2010-11-30 20:06:40 +00:00
rubidium
fd752ca2b0 (svn r21363) -Add: support for limiting the amount of (accepted) incoming data 2010-11-30 20:01:26 +00:00
translators
a0f0f5e2e1 (svn r21362) -Update from WebTranslator v3.0:
slovenian - 28 changes by ntadej
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-30 18:45:12 +00:00
rubidium
31c8ab0ed8 (svn r21361) -Change: make sure the client is listening, or rather receiving, our frames 2010-11-30 14:18:20 +00:00
rubidium
21cf75951c (svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when resolving the image to draw in the buy menu 2010-11-30 14:11:29 +00:00
rubidium
b6c2216749 (svn r21358) -Codechange: make some network function names conform to coding style 2010-11-30 13:38:46 +00:00
rubidium
9c83a8975f (svn r21357) -Codechange: make it possible to resize the packet's buffer 2010-11-30 13:22:29 +00:00
planetmaker
c45d88ea6c (svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu) 2010-11-30 00:15:38 +00:00
translators
283cf61e8c (svn r21354) -Update from WebTranslator v3.0:
english_US - 1 changes by Rubidium
french - 1 changes by glx
italian - 1 changes by lorenzodv
2010-11-29 18:45:14 +00:00
frosch
f2c84e0120 (svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore). 2010-11-29 17:26:47 +00:00
rubidium
c60a850fed (svn r21350) -Fix: some indentation 2010-11-28 22:45:47 +00:00
yexo
dfe8b546ec (svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons 2010-11-28 19:48:13 +00:00
yexo
d81d42bfc3 (svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result 2010-11-28 19:40:35 +00:00
yexo
35af463046 (svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments 2010-11-28 19:39:04 +00:00
translators
9b54d4266b (svn r21345) -Update from WebTranslator v3.0:
turkish - 2 changes by niw3
vietnamese - 1 changes by nglekhoi
2010-11-28 18:45:10 +00:00
terkhen
75f86a7a21 (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
terkhen
4b944cb13e (svn r21343) -Add: Function that compares strings using case insensitive natural sort. 2010-11-27 22:47:29 +00:00
terkhen
ae78847f0f (svn r21342) -Add: Sort some lists again after a language change. 2010-11-27 22:43:58 +00:00
terkhen
f2cc73bb51 (svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name. 2010-11-27 22:42:24 +00:00
terkhen
92d14f692b (svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled. 2010-11-27 21:11:37 +00:00
rubidium
b46e57d364 (svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset 2010-11-27 21:09:41 +00:00
translators
def0d71767 (svn r21337) -Update from WebTranslator v3.0:
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
hungarian - 18 changes by IPG
2010-11-27 18:45:14 +00:00
rubidium
ff015ac62c (svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen) 2010-11-27 12:55:43 +00:00
rubidium
529da62f15 (svn r21335) -Change: be a bit more explicit that the game state can get broken by changing NewGRFs 2010-11-26 23:25:34 +00:00
rubidium
67f74559fc (svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones 2010-11-26 22:25:02 +00:00
smatz
c9a186c9ff (svn r21333) -Fix: failure of WT3 to properly validate some string... 2010-11-26 18:53:09 +00:00
translators
00fb5ed92d (svn r21332) -Update from WebTranslator v3.0:
catalan - 39 changes by arnau
czech - 15 changes by marek995
french - 5 changes by glx
italian - 17 changes by lorenzodv
polish - 2 changes by xaxa
portuguese - 84 changes by Samu
2010-11-26 18:45:22 +00:00
alberth
f5c6fd1a25 (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
61637f493a (svn r21330) -Fix: two wrong ISO country codes 2010-11-26 11:03:40 +00:00
rubidium
c95b7a3965 (svn r21328) -Fix: pass the case id when resolving NewGRF strings as well 2010-11-25 23:14:48 +00:00
rubidium
fad75f5d5a (svn r21327) -Fix: cases are always "off-by-one" w.r.t. to the case table as there is an implicit default case with index 0 2010-11-25 23:14:25 +00:00
rubidium
4e6d29351e (svn r21326) -Fix: off-by-one in case choice list construction causing case lists to fail completely 2010-11-25 23:10:35 +00:00
rubidium
09e88969cf (svn r21325) -Change: the order of Portuguese genders 2010-11-25 19:13:21 +00:00
rubidium
30cd1a5934 (svn r21324) -Fix: load of failures of WT3 to properly validate some strings... 2010-11-25 18:48:46 +00:00
translators
4ae1697118 (svn r21323) -Update from WebTranslator v3.0:
croatian - 19 changes by VoyagerOne
english_US - 212 changes by Rubidium
finnish - 19 changes by jpx_
french - 16 changes by glx
german - 15 changes by planetmaker
portuguese - 89 changes by JayCity, Samu
spanish - 19 changes by Terkhen
swedish - 1 changes by Zuu
vietnamese - 4 changes by nglekhoi
2010-11-25 18:45:31 +00:00
rubidium
374fc308de (svn r21322) -Fix [FS#4268] (r20924): packets were leaked 2010-11-25 16:00:04 +00:00
glx
02d63f45e2 (svn r21321) -Fix (r21298): use the correct font sizes when checking for missing glyphs 2010-11-25 15:20:10 +00:00
rubidium
4e78e7b6c2 (svn r21320) -Fix (r21298): somehow a semicolon got lost 2010-11-25 14:55:01 +00:00
smatz
9594a3f7c5 (svn r21319) -Fix: crash when creating file download by the content download system failed 2010-11-25 13:43:09 +00:00
smatz
eb4516e50c (svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed 2010-11-25 13:41:30 +00:00
rubidium
be1df5f720 (svn r21317) -Change: improve the wording of some of the settings strings 2010-11-24 23:30:42 +00:00
planetmaker
974cff7299 (svn r21316) -Fix: Some more strings where 'player' actually meant 'company' 2010-11-24 23:29:59 +00:00
rubidium
bfbb2bdc3f (svn r21315) -Cleanup: remove a pair of unused strings 2010-11-24 23:17:52 +00:00
rubidium
31a5f8f043 (svn r21314) -Fix [FS#4253]: [NewGRF] (Hopefully) make callback 157 behave more like TTDPatch does, i.e. fall back to the default check when the callback is not yielding a result for a tile instead of disallowing building the object 2010-11-24 23:08:12 +00:00
planetmaker
753b1ca0a7 (svn r21313) -Fix: Max vehicle settings are per company, not per player 2010-11-24 22:54:16 +00:00
translators
c282e1a948 (svn r21312) -Update from WebTranslator v3.0:
traditional_chinese - 1 changes by josesun
dutch - 4 changes by Yexo
portuguese - 43 changes by Samu
2010-11-24 18:45:13 +00:00
rubidium
090d6fb8b7 (svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond 2010-11-24 17:00:37 +00:00
rubidium
3330dee7e0 (svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strndup 2010-11-24 08:08:23 +00:00
glx
4231154bb4 (svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function 2010-11-24 01:08:49 +00:00
rubidium
bb02e30a37 (svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync 2010-11-23 23:59:24 +00:00
glx
e0432a4585 (svn r21307) -Fix (r21306): forgot a # 2010-11-23 23:29:14 +00:00
glx
707d76df30 (svn r21306) -Add: genders for portuguese language 2010-11-23 23:27:55 +00:00
smatz
3302a520f4 (svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning 2010-11-23 22:16:11 +00:00
rubidium
c5cbb61c11 (svn r21301) -Fix: failure of WT3 to properly validate some string... 2010-11-23 18:47:57 +00:00
translators
b0d8cbe865 (svn r21300) -Update from WebTranslator v3.0:
chuvash - 21 changes by mefisteron
polish - 3 changes by voythas
vietnamese - 1 changes by nglekhoi
2010-11-23 18:45:11 +00:00
rubidium
33e3d7f6a2 (svn r21299) -Fix (r21263): a road vehicle in a depot or wormhole could get into an incorrect state upon savegame conversion causing it to break up later in the game 2010-11-23 18:26:02 +00:00
glx
d9173858a2 (svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change 2010-11-23 17:59:50 +00:00
translators
2e338ba520 (svn r21296) -Update from WebTranslator v3.0:
belarusian - 2 changes by KorneySan
croatian - 1 changes by VoyagerOne
dutch - 11 changes by habell
french - 7 changes by glx
irish - 7 changes by tem
korean - 4 changes by junho2813
romanian - 5 changes by tonny
slovak - 4 changes by marek995
2010-11-22 18:45:27 +00:00
rubidium
3cf9f175d8 (svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO) 2010-11-22 17:59:11 +00:00
rubidium
ac2f9b0d76 (svn r21293) -Fix: failure of WT3 to properly validate some string... 2010-11-21 18:47:09 +00:00
translators
e5002c3bcf (svn r21292) -Update from WebTranslator v3.0:
croatian - 2 changes by VoyagerOne
esperanto - 7 changes by Christopher
hungarian - 3 changes by IPG
portuguese - 4 changes by JayCity
ukrainian - 10 changes by Fixer
vietnamese - 2 changes by nglekhoi
2010-11-21 18:45:22 +00:00
frosch
55d604e60d (svn r21291) -Fix: Treat objects on water like water in more cases. 2010-11-21 18:39:12 +00:00
frosch
612516ff76 (svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests. 2010-11-21 18:38:45 +00:00
frosch
0fff26db97 (svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects. 2010-11-21 17:42:18 +00:00
frosch
d5360390d0 (svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas. 2010-11-21 17:05:23 +00:00
smatz
752aab7e11 (svn r21285) -Codechange: prevent ICC warning 2010-11-21 16:32:53 +00:00
alberth
3e27739287 (svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore(). 2010-11-21 12:47:04 +00:00
alberth
5f8afaadb7 (svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional. 2010-11-21 12:38:16 +00:00
alberth
edef25d30c (svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore(). 2010-11-21 12:31:16 +00:00
alberth
2974141641 (svn r21281) -Doc: Add doxygen comments to saveload code. 2010-11-21 12:12:23 +00:00
rubidium
f70202bfa8 (svn r21280) -Merge: documentation updates from 1.0 2010-11-20 21:27:21 +00:00
rubidium
54c5bb7149 (svn r21277) -Fix: failure of WT3 to properly validate some string... 2010-11-20 18:47:36 +00:00
translators
228b7db671 (svn r21276) -Update from WebTranslator v3.0:
czech - 8 changes by marek995
finnish - 1 changes by jpx_
german - 2 changes by planetmaker
italian - 3 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 3 changes by etran
slovak - 1 changes by marek995
slovenian - 2 changes by ntadej
2010-11-20 18:45:28 +00:00
frosch
88063f6fa3 (svn r21275) -Fix (r21272): Draw NW+SW fences in the correct order. 2010-11-20 15:57:25 +00:00
frosch
636ffdc53b (svn r21274) -Change: Increase the bounding box size of hangars in the hope it fixes more glitches than it causes. 2010-11-20 15:54:54 +00:00
alberth
ab50f74d7f (svn r21273) -Codechange: Return values should start at the same line. 2010-11-20 15:44:24 +00:00
frosch
38dc34828e (svn r21272) -Change [FS#119-ish]: Draw airport fences as groundsprites on runway/taxiway tiles. This makes the usual foundation-glitch a lot less likely to happen. 2010-11-20 14:45:52 +00:00
rubidium
3ca5951478 (svn r21271) -Change: use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations) 2010-11-20 14:34:57 +00:00
alberth
3b0ee65571 (svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code. 2010-11-20 14:15:02 +00:00
frosch
5d72befbcd (svn r21269) -Codechange: Add TILE_SEQ_CHILD macro to construct child sprites in default stations sprite layouts. 2010-11-20 14:05:16 +00:00
rubidium
3f1de4926e (svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases 2010-11-20 13:57:49 +00:00
alberth
9d899b3758 (svn r21267) -Doc: Typo fixes. 2010-11-20 13:33:24 +00:00
rubidium
ffa437a6c1 (svn r21266) -Change: don't receive money for removing the rail of non-rail railstation tiles, i.e. rail station tiles for which the NewGRF has prevented trains to be routed 2010-11-20 12:52:06 +00:00
alberth
d6afbd025c (svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available. 2010-11-20 12:20:59 +00:00
rubidium
097880c5e2 (svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once 2010-11-20 09:09:57 +00:00
frosch
f80af8f8c8 (svn r21262) -Fix (r18708)[FS#4246]: Custom station foundations using the 'simple foundations'-method did not draw any sprite for WSE-slopes when there are foundations on both neighboured tiles in the north. As there must be at least one sprite to provide the correct offset for the groundsprite draw the (empty) default foundation sprite in that case. 2010-11-20 00:24:50 +00:00
rubidium
6fa54473be (svn r21261) -Codechange: beat some sense into some variable names 2010-11-19 23:08:45 +00:00
rubidium
ede2fb8176 (svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings 2010-11-19 19:38:02 +00:00
rubidium
8ba6d25db6 (svn r21259) -Change: [NewGRF] Split var43 into var43 (animation stage) and var47 (object colour) 2010-11-19 19:25:35 +00:00
rubidium
0c6810eebe (svn r21258) -Fix: remove strings with the U+FFFD "replacement character" 2010-11-19 18:47:09 +00:00
translators
8133032874 (svn r21257) -Update from WebTranslator v3.0:
arabic_egypt - 6 changes by kasakg
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
lithuanian - 63 changes by BlinK_
portuguese - 8 changes by JayCity
spanish - 4 changes by Terkhen
turkish - 5 changes by niw3
2010-11-19 18:45:27 +00:00
rubidium
874abb2965 (svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost 2010-11-19 15:55:53 +00:00
rubidium
999246f63e (svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu 2010-11-19 13:24:32 +00:00
rubidium
6d09f4a3cb (svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow 2010-11-19 12:33:19 +00:00
rubidium
611a9f2007 (svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version 2010-11-19 10:58:38 +00:00
rubidium
ab44c91778 (svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it 2010-11-19 10:35:59 +00:00
rubidium
924a924907 (svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs 2010-11-18 23:31:06 +00:00
rubidium
40258d927f (svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo) 2010-11-18 23:09:24 +00:00
rubidium
ed04bef953 (svn r21248) -Codechange: don't run the tar scanner twice upon startup 2010-11-18 22:27:15 +00:00
rubidium
f7b2a87292 (svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars 2010-11-18 22:26:29 +00:00
rubidium
c7f0518f16 (svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all 2010-11-18 22:24:10 +00:00
planetmaker
94c45d9cc3 (svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happy 2010-11-18 20:45:27 +00:00
rubidium
16c90ed48b (svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead 2010-11-18 19:24:40 +00:00
rubidium
60e153002c (svn r21243) -Fix: load of failures of WT3 to properly validate some strings... 2010-11-18 18:50:17 +00:00
translators
72a6fc8aaf (svn r21242) -Update from WebTranslator v3.0:
belarusian - 12 changes by KorneySan
croatian - 6 changes by VoyagerOne
czech - 1 changes by SmatZ
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
hungarian - 12 changes by IPG
italian - 6 changes by lorenzodv
russian - 7 changes by KorneySan, Lone_Wolf
serbian - 14 changes by etran
slovenian - 83 changes by ntadej
spanish - 8 changes by Terkhen
swedish - 12 changes by Zuu
vietnamese - 5 changes by nglekhoi
2010-11-18 18:45:42 +00:00
terkhen
f31485a2f9 (svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages. 2010-11-18 17:49:42 +00:00
rubidium
2223ff92c7 (svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo) 2010-11-18 14:32:09 +00:00
rubidium
46186134c8 (svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo) 2010-11-18 14:20:03 +00:00
rubidium
61ff042460 (svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships (Hirundo) 2010-11-18 14:17:55 +00:00
rubidium
9af570eab4 (svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo) 2010-11-18 14:15:27 +00:00
rubidium
34c658b203 (svn r21236) -Codechange: Make the visual effects drawing routine work for all vehicle types (Hirundo) 2010-11-18 14:11:50 +00:00
rubidium
b9407f7ca0 (svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo) 2010-11-18 14:09:39 +00:00
rubidium
797435f05d (svn r21234) -Codechange: Make Train::UpdateVisualEffect work for all vehicle types (Hirundo) 2010-11-18 14:07:48 +00:00
rubidium
f4689f4301 (svn r21233) -Codechange: Introduce an enum to remove some magic numbers from the visual effect code (Hirundo) 2010-11-18 14:04:36 +00:00
rubidium
79c47ef8b0 (svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo) 2010-11-18 14:03:12 +00:00
rubidium
5a503d505b (svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo) 2010-11-18 14:01:20 +00:00
rubidium
31c0ba9d29 (svn r21230) -Fix/Change/Feature: [NewGRF] Make positioning of diesel fumes and electric sparks actually work (Hirundo). 2010-11-18 13:51:54 +00:00
rubidium
6878a0ffd7 (svn r21229) -Fix [FS#4130]: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases 2010-11-17 23:07:53 +00:00
rubidium
19cbf9b479 (svn r21228) -Fix: some MSVC 64 bits warnings 2010-11-17 19:43:15 +00:00
rubidium
4e16467f5b (svn r21227) -Fix (r21222): conversion didn't go right when cases were involved 2010-11-17 19:41:58 +00:00
rubidium
864ab05cd0 (svn r21226) -Fix: load of failures of WT3 to properly validate some strings... 2010-11-17 18:50:08 +00:00
translators
7d8a886d92 (svn r21225) -Update from WebTranslator v3.0:
croatian - 7 changes by VoyagerOne
czech - 14 changes by SmatZ
dutch - 2 changes by habell
finnish - 8 changes by USephiroth
french - 6 changes by glx
german - 12 changes by planetmaker
italian - 11 changes by lorenzodv
macedonian - 116 changes by RCTMASTA
portuguese - 4 changes by JayCity
romanian - 9 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 8 changes by Terkhen
vietnamese - 5 changes by nglekhoi
2010-11-17 18:45:46 +00:00
rubidium
7826b78415 (svn r21224) -Fix [FS#4172]: [NewGRF] The specs' cargo strings and OpenTTD's use of the clashed. Provide properties so NewGRFs can provide cargo strings tailored for OpenTTD while retaining (some) backward compatability 2010-11-17 18:35:59 +00:00
rubidium
602a0f10fa (svn r21223) -Fix: use proper plural for the short cargo unit names 2010-11-17 18:16:21 +00:00
rubidium
418cca075f (svn r21222) -Codechange: unify some string drawing and make it use the proper infrastructure for that... 2010-11-17 18:15:27 +00:00
rubidium
a950e9a4a8 (svn r21221) -Fix (r11429): short cargo units names for some cargo types/strings are not properly mapped to the strings that we use for the default industries 2010-11-17 18:04:11 +00:00
rubidium
3136775bbe (svn r21220) -Codechange: give a string a much better name 2010-11-17 17:52:10 +00:00
yexo
8578ec7496 (svn r21218) -Fix (r21189)[FS#4236]: don't force a minimum speed when braking 2010-11-16 23:38:05 +00:00
frosch
33281491b1 (svn r21217) -Add: Plural codes to some english strings. 2010-11-16 21:11:34 +00:00
rubidium
18f0f1d81d (svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for plurals 2010-11-16 21:03:39 +00:00
rubidium
ebf7b915b0 (svn r21215) -Codechange: store the plural form in the plural (choice) lists 2010-11-16 21:01:56 +00:00
terkhen
c96cb9ce37 (svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers. 2010-11-16 20:56:04 +00:00
translators
07ad8851cc (svn r21212) -Update from WebTranslator v3.0:
dutch - 4 changes by habell
2010-11-16 18:45:06 +00:00
rubidium
ddf71db8c2 (svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders 2010-11-16 16:58:19 +00:00
rubidium
0f9c40244a (svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring 2010-11-16 14:00:02 +00:00
rubidium
0500c92003 (svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names 2010-11-16 12:47:22 +00:00
rubidium
e84c52e662 (svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic 2010-11-16 12:35:16 +00:00
rubidium
b00858473c (svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next colour code) is not implemented 2010-11-16 12:18:35 +00:00
terkhen
d7aa9a6bd1 (svn r21205) -Fix [FS#4207]: Under some conditions, group count would be wrong after moving train engines in the depot window. 2010-11-16 12:05:41 +00:00
rubidium
0f2a9877b8 (svn r21204) -Codechange: unify style of string code conversion 2010-11-16 11:50:26 +00:00
rubidium
4b4db5d86e (svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well 2010-11-16 11:42:47 +00:00
rubidium
4965c7dd2b (svn r21202) -Codechange: allow strings with embedded '\0' in GRFText. 2010-11-16 11:34:19 +00:00
rubidium
a15d309721 (svn r21201) -Document: some GRFText methods/fields 2010-11-16 11:25:19 +00:00
planetmaker
8d42b04e3b (svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode 2010-11-15 19:53:15 +00:00
translators
be0a922be5 (svn r21199) -Update from WebTranslator v3.0:
belarusian - 4 changes by KorneySan
croatian - 4 changes by VoyagerOne
hungarian - 4 changes by IPG
norwegian_bokmal - 4 changes by mantaray
russian - 4 changes by Lone_Wolf
slovenian - 4 changes by ntadej
2010-11-15 18:45:23 +00:00
rubidium
a6a2fbd937 (svn r21198) -Fix: don't call variables properties in debug messages 2010-11-15 16:43:46 +00:00
planetmaker
b7d8001202 (svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters 2010-11-15 08:31:07 +00:00
rubidium
d572100585 (svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing 2010-11-14 21:39:12 +00:00
translators
6433ce5f6c (svn r21193) -Update from WebTranslator v3.0:
french - 4 changes by glx
serbian - 4 changes by etran
2010-11-14 18:45:10 +00:00
frosch
478da38d2b (svn r21192) -Fix (r15505)[FS#4226]: Use non-interactive randomness for townnames on map generation, so they are controlled by the generation-seed as well. 2010-11-14 16:16:28 +00:00
terkhen
1fe2ce42ca (svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown. 2010-11-14 16:13:07 +00:00
terkhen
eda95bb85c (svn r21189) -Fix: Force a minimum speed for trains when using the realistic acceleration model. 2010-11-14 15:48:24 +00:00
translators
41c97d051f (svn r21185) -Update from WebTranslator v3.0:
traditional_chinese - 5 changes by josesun
finnish - 17 changes by USephiroth
german - 4 changes by planetmaker
luxembourgish - 5 changes by Phreeze
polish - 5 changes by xaxa
brazilian_portuguese - 2 changes by bmnds
russian - 5 changes by Lone_Wolf
slovak - 4 changes by marek995
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-11-14 13:00:56 +00:00
rubidium
673b3711b4 (svn r21182) -Fix: possible just-freed memory reads 2010-11-14 12:05:24 +00:00
rubidium
a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 2010-11-13 23:40:36 +00:00
rubidium
fc75b00992 (svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well 2010-11-13 19:15:26 +00:00
rubidium
034eb834cc (svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage 2010-11-13 19:10:30 +00:00
translators
46cdc7b3d3 (svn r21176) -Update from WebTranslator v3.0:
portuguese - 1 changes by frosch
brazilian_portuguese - 9 changes by bmnds
swedish - 1 changes by Zuu
turkish - 33 changes by niw3
2010-11-13 18:45:17 +00:00
alberth
2c4564c7dd (svn r21175) -Add: Forced construction of missing industries. 2010-11-13 15:21:55 +00:00
alberth
0c775e5750 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 2010-11-13 15:20:57 +00:00
alberth
a245db6360 (svn r21173) -Codechange: Don't recompute target industry counts each time. 2010-11-13 15:19:43 +00:00
alberth
eb4ab0091a (svn r21172) -Feature: Better control over how many new industries are created during the game. 2010-11-13 15:17:55 +00:00
alberth
f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 2010-11-13 15:15:25 +00:00
alberth
4d419b9f3e (svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future). 2010-11-13 15:13:14 +00:00
alberth
67549a206c (svn r21169) -Feature: Do not build industries during economic recession. 2010-11-13 15:08:47 +00:00
alberth
3211ab301e (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 2010-11-13 15:07:34 +00:00
alberth
e861487bcb (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 2010-11-13 15:04:58 +00:00
alberth
1bf94674df (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 2010-11-13 15:02:31 +00:00
rubidium
d46a2ef122 (svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well 2010-11-13 14:36:43 +00:00
rubidium
8aba642ed5 (svn r21164) -Codechange: replace the hardcoded array of language metadata with a list 2010-11-13 12:09:30 +00:00
rubidium
68b94e61e0 (svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers 2010-11-13 11:38:01 +00:00
rubidium
a664227c8e (svn r21162) -Codechange: move the config "field" for the language file out of dynlang 2010-11-13 11:28:55 +00:00
rubidium
f4e4056aed (svn r21161) -Codechange: make the currently used language easier accessible 2010-11-13 11:25:58 +00:00
rubidium
f195920695 (svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk 2010-11-13 11:11:02 +00:00
alberth
239fcc8ccd (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 2010-11-13 10:17:16 +00:00
alberth
6c088543c1 (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 2010-11-13 10:11:47 +00:00
rubidium
30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
alberth
43f807a918 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 2010-11-13 09:45:20 +00:00
rubidium
aea8274dba (svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched 2010-11-12 21:40:43 +00:00
rubidium
9770d88412 (svn r21154) -Fix [FS#4223]: OPF has been removed for trains, so the 90 degree turn option doesn't need to mention it's not supported for OPF 2010-11-12 21:37:15 +00:00
rubidium
395335c197 (svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone. 2010-11-12 19:40:39 +00:00
translators
15dafc4dc2 (svn r21152) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
polish - 2 changes by silver_777
2010-11-12 18:45:10 +00:00
rubidium
0fc5206a5b (svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string 2010-11-12 16:29:09 +00:00
rubidium
671158acd8 (svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4 2010-11-12 12:00:03 +00:00
terkhen
13685c0210 (svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types. 2010-11-11 22:19:27 +00:00
translators
f3574a273b (svn r21147) -Update from WebTranslator v3.0:
basque - 49 changes by HerrBasque
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
2010-11-11 18:45:12 +00:00
rubidium
67d071d033 (svn r21145) -Fix: station list wasn't updated when a new cargo got a rating 2010-11-11 10:34:44 +00:00
rubidium
e745bd9815 (svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting 2010-11-11 10:34:01 +00:00