smatz
4a39f236fa
(svn r17084) -Codechange: _age_cargo_skip_counter is common to all vehicle types
2009-08-06 12:33:13 +00:00
translators
45ba549cda
(svn r17076) -Update: reflect the changes Rubidium made in the last few days to all languages
2009-08-05 18:56:43 +00:00
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
2009-08-05 17:59:21 +00:00
translators
a79707357b
(svn r17074) -Update from WebTranslator v3.0:
...
simplified_chinese - 8 changes by Gavin
dutch - 50 changes by Rubidium, TrueBrain
finnish - 4 changes by jpx_
french - 47 changes by glx
frisian - 38 changes by huddekul
galician - 20 changes by Condex
german - 2 changes by Roujin
indonesian - 7 changes by fanioz
romanian - 9 changes by kkmic
russian - 51 changes by Lone_Wolf, MajestiC
spanish - 1 changes by Terkhen
2009-08-05 17:45:40 +00:00
smatz
b0c4a09301
(svn r17073) -Codechange: constify iec_prefixes[], change the code around a bit
2009-08-05 16:14:40 +00:00
rubidium
8b743d3a69
(svn r17072) -Fix: don't let squirrel export make a 'stub' for ai_changelog.hpp
2009-08-05 15:10:37 +00:00
smatz
e2d4de7b54
(svn r17071) -Fix: give a better error message when trying to make road one-way when it doesn't belong to you
2009-08-05 14:33:30 +00:00
rubidium
2a344f5240
(svn r17070) -Codechange: some minor fixes to the order in english.txt
2009-08-05 14:30:30 +00:00
smatz
98bc2e8d2b
(svn r17069) -Fix (r17004): invalid read when converting old waypoints
2009-08-05 14:12:39 +00:00
rubidium
9fb8a6825e
(svn r17068) -Change: make a number of strings more consistent with their relatives
2009-08-05 12:48:48 +00:00
rubidium
44642d8e17
(svn r17067) -Fix (r17064): local authority window got messed up a bit; also move OS names to a more logical place.
2009-08-05 12:37:09 +00:00
rubidium
f8ae9f7368
(svn r17066) -Codechange: unify the order of {TINYFONT}/{BIGFONT} and {<colour>}
2009-08-05 11:48:20 +00:00
rubidium
13163dd476
(svn r17065) -Codechange: reorder last 1/3 of the strings. Hope it makes a bit more sense now
2009-08-05 11:32:32 +00:00
rubidium
82e31a2cf5
(svn r17064) -Codechange: reorder another 1/3 of the strings
2009-08-04 22:56:12 +00:00
rubidium
34aa504b3a
(svn r17063) -Fix: terraform toolbar had the wrong tooltip for building trees.
2009-08-04 22:19:46 +00:00
rubidium
5bb7b8ad35
(svn r17062) -Change: unify the naming of some 125 strings
2009-08-04 18:04:33 +00:00
translators
8aff0c2704
(svn r17061) -Update from WebTranslator v3.0:
...
dutch - 313 changes by TrueBrain, Yexo
english_US - 5 changes by agenthh
korean - 24 changes by telk5093
portuguese - 112 changes by SupSuper
serbian - 98 changes by etran
swedish - 20 changes by hgj
turkish - 50 changes by niw3
2009-08-04 17:45:27 +00:00
rubidium
d5448bdbcb
(svn r17060) -Codechange: reorder 1/3 of the strings so they are more logically grouped (rest still needs to be done)
2009-08-04 17:16:24 +00:00
yexo
e54bed415d
(svn r17059) -Codechange: Rename a few strings to reflect their usage
2009-08-03 21:32:35 +00:00
belugas
00338562b9
(svn r17058) -Codechange: magic numbers removal.
...
Two values used intead of just one, as it gives more possibilities to those who dare...
2009-08-03 20:02:25 +00:00
translators
f2705ebd8d
(svn r17057) -Update from WebTranslator v3.0:
...
arabic_egypt - 28 changes by kasakg
simplified_chinese - 4 changes by Gavin
dutch - 12 changes by habell
english_US - 54 changes by agenthh
finnish - 9 changes by jpx_
french - 8 changes by glx
frisian - 65 changes by huddekul
russian - 9 changes by Lone_Wolf
serbian - 126 changes by etran
slovak - 9 changes by James
2009-08-03 17:45:33 +00:00
alberth
de9156db33
(svn r17056) -Codechange: Reduce width of the drop-down in the bridge gui.
2009-08-03 16:42:02 +00:00
alberth
505363edb4
(svn r17055) -Codechange: Improve aligning of bridge sprites and descriptions in bridge gui.
2009-08-03 16:36:40 +00:00
alberth
912500ba3c
(svn r17054) -Codechange: Bridge gui uses nested widgets only.
2009-08-03 15:25:52 +00:00
rubidium
b8df1e048c
(svn r17053) -Codechange: pass a Rect to DrawGraph so it knows where to draw
2009-08-03 15:23:49 +00:00
rubidium
ec467bf115
(svn r17052) -Codechange: move state changes out of OnPaint for the graph windows
2009-08-03 14:44:55 +00:00
rubidium
634019bb17
(svn r17051) -Codechange: make the graph legend window use nested widgets
2009-08-03 14:44:08 +00:00
rubidium
e751513aa1
(svn r17050) -Codechange: replace custom implementation of TILE_LOOP with TILE_LOOP.
2009-08-03 09:10:28 +00:00
yexo
9742d839e8
(svn r17049) -Fix [NoAI]: documentation of AITile::LevelTiles was wrong
2009-08-02 21:07:30 +00:00
alberth
25fbeb47f9
(svn r17048) -Codechange: Airport toolbar and airport builder window use nested widgets.
2009-08-02 21:04:15 +00:00
frosch
9765478452
(svn r17047) -Fix: Mark house tiles dirty when triggers were triggered.
2009-08-02 19:49:22 +00:00
frosch
295feebafd
(svn r17046) -Fix (r11411) [FS#3085]: Trigger house trigger 02 only for the north tile.
2009-08-02 19:48:51 +00:00
frosch
ff99d1efb4
(svn r17045) -Fix (r16867) [FS#3084]: Also 'p's can be important.
2009-08-02 19:04:48 +00:00
alberth
baa5dac8a4
(svn r17044) -Codechange: ai windows use nested widget tree.
2009-08-02 18:54:49 +00:00
yexo
127ceaf828
(svn r17043) -Change [NoAI]: Load the API before compiling an AI script so AIs can subclass API classes and use API constants as part of their own constants
2009-08-02 18:26:32 +00:00
translators
e51ec5937f
(svn r17042) -Update from WebTranslator v3.0:
...
catalan - 35 changes by arnaullv
danish - 3 changes by silentStatic
english_US - 30 changes by agenthh
frisian - 133 changes by huddekul
german - 6 changes by Roujin
hungarian - 9 changes by alyr
indonesian - 8 changes by prof
italian - 3 changes by lorenzodv
norwegian_bokmal - 4 changes by CyberKenny
spanish - 3 changes by Terkhen
turkish - 14 changes by niw3
2009-08-02 17:45:37 +00:00
rubidium
a6c4b37fc9
(svn r17041) -Fix [FS#3083] (r14735): graphical glitch with graph key
2009-08-02 16:45:53 +00:00
rubidium
6fb43177f7
(svn r17040) -Fix [FS#3081]: inconsistency between signs of stations and waypoints
2009-08-02 16:17:13 +00:00
rubidium
4579b06c89
(svn r17039) -Fix (r16988): segfault when removing rail with waypoint remover and vice versa
2009-08-02 14:54:42 +00:00
rubidium
5b315dacf2
(svn r17038) -Fix (r17015): don't download the stuff we already have
2009-08-02 13:58:11 +00:00
frosch
29d4316064
(svn r17037) -Fix (r17036): 'Polygonal Capabilities' are a core feature of windows.
2009-08-02 13:56:14 +00:00
frosch
8b50754b19
(svn r17036) -Codechange: Split price bases from economy.cpp to table/pricebase.h.
2009-08-02 12:34:26 +00:00
rubidium
f554d21349
(svn r17035) -Add: case to Turkish
2009-08-02 12:12:01 +00:00
alberth
1b791021d0
(svn r17030) -Codechange: Better descriptions for buoys.
2009-08-01 17:46:31 +00:00
translators
fc84978cca
(svn r17029) -Update from WebTranslator v3.0:
...
catalan - 3 changes by arnaullv
simplified_chinese - 7 changes by Gavin
danish - 31 changes by silentStatic
dutch - 6 changes by Yexo
frisian - 54 changes by huddekul
greek - 40 changes by fumantsu
hungarian - 1 changes by IPG
indonesian - 3 changes by prof
italian - 6 changes by lorenzodv
korean - 6 changes by telk5093
portuguese - 23 changes by SupSuper
serbian - 98 changes by BlueEyedFiend
spanish - 15 changes by Terkhen
turkish - 9 changes by niw3
urdu - 30 changes by yasirniazkhan
2009-08-01 17:45:44 +00:00
rubidium
911027d6c7
(svn r17028) -Fix (r17019): a function and class were not mentioned in the changelog
2009-08-01 16:59:53 +00:00
alberth
7f9b7345e4
(svn r17025) -Codechange: Waypoint window using all the new goodies (based on work by Rubidium).
2009-08-01 15:53:23 +00:00
alberth
eeaa337a21
(svn r17024) -Codechange: Allow InitNested to be done in two parts.
2009-08-01 15:49:18 +00:00
alberth
64210b863e
(svn r17023) -Revert (r16839): FillNestedArray() was less obsolete than anticipated.
2009-08-01 15:45:18 +00:00
alberth
98a47ba440
(svn r17022) -Codechange: Use nested widgets for the console window.
2009-08-01 12:42:58 +00:00
alberth
b445ffddcd
(svn r17021) -Codechange: Use nested widgets for the main window.
2009-08-01 12:42:27 +00:00
frosch
74594e898a
(svn r17020) -Fix: Recenter viewport of waypoint-gui after moving the sign.
2009-08-01 11:55:49 +00:00
yexo
a8794fd833
(svn r17019) -Doc: add AI API changelog
2009-08-01 10:48:22 +00:00
alberth
99a28e2239
(svn r17018) -Fix [FS#1833]: Take width of station type names into account in station builder window.
2009-08-01 10:38:25 +00:00
alberth
602ac83d8e
(svn r17017) -Fix (r17008): Setup padding for WWT_MATRIX.
2009-08-01 10:06:52 +00:00
yexo
641e80798f
(svn r17016) -Add [NoAI]: AICompany::Get/Set PresidentGender
2009-08-01 00:28:21 +00:00
rubidium
ede3aee313
(svn r17015) -Fix [FS#3075]: infinite recursion in content dependency checking
2009-07-31 23:54:43 +00:00
yexo
ef4ecc4cc3
(svn r17014) -Add [NoAI]: AIEngine::GetDesignDate
2009-07-31 23:22:49 +00:00
rubidium
f9de918274
(svn r17013) -Fix [FS#3074]: concatenating strings in Squirrel when non-ASCII strings were received from OpenTTD failed. The number of bytes in an UTF-8 encoded string isn't always the same as the number of characters in the decoded (into wchars) string
2009-07-31 23:13:53 +00:00
yexo
1ae6096e3b
(svn r17012) -Add [NoAI]: AIBaseStation::GetConstructionDate
2009-07-31 22:38:09 +00:00
yexo
86b89fda98
(svn r17011) -Change [NoAI]: Add AIBaseStation as a parentclass for AIStation and AIWaypoint, and move GetName, SetName and GetLocation to AIBaseStation
...
Remove (nearly) all references to WaypointID and replace them with StationID
2009-07-31 22:30:54 +00:00
alberth
db73234ba1
(svn r17008) -Fix [FS#3061]: Resize matrix in station build window vertically according to font height.
2009-07-31 22:08:19 +00:00
rubidium
fc46f0651b
(svn r17007) -Fix (r15896): WT2 reverted the ISO code of Serbian
2009-07-31 21:51:23 +00:00
rubidium
cb5a0369f8
(svn r17006) -Fix (r17005): gcc compile failure
2009-07-31 19:57:21 +00:00
yexo
f35d7f210f
(svn r17005) -Add [NoAI]: AIAbstractList::SORT_ASCENDING / SORT_DESCENDING
2009-07-31 19:50:01 +00:00
rubidium
a1e60a0085
(svn r17004) -Fix (r16909): StationRect of loading buoys/waypoints wasn't correctly set when loading 'old' games.
2009-07-31 19:04:22 +00:00
translators
27f0d08a1f
(svn r17003) -Update from WebTranslator v3.0:
...
dutch - 5 changes by habell
french - 3 changes by glx
german - 4 changes by planetmaker
indonesian - 21 changes by prof
portuguese - 6 changes by SupSuper
2009-07-31 17:45:19 +00:00
rubidium
5fa2b6ed8a
(svn r17002) -Change: also support distant join for waypoints
2009-07-31 16:28:28 +00:00
rubidium
1d45e1e239
(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases.
2009-07-31 13:25:20 +00:00
rubidium
d31e84b68c
(svn r17000) -Change: allow overbuilding/extending waypoints
2009-07-30 22:06:54 +00:00
rubidium
7bb48f437e
(svn r16999) -Fix (r16993): AIs couldn't build waypoints anymore
2009-07-30 22:05:57 +00:00
rubidium
3f19dde77e
(svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations
2009-07-30 21:41:21 +00:00
yexo
2ced026328
(svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type
2009-07-30 19:51:29 +00:00
yexo
b39d0577a7
(svn r16995) -Codechange: apply some code style to CmdBuildBridge
2009-07-30 19:30:13 +00:00
translators
e9fda3477c
(svn r16994) -Update from WebTranslator v3.0:
...
simplified_chinese - 3 changes by Gavin
finnish - 5 changes by jpx_
german - 6 changes by Roujin
hungarian - 2 changes by IPG
italian - 7 changes by lorenzodv
2009-07-30 17:45:19 +00:00
rubidium
1ab2d22318
(svn r16993) -Change: make the rail waypoint builder draggable
2009-07-30 17:44:13 +00:00
rubidium
e035054ab6
(svn r16992) -Add [NoAI]: function to clear waypoint(s) in a certain rectangle on the map
2009-07-30 15:17:03 +00:00
rubidium
0b5a564bac
(svn r16991) -Change: make 'remove waypoint' draggable
2009-07-30 15:16:19 +00:00
rubidium
b3f3ba36db
(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.
2009-07-29 22:32:20 +00:00
rubidium
df1c950d6a
(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints.
2009-07-29 22:13:12 +00:00
rubidium
34cb882127
(svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints
2009-07-29 22:09:05 +00:00
rubidium
96e5135c21
(svn r16987) -Codechange: simplify the code to loop train station for the station demolish code
2009-07-29 21:49:37 +00:00
yexo
42adfc055e
(svn r16986) -Fix [NoAI]: AIBridge::GetPrice returned incorrect values
2009-07-29 21:48:19 +00:00
rubidium
7ad1530ffb
(svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions
2009-07-29 21:41:45 +00:00
frosch
a3384346c8
(svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine.
2009-07-29 20:27:24 +00:00
rubidium
337d92b082
(svn r16983) -Change: work around a bogus GCC 4.4+ warning that can't be disabled
2009-07-29 20:24:48 +00:00
translators
0a63d5bd27
(svn r16982) -Update from WebTranslator v3.0:
...
catalan - 10 changes by arnaullv
dutch - 2 changes by Yexo
french - 4 changes by glx
german - 2 changes by planetmaker
russian - 3 changes by Lone_Wolf
spanish - 2 changes by Terkhen
2009-07-29 17:45:22 +00:00
rubidium
871f3ec803
(svn r16981) -Fix [FS#3062]: the last manually added server would not be saved
2009-07-29 16:45:51 +00:00
belugas
0d5d7d15c8
(svn r16979) -Codechange[FS#3066]: Add notion of Ctrl_Click in the tooltip for Loan borrow/repay buttons (planetmaker)
2009-07-29 14:33:32 +00:00
belugas
96f9567fbb
(svn r16978) -Fix(r16977): tab indentation instead of space indentation at beginning of a line, please
2009-07-29 12:45:15 +00:00
belugas
e83102f78b
(svn r16977) -Fix(r1772)[FS#3059]: make it so that failing to generate many random towns in scenario editor returns a failing message.
...
Fix by therken
Doxygen comments by me
2009-07-29 03:02:13 +00:00
rubidium
edf7b21e18
(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants
2009-07-28 21:06:38 +00:00
rubidium
2e1cee9aaf
(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first
2009-07-28 18:52:16 +00:00
translators
d59dd87e0c
(svn r16973) -Update from WebTranslator v3.0:
...
simplified_chinese - 2 changes by Gavin
esperanto - 20 changes by tradukanto
german - 3 changes by Roujin
2009-07-28 17:45:13 +00:00
rubidium
7beaa029f0
(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height.
2009-07-28 13:35:50 +00:00
alberth
a1d236f3b8
(svn r16970) -Codechange: Transparency window uses nested widgets only.
2009-07-27 21:16:13 +00:00
alberth
1d180848d6
(svn r16969) -Codechange: Normalizing transparency gui widget numbers.
2009-07-27 20:46:50 +00:00
translators
0b1f5a4a83
(svn r16968) -Update from WebTranslator v3.0:
...
danish - 14 changes by silentStatic
finnish - 1 changes by jpx_
greek - 1 changes by kinglee
malay - 26 changes by rionix88
persian - 2 changes by 100ra
brazilian_portuguese - 6 changes by Tucalipe
slovak - 37 changes by James
spanish - 2 changes by Terkhen
swedish - 4 changes by Chrill
2009-07-27 17:45:26 +00:00
rubidium
649af92ceb
(svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy rail
2009-07-27 11:59:36 +00:00
rubidium
30d9e54279
(svn r16966) -Codechange: BEGIN_TILE_LOOP and END_TILE_LOOP reworked into TILE_LOOP, which means no more duplication of parameters between BEGIN_TILE_LOOP and END_TILE_LOOP
2009-07-26 21:50:30 +00:00
rubidium
3321f45246
(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.
2009-07-26 21:07:03 +00:00
translators
43a9e72b8c
(svn r16964) -Update from WebTranslator v3.0:
...
greek - 303 changes by fumantsu
italian - 1 changes by lorenzodv
russian - 1 changes by Lone_Wolf
spanish - 25 changes by Terkhen
turkish - 1 changes by niw3
2009-07-26 17:45:18 +00:00
alberth
84507dc358
(svn r16963) -Codechange: Added NWidgetViewport widget.
2009-07-26 17:29:01 +00:00
rubidium
66bca52949
(svn r16962) -Codechange: more work towards multi tile waypoints
2009-07-26 16:17:49 +00:00
alberth
297c521b6f
(svn r16961) -Codechange: Moving some methods up in the class hierarchy to avoid code duplication.
2009-07-26 13:19:23 +00:00
alberth
9caa2e941e
(svn r16960) -Doc: Added some viewport and vehicle type doxygen strings.
2009-07-26 12:49:26 +00:00
rubidium
d827a78ab7
(svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations.
2009-07-26 09:25:00 +00:00
translators
df1fa9f066
(svn r16958) -Update from WebTranslator v3.0:
...
english_US - 2 changes by agenthh
frisian - 54 changes by huddekul
greek - 272 changes by fumantsu
russian - 8 changes by Lone_Wolf
serbian - 59 changes by etran
spanish - 122 changes by Terkhen
2009-07-25 17:45:24 +00:00
frosch
1969cbd6e8
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
2009-07-25 15:58:48 +00:00
rubidium
e4b38f4e82
(svn r16956) -Update: 'pre' translate some strings that can't be translated, like {BLACK}{STRING}
2009-07-25 15:43:40 +00:00
rubidium
a8ef0aaa99
(svn r16955) -Fix (r16954): removed a few strings too many from the translations
2009-07-25 15:22:23 +00:00
rubidium
f49259326d
(svn r16954) -Codechange: make the Game Options window use the nested widget system.
2009-07-25 15:10:52 +00:00
alberth
42714792dc
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
2009-07-25 11:54:53 +00:00
alberth
a8e5d36868
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
2009-07-25 11:32:53 +00:00
rubidium
e6c1f389fc
(svn r16951) -Change: order the strings in the options dropdown slightly more logical
2009-07-25 11:02:15 +00:00
rubidium
636acc3d7c
(svn r16950) -Codechange: unduplicate waypoint + station sign drawing
2009-07-25 10:56:36 +00:00
rubidium
37cd0ef443
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
2009-07-25 10:54:42 +00:00
rubidium
def31de3c1
(svn r16948) -Codechange: some code reductions and usage of wrapper functions
2009-07-25 10:39:58 +00:00
rubidium
58563eafa7
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
2009-07-25 08:54:19 +00:00
alberth
8dd249469a
(svn r16946) -Doc: Adding docs for some string parameter manipulation functions.
2009-07-25 07:49:49 +00:00
rubidium
f6f8d4b000
(svn r16945) -Fix (r16940): comments got swapped
2009-07-24 19:17:45 +00:00
rubidium
c02c85d645
(svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct
2009-07-24 19:09:48 +00:00
translators
b95277e1df
(svn r16943) -Update from WebTranslator v3.0:
...
simplified_chinese - 5 changes by Gavin
dutch - 1 changes by webfreakz
german - 1 changes by Roujin
indonesian - 1 changes by prof
korean - 5 changes by darkttd
portuguese - 7 changes by carlosjor
russian - 1 changes by Lone_Wolf
spanish - 30 changes by Terkhen
2009-07-24 17:45:27 +00:00
rubidium
2f453bd7cc
(svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct
2009-07-24 17:05:17 +00:00
rubidium
1c5ae254ab
(svn r16941) -Document: some map accessors
2009-07-24 15:27:31 +00:00
rubidium
eacc809fa4
(svn r16940) -Codechange: make the pathfinders behave the same when finding waypoints or stations, i.e. don't force exactly one destination tile for a waypoint
2009-07-24 15:18:25 +00:00
rubidium
196856f54e
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
2009-07-24 11:47:12 +00:00
rubidium
00a9b2fd3d
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
2009-07-24 11:15:11 +00:00
alberth
36ebb4fe58
(svn r16937) -Codechange: Make the station build window look good when resized.
2009-07-24 09:56:37 +00:00
alberth
8c29d9ee54
(svn r16936) -Fix [FS#3053]: Rail station build window with NewGRFs could crash due to uninitialized string parameter.
2009-07-24 09:45:39 +00:00
alberth
d9cdf0f9b7
(svn r16935) -Codechange: Improve wording of .lng file error message (found by cmoiromain).
2009-07-24 09:14:36 +00:00
rubidium
7b07e93b89
(svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not
2009-07-24 07:38:10 +00:00
rubidium
fb36ebd9dd
(svn r16933) -Fix [FS#3054] (r16694): vehicles would wait "very long" when they had nothing to unload and gradual loading was disabled.
2009-07-24 00:08:48 +00:00
translators
11754def93
(svn r16932) -Update from WebTranslator v3.0:
...
all languages - update for latest commits which moved around lots of strings
dutch - 5 changes by Yexo
norwegian_bokmal - 1 changes by CyberKenny
romanian - 1 changes by kkmic
spanish - 1 changes by Terkhen
2009-07-23 22:26:12 +00:00
smatz
f5e3a27f6e
(svn r16931) -Cleanup (r16922): one semicolon too much
2009-07-23 22:01:25 +00:00
rubidium
4874578e79
(svn r16930) -Codechange: more StringID name unification and grouping
2009-07-23 19:31:50 +00:00
frosch
2a5982b836
(svn r16929) -Change: There is no point in not randomising engine introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine.
2009-07-23 18:45:53 +00:00
translators
e9a9b1d2b8
(svn r16928) -Update from WebTranslator v3.0:
...
czech - 1 changes by SmatZ
dutch - 1 changes by Yexo
english_US - 6 changes by agenthh
french - 5 changes by glx
german - 1 changes by planetmaker
hungarian - 12 changes by IPG, alyr
indonesian - 5 changes by prof
italian - 4 changes by lorenzodv
norwegian_bokmal - 66 changes by CyberKenny
persian - 1 changes by 100ra
romanian - 4 changes by kkmic
russian - 3 changes by Lone_Wolf, Smoky555
spanish - 21 changes by Terkhen
swedish - 3 changes by Kindling
turkish - 19 changes by niw3
2009-07-23 17:45:47 +00:00
rubidium
11f61f8a14
(svn r16927) -Change: make the 'there is no AI' error message translatable
2009-07-23 15:39:21 +00:00
rubidium
b717e32dcc
(svn r16926) -Fix (r16925): if checking whether a station can be adjoined, don't check whether 'the other station you have already found' to be valid but the station that you just found. Especially because you won't have found as station until you have found one.
2009-07-23 12:13:53 +00:00
rubidium
7f08aa4572
(svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa.
2009-07-23 12:02:09 +00:00
rubidium
dd5e4d7366
(svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :)
2009-07-23 08:47:14 +00:00
rubidium
f8ac5d16b7
(svn r16923) -Codechange: move Cmd*Buoy* to waypoint_cmd.cpp and make them behave more like waypoints, e.g. reuse station signs of recently deleted buoys
2009-07-23 00:14:05 +00:00
rubidium
f62b2f9c7e
(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place
2009-07-22 23:39:35 +00:00
rubidium
01eabc5f4c
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22 22:44:56 +00:00
rubidium
04ee98df52
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
2009-07-22 20:17:07 +00:00
rubidium
49fcb20a91
(svn r16919) -Codechange: unify some more StringID w.r.t. their naming
2009-07-22 19:12:20 +00:00
translators
43f74cbb24
(svn r16918) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
czech - 71 changes by SmatZ
dutch - 8 changes by Yexo
english_US - 5 changes by agenthh
esperanto - 3 changes by LaPingvino
finnish - 4 changes by jpx_
german - 4 changes by planetmaker
norwegian_bokmal - 136 changes by CyberKenny
persian - 127 changes by 100ra
romanian - 1 changes by kkmic
russian - 9 changes by Lone_Wolf, MajestiC
spanish - 5 changes by Terkhen
ukrainian - 1 changes by Madvin
2009-07-22 17:45:41 +00:00
rubidium
c252e18421
(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings
2009-07-22 16:56:36 +00:00
smatz
1fcd3293c4
(svn r16916) -Fix (r16909): station acceptance was reset after game load
2009-07-22 15:10:58 +00:00
rubidium
b0e85a1f92
(svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints
2009-07-22 12:43:29 +00:00
rubidium
d361ecd8f0
(svn r16914) -Codechange: split Station and BaseStation into different files
2009-07-22 11:35:35 +00:00
alberth
60f38af7e0
(svn r16913) -Codechange: Signal, train depot, and waypoint windows switched to using nested widget tree.
2009-07-22 10:34:21 +00:00
rubidium
6435dc89fe
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
2009-07-22 10:18:19 +00:00
rubidium
42251034f0
(svn r16910) -Update: remove removed strings from the other language files
2009-07-22 09:00:49 +00:00
rubidium
100cb17fa8
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-22 08:59:57 +00:00
rubidium
9eaee690bc
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
2009-07-22 08:52:41 +00:00
rubidium
f1d6561cc4
(svn r16907) -Codechange: make a more clear distinction between reservation functions that return a bool and that return TrackBits; GetRailStationReservation vs GetRailwayStationReservation, which one returns the bool and which one the TrackBits?
2009-07-21 22:37:10 +00:00
alberth
2399f91f62
(svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently.
2009-07-21 22:25:21 +00:00
translators
0af6963327
(svn r16903) -Update from WebTranslator v3.0:
...
simplified_chinese - 2 changes by Gavin
danish - 5 changes by Bjarni
dutch - 1 changes by habell
finnish - 17 changes by jpx_
hungarian - 1 changes by alyr
italian - 1 changes by lorenzodv
korean - 1 changes by darkttd
russian - 15 changes by Lone_Wolf
serbian - 90 changes by BlueEyedFiend
welsh - 24 changes by welshdragon
2009-07-21 17:45:33 +00:00
rubidium
84dec43208
(svn r16901) -Fix [FS#3046] (rpbs): when marking trains stuck don't reset the unload counter/stuck when the vehicle is unloading. It'll be automatically reset once the vehicle wants to leave the station
2009-07-21 17:14:05 +00:00
rubidium
1dda60343f
(svn r16900) -Codechange: prepare the waypoint window for buoys
2009-07-21 16:30:01 +00:00
frosch
a8a3017921
(svn r16899) -Fix (r16896): Missing 'return'.
2009-07-21 16:20:02 +00:00
alberth
c306a8e409
(svn r16898) -Codechange: Station build window uses nested widget tree.
2009-07-21 11:40:30 +00:00
rubidium
4d3072ec67
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
2009-07-21 11:20:34 +00:00
rubidium
6670fae515
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
2009-07-21 11:11:05 +00:00
alberth
d79a1543bc
(svn r16895) -Codechange: Build dock window uses nested widget tree.
2009-07-21 10:46:32 +00:00
frosch
fec6129cd1
(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().
2009-07-20 19:58:33 +00:00
alberth
a591dc6c8c
(svn r16893) -Codechange: Ship depot build window uses nested widget tree.
2009-07-20 19:45:12 +00:00
alberth
41671a441d
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
2009-07-20 19:44:28 +00:00
alberth
8af9329010
(svn r16891) -Codechange: Docks toolbar uses nested widget tree.
2009-07-20 18:43:02 +00:00
alberth
05cbe62ba2
(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used.
2009-07-20 18:39:38 +00:00
translators
e69b57afdf
(svn r16889) -Update from WebTranslator v3.0:
...
danish - 40 changes by silentStatic
french - 1 changes by glx
galician - 37 changes by Condex
german - 1 changes by planetmaker
russian - 17 changes by Lone_Wolf
serbian - 2 changes by BlueEyedFiend
2009-07-20 17:45:25 +00:00
rubidium
8c9965fd44
(svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints
2009-07-20 16:30:37 +00:00
rubidium
45113f6d96
(svn r16887) -Fix (r16884): erroneous semicolon.
2009-07-20 13:16:15 +00:00
rubidium
39e6dbd5e3
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
2009-07-20 11:21:57 +00:00
rubidium
7dd42bbc6a
(svn r16885) -Codechange: reduce (string) duplication with vehicle lists
2009-07-20 11:12:59 +00:00
frosch
f1f4edfbd1
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
2009-07-19 19:17:41 +00:00
translators
ba11651346
(svn r16883) -Update from WebTranslator v3.0:
...
simplified_chinese - 5 changes by Gavin
traditional_chinese - 4 changes by ww9980
russian - 12 changes by Lone_Wolf
slovak - 7 changes by James
2009-07-19 17:45:17 +00:00
alberth
ac78b5b3d0
(svn r16882) -Codechange: Introduce a line_height variable in the station picker window.
2009-07-19 17:28:20 +00:00
rubidium
9943d1f650
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
2009-07-19 16:57:04 +00:00
rubidium
a854cb1f76
(svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function.
2009-07-19 15:58:47 +00:00
alberth
49db447cb9
(svn r16879) -Codechange: Use coordinates of widgets for custom rendering.
2009-07-19 15:40:43 +00:00
alberth
d35d5fc9bc
(svn r16878) -Codechange: Let WWT_LABEL widgets do the drawing rather than OnPaint.
2009-07-19 15:18:26 +00:00
smatz
3564579dc4
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
2009-07-18 19:54:35 +00:00
rubidium
196dd0974f
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
2009-07-18 18:39:17 +00:00
translators
ad880457cf
(svn r16875) -Update from WebTranslator v3.0:
...
simplified_chinese - 46 changes by EraserKing, Gavin
indonesian - 5 changes by prof
russian - 18 changes by Lone_Wolf
ukrainian - 2 changes by nsergiy
2009-07-18 17:45:16 +00:00
frosch
5310721e96
(svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains.
2009-07-18 17:38:18 +00:00
alberth
1c22a6b997
(svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets.
2009-07-18 15:29:16 +00:00
frosch
f9e085f004
(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage.
2009-07-18 12:34:19 +00:00
alberth
543b86307f
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
2009-07-18 10:46:55 +00:00
rubidium
fec1178abb
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
2009-07-18 10:39:52 +00:00
rubidium
a78751ee9a
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
2009-07-18 10:01:31 +00:00
rubidium
b4f5a1eebb
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
2009-07-18 08:41:58 +00:00
frosch
12ea92a257
(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
2009-07-17 22:00:13 +00:00
yexo
58b3260c48
(svn r16866) -Fix (r16865): forgot to run squirrel_export.sh
2009-07-17 21:45:57 +00:00
yexo
b0441f6c8c
(svn r16865) -Doc [NoAI] [FS#3037]: replace old exception names with current ones and fix a type in the noai documentation (patch by Chruker)
2009-07-17 21:36:26 +00:00
rubidium
3927fd6be7
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
2009-07-17 21:06:06 +00:00
rubidium
4ca5ce8904
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
2009-07-17 20:51:24 +00:00
rubidium
a475a81706
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
2009-07-17 20:40:29 +00:00
rubidium
f59346a863
(svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints)
2009-07-17 20:30:07 +00:00
rubidium
0e6b735b45
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
2009-07-17 20:21:24 +00:00
rubidium
46d94fdfed
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
2009-07-17 19:44:13 +00:00
translators
ad74419fb7
(svn r16858) -Update from WebTranslator v3.0:
...
simplified_chinese - 1 changes by Gavin
indonesian - 1 changes by prof
russian - 16 changes by Lone_Wolf
2009-07-17 17:45:14 +00:00
smatz
0b4b9dd764
(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed
2009-07-17 13:54:06 +00:00
alberth
70472e2d98
(svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites.
2009-07-17 10:38:07 +00:00
rubidium
70bf10b34a
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
2009-07-16 23:02:39 +00:00
rubidium
9b879dc988
(svn r16854) -Fix (r2046): savegames from before this version would get the town id as their 'index' (#<num). For stations with custom names that custom name would be dropped and the lowest 6 bits of the StringID would be used for the 'index'. In other words, it resulted in a mess.
2009-07-16 22:58:06 +00:00
smatz
ff542e8d3c
(svn r16853) -Codechange: make CargoSpec const at two places
2009-07-16 21:37:59 +00:00
smatz
cb13cf2543
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
2009-07-16 20:40:06 +00:00
rubidium
8f4ad741aa
(svn r16851) -Codechange: use StationSpecList in waypoint too
2009-07-16 20:29:08 +00:00
rubidium
5a38d8e007
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
2009-07-16 20:15:28 +00:00
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
2009-07-16 19:00:13 +00:00
alberth
832c116b5b
(svn r16848) -Fix: Trying to reduce a nested widget window further than the smallest alowed size should not crash the game.
2009-07-16 18:31:33 +00:00
translators
26970a7093
(svn r16847) -Update from WebTranslator v3.0:
...
esperanto - 5 changes by tradukanto
norwegian_bokmal - 58 changes by CyberKenny
russian - 4 changes by Lone_Wolf
2009-07-16 17:45:13 +00:00
rubidium
98b6faa2f6
(svn r16846) -Codechange: make the content download status window only use nested widgets
2009-07-16 16:48:16 +00:00
alberth
fe9f5cbc46
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
2009-07-16 16:22:23 +00:00
alberth
613d091375
(svn r16844) -Doc (r13182): Remove documentation of removed window event handling function.
2009-07-16 15:36:52 +00:00
alberth
2e298f90a9
(svn r16843) -Codechange: More documentation for the WWT_MATRIX widget, and better variable names in matrix rendering function.
2009-07-16 10:26:13 +00:00
rubidium
34570f4e93
(svn r16842) -Cleanup: add some spaces around a few operators
2009-07-16 10:13:33 +00:00
rubidium
e39646d93b
(svn r16841) -Cleanup: spaces/tabs where they don't belong
2009-07-16 10:01:32 +00:00
alberth
4458a1ec32
(svn r16840) -Codechange: Small merge in town directory widget content method.
2009-07-15 23:04:26 +00:00
alberth
1aa6de3873
(svn r16839) -Codechange: Remove obsolete FillNestedArray().
2009-07-15 22:55:43 +00:00
alberth
62fc8bd6c5
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
2009-07-15 22:51:37 +00:00
alberth
0dcb1a320d
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
2009-07-15 22:17:08 +00:00
yexo
6e467e8ae0
(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD
2009-07-15 19:47:06 +00:00
translators
0b749ffa66
(svn r16833) -Fix: WT3 made its first bug .. it is growing up!
2009-07-15 17:53:02 +00:00
translators
150daec67a
(svn r16832) -Update from WebTranslator v3.0:
...
simplified_chinese - 54 changes by Gavin
german - 4 changes by Araxiel
korean - 31 changes by telk5093
brazilian_portuguese - 2 changes by Tucalipe
russian - 26 changes by Lone_Wolf, Unknown
2009-07-15 17:45:19 +00:00
alberth
4969d387d3
(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window.
2009-07-14 21:25:32 +00:00
translators
6a84a48990
(svn r16829) -Update from WebTranslator v3.0:
...
arabic_egypt - 46 changes by kasakg
simplified_chinese - 1 changes by Gavin
esperanto - 205 changes by tradukanto
german - 1 changes by planetmaker
greek - 4 changes by kinglee
korean - 201 changes by darkttd, telk5093
russian - 28 changes by Lone_Wolf
serbian - 89 changes by etran
2009-07-14 17:45:29 +00:00
rubidium
6cf59514d1
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
2009-07-14 17:16:32 +00:00
rubidium
2f6f510452
(svn r16827) -Codechange: make OSX specific files include stdafx.h always as the first file. Also unify OSX specific stuff into osx_stdafx.h and remove unused includes.
2009-07-14 16:43:45 +00:00
rubidium
873adde908
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
2009-07-13 23:15:13 +00:00
rubidium
79deeee323
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
2009-07-13 22:33:25 +00:00
smatz
a2ce1e6e8f
(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()
2009-07-13 22:07:07 +00:00
frosch
3a76b9be2b
(svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle.
2009-07-13 20:27:54 +00:00
frosch
23599a1ed4
(svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part.
2009-07-13 19:34:43 +00:00
frosch
1fbbf29987
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
2009-07-13 19:30:37 +00:00
translators
fc8bb190b0
(svn r16816) -Update from WebTranslator v3.0:
...
galician - 229 changes by Condex
indonesian - 1 changes by prof
korean - 2 changes by darkttd
polish - 18 changes by mysteq
russian - 10 changes by Lone_Wolf
2009-07-13 17:45:20 +00:00
rubidium
fd980be463
(svn r16815) -Fix: reduce the toolbar's priority for handling keypresses from most important to least important, so e.g. the order windows' 'd' skips to the next order
2009-07-13 16:41:34 +00:00
smatz
64de470917
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
2009-07-13 16:37:27 +00:00
smatz
98b8479f56
(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle
2009-07-13 16:35:22 +00:00
rubidium
0a1b4912ef
(svn r16811) -Change: introduce a plural 'rule' for Korean
2009-07-13 14:42:09 +00:00
smatz
2de68b2894
(svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected
2009-07-13 12:00:56 +00:00
smatz
2185ab8656
(svn r16808) -Fix (r16338): don't crash when loading savegame with invalid references
2009-07-13 11:09:02 +00:00
peter1138
1e50346943
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
2009-07-13 10:17:22 +00:00
rubidium
5e3326d4d7
(svn r16802) -Fix [FS#3031]: service orders didn't behave like conditional orders; if a train doesn't need service it didn't completely skip the order, it would first send the vehicle towards the depot and would then realise it doesn't need to go there making it possible that the vehicle leaves that station on the wrong side.
2009-07-13 09:18:07 +00:00
rubidium
5fe30de455
(svn r16801) -Fix [FS#3022]: cargo payments weren't destroyed when a vehicle was destructed. This only happened when you crashed a vehicle while it was unloading.
2009-07-13 09:15:11 +00:00
translators
8bb45a35c1
(svn r16800) -Update from WebTranslator v3.0:
...
simplified_chinese - 29 changes by ww9980
galician - 108 changes by Condex
german - 2 changes by Roujin
indonesian - 3 changes by prof
korean - 5 changes by telk5093
romanian - 2 changes by kkmic
russian - 28 changes by Lone_Wolf
2009-07-12 17:45:26 +00:00
frosch
fb9ec40e44
(svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
2009-07-12 16:00:11 +00:00
alberth
95ac767add
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
2009-07-12 12:19:41 +00:00
alberth
aac49ba01c
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
2009-07-12 10:02:10 +00:00
alberth
5d9e94a2b4
(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)
2009-07-12 09:41:44 +00:00
rubidium
8cad64558f
(svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge.
2009-07-12 09:39:30 +00:00
yexo
c7647e2e15
(svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly
2009-07-12 00:14:30 +00:00
translators
bc1efe627e
(svn r16793) -Update from WebTranslator v3.0:
...
portuguese - 102 changes by SupSuper
russian - 3 changes by Lone_Wolf
spanish - 11 changes by Terkhen
2009-07-11 17:45:13 +00:00
rubidium
ff725906a7
(svn r16791) -Codechange: unify (and document) the Remove[StationType] functions.
2009-07-10 22:46:30 +00:00
yexo
f8844424cc
(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles
2009-07-10 22:30:38 +00:00
yexo
bd8f92d3ff
(svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows.
2009-07-10 22:03:09 +00:00
yexo
79285c580b
(svn r16788) -Fix: with modified_catchment off the build road station window would not display all possible cargos in the Accepts/Supplies lists
2009-07-10 21:59:07 +00:00
yexo
a656094395
(svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button
2009-07-10 20:48:08 +00:00
yexo
c633a98e0b
(svn r16786) -Fix [FS#3027] (r16752): only one tile was selected when the build airport window was opened instead of an area with the size of the airport
2009-07-10 19:41:03 +00:00
rubidium
026f3c8feb
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
2009-07-10 18:30:02 +00:00
peter1138
07dbd830b6
(svn r16784) -Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality.
2009-07-10 18:22:04 +00:00
rubidium
8a8731b3f0
(svn r16783) -Change: make it more clear that the squirrel_export script needs gawk.
2009-07-10 18:21:14 +00:00
translators
db34656972
(svn r16782) -Update from WebTranslator v3.0:
...
catalan - 33 changes by arnaullv
dutch - 2 changes by habell
french - 2 changes by belugas
galician - 18 changes by Condex
german - 8 changes by Roujin
hungarian - 11 changes by alyr
italian - 2 changes by lorenzodv
persian - 67 changes by Gajet9
russian - 48 changes by Lone_Wolf
spanish - 27 changes by Terkhen
swedish - 1 changes by Chrill
2009-07-10 17:45:34 +00:00
rubidium
62f770a5fc
(svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive".
2009-07-10 16:32:12 +00:00
alberth
4f78ef88b0
(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.
2009-07-09 20:23:13 +00:00
alberth
99455ffb49
(svn r16779) -Fix: Take real smallest size of nested widgets into account for initial window position.
2009-07-09 19:57:33 +00:00
alberth
b417938f74
(svn r16778) -Codechange: Split window initialization in a data part and a size/position part.
2009-07-09 19:52:47 +00:00
translators
1ac852a1f9
(svn r16777) -Update from WebTranslator v3.0:
...
catalan - 65 changes by arnaullv
simplified_chinese - 4 changes by ww9980
finnish - 2 changes by jpx_
german - 65 changes by Roujin
icelandic - 4 changes by baldur
russian - 2 changes by svgr
spanish - 61 changes by Terkhen
vietnamese - 1 changes by sephiroth2m
2009-07-09 17:45:27 +00:00
rubidium
e448ef9d10
(svn r16773) -Fix (r16014): forgot to remove obsoleted aliases
2009-07-09 11:32:38 +00:00
rubidium
74f56861e9
(svn r16772) -Fix [FS#3019]: don't use the same error message for turning around road vehicles and flipping parts of trains in the depot
2009-07-08 22:11:55 +00:00
rubidium
f8c0926c1a
(svn r16771) -Fix: API export was forgotten causing API to think variables were uint; doesn't matter much as int was converted to uint and then back.
2009-07-08 20:49:29 +00:00
translators
1a3f111d59
(svn r16768) -Update from WebTranslator v3.0:
...
german - 2 changes by planetmaker
persian - 38 changes by Gajet9
romanian - 10 changes by kkmic
serbian - 93 changes by etran
slovak - 2 changes by James
vietnamese - 68 changes by sephiroth2m
2009-07-08 17:45:19 +00:00
yexo
484bda00de
(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore
2009-07-08 17:42:58 +00:00
rubidium
e4ef68405c
(svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
2009-07-08 12:01:26 +00:00
rubidium
770ad0c022
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
2009-07-08 08:50:20 +00:00
rubidium
bb78e5bb14
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
2009-07-08 08:30:35 +00:00
rubidium
b9e4c6653c
(svn r16763) -Add: initial translation of Vietnamese.
2009-07-08 07:53:39 +00:00
translators
5310e10674
(svn r16762) -Update from WebTranslator v3.0:
...
dutch - 1 changes by Yexo
finnish - 32 changes by jpx_
german - 47 changes by Roujin, planetmaker
indonesian - 16 changes by fanioz
russian - 6 changes by Lone_Wolf
2009-07-07 17:45:20 +00:00
rubidium
4989b4afb9
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
2009-07-07 16:51:20 +00:00
rubidium
52abc92d1f
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
2009-07-07 16:43:58 +00:00
rubidium
44ebf9a474
(svn r16759) -Codechange: some coding style in station.cpp
2009-07-07 11:21:29 +00:00
rubidium
c448d8fcdf
(svn r16758) -Document: some station related types/enums
2009-07-07 11:21:14 +00:00
rubidium
cd3219b2de
(svn r16757) -Fix [FS#3018]: in the refit window the "Select cargo type to carry" line always showed the ship refit tooltip
2009-07-07 09:19:27 +00:00
translators
5dcbeb3243
(svn r16756) -Update from WebTranslator v3.0:
...
finnish - 82 changes by jpx_
german - 2 changes by planetmaker
korean - 144 changes by darkttd, telk5093
malay - 3 changes by Syed
russian - 28 changes by Lone_Wolf
2009-07-06 17:45:17 +00:00
yexo
3fb9944210
(svn r16755) -Codechange: apply some codestyle to newgrf.cpp
2009-07-05 20:59:42 +00:00
translators
ffc5cf92c6
(svn r16754) -Update from WebTranslator v3.0:
...
arabic_egypt - 2 changes by kasakg
traditional_chinese - 64 changes by josesun
german - 4 changes by planetmaker
persian - 2 changes by Gajet9
2009-07-05 17:17:22 +00:00
yexo
7b57b54a56
(svn r16753) -Fix (r16740): Don't check the width of the same string 4 times, but pick the maximum width of all difficulty levels
2009-07-05 16:55:26 +00:00
yexo
d85adeeca5
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
2009-07-05 16:50:56 +00:00
alberth
0d6bef2171
(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size in the widgets.
2009-07-05 16:26:42 +00:00
yexo
46529bd491
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
2009-07-05 16:14:50 +00:00
alberth
df377f3ec6
(svn r16749) -Codechange: Rail toolbar uses nested widget tree only.
2009-07-05 15:53:47 +00:00
alberth
f24464e7ad
(svn r16748) -Codechange: Don't cast away constness.
2009-07-05 15:01:36 +00:00
alberth
36ce7e09ef
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
2009-07-05 14:26:29 +00:00
smatz
8786ebbad7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
2009-07-05 13:21:51 +00:00
smatz
aa4ccab6a8
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
2009-07-05 13:20:05 +00:00
translators
4764c73f1c
(svn r16743) -Update from WebTranslator v3.0:
...
german - 18 changes by planetmaker
2009-07-04 17:45:07 +00:00
alberth
43ee12137b
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
2009-07-04 15:35:36 +00:00
alberth
9cfbe11e3a
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
2009-07-04 14:13:23 +00:00
alberth
8f727713d6
(svn r16738) -Codechange: Remove casting away constness by changing the text before storing.
2009-07-04 13:55:28 +00:00
frosch
da1628d0b5
(svn r16737) -Fix (r15645): When loading a savegame Engine::grffile might be left NULL in certain cases. (dynamic_engines enabled, articulated vehicle with only wagon-override action3s)
2009-07-04 12:20:42 +00:00
rubidium
c5a44ce99e
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
2009-07-04 11:26:57 +00:00
rubidium
e56535fda5
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
2009-07-04 11:24:25 +00:00
alberth
4d577b8cc1
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
2009-07-03 22:25:59 +00:00
alberth
14d5eb0427
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
2009-07-03 21:38:41 +00:00
rubidium
677b2d07bd
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
2009-07-03 21:08:18 +00:00
yexo
bed99fdaec
(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile.
2009-07-03 19:55:07 +00:00
alberth
840ac11452
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
2009-07-03 19:34:28 +00:00
translators
d609a5be25
(svn r16729) -Update from WebTranslator v3.0:
...
german - 7 changes by planetmaker
hebrew - 2 changes by yitzc
indonesian - 28 changes by fanioz
korean - 1 changes by darkttd
brazilian_portuguese - 85 changes by Tucalipe
turkish - 23 changes by niw3
2009-07-03 17:45:22 +00:00
smatz
a7d6ccbfb0
(svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases
2009-07-03 13:33:00 +00:00
alberth
b441e00ce7
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
2009-07-02 21:18:22 +00:00
translators
12faf721a2
(svn r16726) -Update from WebTranslator v3.0:
...
indonesian - 26 changes by fanioz
italian - 8 changes by lorenzodv
korean - 29 changes by darkttd
swedish - 74 changes by daishan
2009-07-02 17:45:16 +00:00
frosch
34d45cdf9d
(svn r16725) -Documentation: raw_industry_cost_multiplier
2009-07-02 17:08:54 +00:00
smatz
fd48f3cc5c
(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)
2009-07-02 12:47:52 +00:00
smatz
32bf91aa41
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02 12:10:39 +00:00
rubidium
18fbe0aac4
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
2009-07-02 09:06:15 +00:00
rubidium
f97bd41ed4
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-02 08:59:27 +00:00
smatz
9b10bc9cdf
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
2009-07-02 00:17:27 +00:00
smatz
1e1f0ab2cf
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01 23:57:20 +00:00
smatz
378d01f2f4
(svn r16718) -Codechange: make IsFreeWagon() member of Train
2009-07-01 23:49:13 +00:00
smatz
20fedeb3d6
(svn r16717) -Codechange: make IsFrontEngine() member of Train
2009-07-01 22:22:01 +00:00
smatz
8eda6955b5
(svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount()
2009-07-01 21:33:06 +00:00
smatz
fe57925910
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
2009-07-01 21:29:03 +00:00
smatz
93557ba4e9
(svn r16714) -Codechange: use pool-like accessors for Subsidy
2009-07-01 18:45:05 +00:00
smatz
07f133e7c4
(svn r16713) -Doc: document the Subsidy struct
2009-07-01 18:18:12 +00:00
translators
26d1a888f9
(svn r16712) -Update from WebTranslator v3.0:
...
afrikaans - 23 changes by burgerd
dutch - 8 changes by Yexo
french - 8 changes by glx
german - 29 changes by dihedral, planetmaker
indonesian - 14 changes by fanioz
italian - 43 changes by lorenzodv
malay - 55 changes by Syed
2009-07-01 17:45:22 +00:00
smatz
d04750ff87
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
2009-07-01 17:43:26 +00:00
smatz
5a227bffdc
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
2009-07-01 15:08:43 +00:00
rubidium
3b44f44287
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
2009-07-01 14:51:05 +00:00
rubidium
4e15c61aff
(svn r16708) -Cleanup: do not try to indent strings using spaces, especially strings that span multiple lines; it will not get the effect you want. Also do not indent at different levels in different strings that will be shown on the same place.
2009-07-01 09:53:54 +00:00
rubidium
ff4326d6a3
(svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded.
2009-07-01 09:50:52 +00:00
rubidium
e189037662
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
2009-07-01 09:45:30 +00:00
translators
50827afb71
(svn r16703) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
traditional_chinese - 7 changes by elleryq
danish - 3 changes by silentStatic
dutch - 4 changes by Excel20
estonian - 34 changes by kristjans
german - 7 changes by dihedral
greek - 24 changes by Gonik
malay - 30 changes by Syed
romanian - 68 changes by kneekoo
2009-06-30 17:45:27 +00:00
rubidium
54c52f4401
(svn r16702) -Change: don't implicitly fall back to the null/dedicated (video) drivers, but show an error message that no driver could be found. You can still explicitly start the null drivers thought.
2009-06-30 16:20:16 +00:00
rubidium
ffb9f1f1f9
(svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer
2009-06-30 12:42:43 +00:00
rubidium
f0693ed0c8
(svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver
2009-06-30 12:38:18 +00:00
rubidium
231626f98c
(svn r16699) -Fix [FS#3001]: if SDL fails to allocate a surface due to it being too large (and SDL doesn't crash!) fall back to another video driver.
2009-06-30 12:36:24 +00:00
translators
7de2b22d92
(svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages
2009-06-30 10:19:14 +00:00
translators
a4ffea66e0
(svn r16696) -Change: make order of pragmas identical for all languages (and to what strgen defines it to be)
...
-Change: make order of cases identical to what the case-pragma indicates
2009-06-30 10:14:17 +00:00
translators
21a845ac98
(svn r16695) -Update: WebTranslator2 update to 2009-06-30 10:00:57
...
japanese - 6 fixed by nex259 (6)
norwegian_bokmal - 8 fixed by jankmi (8)
portuguese - 9 fixed by SnowFlake (9)
serbian - 111 fixed by etran (111)
spanish - 1 fixed by erregerre (1)
2009-06-30 10:01:05 +00:00
rubidium
4f99508114
(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
...
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
2009-06-29 19:55:36 +00:00
rubidium
025cf4b546
(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.
2009-06-29 19:17:23 +00:00
translators
86dbc2bc89
(svn r16692) -Update from WebTranslator v3.0:
...
ukrainian - 3 changes by Madvin
2009-06-29 17:45:07 +00:00
rubidium
6670a92012
(svn r16691) -Codechange: what's the point of getting the fifth dparam and then using that as the second dparam later on? Especially when the fifth dparam is never set and the second dparam is never used.
2009-06-29 09:32:58 +00:00
michi_cc
dfa16d6525
(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper.
2009-06-28 22:42:19 +00:00
alberth
2509f55d87
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-28 22:23:26 +00:00
alberth
0365d15306
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
2009-06-28 21:23:37 +00:00
alberth
194701b27a
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
2009-06-28 20:09:40 +00:00