summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-02-23(svn r15558) -Cleanup: Remove some unnecessary friend declarations.yexo
2009-02-23(svn r15557) -Fix: the font width cache was not updated when changing fonts ↵rubidium
causing the font spacing to be off when changing fonts in-game (auto font detection).
2009-02-23(svn r15556) -Change: don't temporary malloc+free when encoding sprites, ↵rubidium
just reuse the same piece of allocated memory for each encoding.
2009-02-23(svn r15555) -Codechange: remove the mallocs + frees for temporary data from ↵rubidium
loading sprites.
2009-02-23(svn r15554) -Fix: -v null crashing in 2051 due to trying to show the high ↵rubidium
score of the spectator.
2009-02-22(svn r15553) -Update: WebTranslator2 update to 2009-02-22 18:58:31translators
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(svn r15552) -Fix (r15544): some compiler/OS combinations don't like closing ↵rubidium
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(svn r15551) -Fix [FS#2656]: [NoAI] crash when setting a depot order to the ↵rubidium
southern part of a ship depot
2009-02-21(svn r15550) -Fix [FS#2654]: bogus secondary error message when dynamiting ↵rubidium
industries/unmoveables; "X is in the way" isn't helpful at all in that case.
2009-02-21(svn r15549) -Update: WebTranslator2 update to 2009-02-21 18:48:25translators
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(svn r15548) -Fix: incorrect error message when removing non-existing ↵rubidium
diagonal rail (TRACK_X/Y) with the single directional rail tool (i.e. not autorail).
2009-02-21(svn r15547) -Codechange: Eliminate all == and != comparisons between ↵frosch
v->cargo_cap and v->cargo.Count() to improve behaviour wrt. broken/incompatible grfs.
2009-02-21(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated ↵rubidium
servers/spectators.
2009-02-21(svn r15545) -Fix [FS#2653]: if a buoy was placed directly in front of a ↵rubidium
dock, that dock was seen as a buoy and thus skipped once within 3 tiles.
2009-02-21(svn r15544) -Fix [FS#2650]: extracting downloaded content didn't work for ↵rubidium
Windows if one uses a non-ASCII.
2009-02-21(svn r15543) -Change: allow the default debug level of 6 for a dedicated ↵rubidium
server to be overriden by -d (if used after -D).
2009-02-21(svn r15542) -Feature(ette): Support vehicle vars 0x47 and 0xF2 in purchase ↵frosch
list.
2009-02-21(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, ↵frosch
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(svn r15540) -Fix: Testing of 'only_this' in CmdRefitRoadVeh() could be ↵frosch
skipped by 'continue'.
2009-02-21(svn r15539) -Fix: If an aircraft cannot carry any available cargo, it ↵frosch
should not be available either instead of falling back to passenger/mail. Just like the other vehicle types also do.
2009-02-21(svn r15538) -Fix (r15334): The difficulty level wasn't set to custom when ↵yexo
changing the amount of towns/industries from the newgame gui.
2009-02-21(svn r15537) -Fix (r5215): don't allow special sprite characters (e.g. the ↵rubidium
ship sprite) as characters in input like filenames or text that is sent over the network.
2009-02-21(svn r15535) -Fix (r15460, pre noai merge): use '.' as 'any' for squirrel ↵glx
calls typechecking as stated in squirrel docs
2009-02-20(svn r15534) -Codechange: Rename some variables.frosch
2009-02-20(svn r15532) -Fix (r15525): don't try to load (and forget) AI data from a ↵rubidium
non-existing AI when joining a server. In other words: you can join network servers again.
2009-02-20(svn r15531) -Fix (r15467): AIs were stopped at every error, whether they ↵yexo
caught it or not.
2009-02-20(svn r15530) -Fix (r15519): The AIWaypoint classes were not exported to ↵yexo
squirrel.
2009-02-20(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly ↵rubidium
cleaned when leaving a game meaning you could end up executing commands of the previous network game.
2009-02-20(svn r15528) -Fix (r15525): Check should be the other way around (thanks SmatZ).yexo
2009-02-19(svn r15527) -Fix (r15526): A ')' too much.yexo
2009-02-19(svn r15526) -Add [NoAI]: Support for conditional orders.yexo
2009-02-19(svn r15525) -Fix: Don't try to find the AIs the server runs when joining a ↵yexo
mp server.
2009-02-19(svn r15524) -Add [NoAI]: AIEngine::GetPower, AIEngine::GetWeight and ↵yexo
AIEngine::GetMaxTractiveEffort.
2009-02-19(svn r15523) -Update: WebTranslator2 update to 2009-02-19 16:58:17translators
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(svn r15521) -Codechange: add helper function to get the display tractive ↵rubidium
effort of a vehicle.
2009-02-19(svn r15520) -Cleanup [NoAI]: Fix some typos, unify the comment style and ↵yexo
update some documentation since a few enums have been renamed.
2009-02-19(svn r15519) -Add [NoAI]: support for waypoints by adding ↵yexo
AIRail::Build/Remove RailWaypoint, AIWaypoint and AIWaypointList.
2009-02-19(svn r15518) -Fix [FS#2631]: use distance to closest station tile as ↵rubidium
estimate for YAPF too (NPF already does so). This makes it behave 'better' with wide stations.
2009-02-18(svn r15517) -Fix [FS#2642](r6455): Wagonoverrides and articulated engine ↵frosch
parts use the colour scheme of the engine, but not its recolour callback, nor its 2CC flag. Same applies to roadvehicles.
2009-02-18(svn r15516) -Fix (r10097): Livery overrides for articulated parts of ↵frosch
roadvehicles were not applied.
2009-02-18(svn r15515) -Update: WebTranslator2 update to 2009-02-18 18:31:54translators
afrikaans - 10 fixed, 1 changed by Ludslad (11) brazilian_portuguese - 6 fixed by ferrerow (6) bulgarian - 11 fixed by Ar4i (11) hungarian - 13 changed by alyr (13) indonesian - 3 fixed by adjayanto (3) japanese - 19 fixed by ickoonite (19) latvian - 8 fixed by silentKnight (8) lithuanian - 52 fixed by Enternald (52) luxembourgish - 70 fixed by Gubius (70) romanian - 23 changed by kkmic (23) russian - 14 fixed by Smoky555 (14) slovak - 1 fixed by James (1) swedish - 48 fixed by giddorah (48) welsh - 282 fixed, 2 changed by PlayDead (284)
2009-02-18(svn r15514) -Fix: make the join/spectate command require to be connected to ↵rubidium
a network game; in SP it could lead to crashes.
2009-02-18(svn r15513) -Cleanup: Unavailable varaction variable value does not matter, ↵peter1138
but at least it can be consistent.
2009-02-18(svn r15512) -Cleanup: Codestyle fixes.peter1138
2009-02-17(svn r15511) -Fix [FS#2641] (r15190): Generating a map with the original map ↵yexo
generator with freeform edges on resulted in an assert.
2009-02-17(svn r15510) -Update: WebTranslator2 update to 2009-02-17 17:50:34translators
croatian - 22 fixed by tifached (22) czech - 20 fixed by joeprusa (19), miris2009 (1) english_US - 81 changed by WhiteRabbit (81) hungarian - 1 changed by alyr (1) korean - 3 fixed by darkttd (3) latvian - 8 fixed by Reinis (5), waste (3) luxembourgish - 50 fixed by Gubius (50) norwegian_bokmal - 60 fixed by khh (60) russian - 6 fixed by MajestiC (6) slovak - 49 fixed by James (49) swedish - 145 fixed by Andreas (9), giddorah (136) turkish - 3 fixed by Emin (3) welsh - 76 fixed by PlayDead (76)
2009-02-17(svn r15509) -Codechange: move definition of some Window methods to class ↵smatz
definition
2009-02-17(svn r15508) -Fix: three header files had incorrect ↵smatz
'anti-multiple-inclusion' header
2009-02-17(svn r15507) -Update (r15506): rename strings in other languages toosmatz
2009-02-17(svn r15506) -Codechange: rename ScenarioEditorTownGenerationWindow to ↵smatz
FoundTownWindow