frosch
0ab6f60c62
(svn r19049) -Codechange: Deduplicate computing number of initial industries.
2010-02-06 20:19:59 +00:00
alberth
ec436a7615
(svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines.
2010-02-06 19:24:51 +00:00
alberth
0e97146d4d
(svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines.
2010-02-06 19:22:29 +00:00
alberth
5cd81526d8
(svn r19046) -Codechange: Move retrieval of tile colour data in smallmap.
2010-02-06 19:18:09 +00:00
translators
9734124835
(svn r19045) -Update from WebTranslator v3.0:
...
danish - 1 changes by beruic
japanese - 38 changes by PouncingAnt
turkish - 77 changes by niw3
ukrainian - 1 changes by Madvin
vietnamese - 154 changes by myquartz
2010-02-06 18:45:17 +00:00
rubidium
78f31c1744
(svn r19044) -Codechange: don't load the 'new game' NewGRFs when you're certain the savegame wouldn't have been saved with them, i.e. don't load the 'new game' NewGRFs for TTO savegames.
2010-02-06 17:26:21 +00:00
alberth
da2722da36
(svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef.
2010-02-06 15:10:12 +00:00
alberth
4cf65e6e81
(svn r19042) -Add: Allow mousewheel zooming in smallmap.
2010-02-06 13:22:04 +00:00
alberth
a6e8c747c9
(svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps.
2010-02-06 13:19:46 +00:00
alberth
21589daea9
(svn r19040) -Codechange: Introduce inverse function of RemapCoords.
2010-02-06 13:14:40 +00:00
alberth
db6e077c8a
(svn r19039) -Feature: Add zoom-out to smallmap.
2010-02-06 13:12:59 +00:00
alberth
05388c953a
(svn r19038) -Codechange: Move TileArea methods to their own file.
2010-02-06 12:56:13 +00:00
alberth
21c3dd11bd
(svn r19027) -Doc: Document RemapCoords functions.
2010-02-06 09:30:30 +00:00
alberth
3f2c4d744a
(svn r19026) -Codechange: Move a constant computation out of the loop.
2010-02-06 09:27:04 +00:00
alberth
32db019d9e
(svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn().
2010-02-06 09:25:02 +00:00
rubidium
8ee4a6e7f2
(svn r19024) -Fix [FS#3577]: mass stopping/starting/autoreplacing gave empty errors when there were no vehicles
2010-02-05 21:51:26 +00:00
rubidium
67234a6a6f
(svn r19023) -Fix (r18807): city airport introduction date had become 5 years later
2010-02-05 21:49:56 +00:00
rubidium
64ead0b513
(svn r19022) -Fix (r18770): loading old (0.1-ish) savegames failed
2010-02-05 20:22:01 +00:00
rubidium
a126db6ea4
(svn r19021) -Fix [FS#3570]: don't NULL the pointers when saving the savegame on an error during saving; the savegame is still valid
2010-02-05 20:18:30 +00:00
translators
0c226b44a3
(svn r19020) -Update from WebTranslator v3.0:
...
basque - 125 changes by Thadah
croatian - 8 changes by UnderwaterHesus
danish - 8 changes by beruic, silentStatic
portuguese - 2 changes by SupSuper
romanian - 6 changes by kkmic
ukrainian - 6 changes by Madvin
vietnamese - 106 changes by myquartz
2010-02-05 18:45:22 +00:00
smatz
d62d0ac489
(svn r19019) -Codechange: use HasExactlyOneBit() and HasAtMostOneBit() instead of CountBits() where possible
2010-02-05 17:05:58 +00:00
rubidium
7c1170668a
(svn r19017) -Doc: [NoAI] A parameter wasn't documented
2010-02-05 16:11:23 +00:00
terkhen
9cf602c7c1
(svn r19016) -Fix [FS#3591]: When removing roads, the player was also charged for removing the foundations.
2010-02-05 14:11:25 +00:00
rubidium
5d78e73445
(svn r19015) -Update: Vietnamese language settings
2010-02-05 10:47:07 +00:00
yexo
091d88f514
(svn r19014) -Add: [NoAI] AIOrder::[G|S]etStopLocation to get/set the stop location of trains in a rail station
2010-02-04 23:18:19 +00:00
yexo
d858264ca6
(svn r19012) -Fix (r19003): macos.h is not in video/cocoa/ but in os/macosx/.
2010-02-04 22:17:41 +00:00
rubidium
34fa63b8f5
(svn r19011) -Update: AI changelog
2010-02-04 22:14:11 +00:00
terkhen
9e03eb08a2
(svn r19010) -Codechange: Remove a now unneeded check at CmdBuildRailStation.
2010-02-04 21:09:29 +00:00
translators
afe2fe244d
(svn r19009) -Update from WebTranslator v3.0:
...
basque - 5 changes by Thadah
turkish - 62 changes by niw3
2010-02-04 18:45:09 +00:00
rubidium
d11bb39f43
(svn r19007) -Prepare: 1.0.0-beta4
2010-02-04 17:11:46 +00:00
rubidium
cc8fd6e910
(svn r19006) -Fix (r18970): default rail type determination failed causing 'A'/SHIFT-F4 not to work the first time. As rail types can now be anything the explicit options for the different railtypes have been removed, leaving the most used rail type and first/last available rail types.
2010-02-04 17:08:48 +00:00
rubidium
fbb9b4760a
(svn r19005) -Codechange: make animated cursors have a bit set instead of using negative numbers that are passed as uints, then cast again to be compared as ints before being inverted to be actually used. Also fixes a couple of 'integer conversion resulted in truncation' warnings ICC spewed.
2010-02-04 15:42:38 +00:00
rubidium
09730847ec
(svn r19004) -Codechange: silence ICC warning that 'integer conversion resulted in a change of sign'
2010-02-04 15:27:25 +00:00
rubidium
e62b122bb1
(svn r19003) -Fix [FS#3194]: [OSX] OS X 10.5+ does not (always?) handle 8bpp graphics in a suitable manner. This is actually not a fix but a nasty work around; you can still easily trigger the bug/issue by overriding the 'default' blitter choice (Brad Oliver). I can/have not test(ed) (including compiling) this fix.
...
Bjarni once suggested that 8bpp works for him on 10.5, so apparantly not all 10.5+ does not handle 8bpp graphics. Nevertheless, it seemed that for some systems the already existing 'does this support 8bpp' did not work, i.e. the OS API seemed to suggest that 8bpp worked when it actually did not. So, I don't know what is going on precisely here but it's definitely not nice to suggest that it supports 8bpp when it doesn't. So just ditch 8bpp support for anything that we suspect might not support 8bpp...
2010-02-04 14:32:12 +00:00
rubidium
36298c1454
(svn r19002) -Fix [FS#1140]: [OSX] Problems with scrolling touchpad (Peter Thorson). I can/have not test(ed) it, it cannot break non OSX builds.
2010-02-04 14:21:20 +00:00
rubidium
228da0ccd3
(svn r19001) -Fix: some GCC compile warnings
2010-02-04 13:35:20 +00:00
smatz
2b8f7f2078
(svn r19000) -Cleanup: remove redundant check
2010-02-04 00:40:11 +00:00
rubidium
68b908a27c
(svn r18999) -Change: update some of the defaults (Eddi)
2010-02-03 23:45:19 +00:00
rubidium
9f49882de7
(svn r18998) -Update: the credits
2010-02-03 23:08:46 +00:00
rubidium
d818c7c7b1
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
2010-02-03 21:45:48 +00:00
translators
a61cd5ad85
(svn r18995) -Update from WebTranslator v3.0:
...
greek - 8 changes by fumantsu
hebrew - 17 changes by dnd_man
russian - 6 changes by Lone_Wolf
2010-02-03 18:45:12 +00:00
rubidium
2db44fc18e
(svn r18994) -Change: content mirroring support (based on work by TrueBrain).
2010-02-03 18:42:23 +00:00
rubidium
c75f19f40b
(svn r18993) -Codechange: allow allocating multiple items in a SmallVector with one call.
2010-02-03 17:25:56 +00:00
rubidium
e437362c7b
(svn r18992) -Codechange: move the file opening/closing out of the content download function
2010-02-03 17:15:35 +00:00
rubidium
589aee0cee
(svn r18991) -Codechange: simplify memory management of DownloadSelectedContent
2010-02-03 17:12:19 +00:00
peter1138
f1458df1ca
(svn r18990) -Codechange: [NewGRF] Add rail type map bounds checking to RailType[Change|Reserve]Info().
2010-02-03 08:02:07 +00:00
peter1138
9950fc1ede
(svn r18989) -Codechange: [NewGRF] Initialise rail type map with default rail types.
2010-02-03 07:58:43 +00:00
yexo
39c1de23d6
(svn r18988) -Fix: [NewGRF] industry var A5 (=high 8 bits of var A4) returned the high 8 bits of var A2. Same problem for 9B/9A/98
2010-02-02 23:11:10 +00:00
terkhen
2798fdf082
(svn r18987) -Fix: [NoAI] Make building long rails fail for AIs if there is an obstacle in the way.
2010-02-02 22:27:03 +00:00
terkhen
b02a522038
(svn r18986) -Fix (r18803): Make building long roads fail for AIs if there is an obstacle in the way.
2010-02-02 21:25:01 +00:00
translators
8d4773be94
(svn r18985) -Update from WebTranslator v3.0:
...
basque - 1 changes by Thadah
hebrew - 33 changes by dnd_man
lithuanian - 1 changes by BlinK_
swedish - 8 changes by Chrill
vietnamese - 4 changes by nglekhoi
welsh - 3 changes by Rufus
2010-02-02 18:45:20 +00:00
terkhen
8849943da5
(svn r18984) -Add: Viewport place methods for dragging a line with limited size.
2010-02-01 23:13:15 +00:00
translators
615324130b
(svn r18983) -Update from WebTranslator v3.0:
...
traditional_chinese - 11 changes by josesun
dutch - 3 changes by habell
greek - 9 changes by fumantsu
lithuanian - 4 changes by BlinK_
norwegian_bokmal - 2 changes by CyberKenny
norwegian_nynorsk - 2 changes by mantaray
vietnamese - 5 changes by nglekhoi
2010-02-01 18:45:24 +00:00
smatz
78ffa78ee7
(svn r18981) -Change: show empty query after creating new group (instead of 'Group nnn')
2010-02-01 18:38:28 +00:00
rubidium
06e80d0a1f
(svn r18980) -Codechange: preceeding -> preceding (spelling)
2010-02-01 12:43:28 +00:00
matthijs
108b86282f
(svn r18979) -Fix: Typo in console save command output.
2010-02-01 12:29:49 +00:00
smatz
d155794605
(svn r18978) -Fix [FS#3584](r14753): possible invalid memory access when merging companies
2010-02-01 00:10:52 +00:00
terkhen
68fc39ea1d
(svn r18977) -Doc: Add comments to ViewportDragDropSelectionProcess.
2010-01-31 22:37:20 +00:00
frosch
c23e4e4538
(svn r18976) -Fix: Estimating the cost of removing statues could clear the presence flag in the town.
2010-01-31 20:56:24 +00:00
frosch
5f4f562d53
(svn r18975) -Cleanup: CMD_REMOVE_ROAD is unused.
2010-01-31 20:55:10 +00:00
frosch
cbbe311cea
(svn r18974) -Fix [FS#3578]: CMD_BUILD_ROAD missed CMD_AUTO. Also do not access tiles anymore after clearing them; that fails either in test or exec run.
2010-01-31 20:28:36 +00:00
translators
8e6096931a
(svn r18973) -Update from WebTranslator v3.0:
...
catalan - 6 changes by arnau
hebrew - 8 changes by dnd_man
italian - 2 changes by lorenzodv
lithuanian - 12 changes by BlinK_
portuguese - 6 changes by JayCity
2010-01-31 18:45:18 +00:00
peter1138
2b820780a1
(svn r18972) -Add: [NewGRF] Per-rail type speed limits.
2010-01-31 13:17:29 +00:00
peter1138
2331ccd589
(svn r18971) -Fix: Train acceleration for original acceleration model wasn't updated if the train's power changed.
2010-01-31 12:56:32 +00:00
peter1138
990cbe6263
(svn r18970) -Codechange: Increase number of possible rail types to 16.
2010-01-30 21:59:22 +00:00
peter1138
32ef582c37
(svn r18969) -Add: [NewGRF] NewGRF-settable rail type properties.
2010-01-30 21:49:22 +00:00
translators
84c6616ee0
(svn r18968) -Update from WebTranslator v3.0:
...
bulgarian - 5 changes by Tvel
czech - 3 changes by ReisRyos
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 4 changes by IPG
indonesian - 7 changes by fanioz
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
lithuanian - 6 changes by BlinK_
serbian - 2 changes by etran
slovenian - 3 changes by ntadej
spanish - 2 changes by Terkhen
vietnamese - 44 changes by myquartz
2010-01-30 18:45:45 +00:00
frosch
f9cebfcfc4
(svn r18967) -Fix (r18966): Never trust your copy&paste skills.
2010-01-30 18:43:14 +00:00
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
frosch
2f6fe85f23
(svn r18965) -Fix (r17846): Don't compare horizontal positions with vertical.
2010-01-30 17:42:04 +00:00
frosch
af50e0a4cf
(svn r18964) -Change: Highlight the selected action for town authority, and do not duplicate the itemtext to the description.
2010-01-30 16:29:52 +00:00
terkhen
272f2cd93e
(svn r18963) -Codechange: Give AccelerationModel a generical name.
2010-01-30 16:27:35 +00:00
alberth
815eede0be
(svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly.
2010-01-30 15:29:35 +00:00
alberth
cdc6f5ddc1
(svn r18961) -Codechange: Simplifying and unduplicating code in smallmap.
2010-01-30 13:11:26 +00:00
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