rubidium
8343a34805
(svn r18785) -Codechange: rewrite/rework DoCommandP in order to simplify it, reduce duplication and remove gotos.
2010-01-11 20:39:38 +00:00
rubidium
7f1bf45c03
(svn r18784) -Codechange: make NetworkSend_Command accept a company instead of using _local_company to pass that information, with the whole mess when you don't want the company to be _local_company.
2010-01-11 20:32:32 +00:00
rubidium
9313532ddd
(svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable.
2010-01-11 20:21:56 +00:00
rubidium
89443276b1
(svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there.
2010-01-11 20:00:14 +00:00
rubidium
26b203e3ff
(svn r18781) -Codechange: pass the CommandCost to the callback instead of whether it succeeded or not.
...
-Fix: AIs did update their last cost incorrectly in network games if the cost of the DC_EXEC phase differed from the ~DC_EXEC phase.
2010-01-11 18:46:09 +00:00
translators
4d3871f594
(svn r18780) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
dutch - 60 changes by Hirundo
french - 1 changes by glx
2010-01-11 18:45:15 +00:00
rubidium
8bdeb2cab6
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
2010-01-11 18:34:02 +00:00
michi_cc
b4b77221ce
(svn r18778) -Fix [FS#3483]: [YAPP] Remove a special check for two-sided signals when reserving a path as this causes trains to get stuck in front of them.
2010-01-11 00:02:14 +00:00
rubidium
efbc73cf1e
(svn r18777) -Codechange: remove some unused parameters from a function
2010-01-10 23:20:11 +00:00
frosch
b0d7b6cef9
(svn r18776) -Codechange: Use SmallVector to collect refit options.
2010-01-10 21:45:32 +00:00
rubidium
ea465084b1
(svn r18775) -Fix (r18769): non-LZO code used LZO defines, also replace #define with static const uint and add some documentation.
2010-01-10 21:20:51 +00:00
frosch
1bcc457923
(svn r18774) -Change: Consider callback 19 only broken after subcargos 0 to 255 have been used, instead of stopping at 15.
2010-01-10 20:33:10 +00:00
translators
ee5aed1133
(svn r18773) -Update from WebTranslator v3.0:
...
afrikaans - 6 changes by burgerd
croatian - 36 changes by
danish - 3 changes by mgarde
dutch - 86 changes by Hirundo
french - 1 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by xaxa
spanish - 4 changes by Terkhen
2010-01-10 18:45:27 +00:00
rubidium
5d997e288d
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
2010-01-10 15:35:13 +00:00
rubidium
88c7e83e9d
(svn r18771) -Codechange: minor cleanups in saveload code
2010-01-10 14:57:05 +00:00
rubidium
a7676f2f86
(svn r18770) -Fix-ish: don't allow the memory saveload format to be chosen for savegames; it's utterly useless to make a snapshot in memory and then throw that away without doing anything with it.
2010-01-10 14:30:32 +00:00
rubidium
36df94ddb0
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
translators
9b936a0ebd
(svn r18768) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 4 changes by ReisRyos
dutch - 61 changes by Hirundo
finnish - 1 changes by jpx_
indonesian - 43 changes by fanioz
malay - 227 changes by toadhall
spanish - 122 changes by Terkhen
2010-01-09 18:45:25 +00:00
rubidium
882d7734c5
(svn r18767) -Fix: min/max income tooltips for the details performance statistics mentioned months whereas it should be quarters.
2010-01-09 18:44:46 +00:00
peter1138
8651144bee
(svn r18766) -Codechange: Make train acceleration type (rail/elrail/monorail vs maglev) a rail type property
2010-01-09 15:33:41 +00:00
rubidium
05405e4566
(svn r18765) -Fix [FS#3499] (r18750): crash when trying to show cargo payments when there are 'holes' in the cargospec array
2010-01-09 14:57:03 +00:00
rubidium
ad8d6e8dd2
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
2010-01-09 14:43:08 +00:00
rubidium
6595434845
(svn r18763) -Feature [FS#3095]: rerandomise AIs on reloading (via the debug window) when they were randomly chosen
2010-01-09 14:41:22 +00:00
yexo
5cad8dac74
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
2010-01-08 22:42:00 +00:00
frosch
340f5e8569
(svn r18761) -Fix [FS#3497]: Spritelayouts do not need an Action 1 if only using default sprites.
2010-01-08 20:42:12 +00:00
frosch
f5b6bae7ca
(svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already.
2010-01-08 19:18:32 +00:00
yexo
48c224f27a
(svn r18759) -Fix [NewGRF]: don't segfault when a newgrf contains an action2 and action3 but no action0
2010-01-08 19:14:33 +00:00
rubidium
01d47f4e7c
(svn r18758) -Change: move Malay to the 'finished' languages
2010-01-08 18:47:25 +00:00
translators
09210af1ac
(svn r18757) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
simplified_chinese - 69 changes by EraserKing
croatian - 36 changes by
czech - 11 changes by ReisRyos
danish - 11 changes by beruic
hungarian - 2 changes by IPG
italian - 1 changes by lorenzodv
korean - 1 changes by junho2813
malay - 476 changes by toadhall
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 24 changes by ntadej
spanish - 11 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-01-08 18:45:47 +00:00
glx
f4fe465e3b
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
yexo
14ed7330ba
(svn r18755) -Fix [FS#3495] (r14847): CircularTileSearch skipped a few tiles close to the starting tile
2010-01-07 20:56:50 +00:00
translators
192e1ae06c
(svn r18754) -Update from WebTranslator v3.0:
...
arabic_egypt - 60 changes by kasakg
croatian - 57 changes by UnderwaterHesus
dutch - 1 changes by habell
french - 1 changes by glx
korean - 2 changes by junho2813
malay - 649 changes by Syed, toadhall
brazilian_portuguese - 1 changes by Rubidium
romanian - 1 changes by kkmic
swedish - 1 changes by Landrash
2010-01-07 18:45:31 +00:00
rubidium
297413168a
(svn r18753) -Fix: Max TE was incorrect in the engine preview
2010-01-07 17:14:08 +00:00
rubidium
e439f13378
(svn r18752) -Codechange: unduplify some code
2010-01-07 16:39:04 +00:00
rubidium
0782cdf253
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
fec1c1d92b
(svn r18750) -Fix [FS#3492]: the cargo payment button states weren't properly set on opening the window
2010-01-07 11:54:01 +00:00
rubidium
b03b775db6
(svn r18749) -Fix [FS#3491]: the AI's name and version in the debug panel weren't properly centered
2010-01-07 11:48:59 +00:00
rubidium
d9f86b6f97
(svn r18747) -Codechange: add some constness to the AI code
2010-01-07 00:09:27 +00:00
rubidium
0a54cc9335
(svn r18746) -Fix [FS#3489]: clear the cached NewGRFs of a server when receiving a reply instead of when requesting the information. With slow/unstable network connections it would look like the NewGRF settings button went randomly missing.
2010-01-06 20:49:24 +00:00
frosch
de3148a14c
(svn r18745) -Codechange: Assemble custom station foundations into a single bounding box.
2010-01-06 20:23:06 +00:00
frosch
64feefa80e
(svn r18744) -Fix [FS#3487-ish]: Do not toggle the sticky- and shading-button twice per mouseclick when clicking fast.
2010-01-06 20:17:46 +00:00
translators
afe42f8370
(svn r18743) -Update from WebTranslator v3.0:
...
afrikaans - 47 changes by burgerd
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 3 changes by jpx_
malay - 537 changes by Syed, toadhall
polish - 4 changes by vanta
portuguese - 4 changes by JayCity
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Madvin
2010-01-06 18:45:30 +00:00
yexo
ad9412494e
(svn r18742) -Fix [NewGRF]: house prop 1D was thrashed when a newgrf contains prop 14 after prop 1D
2010-01-06 15:16:14 +00:00
rubidium
b0a61c7d34
(svn r18741) -Fix (r14597, r16460): the 'ownname' of a language isn't the name of the translator, but the name of the language in said language.
2010-01-06 13:35:32 +00:00
yexo
39009cf139
(svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert
2010-01-06 09:08:43 +00:00
yexo
f666760a72
(svn r18738) -Fix (r18719): when a tree died while there was snow the amount of snow on the tile changed
2010-01-05 22:32:47 +00:00
peter1138
4dbc81f955
(svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation.
2010-01-05 22:18:04 +00:00
yexo
5e85f1a7aa
(svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67
2010-01-05 21:36:05 +00:00
translators
22a7f333a1
(svn r18733) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
croatian - 36 changes by
finnish - 3 changes by jpx_
german - 1 changes by planetmaker
greek - 1 changes by Rubidium
malay - 503 changes by toadhall
polish - 1 changes by xaxa
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
2010-01-05 18:45:29 +00:00
rubidium
6ce5fe41f8
(svn r18732) -Codechange: move the company related commands of misc_cmd.cpp to company_cmd.cpp
2010-01-05 17:11:56 +00:00
rubidium
988d09b8c1
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
2010-01-05 16:59:57 +00:00
yexo
8cf1c2c19c
(svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct position
2010-01-05 14:26:15 +00:00
yexo
152f11e730
(svn r18729) -Fix [FS#3427]: the lock in the company gui was only drawn for your own company
2010-01-04 23:00:19 +00:00
yexo
0de753ee07
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
2010-01-04 22:26:25 +00:00
rubidium
5c58bce129
(svn r18727) -Fix [FS#3480]: some invalid gender/plural indices in strings, which could eventually cause crashes.
2010-01-04 21:58:47 +00:00
rubidium
21b4eb70c3
(svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo)
...
-Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers.
-Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo.
2010-01-04 21:10:20 +00:00
frosch
9e3c107ffe
(svn r18725) -Add: [NoAI] AIWaypoint::WaypointType and AIWaypoint::HasWaypointType().
...
-Change: [NoAI] Constructor of AIWaypoint now takes a WaypointType to also handle buoys.
-Remove: [NoAI] AIBuoyList.
2010-01-04 19:42:29 +00:00
yexo
b1c19315e7
(svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs
2010-01-04 18:50:50 +00:00
rubidium
906418347e
(svn r18723) -Codechange: also simplify looping over an area when building trees, desert, rocky areas or leveling land
2010-01-04 18:49:27 +00:00
translators
12b949d681
(svn r18722) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
greek - 36 changes by fumantsu
italian - 1 changes by lorenzodv
malay - 58 changes by toadhall
romanian - 1 changes by kkmic
russian - 2 changes by Lone_Wolf
serbian - 4 changes by etran
swedish - 1 changes by Landrash
2010-01-04 18:45:41 +00:00
rubidium
89fa4b4639
(svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists
2010-01-04 18:39:46 +00:00
rubidium
1df8848eb3
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
2010-01-04 18:37:47 +00:00
yexo
2a6fc142de
(svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline
2010-01-04 18:33:43 +00:00
rubidium
e48416ad4e
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
2010-01-04 18:30:10 +00:00
rubidium
6cac8be361
(svn r18717) -Codechange: use TileArea in industry instead of three separate variables. Also make use of TileArea functions for determining the 'width' and 'height' of an industry.
2010-01-04 18:21:07 +00:00
rubidium
0213d47594
(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles
2010-01-04 18:16:32 +00:00
rubidium
e202a26990
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
2010-01-04 18:12:10 +00:00
rubidium
82a96c3e35
(svn r18714) -Codechange: move the TileArea struct to it's own header
2010-01-04 18:05:14 +00:00
rubidium
ee473d6700
(svn r18713) -Fix [FS#3476]: the join station window didn't account for scrolling, so if you did scroll the station was not joined with the selected station
2010-01-04 17:54:57 +00:00
peter1138
550b68c96e
(svn r18712) -Fix (r5167): Spurious character spacing with free type fonts for small and large font sizes.
2010-01-04 16:37:53 +00:00
rubidium
b77739c512
(svn r18710) -Fix [FS#3478]: the wrong town is mentioned in the error when trying to make one way roads of town owned roads
2010-01-04 11:35:12 +00:00
peter1138
ebe260f575
(svn r18709) -Fix (r10227,FS#3464): Animation buffer for 32bpp-anim blitter was only validated during sprite blitting, other drawing operations didn't check it. Initial startup and window resize could therefore lead to crash.
2010-01-04 02:32:36 +00:00
peter1138
cb74d8ef20
(svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics.
2010-01-03 22:44:57 +00:00
yexo
566df4c8bf
(svn r18707) -Fix (r17802): local variables should not be accessed after the function returns
2010-01-03 22:43:12 +00:00
rubidium
f99c8b3f21
(svn r18703) -Feature-ish: allow virtually paying a percentage of the leg profit in feeder chains. This to give the user a better chance to get a feeder system without "losses".
2010-01-03 21:29:20 +00:00
frosch
bf3fa7522b
(svn r18702) -Fix [FS#3467]: Enable DrawGroundSpriteAt() to deal with foundations as DrawGroundSprite() does, and use this for drawing one-way-road-signs and clear-land-fences.
2010-01-03 20:55:00 +00:00
yexo
3e1d76a69c
(svn r18701) -Fix (r18700): always compile before making a commit
2010-01-03 20:14:50 +00:00
yexo
a5d00a4713
(svn r18700) -Fix: when deleting an industry on water (oil rigs) the tiles on water were not marked dirty
2010-01-03 19:33:12 +00:00
frosch
0e39e68794
(svn r18699) -Fix [FS#PlanetAndy]: GRF parameters were not properly initialised to zero, and not always checked for valid range.
2010-01-03 19:29:56 +00:00
translators
eab334a1cc
(svn r18698) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
estonian - 71 changes by KSiimson
greek - 4 changes by fumantsu
indonesian - 4 changes by prof
portuguese - 1 changes by JayCity
spanish - 1 changes by Terkhen
urdu - 13 changes by waderay
2010-01-03 18:45:21 +00:00
rubidium
58b8264854
(svn r18697) -Fix [FS#3471]: crash when scrolling to an item removed by filtering in the 'add NewGRF window'
2010-01-03 15:25:51 +00:00
yexo
d2e9e9e9dc
(svn r18696) -Fix [FS#3404]: AITile::IsCoastTile returned false for coast tiles with trees on them.
2010-01-03 12:42:50 +00:00
translators
193c4fcc91
(svn r18694) -Update from WebTranslator v3.0:
...
catalan - 7 changes by arnau
croatian - 36 changes by
korean - 1 changes by junho2813
norwegian_nynorsk - 10 changes by 2rB
polish - 4 changes by silver_777
portuguese - 2 changes by JayCity
romanian - 41 changes by tonny
2010-01-02 18:45:23 +00:00
alberth
88286f1e63
(svn r18693) -Doc: Add some doxygen comments to smallmap code.
2010-01-02 18:29:51 +00:00
yexo
a8a4116783
(svn r18692) -Fix: after a company went bankrupt it was impossible to build a new waypoint close to a deleted one until the grey sign was gone
2010-01-02 17:09:14 +00:00
yexo
9df2bfeddf
(svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to AIWaypoint
2010-01-02 16:47:32 +00:00
rubidium
42d464cdb1
(svn r18690) -Fix [FS#3469]: some keys that open windows that want to be located relatively to the toolbars/statusbar could cause a crash when in one of the end game screens
2010-01-02 16:05:27 +00:00
rubidium
5d5f0ed1e0
(svn r18689) -Codechange: move the looping over chunkhandlers code to a macro
2010-01-02 15:56:20 +00:00
rubidium
53916ac770
(svn r18688) -Cleanup: remove some unused code/constants
2010-01-02 15:52:41 +00:00
yexo
8f50437298
(svn r18687) -Add [NoAI]: AIEngine::IsBuildable to check if you can build a certain engine.
...
-Change: AIEngine::IsValidEngine will now also return true when you have at least one vehicle of that type even if you can't build it anymore.
2010-01-02 15:52:29 +00:00
rubidium
2f29975421
(svn r18686) -Fix [FS#3470]: in some cases _sl.chs is used when not initialised. As _sl.chs always refers to a single table when initialised replace _sl.chs with the actual table
2010-01-02 15:48:07 +00:00
rubidium
946bc8594c
(svn r18685) -Update: add genders to Catalan
2010-01-02 11:26:20 +00:00
rubidium
3de085a143
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
translators
b8214ed995
(svn r18682) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 36 changes by
czech - 1 changes by martin_meridius
korean - 1 changes by junho2813
norwegian_bokmal - 5 changes by CyberKenny
portuguese - 9 changes by JayCity
romanian - 5 changes by tonny
serbian - 5 changes by etran
ukrainian - 5 changes by Madvin
2010-01-01 18:45:35 +00:00
peter1138
f71eb6b0d6
(svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area.
2010-01-01 18:19:26 +00:00
peter1138
e9d778626d
(svn r18680) -Fix: Whole station area is already correct size.
2010-01-01 18:10:50 +00:00
rubidium
afb0db2549
(svn r18679) -Fix (r16993): tile area of waypoints wasn't correctly given to NewGRFs in case of multi tile waypoints
2010-01-01 18:10:10 +00:00
rubidium
705068e290
(svn r18678) -Update: happy new year
2010-01-01 00:00:45 +00:00
translators
e4fddeadcd
(svn r18677) -Update from WebTranslator v3.0:
...
catalan - 5 changes by arnau
traditional_chinese - 36 changes by josesun
croatian - 36 changes by
czech - 4 changes by martin_meridius
dutch - 5 changes by habell
finnish - 1 changes by jpx_
french - 2 changes by Skiper, glx
german - 5 changes by planetmaker
hungarian - 5 changes by alyr
italian - 5 changes by lorenzodv
korean - 4 changes by junho2813
lithuanian - 14 changes by Devastator
persian - 1 changes by Gajoo
portuguese - 2 changes by JayCity
russian - 11 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 4 changes by Landrash
urdu - 15 changes by waderay
2009-12-31 18:45:51 +00:00
rubidium
d574158a53
(svn r18676) -Change [FS#3411]: 'escape' in the 'found town' window removes the focus from the town name input box
2009-12-31 18:12:10 +00:00