smatz
1a940c24e3
(svn r15589) -Fix: drawing of waypoints with invalid owner was broken
...
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
2009-02-26 14:10:57 +00:00
smatz
3fdac6f702
(svn r15588) -Fix: change owner of waypoints and deleted stations when merging companies or when a company benkrupts
2009-02-26 14:07:42 +00:00
yexo
a41b143e58
(svn r15587) -Fix (r15345): I should really test even those simple api functions better.
2009-02-26 07:30:13 +00:00
yexo
a78724e824
(svn r15586) -Fix [FS#2687]: Changing vehicle.dynamic_engines when there are already vehicles can cause crashes.
2009-02-26 01:53:22 +00:00
yexo
a0c4f1156a
(svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()).
2009-02-25 21:50:54 +00:00
yexo
fb7b0536e7
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
2009-02-25 21:45:14 +00:00
frosch
c5684e56ec
(svn r15583) -Fix: Do not use TILE_MASK when you do not want to wrap around them map.
2009-02-25 21:29:50 +00:00
frosch
c7e324bb40
(svn r15582) -Cleanup: Remove unused function AdjustTileCoordRandomly(). Btw. it would also cause desyncs and wrap around the map.
2009-02-25 21:24:42 +00:00
translators
0a2e46c6c7
(svn r15581) -Update: WebTranslator2 update to 2009-02-25 18:44:53
...
afrikaans - 7 changed by Ludslad (7)
catalan - 3 fixed by arnaullv (3)
czech - 3 fixed by Hadez (3)
danish - 12 fixed, 13 changed by ThomasA (25)
dutch - 3 fixed by habell (3)
english_US - 3 fixed by WhiteRabbit (3)
estonian - 54 fixed by t2t2 (54)
finnish - 3 fixed by jpx_ (3)
french - 3 fixed, 8 changed by belugas (8), glx (3)
german - 3 fixed by planetmaker (3)
hungarian - 3 fixed by alyr (3)
italian - 3 fixed by lorenzodv (3)
norwegian_bokmal - 7 fixed by christian (7)
romanian - 3 fixed, 5 changed by kkmic (8)
russian - 3 fixed by Smoky555 (3)
slovak - 3 fixed by James (3)
traditional_chinese - 37 fixed by irvin (37)
welsh - 3 fixed by welshdragon (3)
2009-02-25 18:45:16 +00:00
rubidium
3ae9851bd8
(svn r15580) -Fix [FS#2684]: last activity time not properly updated causing downloads to be aborted after a minute.
2009-02-25 17:00:59 +00:00
rubidium
1ad50ce4e6
(svn r15578) -Change: unexternalise squirrel.
2009-02-25 01:21:50 +00:00
rubidium
66a8c0a132
(svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp
2009-02-25 00:48:04 +00:00
yexo
3bb872e7dd
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
2009-02-25 00:45:52 +00:00
yexo
901230bde1
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
2009-02-25 00:14:46 +00:00
rubidium
d86ae1fde6
(svn r15574) -Fix [FS#2680]: force unload not working when trying to force unload at the station where you received the cargo
2009-02-25 00:12:57 +00:00
yexo
1104e10695
(svn r15573) -Fix (r15538): Terrain type and sea level couldn't be changed in the scenario editor.
2009-02-24 23:20:17 +00:00
smatz
13f390be3e
(svn r15572) -Fix (r13730): theoretical buffer overflow when company with too long name funded a road reconstruction
2009-02-24 22:57:02 +00:00
smatz
846044ee26
(svn r15571) -Fix: incorrect use of memset
2009-02-24 22:25:23 +00:00
yexo
2860399397
(svn r15570) -Fix: Too long strings in the advanced settings window are now truncated.
2009-02-24 22:23:47 +00:00
smatz
425fe86a3d
(svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT
2009-02-24 21:32:23 +00:00
smatz
d73c1fa7bf
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
2009-02-24 20:59:17 +00:00
yexo
8beca127dd
(svn r15567) -Fix [FS#2674]: When building signals by dragging from a pre/entry/combo block signal, the signal you started at became a normal block signal.
2009-02-24 19:15:23 +00:00
rubidium
8fa247c4b1
(svn r15566) -Change: reintroduce space as valid method of selecting 'content' as long as the filter box is not focused. Enter will also work when the filter box is focused.
2009-02-24 13:32:18 +00:00
rubidium
4bf2f4a166
(svn r15565) -Fix [FS#2675]: dependency information wasn't requested after the content state was reset causing the dependencies not always being selected (and thus downloaded) automatically.
2009-02-24 13:25:35 +00:00
yexo
391fe952b9
(svn r15564) -Fix: Refresh all industry windows if the modify production cheat is enabled/disabled.
2009-02-23 22:00:29 +00:00
yexo
932b1c24b2
(svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID().
2009-02-23 21:07:01 +00:00
yexo
1884ba20bc
(svn r15562) -Change: Use GetName() to determine the unique AI name instead of GetInstanceName() to make branching of AIs easier.
2009-02-23 20:57:55 +00:00
rubidium
c876e3e1b2
(svn r15561) -Fix [FS#2646]: segfault when saving a preset with unknown NewGRFs
2009-02-23 20:45:34 +00:00
rubidium
cfc233e2ab
(svn r15560) -Fix: typos in Spanish town names (Erregerre)
2009-02-23 20:42:20 +00:00
frosch
a987c7299b
(svn r15559) -Feature: Show required/already-delivered cargo needed for town-growth in town-view-window. (and only if it is really needed)
2009-02-23 20:03:38 +00:00
yexo
cabfe35e54
(svn r15558) -Cleanup: Remove some unnecessary friend declarations.
2009-02-23 19:35:19 +00:00
rubidium
85c0276d0e
(svn r15557) -Fix: the font width cache was not updated when changing fonts causing the font spacing to be off when changing fonts in-game (auto font detection).
2009-02-23 18:14:18 +00:00
rubidium
3ba802e995
(svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding.
2009-02-23 17:54:02 +00:00
rubidium
0c1b8ea602
(svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites.
2009-02-23 10:50:25 +00:00
rubidium
2433ba042b
(svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high score of the spectator.
2009-02-23 01:51:19 +00:00
translators
c81866fb8d
(svn r15553) -Update: WebTranslator2 update to 2009-02-22 18:58:31
...
french - 2 changed by belugas (2)
japanese - 67 fixed by ickoonite (67)
polish - 3 fixed by xaxa (3)
spanish - 38 changed by erregerre (38)
2009-02-22 18:58:44 +00:00
rubidium
54f852f094
(svn r15552) -Fix (r15544): some compiler/OS combinations don't like closing the same FD twice and zlib's docs weren't very clear about whether it would close a FD it didn't open.
2009-02-22 02:57:15 +00:00
rubidium
731c1e90e8
(svn r15551) -Fix [FS#2656]: [NoAI] crash when setting a depot order to the southern part of a ship depot
2009-02-22 00:30:36 +00:00
rubidium
b68a870fe3
(svn r15550) -Fix [FS#2654]: bogus secondary error message when dynamiting industries/unmoveables; "X is in the way" isn't helpful at all in that case.
2009-02-21 21:38:46 +00:00
translators
930a31f5f5
(svn r15549) -Update: WebTranslator2 update to 2009-02-21 18:48:25
...
brazilian_portuguese - 5 changed by tucalipe (5)
german - 7 changed by planetmaker (7)
indonesian - 4 changed by fanioz (4)
korean - 2 changed by darkttd (2)
norwegian_nynorsk - 1 fixed, 7 changed by Thor (8)
polish - 15 fixed by xaxa (11), coolik (4)
romanian - 2 changed by kkmic (2)
simplified_chinese - 3 fixed by ww9980 (3)
spanish - 2 changed by eusebio (2)
2009-02-21 18:48:38 +00:00
rubidium
87751dc95d
(svn r15548) -Fix: incorrect error message when removing non-existing diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail).
2009-02-21 18:10:08 +00:00
frosch
6390ece34f
(svn r15547) -Codechange: Eliminate all == and != comparisons between v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs.
2009-02-21 15:56:02 +00:00
rubidium
81d8e55c38
(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators.
2009-02-21 15:23:49 +00:00
rubidium
8316c4381f
(svn r15545) -Fix [FS#2653]: if a buoy was placed directly in front of a dock, that dock was seen as a buoy and thus skipped once within 3 tiles.
2009-02-21 14:02:00 +00:00
rubidium
fdc2e85184
(svn r15544) -Fix [FS#2650]: extracting downloaded content didn't work for Windows if one uses a non-ASCII.
2009-02-21 14:00:35 +00:00
rubidium
a4567f243d
(svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D).
2009-02-21 13:27:09 +00:00
frosch
157e0481ad
(svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase list.
2009-02-21 13:24:55 +00:00
frosch
d3850e101c
(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.
...
-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
Note: It is intentional that you cannot control refittability by CB 36.
2009-02-21 12:52:41 +00:00
frosch
b674d1f6f5
(svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue'.
2009-02-21 11:54:25 +00:00
frosch
85333d4211
(svn r15539) -Fix: If an aircraft cannot carry any available cargo, it should not be available either instead of falling back to passenger/mail. Just like the other vehicle types also do.
2009-02-21 11:50:17 +00:00