terkhen
72f4bd818c
(svn r18960) -Codechange: Move acceleration-related values to a separated cache.
2010-01-30 10:41:15 +00:00
frosch
9e4a62d1ee
(svn r18959) -Feature: [NewGRF] Allow layering of multiple groundsprites in spritelayouts of stations, houses and industrytiles; so hacks with zero-sized bounding boxes are no longer needed and no longer cause trouble.
2010-01-30 10:08:39 +00:00
alberth
5c9cb9648b
(svn r18958) -Codechange: Merge smallmap remap functions.
2010-01-30 09:54:58 +00:00
alberth
ab4072ba8d
(svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow.
2010-01-30 09:32:48 +00:00
yexo
b7fc8b4979
(svn r18956) -Update: NoAI changelog
2010-01-29 23:59:38 +00:00
yexo
15016e3511
(svn r18955) -Feature: [NoAI] introduce GetBuildCost functions in several classes to get easier cost estimations before you start building
2010-01-29 23:56:42 +00:00
smatz
54f958c8e5
(svn r18954) -Fix (r18952): missing 'inline'
2010-01-29 23:54:00 +00:00
yexo
4c4d1e1bf6
(svn r18953) -Feature: [NoAI] allow editing AI settings while an AI is running
...
Only settings with the AICONFIG_INGAME flag can be editted in this way
2010-01-29 21:38:55 +00:00
yexo
dc714960e3
(svn r18952) -Fix (r18950): loading recent (=newer then title game) savegames failed
2010-01-29 21:06:35 +00:00
translators
b0349704b0
(svn r18951) -Update from WebTranslator v3.0:
...
czech - 8 changes by ReisRyos
dutch - 6 changes by Yexo
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 4 changes by planetmaker
greek - 7 changes by fumantsu
hungarian - 4 changes by Petert
korean - 4 changes by junho2813
norwegian_bokmal - 4 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
serbian - 4 changes by etran
slovenian - 4 changes by ntadej
spanish - 4 changes by Terkhen
vietnamese - 24 changes by myquartz
2010-01-29 18:45:45 +00:00
yexo
f381b91de0
(svn r18950) -Fix: make sure the values of settings loaded from a savegame are valid
2010-01-29 18:21:10 +00:00
yexo
f8b0ddd3ec
(svn r18949) -Fix (r18942): 'reduced plane crashes' were actually 'more plane crashes'
2010-01-29 17:56:36 +00:00
yexo
ea227aa033
(svn r18948) -Fix: removing a newgrf from the list didn't update the scrollbar
2010-01-29 15:50:56 +00:00
yexo
81882039e3
(svn r18947) -Fix [FS#1510]: after clicking move up/move down in the newgrf/ai the selected item could be out of range
2010-01-29 15:45:53 +00:00
yexo
a668e801e4
(svn r18946) -Fix: it was possible to change AI settings without changing to the custom difficulty level by using the query text window
2010-01-29 01:03:22 +00:00
yexo
a43a23b408
(svn r18945) -Codechange: typo
2010-01-29 00:11:30 +00:00
yexo
fae34ee719
(svn r18944) -Change [FS#3232]: use the highest version of an AI that can load the AI data from a savegame instead of the exact same version
2010-01-29 00:03:31 +00:00
yexo
d75b9f1642
(svn r18943) -Feature [FS#2885]: make it possible to change newgame settings from within a game via the console (use setting_newgame instead of setting)
2010-01-28 23:17:28 +00:00
yexo
fa01b25f74
(svn r18942) -Feature [FS#2678]: add a setting to reduce/disable aircraft crashes
2010-01-28 22:34:14 +00:00
yexo
b689e3d6e4
(svn r18941) -Fix [FS#3575]: remove the loading indicators as soon as a train crashes
2010-01-28 22:06:13 +00:00
yexo
da3ff51759
(svn r18940) -Feature: make the crash position of aircraft a bit random by giving aircraft a chance to crash every tick they're breaking.
...
Slow aircraft will crash a bit less, fast aircraft might crash a bit more
2010-01-28 21:59:18 +00:00
terkhen
d4376779f8
(svn r18939) -Codechange [FS#3545]: Move train slope steepness to its own function.
2010-01-28 20:54:29 +00:00
frosch
294bc14652
(svn r18938) -Fix: Industrylayout's special water tile check did not properly check for crossing north border of map. Also don't consider MP_VOID tiles as water.
2010-01-28 19:41:45 +00:00
yexo
6be4560528
(svn r18937) -Fix (r15190): TileAddWrap didn't return INVALID_TILE for void tiles at the north border
2010-01-28 19:27:10 +00:00
translators
8ee96d4d45
(svn r18936) -Update from WebTranslator v3.0:
...
hungarian - 2 changes by IPG
indonesian - 5 changes by fanioz
spanish - 7 changes by yanok
vietnamese - 544 changes by myquartz
2010-01-28 18:45:16 +00:00
rubidium
c1c401b51b
(svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects
2010-01-28 18:19:34 +00:00
glx
27491c5586
(svn r18934) -Fix (r18892, r18913): the deadlock should be definitively gone now
2010-01-28 13:49:20 +00:00
peter1138
08a24fcc31
(svn r18933) -Codechange: Don't constantly redraw a window when moving it unless it actually moves.
2010-01-28 02:31:37 +00:00
peter1138
07b285c5ca
(svn r18932) -Codechange: Don't constantly redraw drop drop list.
2010-01-28 02:30:59 +00:00
frosch
a3168269f9
(svn r18931) -Fix: Disabling autoreplace rules might count invalid engines.
2010-01-27 20:54:05 +00:00
frosch
7b237ee607
(svn r18930) -Fix: [NoAI] Autoreplace is also valid for the default group.
2010-01-27 20:51:11 +00:00
frosch
ec9ac775bf
(svn r18929) -Fix [FS#3568]: Preserve some timetable related vehicle flags during autorenew/-replace.
2010-01-27 20:07:29 +00:00
frosch
9a1dddd137
(svn r18928) -Fix (r18304): The date in case of 'early arrival' was misaligned in the timetable GUI.
2010-01-27 19:52:08 +00:00
rubidium
9a4a120b6e
(svn r18927) -Change: move Vietnamese out of unfinished
2010-01-27 18:46:53 +00:00
translators
68344778e3
(svn r18926) -Update from WebTranslator v3.0:
...
romanian - 3 changes by kkmic
ukrainian - 2 changes by Madvin
vietnamese - 738 changes by myquartz
2010-01-27 18:45:13 +00:00
yexo
ea7c90d471
(svn r18925) -Fix (r18924): a waypoint can have a buoy but no rail waypoint tile
2010-01-27 13:06:58 +00:00
yexo
849e676410
(svn r18924) -Fix [NoAI]: AIOrder::GetOrderDestination could return a non-waypoint tile when the waypoint was a multitile waypoint
2010-01-27 12:45:41 +00:00
peter1138
cd6eac77c3
(svn r18923) -Fix [FS#3565]: Check source stationspec exists before copying layouts.
2010-01-27 10:17:09 +00:00
yexo
4df90cddee
(svn r18922) -Doc: add doxygen documentation to all functions in station_map.h
2010-01-26 23:25:28 +00:00
yexo
7f998ce80d
(svn r18921) -Codechange: make the preconditions for Get/Set CustomStationSpecIndex a bit more strict
2010-01-26 23:03:47 +00:00
translators
0bc1b736d7
(svn r18920) -Update from WebTranslator v3.0:
...
afrikaans - 4 changes by Maccie123
dutch - 3 changes by habell
vietnamese - 638 changes by myquartz
2010-01-26 18:45:11 +00:00
glx
918b3aff5e
(svn r18919) -Fix (r15371): strcasestr() return should not be const
2010-01-26 14:04:56 +00:00
translators
078e1edabc
(svn r18917) -Update from WebTranslator v3.0:
...
danish - 1 changes by Hatsen
lithuanian - 17 changes by BlinK_, Devastator
malay - 17 changes by toadhall
norwegian_bokmal - 84 changes by mantaray
norwegian_nynorsk - 4 changes by mantaray
polish - 1 changes by xaxa
swedish - 6 changes by tobjork
2010-01-25 18:45:23 +00:00
frosch
f379b0a1d9
(svn r18916) -Fix (r18809): Don't rely on 'time.h' being included via dark roads.
2010-01-25 17:22:06 +00:00
glx
32fa5384d2
(svn r18915) -Fix (r18912): use a macro for empty DrawTileSprites elements (and solve missing braces/initializer warnings)
2010-01-25 15:20:46 +00:00
glx
57718cc5a7
(svn r18913) -Fix (r18892): the deadlock was still possible
2010-01-25 00:43:51 +00:00
yexo
388c713f08
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
2010-01-24 20:25:28 +00:00
yexo
6ff482f515
(svn r18911) -Fix (r18910): forgot to svn add the new file
2010-01-24 20:21:09 +00:00
yexo
de3c92dd06
(svn r18910) -Codechange: move the enum with airporttile names to table/airporttile_ids.h
2010-01-24 20:17:18 +00:00
translators
3a23e38898
(svn r18909) -Update from WebTranslator v3.0:
...
hebrew - 5 changes by dnd_man
norwegian_bokmal - 284 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
slovenian - 89 changes by ntadej
welsh - 2 changes by welshdragon
2010-01-24 18:45:28 +00:00
rubidium
3d0b3818dd
(svn r18908) -Fix [FS#3561]: on bankruptcy the company value did include the loan and as such the value at which you bought the company was too low
2010-01-24 11:05:26 +00:00
alberth
b2f9b0ac43
(svn r18907) -Cleanup: Smallmap was the last user of SetPixelIfEmpty().
2010-01-23 22:37:14 +00:00
alberth
d2fc24d61c
(svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap.
2010-01-23 22:32:30 +00:00
peter1138
c83d57f228
(svn r18905) -Fix (r18902): Compile error on 64-bit with gcc
2010-01-23 22:25:00 +00:00
michi_cc
a4f50de959
(svn r18904) -Fix: Writing LZO-compressed savegames would produce invalid files and potentially overwrite memory.
2010-01-23 22:23:45 +00:00
rubidium
299d405680
(svn r18902) -Fix [FS#3559]: the default button for the advanced settings didn't work
2010-01-23 19:33:18 +00:00
rubidium
afcce5ed90
(svn r18901) -Change: make the default button work again for the world generation window; previously it worked due to the bug fixed in r18899. Do not add it again for the town custom number because there is no default for that one.
2010-01-23 19:32:56 +00:00
rubidium
37b0a61b42
(svn r18900) -Document: that an empty string for OnQueryTextFinished means 'use default'
2010-01-23 19:30:53 +00:00
rubidium
2b82db72ef
(svn r18899) -Fix: the default button was enabled even when the ENABLE_DEFAULT flag wasn't set
2010-01-23 19:30:03 +00:00
translators
4d184e9b16
(svn r18898) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
japanese - 16 changes by PouncingAnt
korean - 1 changes by junho2813
lithuanian - 275 changes by BlinK_
norwegian_bokmal - 7 changes by Zhygometh
spanish - 4 changes by Terkhen
swedish - 91 changes by tobjork
2010-01-23 18:45:23 +00:00
frosch
4034f249db
(svn r18897) -Fix: Land area information read the stationspec also for non-rail-stationtiles, which is no longer valid since r18876.
2010-01-23 16:38:09 +00:00
rubidium
9e106dca81
(svn r18896) -Fix [FS#3558]: pressing cancel for the query windows of the world generation window caused the default to be set instead of no changes to the value
2010-01-23 15:53:09 +00:00
peter1138
00ffde86d2
(svn r18893) -Codechange: Replace grf_load_* with methods of ByteReader.
2010-01-23 13:17:30 +00:00
glx
a554b41452
(svn r18892) -Fix: in some rare case a deadlock could happen when stopping sound driver (windows)
2010-01-23 01:36:49 +00:00
peter1138
200dc6821f
(svn r18891) -Fix: Avoid duplicate path separator when searching for PNG files which prevented tar-lookups.
2010-01-22 23:55:20 +00:00
frosch
3df9caa86a
(svn r18890) -Codechange: Unify drawing of foundations for MP_UNMOVABLE.
2010-01-22 22:32:39 +00:00
frosch
bf65eb686e
(svn r18889) -Codechange: Use (GroundSprite|SpriteLayout)PaletteTransform() also for drawing of default industries. They are compatible since the bubblegenerator is also randomly recoloured.
2010-01-22 21:52:20 +00:00
frosch
6260d243ee
(svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful.
2010-01-22 18:47:29 +00:00
translators
7f09435239
(svn r18887) -Update from WebTranslator v3.0:
...
bulgarian - 120 changes by Tvel
catalan - 4 changes by arnau
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
korean - 1 changes by junho2813
serbian - 3 changes by etran
slovenian - 4 changes by ntadej
spanish - 1 changes by Terkhen
2010-01-22 18:45:31 +00:00
peter1138
16e621c939
(svn r18886) -Fix (r18884): Spurious casting
2010-01-22 15:34:22 +00:00
peter1138
bb71c61ee1
(svn r18885) -Fix (r18884): Industry tile layouts weren't completely freed on error.
2010-01-22 14:03:36 +00:00
peter1138
927f149ff2
(svn r18884) -Fix: [NewGRF] Perform bounds checking for all NewGRF data reads. Explicit length checks (which were not always correct) are no longer needed so these are removed to simplify code.
2010-01-22 13:02:15 +00:00
rubidium
7ec3d9a0c6
(svn r18883) -Codechange: warn in the difficulty and AI configuration window when setting the number of AIs to non-zero when you don't have AIs
2010-01-21 23:19:50 +00:00
rubidium
18446dd599
(svn r18882) -Change: default to zero AIs
2010-01-21 23:19:13 +00:00
rubidium
5ddf56f0e0
(svn r18881) -Codechange: make the AI debug window look nicer when not at its minimum size
2010-01-21 21:08:58 +00:00
yexo
b76a5669f5
(svn r18880) -Fix: aircraft can be send to an hangar when the target airport has one and when it can land, not only when it has a plane terminal
2010-01-21 19:31:25 +00:00
translators
fdfd0ab922
(svn r18879) -Update from WebTranslator v3.0:
...
portuguese - 2 changes by SupSuper
slovenian - 6 changes by ntadej
spanish - 149 changes by Terkhen
2010-01-21 18:45:13 +00:00
yexo
e80f4f20af
(svn r18878) -Fix [NewGRF]: crash when a newgrf used var62 in an industry tile chain when the industry tile was part of an original industry
2010-01-21 18:32:44 +00:00
yexo
d04441e3f7
(svn r18877) -Change: make the default size of the AI debug window bigger so the 'no ai found' message can be read completely without resizing
2010-01-21 17:13:09 +00:00
yexo
18e7ec6b3e
(svn r18876) -Codechange: make sure m4 is always 0 for non-railroad station tiles
2010-01-21 13:34:05 +00:00
rubidium
f608ad7baf
(svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables
2010-01-21 11:17:40 +00:00
rubidium
e130e4e9ba
(svn r18874) -Codechange: Change enum Sprites { to static const StringID = for each SPR_ entry and similar for cursors and palettes. This avoids the need for a cast in some places and thus provides better type-safety.
2010-01-21 01:46:40 +00:00
rubidium
db33e32b4d
(svn r18873) -Codechange: use PaletteID also in the blitter
2010-01-21 01:44:51 +00:00
rubidium
f94c83a387
(svn r18872) -Codechange: introduce PaletteID and use it
2010-01-21 01:38:13 +00:00
translators
05129cf138
(svn r18869) -Update from WebTranslator v3.0:
...
serbian - 2 changes by etran
slovenian - 49 changes by ntadej
2010-01-20 18:45:10 +00:00
frosch
107ad9bfe1
(svn r18868) -Fix [FS#3547](r18776): Wrong comparator.
2010-01-20 17:59:31 +00:00
translators
36bb4e19ae
(svn r18867) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
greek - 1 changes by fumantsu
spanish - 109 changes by Terkhen
2010-01-19 18:45:13 +00:00
rubidium
4d93b704d9
(svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions
2010-01-18 22:57:21 +00:00
rubidium
a8749ffa5b
(svn r18864) -Fix [FS#3532]: town noise population settings could not be changed in-game
2010-01-18 21:44:31 +00:00
translators
a203eaf18f
(svn r18863) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
hebrew - 38 changes by dnd_man
polish - 1 changes by xaxa
spanish - 1 changes by Terkhen
ukrainian - 2 changes by Madvin
2010-01-18 18:45:20 +00:00
rubidium
b1bd106703
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
2010-01-18 15:41:38 +00:00
smatz
a39a446e8f
(svn r18861) -Doc: more doxygen documentation in genworld files
2010-01-18 14:58:32 +00:00
yexo
a1f28ec88b
(svn r18860) -Codechange: introduce a wrapper to get an hangar tile from a station
2010-01-18 14:32:47 +00:00
smatz
565ad802b1
(svn r18859) -Codechange: rename glwp_modes to GenenerateLandscapeWindowMode
2010-01-18 12:53:01 +00:00
yexo
bcec00fdbd
(svn r18858) -Codechange: use IsAirportTile where possible
2010-01-18 12:36:08 +00:00
yexo
ab68f08886
(svn r18857) -Codechange: don't rely on the fact that all airports are rectangular
2010-01-18 12:32:50 +00:00
smatz
84bc831e32
(svn r18856) -Codechange: do not call GetSlopeZInCorner() when there's no fence to draw
2010-01-18 12:09:25 +00:00
smatz
9fc910fbc2
(svn r18855) -Codechange: record compiler name and version in the crash log
2010-01-18 10:11:27 +00:00
rubidium
23a8d2239f
(svn r18854) -Codechange [FS#3539]: unconflict acceleration type as 'status' and rail property (Terhken)
2010-01-17 23:03:43 +00:00
smatz
11e3a00a23
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
2010-01-17 22:59:24 +00:00
rubidium
a271ef214b
(svn r18852) -Update: tweak date formatting of Hebrew
2010-01-17 22:56:47 +00:00
smatz
2469752559
(svn r18851) -Codechange: enumify number of steps needed to generate landscape
2010-01-17 21:40:35 +00:00
smatz
3850b5912f
(svn r18850) -Fix [FS#3540]: don't allow screen redraw when the landscape contains broken slopes
2010-01-17 20:28:08 +00:00
translators
75395dc8ce
(svn r18849) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 1 changes by jpx_
greek - 1 changes by fumantsu
norwegian_nynorsk - 1 changes by bjelleklang
slovenian - 96 changes by ntadej
2010-01-17 18:45:18 +00:00
rubidium
736c12f6ae
(svn r18848) -Fix (r18838): the original accelaration got broken
2010-01-17 16:52:35 +00:00
frosch
24e0945bc4
(svn r18846) -Codechange: Merge DrawTileSeq into DrawCommonTileSeq.
2010-01-17 15:05:25 +00:00
yexo
830af8ee77
(svn r18845) -Codechange: introduce AirportTileSpec and use it for animation
2010-01-17 14:22:07 +00:00
yexo
f920415752
(svn r18844) -Codechange: add GPL notice to src/table/airport_defaults.h
2010-01-17 12:48:09 +00:00
frosch
ae48ea16f9
(svn r18843) -Codechange: Only NewGRF supplied spritelayouts use SPRITE_MODIFIER_CUSTOM_SPRITE, so no extra tests needed.
2010-01-17 01:22:43 +00:00
frosch
d9d75c83d5
(svn r18842) -Codechange: Rename SPRITE_MODIFIER_USE_OFFSET to SPRITE_MODIFIER_CUSTOM_SPRITE, invert its meaning, and also use it for industry/house layouts instead of IS_CUSTOM_SPRITE().
2010-01-17 01:01:56 +00:00
frosch
707cf045f8
(svn r18841) -Fix (r16869): Default-waypoint was drawn incorrectly for monorail and maglev in the waypoint picker.
2010-01-17 00:51:18 +00:00
frosch
2e9529aff3
(svn r18840) -Codechange: Use DrawCommonTileSeq[InGUI] for roaddepot drawing.
2010-01-16 22:52:51 +00:00
frosch
381bf04bab
(svn r18839) -Codechange: Detriplicate drawing of spritelayouts in the GUI.
2010-01-16 22:44:03 +00:00
rubidium
719fb9803c
(svn r18838) -Codechange [FS#3524]: reorganisation of the train acceleration code plus some minor optimisations (Terkhen)
2010-01-16 22:30:04 +00:00
frosch
d27999e446
(svn r18837) -Codechange: Rename DrawStationTileSeq() to DrawCommonTileSeq() and move it to separate file.
2010-01-16 22:25:44 +00:00
rubidium
199091600a
(svn r18836) -Codechange: make TrainUpdateSpeed a class function and update some comments (Terkhen)
2010-01-16 22:16:28 +00:00
peter1138
df06c14f61
(svn r18835) -Fix: Large sounds could still cause an overflow with high sample rates, causing them to be cut off.
2010-01-16 22:15:02 +00:00
rubidium
15adbad2f4
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
2010-01-16 22:01:33 +00:00
peter1138
3a5e588f12
(svn r18833) -Cleanup: Const-ness and style
2010-01-16 20:59:58 +00:00
frosch
c07c7a3818
(svn r18832) -Fix: some indentation whitespace.
2010-01-16 20:51:35 +00:00
rubidium
251ffaa000
(svn r18831) -Change [FS#3537]: do not go into the crashlog handler in case loading a savegame misses with missing NewGRFs. This way the load game crash handler gets better visibility and the user is instructed to find the missing NewGRFs before filing a bug report
2010-01-16 19:08:33 +00:00
translators
7e7ec4f250
(svn r18830) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 2 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 2 changes by IPG
slovenian - 144 changes by ntadej
2010-01-16 18:45:22 +00:00
peter1138
711dea210b
(svn r18829) -Codechange: Don't free memory from within audio mixer callback handler as it may be required to be real-time safe.
2010-01-16 17:47:26 +00:00
frosch
6101ad8396
(svn r18828) -Fix (r18823): Decrementing uints is different to ints.
2010-01-16 16:44:59 +00:00
alberth
ff11095916
(svn r18827) -Fix: Center main window using smallmap widget edge coordinates.
2010-01-16 15:24:00 +00:00
frosch
6465f02fba
(svn r18826) -Codechange: Unifiy return value of (SmallArray|FixedSizeArray)::(Append|AppendC) with other containers. (skidd13)
2010-01-16 14:22:19 +00:00
frosch
84ece021fd
(svn r18825) -Codechange: Sometimes code is shorter if you do not use a function for deduplication. (skidd13)
2010-01-16 14:17:03 +00:00
frosch
e6faf06b68
(svn r18824) -Codechange: Turn some public members into protected ones. (skidd13)
2010-01-16 14:12:18 +00:00
frosch
085e9251c5
(svn r18823) -Codechange: Some uints for unsigned ints. (skidd13)
2010-01-16 14:02:22 +00:00
frosch
c7dafb9a26
(svn r18822) -Codechange: Rename YAPF-related container classes and their members to better fit other container classes. (skidd13)
2010-01-16 13:52:24 +00:00
rubidium
21fff6407d
(svn r18821) -Codechange: [Allegro] make the frequency and number of samples runtime configurable
2010-01-15 23:47:28 +00:00
rubidium
f74ce1890e
(svn r18820) -Codechange: [SDL] make the number of samples runtime configurable and increase the default slightly
2010-01-15 23:45:26 +00:00
rubidium
1a1797ec4d
(svn r18819) -Change [FS#3493]: be consistent with airport naming
2010-01-15 22:29:47 +00:00
rubidium
879668811c
(svn r18818) -Fix [FS#3526] (r18766): some train acceleration type conversions were missed
2010-01-15 22:21:50 +00:00
yexo
31d1e9c051
(svn r18816) -Fix (r18807): getting the catchment area of oilrigs triggered an assert
2010-01-15 21:00:46 +00:00
yexo
72572a0586
(svn r18815) -Fix (r18813): adding a single newgrf via the newgrf gui added all newgrfs after the selected one too
2010-01-15 20:20:24 +00:00
translators
785b7e3382
(svn r18814) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
polish - 5 changes by amateja
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2010-01-15 18:45:15 +00:00
yexo
bd102b78ee
(svn r18813) -Codechange: deduplicate copying a newgrf config
2010-01-15 18:28:30 +00:00
rubidium
aaf0b4b46c
(svn r18812) -Codechange: make some functions in train.h functions of Train.
2010-01-15 18:23:52 +00:00
rubidium
55d1db5b28
(svn r18811) -Fix (r18803): also swap the parameters for the AI API
2010-01-15 18:22:57 +00:00
glx
aff659b0b7
(svn r18810) -Fix (r18809): broken win32 compilation with SDL
2010-01-15 17:59:09 +00:00
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
yexo
f380a7239d
(svn r18808) -Cleanup: deplicate by using an existing function
2010-01-15 16:37:19 +00:00
yexo
d669801f1d
(svn r18807) -Codechange: introduce AirportSpec and move several non-statemachine-related variables to there
2010-01-15 12:08:08 +00:00
peter1138
c37d69d161
(svn r18806) -Codechange: Typo in comment
2010-01-15 11:56:31 +00:00
rubidium
ca167791b6
(svn r18805) -Codechange: move airport_movement.h to table/
2010-01-15 10:55:43 +00:00
rubidium
4ecb3eb33c
(svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD.
2010-01-14 23:06:41 +00:00
rubidium
c390e8f00e
(svn r18803) -Feature [FS#3318]: make building (long) roads work like building rail; build upon the first obstruction instead of failing totally. Patch by Terkhen.
2010-01-14 23:05:07 +00:00
frosch
ed83388faa
(svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints.
2010-01-14 22:56:54 +00:00
rubidium
f89d6bea0e
(svn r18801) -Fix: in some cases error messages weren't properly sent to the client before closing the connection. As a result the client would say 'connection lost' when the cause was something completely different.
2010-01-14 21:48:42 +00:00
rubidium
83c8c562bb
(svn r18800) -Fix: in some cases with invalid packets one can crash recent trunk and 1.0.0 betas; 0.7.5 and before can't be crashed though.
2010-01-14 21:47:31 +00:00
translators
f42b435d28
(svn r18799) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
russian - 2 changes by Lone_Wolf
ukrainian - 3 changes by Madvin
2010-01-14 18:45:13 +00:00
belugas
1335914ec8
(svn r18798) -Codechange: Simplify use of parameter p2 by using the data it is represeting. Based on work by Terkhen
2010-01-14 15:52:26 +00:00
rubidium
66b900215a
(svn r18797) -Fix (r18781): building wagons didn't add them to a train
2010-01-13 21:49:15 +00:00
rubidium
7aeccb9bd0
(svn r18796) -Fix [FS#3521]: [SDL] possible deadlock when killing OpenTTD while starting it
2010-01-13 21:34:48 +00:00
translators
f43646cd7d
(svn r18795) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 190 changes by Hirundo
portuguese - 2 changes by JayCity
spanish - 1 changes by Terkhen
2010-01-13 18:45:15 +00:00
rubidium
f9d2ccf8db
(svn r18794) -Codechange: add local company and network 'state' to the crash log
2010-01-13 15:03:34 +00:00
translators
2868da2f57
(svn r18793) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 69 changes by Hirundo
german - 1 changes by planetmaker
russian - 2 changes by Lone_Wolf
2010-01-12 18:45:15 +00:00
rubidium
9c579a5adf
(svn r18792) -Fix [FS#3522] (r18709): crash when using the 32bpp blitter with a dedicated server
2010-01-12 18:09:48 +00:00
rubidium
70aad27dcb
(svn r18791) -Fix [FS#3504]: when copying an 'image' back into the buffer the 32bpp anim blitter triggered palette check of the whole window instead of only the part the got copied back
2010-01-12 16:38:48 +00:00
peter1138
c3fffe7496
(svn r18790) -Revert (r18001,r18177,FS#3515): Viewport could still jump under high CPU load. Revert as change caused more problems than it fixed.
2010-01-12 09:54:18 +00:00
rubidium
cb820e3da3
(svn r18789) -Codechange: when we're not in a network game we don't even need to consider undrawing the chat messages
2010-01-12 00:10:38 +00:00
rubidium
351eb4665c
(svn r18788) -Codechange: replace macro as without macro it's shorter than with the macro.
2010-01-11 22:46:00 +00:00
rubidium
a535acb549
(svn r18787) -Fix [FS#3516]: crash when getting the tooltip of the industry amount in the world generation window
2010-01-11 20:58:52 +00:00
rubidium
a6ebc1a77e
(svn r18786) -Fix [FS#3507]: NoAI's custom implementation of DoCommandP has several flaws (not masking of bits, not resetting town authority updates on checks/estimates, ...). Let it use DoCommandPInternal, DoCommandP without showing error messages and such, instead.
2010-01-11 20:42:07 +00:00
rubidium
2365819312
(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
ebe99fd493
(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
3e5a87a52c
(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
6a047d2316
(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
2b97f38cd1
(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
48df0d4e06
(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
833c6f36f3
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
2010-01-11 18:34:02 +00:00
michi_cc
de878fad31
(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
f51aac3523
(svn r18777) -Codechange: remove some unused parameters from a function
2010-01-10 23:20:11 +00:00
frosch
d5fa74369a
(svn r18776) -Codechange: Use SmallVector to collect refit options.
2010-01-10 21:45:32 +00:00
rubidium
3ebec78900
(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
fee0cebc46
(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
632280e06e
(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
aca2daf841
(svn r18772) -Feature-ish: allow user customisable compression levels for the zlib compression
2010-01-10 15:35:13 +00:00
rubidium
188c8ebd5c
(svn r18771) -Codechange: minor cleanups in saveload code
2010-01-10 14:57:05 +00:00
rubidium
f5053cee7e
(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
3ca0937c1c
(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
5afce5831d
(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
2f8b49134c
(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
1382964fa0
(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
b9052fff9f
(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
e4af35d316
(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
f65f276d10
(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
7f6016031e
(svn r18762) -Codechange: unduplicate sprite layout drawing between industries and houses
2010-01-08 22:42:00 +00:00
frosch
5b422d0c64
(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
a16edfebd9
(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
da3decba52
(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
37e2ea30a8
(svn r18758) -Change: move Malay to the 'finished' languages
2010-01-08 18:47:25 +00:00
translators
b6b34e2643
(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
6179198c65
(svn r18756) -Codechange: direct accesses to png_*_struct members are deprecated
2010-01-08 03:17:12 +00:00
yexo
be3ca424f6
(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
be6fb855e8
(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
aa0b17bd60
(svn r18753) -Fix: Max TE was incorrect in the engine preview
2010-01-07 17:14:08 +00:00
rubidium
cd55161622
(svn r18752) -Codechange: unduplify some code
2010-01-07 16:39:04 +00:00
rubidium
1fc01513e2
(svn r18751) -Codechange: also log the zlib version in the crash log
2010-01-07 16:29:58 +00:00
rubidium
175db8d613
(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
882b23d3ee
(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
0e404038f2
(svn r18747) -Codechange: add some constness to the AI code
2010-01-07 00:09:27 +00:00
rubidium
1967084bc3
(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
9c4b5e32fa
(svn r18745) -Codechange: Assemble custom station foundations into a single bounding box.
2010-01-06 20:23:06 +00:00
frosch
70f96a3dbf
(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
e0bf5da9ed
(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
4257607e2b
(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
3a26658fed
(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
509d533c51
(svn r18739) -Fix (r18719): building trees on snow with rocks underneed caused an assert
2010-01-06 09:08:43 +00:00
yexo
06842771a8
(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
3157dfb675
(svn r18737) -Fix (r12028): Var67 data wasn't swapped properly for orientation.
2010-01-05 22:18:04 +00:00
yexo
75f717cce3
(svn r18736) -Feature [NewGRF]: implement varaction2houses vars 66 ad 67
2010-01-05 21:36:05 +00:00
translators
b6bca21877
(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
74ffe8647f
(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
f348afb5aa
(svn r18731) -Codechange: move the DrawStationCoverage stuff from misc_gui.cpp to station_gui.cpp
2010-01-05 16:59:57 +00:00
yexo
9143b65785
(svn r18730) -Fix [FS#3414]: new viewports didn't center on the correct position
2010-01-05 14:26:15 +00:00
yexo
fa23617380
(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
6dcfa9a063
(svn r18728) -Fix: don't mark all tiles dirty in the artic tileloop
2010-01-04 22:26:25 +00:00
rubidium
92c75f9092
(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
28fc7b47bd
(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
1ed599f5cf
(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
27fc22a76b
(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
b42e76d858
(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
76bf94bf00
(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
9dfa2db455
(svn r18721) -Codechange: simplify adding/removing rectangles of tiles from AITileLists
2010-01-04 18:39:46 +00:00
rubidium
740585c219
(svn r18720) -Codechange: simplify looping and validation of CmdBuildCanal
2010-01-04 18:37:47 +00:00
yexo
b378e82676
(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
3e131e2fec
(svn r18718) -Codechange: make a wrapper macro for looping TileAreas
2010-01-04 18:30:10 +00:00
rubidium
87466a4ed0
(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
71f2789270
(svn r18716) -Codechange: pass a TileArea to FindStationsAroundTiles
2010-01-04 18:16:32 +00:00
rubidium
31b325baaf
(svn r18715) -Codechange: make StationFinder a subclass of TileArea
2010-01-04 18:12:10 +00:00
rubidium
8b88bb0c9b
(svn r18714) -Codechange: move the TileArea struct to it's own header
2010-01-04 18:05:14 +00:00
rubidium
02a297669a
(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
51f5102713
(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
3e481c4027
(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
abb147d974
(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
5ab64809fe
(svn r18708) -Feature: [NewGRF] Add support for custom station foundation graphics.
2010-01-03 22:44:57 +00:00
yexo
9e2ccca327
(svn r18707) -Fix (r17802): local variables should not be accessed after the function returns
2010-01-03 22:43:12 +00:00
rubidium
069b6a9fab
(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
a9d4147eb2
(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
8a50a4112c
(svn r18701) -Fix (r18700): always compile before making a commit
2010-01-03 20:14:50 +00:00
yexo
47a11fff20
(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
666c856457
(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
f82c591022
(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
409007cd92
(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
6e97511bcb
(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
c73df2016a
(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
ab26bfd6a0
(svn r18693) -Doc: Add some doxygen comments to smallmap code.
2010-01-02 18:29:51 +00:00
yexo
c8c61faff2
(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
d8bcda3b94
(svn r18691) -Change [NoAI]: cleanup some errors messages and add a few to AIWaypoint
2010-01-02 16:47:32 +00:00
rubidium
43a5a4bee8
(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
35c79d81ef
(svn r18689) -Codechange: move the looping over chunkhandlers code to a macro
2010-01-02 15:56:20 +00:00
rubidium
58be174df2
(svn r18688) -Cleanup: remove some unused code/constants
2010-01-02 15:52:41 +00:00
yexo
fe67e85700
(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
ea75e7da60
(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
0f22c6030d
(svn r18685) -Update: add genders to Catalan
2010-01-02 11:26:20 +00:00
rubidium
b2e9b5d612
(svn r18683) -Fix: it's not an other
2010-01-01 18:45:40 +00:00
translators
115b207745
(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
81dc77ee23
(svn r18681) -Codechange: Use existing TILE_LOOP method for iterating trigger area.
2010-01-01 18:19:26 +00:00
peter1138
f77d88c0aa
(svn r18680) -Fix: Whole station area is already correct size.
2010-01-01 18:10:50 +00:00
rubidium
936477c323
(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
0bc292056d
(svn r18678) -Update: happy new year
2010-01-01 00:00:45 +00:00
translators
b6496be499
(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
ebfdcf575d
(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
rubidium
de3cff9e1a
(svn r18675) -Add [FS#3256]: function to remove focus from all widgets in a window
2009-12-31 18:11:03 +00:00
peter1138
739aea3e1a
(svn r18674) -Feature (FS#3459): Configurable slope steepness for trains from 0% to 10%, default is 3% as before (mostly by Terkhen)
2009-12-31 10:41:03 +00:00
peter1138
2d14ced236
(svn r18673) -Fix (r17943): Deja vu: 3 byte structs are padded to a word on ARM.
2009-12-31 07:39:05 +00:00
rubidium
768bfa969d
(svn r18672) -Codechange: mention the game date in the crash log
2009-12-31 00:09:29 +00:00
rubidium
75c46b7a27
(svn r18671) -Fix [FS#3452]: [NewGRF] If an action B did not have a 'data' string but would print it OpenTTD would segfault
2009-12-30 20:31:43 +00:00
alberth
d86dbabbc4
(svn r18670) -Fix [FS#3455]: Update all tiles when snowline height changes in larger steps than one tile.
2009-12-30 19:30:49 +00:00
translators
84a7f6aa5b
(svn r18669) -Update from WebTranslator v3.0:
...
afrikaans - 13 changes by burgerd
croatian - 36 changes by
english_US - 74 changes by agenthh
finnish - 4 changes by jpx_
french - 5 changes by glx
greek - 20 changes by fumantsu
lithuanian - 55 changes by Devastator
persian - 1 changes by Gajoo
spanish - 4 changes by Terkhen
urdu - 19 changes by waderay
2009-12-30 18:45:29 +00:00
rubidium
fbfbd2dfb9
(svn r18668) -Fix [FS#3450]: the space between the S and X of OS X should be a non-breaking one
2009-12-30 18:10:07 +00:00
rubidium
e6dbe673f0
(svn r18667) -Fix [FS#3454]: [NoAI] crash when trying to get the order destination of a 'nearest depot' order
2009-12-30 18:07:28 +00:00
alberth
4801b17837
(svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap.
2009-12-30 17:58:19 +00:00
alberth
0a7fc9e4ea
(svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap.
2009-12-30 17:44:38 +00:00
alberth
ba3ef1a2d5
(svn r18664) -Fix [FS#3449]: Unshade shaded finances window when toggling size.
2009-12-30 08:40:05 +00:00
alberth
2ab3e5ab40
(svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks.
2009-12-30 08:01:54 +00:00
yexo
60a48dbec1
(svn r18661) -Fix [FS#3169]: aircraft on the metropolitan airport took a long route to the closest loading pad
2009-12-29 23:23:16 +00:00
yexo
1520aab5b2
(svn r18660) -Cleanup: remove useless function
2009-12-29 23:13:36 +00:00
rubidium
891ded5c48
(svn r18658) -Fix [FS#3443]: wrong strings drawn for cargo subtype in vehicle details
2009-12-29 18:57:25 +00:00
translators
6cfa7df1cf
(svn r18657) -Update from WebTranslator v3.0:
...
afrikaans - 174 changes by burgerd
catalan - 10 changes by arnau
croatian - 36 changes by
norwegian_bokmal - 7 changes by Zhygometh
swedish - 32 changes by Landrash
ukrainian - 82 changes by Madvin
vietnamese - 23 changes by nglekhoi
2009-12-29 18:45:24 +00:00
orudge
00ede07b13
(svn r18656) -Feature: Add event semaphore support for OS/2
2009-12-29 04:27:39 +00:00
translators
96c699ff1e
(svn r18654) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 5 changes by jpx_
portuguese - 1 changes by JayCity
russian - 1 changes by Lone_Wolf
vietnamese - 27 changes by motorolavn, nglekhoi
2009-12-28 18:45:17 +00:00
rubidium
4697a1f431
(svn r18653) -Fix [FS#3442]: when trying to attach a wagon to an existing free wagon chain, don't attach it to itself
2009-12-28 18:26:39 +00:00
rubidium
454e124912
(svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets
2009-12-28 13:04:18 +00:00
smatz
f60b3a28d6
(svn r18651) -Fix [FS#3438](r18518): [NoAI] When AI tried to create NO_UNLOAD order, GOTO_NEAREST_DEPOT order was created instead
2009-12-28 12:12:57 +00:00
translators
224f3cd361
(svn r18649) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
finnish - 3 changes by Tve4
korean - 1 changes by dlunch
norwegian_nynorsk - 7 changes by 2rB
vietnamese - 39 changes by motorolavn, nglekhoi
2009-12-27 18:45:17 +00:00
michi_cc
40ba9933dc
(svn r18648) -Fix/Feature [FS#3430-ish]: [YAPP] Treat the backside of an one-way path signals as a safe waiting point.
2009-12-27 14:37:54 +00:00
michi_cc
f7025612e1
(svn r18647) -Fix: [YAPP] A train inside a station was not always found when checking for trains on a reserved path.
2009-12-27 14:37:50 +00:00
michi_cc
182b0b5c14
(svn r18646) -Fix [FS#3418]: [YAPP] Don't extend the reserved path through a newly built path signal directly in front of a stopped or loading train. Also restore the reserved path in more cases after removing a signal.
2009-12-27 14:37:46 +00:00
smatz
29e05554d7
(svn r18645) -Fix [FS#3433](r942): out-of-bounds access in the 'Start new multiplayer game' GUI
2009-12-27 13:38:08 +00:00
rubidium
b0c9b2c232
(svn r18644) -Fix [FS#3434]: company league window was too narrow
2009-12-27 13:19:17 +00:00
rubidium
04a8888547
(svn r18643) -Fix [FS#3436]: rotation could not be changed for heightmaps
2009-12-27 12:58:23 +00:00
rubidium
fb9eba67d1
(svn r18642) -Fix [FS#3432]: when a company goes bankrupt and has vehicles on a drive through road stop that is not theirs, the 'filled' cache of the road stops would get corrupted
2009-12-27 09:05:00 +00:00
translators
9aa89db3d6
(svn r18641) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
croatian - 36 changes by
norwegian_nynorsk - 15 changes by 2rB
russian - 4 changes by Lone_Wolf
vietnamese - 45 changes by motorolavn, nglekhoi
2009-12-26 18:45:20 +00:00
smatz
ce08aebde7
(svn r18640) -Fix (r18633): don't assert when accessing first invalid item, it's used quite often in the code
...
-Revert (r18637): it's not needed any more
2009-12-26 13:49:14 +00:00
rubidium
9574371e53
(svn r18639) -Update: Squirrel from 2.2.3 to 2.2.4
...
-Revert (r17273): this fix is included in Squirrel 2.2.4
2009-12-26 09:59:32 +00:00
rubidium
28c7c49855
(svn r18638) -Fix: downloading music sets would fail
2009-12-26 09:38:41 +00:00
rubidium
e7efb42a27
(svn r18637) -Fix [FS#3428]: check whether the content list is empty before trying to draw it
2009-12-26 09:01:28 +00:00
smatz
9cefcdab82
(svn r18636) -Codechange: make TextEffect::duration a value in ticks instead of ticks * 8
2009-12-25 23:22:41 +00:00
smatz
e6d6704f32
(svn r18635) -Codechange: store TextEffects in a SmallVector
2009-12-25 23:15:08 +00:00
rubidium
69f1db204e
(svn r18634) -Revert (r16808): the fix doesn't work in all cases
...
-Fix [FS#3421] (r16838): crash when invalid pointers are left due to saveload failing at e.g. decompressing the savegame
2009-12-25 23:14:12 +00:00
smatz
a7be7ebe80
(svn r18633) -Codechange: fortify SmallVector a bit more
2009-12-25 23:10:20 +00:00
rubidium
4dbf08fc4b
(svn r18632) -Fix (r18629): error in string caused failure of Czech language
2009-12-25 20:11:31 +00:00
rubidium
7ed2e65b77
(svn r18631) -Fix [FS#3419]: when making a screenshot from the console the currently executed command would be shown twice
2009-12-25 19:17:36 +00:00
rubidium
21a3f97a0b
(svn r18630) -Fix [FS#3419]: when making a screenshot the name of the previous screenshot went missing in the 'successful screenshot' message
2009-12-25 19:16:58 +00:00
translators
6cf4637dac
(svn r18629) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
czech - 63 changes by martin_meridius
danish - 21 changes by beruic
indonesian - 14 changes by adjayanto
russian - 20 changes by Lone_Wolf
2009-12-25 18:45:18 +00:00
rubidium
c8db92e3dd
(svn r18628) -Fix [FS#3422]: (un)loading counter being reset while loading a train and changing the (path) signal setup around the station
2009-12-25 18:01:27 +00:00
smatz
c4205c2599
(svn r18627) -Fix: no need to print 'Registers:' twice in win64 crash logs
2009-12-25 11:52:14 +00:00
rubidium
770c5d0594
(svn r18626) -Fix [FS#3425]: {CARGO} takes 2 parameters, not 1. This made {N:XYZ} commands after CARGO mess up their indices and that then triggered an assertion
2009-12-25 10:04:30 +00:00
translators
aa6081d830
(svn r18625) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
german - 6 changes by planetmaker
hungarian - 1 changes by alyr
italian - 15 changes by lorenzodv
korean - 1 changes by junho2813
romanian - 171 changes by tonny
spanish - 1 changes by Terkhen
2009-12-24 18:45:26 +00:00
rubidium
60082980fd
(svn r18622) -Merge: release changes
2009-12-23 23:09:47 +00:00
rubidium
2bb5e2de29
(svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game
2009-12-23 22:41:47 +00:00
translators
8436c3d5fb
(svn r18617) -Update from WebTranslator v3.0:
...
catalan - 21 changes by arnau
croatian - 36 changes by
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 10 changes by IPG
korean - 5 changes by junho2813
polish - 5 changes by silver_777
portuguese - 7 changes by JayCity
romanian - 168 changes by tonny
serbian - 8 changes by etran
spanish - 5 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2009-12-23 18:45:40 +00:00
rubidium
97e7a584a2
(svn r18616) -Fix [FS#3413]: crash when the current order is a conditional order when a plane is checking whether it needs servicing
2009-12-23 18:45:05 +00:00
rubidium
277794e26b
(svn r18615) -Fix: conditional orders were seen as 'valid' and as such aircraft with only conditional orders did not crash
2009-12-23 18:43:38 +00:00
smatz
fbaba4e6bd
(svn r18614) -Fix [FS#3412](r18602): too many signs were drawn, causing slowdowns
2009-12-23 17:59:34 +00:00
rubidium
82f927bd16
(svn r18613) -Codechange: add the music set to the crashlog too
2009-12-23 17:33:45 +00:00
alberth
52c7d9897e
(svn r18612) -Fix [FS#3407]: Buy vehicle window did not properly disable panel drawing while shaded.
2009-12-23 10:12:43 +00:00
rubidium
91747d72dc
(svn r18611) -Fix (r18608): uppercase-to-lowercase conversion when opening a file wasn't applied when finding the full path of a file
2009-12-23 09:08:52 +00:00
rubidium
6e97343df6
(svn r18610) -Codechange: don't consider a music set at all for 'best' set when it's missing files
2009-12-23 08:51:46 +00:00
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
2009-12-22 21:40:29 +00:00
alberth
b30e56850c
(svn r18607) -Fix (r18583): Preserve window width when shading.
2009-12-22 20:53:28 +00:00
alberth
3323d64f28
(svn r18606) -Codechange: Introduce several forms of zero-size stacked display planes.
2009-12-22 20:43:25 +00:00
alberth
7dbc77a1e7
(svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize().
2009-12-22 19:40:23 +00:00
translators
3d2c126268
(svn r18604) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 1 changes by habell
finnish - 1 changes by jpx_
french - 1 changes by glx
german - 1 changes by planetmaker
hungarian - 1 changes by alyr
korean - 5 changes by junho2813
portuguese - 5 changes by JayCity
romanian - 124 changes by tonny
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 6 changes by nglekhoi
2009-12-22 18:45:36 +00:00
rubidium
ade9773080
(svn r18603) -Codechange: move getting the song name to music_gui.cpp
2009-12-22 18:34:07 +00:00
rubidium
b0603f4c2e
(svn r18602) -Codechange: unify the viewport sign and text effect drawing
...
-Fix [FS#3394]: signs could occasionally glitch
2009-12-22 12:50:41 +00:00
alberth
96a8a0f34d
(svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations.
2009-12-22 11:22:07 +00:00
alberth
4733b696a1
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
2009-12-22 11:15:08 +00:00
alberth
d47c6e4135
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
2009-12-22 10:28:58 +00:00
rubidium
c816281e09
(svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario
2009-12-22 08:34:40 +00:00
frosch
8d8bd3d45f
(svn r18597) -Fix (r17147)[FS#3395, FS#3396]: ChangeVehicleNews() did not update the news ticker.
2009-12-21 21:14:40 +00:00
alberth
a87748df8a
(svn r18596) -Fix: Add padding to several town generation buttons and labels for nice and consistent layout.
2009-12-21 21:12:41 +00:00
rubidium
0cb84effc8
(svn r18595) -Fix (r18277): one couldn't enter test via the keyboard in the company password window. Also replace a magic number with a enumified constant.
2009-12-21 20:32:20 +00:00
translators
a7cacd98ed
(svn r18594) -Update from WebTranslator v3.0:
...
croatian - 36 changes by
dutch - 7 changes by habell
finnish - 1 changes by jpx_
korean - 47 changes by junho2813
norwegian_bokmal - 7 changes by Zhygometh
polish - 7 changes by xaxa
romanian - 13 changes by kkmic
2009-12-21 18:45:24 +00:00
rubidium
50734030aa
(svn r18593) -Fix: GetWidget call case similar to r18591
2009-12-21 18:20:18 +00:00
rubidium
38ceeb41b7
(svn r18592) -Fix (r18591): argh... save after starting the commit :(
2009-12-21 18:13:43 +00:00
rubidium
64ac99a6c1
(svn r18591) -Fix [FS#3399]: FindScrollbar could trigger an assert if the next widget (in the widget array) was a container-ish (e.g. selection) widget
2009-12-21 18:12:25 +00:00
rubidium
7c4e8421be
(svn r18590) -Fix [FS#3397]: too strict assert was triggered
2009-12-21 17:45:02 +00:00
alberth
1d7a75032f
(svn r18589) -Codechange: Add tooltip to some network windows, remove old comment.
2009-12-21 16:28:50 +00:00
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
f55c3312b3
(svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box.
2009-12-21 16:16:40 +00:00
rubidium
cc40883ad8
(svn r18586) -Fix [FS#3398]: pressing default for the starting year/snow line height edit boxes of the world generation windows didn't work.
2009-12-21 16:16:37 +00:00
rubidium
abb601f682
(svn r18585) -Codechange: replace some magic numbers by constants
2009-12-21 16:13:30 +00:00
alberth
b3ecc90992
(svn r18584) -Codechange: Generalize MakeWidgetTree to read only one widget (recursively).
2009-12-21 16:12:43 +00:00
alberth
ca66652005
(svn r18583) -Codechange: Add WWT_SHADEBOX widget and its functions (heavily based on code by erikjanp).
2009-12-21 16:06:20 +00:00
rubidium
c03aadda08
(svn r18582) -Codechange: save 8 bytes from the Window class
2009-12-20 20:49:47 +00:00
alberth
a4a043344b
(svn r18581) -Change (r18570): Update sprite tables for the window shading sprites too.
2009-12-20 20:15:19 +00:00