Commit Graph

11235 Commits

Author SHA1 Message Date
smatz
e7c2479216 (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
1362d2c16b (svn r15587) -Fix (r15345): I should really test even those simple api functions better. 2009-02-26 07:30:13 +00:00
yexo
ddca27b1ab (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
894d61ca47 (svn r15585) -Codechange: Remove TILE_ASSERT and replace all instances with assert(tile < MapSize()). 2009-02-25 21:50:54 +00:00
yexo
b8601d903d (svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers. 2009-02-25 21:45:14 +00:00
frosch
8ebe68b01b (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
751a9bdf0a (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
f6d8e60799 (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
0d12c46b5e (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
a9dd6dc2f5 (svn r15578) -Change: unexternalise squirrel. 2009-02-25 01:21:50 +00:00
rubidium
b2def94607 (svn r15577) -Codechange: bool _networking belongs in network/ not gfx.cpp 2009-02-25 00:48:04 +00:00
yexo
7e818f0456 (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
bd2544b5ea (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
a23818b146 (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
5707f2c028 (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
2f63571203 (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
3707a11e5e (svn r15571) -Fix: incorrect use of memset 2009-02-24 22:25:23 +00:00
yexo
d96b151859 (svn r15570) -Fix: Too long strings in the advanced settings window are now truncated. 2009-02-24 22:23:47 +00:00
smatz
1f42f44092 (svn r15569) -Codechange: replace MallocT + memset( 0 ) calls by CallocT 2009-02-24 21:32:23 +00:00
smatz
34bfb35105 (svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails 2009-02-24 20:59:17 +00:00
yexo
471c770a08 (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
926b721cc2 (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
39b6a2a507 (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
8a1d11ed85 (svn r15564) -Fix: Refresh all industry windows if the modify production cheat is enabled/disabled. 2009-02-23 22:00:29 +00:00
yexo
11ce4538b4 (svn r15563) -Change [API CHANGE]: Remove AIIndustry::GetMaxIndustryID(). 2009-02-23 21:07:01 +00:00
yexo
c144d8fa90 (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
27ae9fbd7e (svn r15561) -Fix [FS#2646]: segfault when saving a preset with unknown NewGRFs 2009-02-23 20:45:34 +00:00
rubidium
8976465c69 (svn r15560) -Fix: typos in Spanish town names (Erregerre) 2009-02-23 20:42:20 +00:00
frosch
b95fa2b7a3 (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
301dcb6dc4 (svn r15558) -Cleanup: Remove some unnecessary friend declarations. 2009-02-23 19:35:19 +00:00
rubidium
6137a9e953 (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
9ab8a2aab1 (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
44821e60eb (svn r15555) -Codechange: remove the mallocs + frees for temporary data from loading sprites. 2009-02-23 10:50:25 +00:00
rubidium
2a2ee1fdb9 (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
5c27b42a77 (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
5c127d51b8 (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
c2658c1105 (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
49ab7c3b50 (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
c50e837db8 (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
656933e95f (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
7e925a5781 (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
68282c4172 (svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators. 2009-02-21 15:23:49 +00:00
rubidium
dec552f229 (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
fcdeb5c522 (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
38d66e69af (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
a9cccbd53a (svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase list. 2009-02-21 13:24:55 +00:00
frosch
abe4692da2 (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
9eb880ab43 (svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be skipped by 'continue'. 2009-02-21 11:54:25 +00:00
frosch
0e4a490a92 (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
yexo
598d20eedc (svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when changing the amount of towns/industries from the newgame gui. 2009-02-21 02:34:53 +00:00