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
yexo
c3c549f731
(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
rubidium
13bc604fde
(svn r15537) -Fix (r5215): don't allow special sprite characters (e.g. the ship sprite) as characters in input like filenames or text that is sent over the network.
2009-02-21 00:47:59 +00:00
glx
ab3fc1d437
(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel calls typechecking as stated in squirrel docs
2009-02-21 00:43:18 +00:00
frosch
15789a76c1
(svn r15534) -Codechange: Rename some variables.
2009-02-20 23:21:04 +00:00
rubidium
c4fb879561
(svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a non-existing AI when joining a server. In other words: you can join network servers again.
2009-02-20 21:05:27 +00:00
yexo
7dc607b2d1
(svn r15531) -Fix (r15467): AIs were stopped at every error, whether they caught it or not.
2009-02-20 13:39:18 +00:00
yexo
07a37af14c
(svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to squirrel.
2009-02-20 10:03:16 +00:00
rubidium
c5677da94d
(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game.
2009-02-20 00:03:29 +00:00
yexo
ef67e59145
(svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ).
2009-02-20 00:02:25 +00:00
yexo
a54061f840
(svn r15527) -Fix (r15526): A ')' too much.
2009-02-19 23:22:31 +00:00
yexo
b3fe664d90
(svn r15526) -Add [NoAI]: Support for conditional orders.
2009-02-19 23:12:57 +00:00
yexo
2fdc395d45
(svn r15525) -Fix: Don't try to find the AIs the server runs when joining a mp server.
2009-02-19 23:10:32 +00:00
yexo
3491b0fab9
(svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and AIEngine::GetMaxTractiveEffort.
2009-02-19 19:44:19 +00:00
translators
ce5b380a1d
(svn r15523) -Update: WebTranslator2 update to 2009-02-19 16:58:17
...
afrikaans - 3 fixed, 8 changed by Ludslad (11)
estonian - 14 fixed by t2t2 (14)
latvian - 1 changed by v3rb0 (1)
luxembourgish - 336 fixed by Gubius (336)
2009-02-19 16:58:24 +00:00
rubidium
a5f30dd553
(svn r15521) -Codechange: add helper function to get the display tractive effort of a vehicle.
2009-02-19 09:45:44 +00:00
yexo
459a855e60
(svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and update some documentation since a few enums have been renamed.
2009-02-19 09:01:34 +00:00
yexo
c0e7ddeb9e
(svn r15519) -Add [NoAI]: support for waypoints by adding AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
2009-02-19 07:40:08 +00:00
rubidium
c2d9c85c0f
(svn r15518) -Fix [FS#2631]: use distance to closest station tile as estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations.
2009-02-19 00:15:36 +00:00
frosch
336fda62be
(svn r15517) -Fix [FS#2642](r6455): Wagonoverrides and articulated engine parts use the colour scheme of the engine, but not its recolour callback, nor its 2CC flag. Same applies to roadvehicles.
2009-02-18 20:40:24 +00:00
frosch
3542b1dced
(svn r15516) -Fix (r10097): Livery overrides for articulated parts of roadvehicles were not applied.
2009-02-18 20:35:02 +00:00