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
15 years ago
rubidium
5fa2b6ed8a
(svn r17002) -Change: also support distant join for waypoints
15 years ago
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.
15 years ago
rubidium
d31e84b68c
(svn r17000) -Change: allow overbuilding/extending waypoints
15 years ago
rubidium
7bb48f437e
(svn r16999) -Fix (r16993): AIs couldn't build waypoints anymore
15 years ago
rubidium
3f19dde77e
(svn r16998) -Codechange: rework/unify 'find station to join with' code and use it for all stations
15 years ago
yexo
2ced026328
(svn r16996) -Fix (r16995): the tiles under the bridge were not marked dirty when a bridge was replaced with another type
15 years ago
yexo
b39d0577a7
(svn r16995) -Codechange: apply some code style to CmdBuildBridge
15 years ago
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
15 years ago
rubidium
1ab2d22318
(svn r16993) -Change: make the rail waypoint builder draggable
15 years ago
rubidium
e035054ab6
(svn r16992) -Add [NoAI]: function to clear waypoint(s) in a certain rectangle on the map
15 years ago
rubidium
0b5a564bac
(svn r16991) -Change: make 'remove waypoint' draggable
15 years ago
rubidium
b3f3ba36db
(svn r16990) -Codechange: unify some (command) naming w.r.t. stations/waypoints.
15 years ago
rubidium
df1c950d6a
(svn r16989) -Codechange: unify the code for demolishing (dynamite) stations and waypoints.
15 years ago
rubidium
34cb882127
(svn r16988) -Codechange: unify the code for removing (parts of) stations and waypoints
15 years ago
rubidium
96e5135c21
(svn r16987) -Codechange: simplify the code to loop train station for the station demolish code
15 years ago
yexo
42adfc055e
(svn r16986) -Fix [NoAI]: AIBridge::GetPrice returned incorrect values
15 years ago
rubidium
7ad1530ffb
(svn r16985) -Codechange: simplify the station removal code a bit by giving proper names and using some helper functions
15 years ago
frosch
a3384346c8
(svn r16984) -Codechange: Document and assertify (Start|End)SpriteCombine.
15 years ago
rubidium
337d92b082
(svn r16983) -Change: work around a bogus GCC 4.4+ warning that can't be disabled
15 years ago
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
15 years ago
rubidium
871f3ec803
(svn r16981) -Fix [FS#3062]: the last manually added server would not be saved
15 years ago
belugas
0d5d7d15c8
(svn r16979) -Codechange[FS#3066]: Add notion of Ctrl_Click in the tooltip for Loan borrow/repay buttons (planetmaker)
15 years ago
belugas
96f9567fbb
(svn r16978) -Fix(r16977): tab indentation instead of space indentation at beginning of a line, please
15 years ago
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
15 years ago
rubidium
edf7b21e18
(svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants
15 years ago
rubidium
2e1cee9aaf
(svn r16974) -Codechange: do simple station build checks and 'decode' p1/p2 first
15 years ago
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
15 years ago
rubidium
7beaa029f0
(svn r16972) -Fix [FS#3058] (r16942): mixup of variables caused, in some cases, rail stations to have incorrect width/height.
15 years ago
alberth
a1d236f3b8
(svn r16970) -Codechange: Transparency window uses nested widgets only.
15 years ago
alberth
1d180848d6
(svn r16969) -Codechange: Normalizing transparency gui widget numbers.
15 years ago
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
15 years ago
rubidium
649af92ceb
(svn r16967) -Fix [FS#0356]: assert when UFO tried to destroy rail
15 years ago
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
15 years ago
rubidium
3321f45246
(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.
15 years ago
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
15 years ago
alberth
84507dc358
(svn r16963) -Codechange: Added NWidgetViewport widget.
15 years ago
rubidium
66bca52949
(svn r16962) -Codechange: more work towards multi tile waypoints
15 years ago
alberth
297c521b6f
(svn r16961) -Codechange: Moving some methods up in the class hierarchy to avoid code duplication.
15 years ago
alberth
9caa2e941e
(svn r16960) -Doc: Added some viewport and vehicle type doxygen strings.
15 years ago
rubidium
d827a78ab7
(svn r16959) -Codechange: make the station joiner a bit more aware of the difference between waypoints and stations.
15 years ago
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
15 years ago
frosch
1969cbd6e8
(svn r16957) -Fix: Trigger the same window repositioning after changing font/language as it is done after resizing the main OpenTTD window.
15 years ago
rubidium
e4b38f4e82
(svn r16956) -Update: 'pre' translate some strings that can't be translated, like {BLACK}{STRING}
15 years ago
rubidium
a8ef0aaa99
(svn r16955) -Fix (r16954): removed a few strings too many from the translations
15 years ago
rubidium
f49259326d
(svn r16954) -Codechange: make the Game Options window use the nested widget system.
15 years ago
alberth
42714792dc
(svn r16953) -Codechange: Use SetStringParameters() for simple parameterized strings.
15 years ago
alberth
a8e5d36868
(svn r16952) -Codechange: Use a label for the world population in the town directory window.
15 years ago
rubidium
e6c1f389fc
(svn r16951) -Change: order the strings in the options dropdown slightly more logical
15 years ago
rubidium
636acc3d7c
(svn r16950) -Codechange: unduplicate waypoint + station sign drawing
15 years ago
rubidium
37cd0ef443
(svn r16949) -Codechange: unify the way the DisplayOption enums are written
15 years ago
rubidium
def31de3c1
(svn r16948) -Codechange: some code reductions and usage of wrapper functions
15 years ago
rubidium
58563eafa7
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
15 years ago
alberth
8dd249469a
(svn r16946) -Doc: Adding docs for some string parameter manipulation functions.
15 years ago
rubidium
f6f8d4b000
(svn r16945) -Fix (r16940): comments got swapped
15 years ago
rubidium
c02c85d645
(svn r16944) -Codechange: remove needlessly complex way of getting the offset of items within a struct that are within a struct
15 years ago
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
15 years ago
rubidium
2f453bd7cc
(svn r16942) -Codechange: document CanExpandRailStation and remove the 'magic' array of numbers for a named struct
15 years ago
rubidium
1c5ae254ab
(svn r16941) -Document: some map accessors
15 years ago
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
15 years ago
rubidium
196856f54e
(svn r16939) -Codechange: s/RailwayStation/RailStation/ to unify the way it's written.
15 years ago
rubidium
00a9b2fd3d
(svn r16938) -Codechange: introduce helper function to tell whether a tile is either a rail station or rail waypoint tile
15 years ago
alberth
36ebb4fe58
(svn r16937) -Codechange: Make the station build window look good when resized.
15 years ago
alberth
8c29d9ee54
(svn r16936) -Fix [FS#3053]: Rail station build window with NewGRFs could crash due to uninitialized string parameter.
15 years ago
alberth
d9cdf0f9b7
(svn r16935) -Codechange: Improve wording of .lng file error message (found by cmoiromain).
15 years ago
rubidium
7b07e93b89
(svn r16934) -Codechange: introduce a simple helper function to check whether a station is pending deletion or not
15 years ago
rubidium
fb36ebd9dd
(svn r16933) -Fix [FS#3054] (r16694): vehicles would wait "very long" when they had nothing to unload and gradual loading was disabled.
15 years ago
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
15 years ago
smatz
f5e3a27f6e
(svn r16931) -Cleanup (r16922): one semicolon too much
15 years ago
rubidium
4874578e79
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
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.
15 years ago
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
15 years ago
rubidium
11f61f8a14
(svn r16927) -Change: make the 'there is no AI' error message translatable
15 years ago
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.
15 years ago
rubidium
7f08aa4572
(svn r16925) -Fix (r16909): guard commands more against using waypoints as stations and/or accidentally reusing waypoints for stations or vice versa.
15 years ago
rubidium
dd5e4d7366
(svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :)
15 years ago
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
15 years ago
rubidium
f62b2f9c7e
(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place
15 years ago
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.
15 years ago
rubidium
04ee98df52
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
15 years ago
rubidium
49fcb20a91
(svn r16919) -Codechange: unify some more StringID w.r.t. their naming
15 years ago
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
15 years ago
rubidium
c252e18421
(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings
15 years ago
smatz
1fcd3293c4
(svn r16916) -Fix (r16909): station acceptance was reset after game load
15 years ago
rubidium
b0e85a1f92
(svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints
15 years ago
rubidium
d361ecd8f0
(svn r16914) -Codechange: split Station and BaseStation into different files
15 years ago
alberth
60f38af7e0
(svn r16913) -Codechange: Signal, train depot, and waypoint windows switched to using nested widget tree.
15 years ago
rubidium
6435dc89fe
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
42251034f0
(svn r16910) -Update: remove removed strings from the other language files
15 years ago
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.
15 years ago
rubidium
9eaee690bc
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
15 years ago
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?
15 years ago
alberth
2399f91f62
(svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently.
15 years ago
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
15 years ago
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
15 years ago
rubidium
1dda60343f
(svn r16900) -Codechange: prepare the waypoint window for buoys
15 years ago
frosch
a8a3017921
(svn r16899) -Fix (r16896): Missing 'return'.
15 years ago
alberth
c306a8e409
(svn r16898) -Codechange: Station build window uses nested widget tree.
15 years ago
rubidium
4d3072ec67
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
15 years ago
rubidium
6670fae515
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
15 years ago
alberth
d79a1543bc
(svn r16895) -Codechange: Build dock window uses nested widget tree.
15 years ago
frosch
fec6129cd1
(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().
15 years ago
alberth
a591dc6c8c
(svn r16893) -Codechange: Ship depot build window uses nested widget tree.
15 years ago
alberth
41671a441d
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
15 years ago
alberth
8af9329010
(svn r16891) -Codechange: Docks toolbar uses nested widget tree.
15 years ago
alberth
05cbe62ba2
(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used.
15 years ago
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
15 years ago
rubidium
8c9965fd44
(svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints
15 years ago
rubidium
45113f6d96
(svn r16887) -Fix (r16884): erroneous semicolon.
15 years ago
rubidium
39e6dbd5e3
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
rubidium
7dd42bbc6a
(svn r16885) -Codechange: reduce (string) duplication with vehicle lists
15 years ago
frosch
f1f4edfbd1
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
15 years ago
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
15 years ago
alberth
ac78b5b3d0
(svn r16882) -Codechange: Introduce a line_height variable in the station picker window.
15 years ago
rubidium
9943d1f650
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
15 years ago
rubidium
a854cb1f76
(svn r16880) -Codechange: replace magic numbers with their enums and use a clearer variable name than 'flag' in the station naming function.
15 years ago
alberth
49db447cb9
(svn r16879) -Codechange: Use coordinates of widgets for custom rendering.
15 years ago
alberth
d35d5fc9bc
(svn r16878) -Codechange: Let WWT_LABEL widgets do the drawing rather than OnPaint.
15 years ago
smatz
3564579dc4
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
15 years ago
rubidium
196dd0974f
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
15 years ago
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
15 years ago
frosch
5310721e96
(svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains.
15 years ago
alberth
1c22a6b997
(svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets.
15 years ago
frosch
f9e085f004
(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage.
15 years ago
alberth
543b86307f
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
15 years ago
rubidium
fec1178abb
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
15 years ago
rubidium
a78751ee9a
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
15 years ago
rubidium
b4f5a1eebb
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
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.
15 years ago
yexo
58b3260c48
(svn r16866) -Fix (r16865): forgot to run squirrel_export.sh
15 years ago
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)
15 years ago
rubidium
3927fd6be7
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
15 years ago
rubidium
4ca5ce8904
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
15 years ago
rubidium
a475a81706
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
15 years ago
rubidium
f59346a863
(svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints)
15 years ago
rubidium
0e6b735b45
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
15 years ago
rubidium
46d94fdfed
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
15 years ago
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
15 years ago
smatz
0b4b9dd764
(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed
15 years ago
alberth
70472e2d98
(svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites.
15 years ago
rubidium
70bf10b34a
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
15 years ago
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.
15 years ago
smatz
ff542e8d3c
(svn r16853) -Codechange: make CargoSpec const at two places
15 years ago
smatz
cb13cf2543
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
15 years ago
rubidium
8f4ad741aa
(svn r16851) -Codechange: use StationSpecList in waypoint too
15 years ago
rubidium
5a38d8e007
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
15 years ago
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
alberth
832c116b5b
(svn r16848) -Fix: Trying to reduce a nested widget window further than the smallest alowed size should not crash the game.
15 years ago
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
15 years ago
rubidium
98b6faa2f6
(svn r16846) -Codechange: make the content download status window only use nested widgets
15 years ago
alberth
fe9f5cbc46
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
alberth
613d091375
(svn r16844) -Doc (r13182): Remove documentation of removed window event handling function.
15 years ago
alberth
2e298f90a9
(svn r16843) -Codechange: More documentation for the WWT_MATRIX widget, and better variable names in matrix rendering function.
15 years ago
rubidium
34570f4e93
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
rubidium
e39646d93b
(svn r16841) -Cleanup: spaces/tabs where they don't belong
15 years ago
alberth
4458a1ec32
(svn r16840) -Codechange: Small merge in town directory widget content method.
15 years ago
alberth
1aa6de3873
(svn r16839) -Codechange: Remove obsolete FillNestedArray().
15 years ago
alberth
62fc8bd6c5
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
15 years ago
alberth
0dcb1a320d
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
15 years ago
yexo
6e467e8ae0
(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD
15 years ago
translators
0b749ffa66
(svn r16833) -Fix: WT3 made its first bug .. it is growing up!
15 years ago
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
15 years ago
alberth
4969d387d3
(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window.
15 years ago
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
15 years ago
rubidium
6cf59514d1
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
15 years ago
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.
15 years ago
rubidium
873adde908
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
15 years ago
rubidium
79deeee323
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
smatz
a2ce1e6e8f
(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()
15 years ago
frosch
3a76b9be2b
(svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle.
15 years ago
frosch
23599a1ed4
(svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part.
15 years ago
frosch
1fbbf29987
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
15 years ago
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
15 years ago
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
15 years ago
smatz
64de470917
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
15 years ago
smatz
98b8479f56
(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle
15 years ago
rubidium
0a1b4912ef
(svn r16811) -Change: introduce a plural 'rule' for Korean
15 years ago
smatz
2de68b2894
(svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected
15 years ago
smatz
2185ab8656
(svn r16808) -Fix (r16338): don't crash when loading savegame with invalid references
15 years ago
peter1138
1e50346943
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
15 years ago
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.
15 years ago
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.
15 years ago
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
15 years ago
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.
15 years ago
alberth
95ac767add
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
15 years ago
alberth
aac49ba01c
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
15 years ago
alberth
5d9e94a2b4
(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)
15 years ago
rubidium
8cad64558f
(svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge.
15 years ago
yexo
c7647e2e15
(svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly
15 years ago
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
15 years ago
rubidium
ff725906a7
(svn r16791) -Codechange: unify (and document) the Remove[StationType] functions.
15 years ago
yexo
f8844424cc
(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles
15 years ago
yexo
bd8f92d3ff
(svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows.
15 years ago
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
15 years ago
yexo
a656094395
(svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button
15 years ago
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
15 years ago
rubidium
026f3c8feb
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
15 years ago
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.
15 years ago
rubidium
8a8731b3f0
(svn r16783) -Change: make it more clear that the squirrel_export script needs gawk.
15 years ago
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
15 years ago
rubidium
62f770a5fc
(svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive".
15 years ago
alberth
4f78ef88b0
(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.
15 years ago
alberth
99455ffb49
(svn r16779) -Fix: Take real smallest size of nested widgets into account for initial window position.
15 years ago
alberth
b417938f74
(svn r16778) -Codechange: Split window initialization in a data part and a size/position part.
15 years ago
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
15 years ago
rubidium
e448ef9d10
(svn r16773) -Fix (r16014): forgot to remove obsoleted aliases
15 years ago
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
15 years ago
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.
15 years ago
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
15 years ago
yexo
484bda00de
(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore
15 years ago
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.
15 years ago
rubidium
770ad0c022
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
15 years ago
rubidium
bb78e5bb14
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
15 years ago
rubidium
b9e4c6653c
(svn r16763) -Add: initial translation of Vietnamese.
15 years ago
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
15 years ago
rubidium
4989b4afb9
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
15 years ago
rubidium
52abc92d1f
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
15 years ago
rubidium
44ebf9a474
(svn r16759) -Codechange: some coding style in station.cpp
15 years ago
rubidium
c448d8fcdf
(svn r16758) -Document: some station related types/enums
15 years ago
rubidium
cd3219b2de
(svn r16757) -Fix [FS#3018]: in the refit window the "Select cargo type to carry" line always showed the ship refit tooltip
15 years ago
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
15 years ago
yexo
3fb9944210
(svn r16755) -Codechange: apply some codestyle to newgrf.cpp
15 years ago
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
15 years ago
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
15 years ago
yexo
d85adeeca5
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
15 years ago
alberth
0d6bef2171
(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size in the widgets.
15 years ago
yexo
46529bd491
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
15 years ago
alberth
df377f3ec6
(svn r16749) -Codechange: Rail toolbar uses nested widget tree only.
15 years ago
alberth
f24464e7ad
(svn r16748) -Codechange: Don't cast away constness.
15 years ago
alberth
36ce7e09ef
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
15 years ago
smatz
8786ebbad7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
15 years ago
smatz
aa4ccab6a8
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
15 years ago
translators
4764c73f1c
(svn r16743) -Update from WebTranslator v3.0:
...
german - 18 changes by planetmaker
15 years ago
alberth
43ee12137b
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
15 years ago
alberth
9cfbe11e3a
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
15 years ago
alberth
8f727713d6
(svn r16738) -Codechange: Remove casting away constness by changing the text before storing.
15 years ago
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)
15 years ago
rubidium
c5a44ce99e
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
15 years ago
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.
15 years ago
alberth
4d577b8cc1
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
15 years ago
alberth
14d5eb0427
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
15 years ago
rubidium
677b2d07bd
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
15 years ago
yexo
bed99fdaec
(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile.
15 years ago
alberth
840ac11452
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
15 years ago
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
15 years ago
smatz
a7d6ccbfb0
(svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases
15 years ago
alberth
b441e00ce7
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
15 years ago
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
15 years ago
frosch
34d45cdf9d
(svn r16725) -Documentation: raw_industry_cost_multiplier
15 years ago
smatz
fd48f3cc5c
(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)
15 years ago
smatz
32bf91aa41
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
15 years ago
rubidium
18fbe0aac4
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
15 years ago
rubidium
f97bd41ed4
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
15 years ago
smatz
9b10bc9cdf
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
15 years ago
smatz
1e1f0ab2cf
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
15 years ago
smatz
378d01f2f4
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
smatz
20fedeb3d6
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
8eda6955b5
(svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount()
15 years ago
smatz
fe57925910
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
15 years ago
smatz
93557ba4e9
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
07f133e7c4
(svn r16713) -Doc: document the Subsidy struct
15 years ago
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
15 years ago
smatz
d04750ff87
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
5a227bffdc
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
15 years ago
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
15 years ago
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.
15 years ago
rubidium
ff4326d6a3
(svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded.
15 years ago
rubidium
e189037662
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
15 years ago
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
15 years ago
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.
15 years ago
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
15 years ago
rubidium
f0693ed0c8
(svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver
15 years ago
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.
15 years ago
translators
7de2b22d92
(svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages
15 years ago
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
15 years ago
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)
15 years ago
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.
15 years ago
rubidium
025cf4b546
(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.
15 years ago
translators
86dbc2bc89
(svn r16692) -Update from WebTranslator v3.0:
...
ukrainian - 3 changes by Madvin
15 years ago
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.
15 years ago
michi_cc
dfa16d6525
(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper.
15 years ago
alberth
2509f55d87
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
15 years ago
alberth
0365d15306
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
15 years ago
alberth
194701b27a
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
15 years ago
translators
d443e0c0a8
(svn r16686) -Update from WebTranslator v3.0:
...
german - 4 changes by planetmaker
15 years ago
translators
cb8820f221
(svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
...
korean - 3 fixed, 28 changed by leejaeuk5 (31)
15 years ago
alberth
ae9cd9b700
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
15 years ago
rubidium
2c478d1b6d
(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.
15 years ago
rubidium
e6ac18cd57
(svn r16682) -Codechange: make (static) industry list used to trigger the industries' production compile unit static instead of passing it around as pointer
15 years ago
rubidium
7f117cf256
(svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered
15 years ago
rubidium
5140f4261b
(svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station
15 years ago
frosch
ce55eda3e1
(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.
15 years ago
frosch
523cde0798
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
15 years ago
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
frosch
4c3f480f92
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
15 years ago
translators
415c575fe5
(svn r16675) -Update from WebTranslator v3.0:
...
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
15 years ago
translators
83abcf6034
(svn r16674) -Update: WebTranslator2 update to 2009-06-27 17:32:13
...
estonian - 1 fixed by kristjans (1)
slovak - 38 fixed by James (38)
traditional_chinese - 9 fixed, 15 changed by josesun (24)
15 years ago
smatz
837b3628d9
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
alberth
28ad9897da
(svn r16672) -Codechange: Add functions to compute size of strings and sprites.
15 years ago
alberth
d5693bd446
(svn r16671) -Doc: Documenting Sprite structure.
15 years ago
alberth
657b6c84f0
(svn r16670) -Codechange: Containers with equally sized children are useful to have.
15 years ago
frosch
9136b9b779
(svn r16669) -Cleanup (r1): Only animated tiles are... animated.
15 years ago
translators
cbb3fa2eca
(svn r16668) -Update from WebTranslator v3.0:
...
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
15 years ago
smatz
873a205ae6
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
15 years ago
smatz
0e5af86ead
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
15 years ago
smatz
7b78bae8e7
(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()
15 years ago
smatz
d39c08fd9d
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
15 years ago
smatz
5ca420492f
(svn r16663) -Codechange: make removing of railway station tiles faster
15 years ago
smatz
9d63b88b22
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
15 years ago
smatz
d5e58990f8
(svn r16661) -Codechange: move definition of few very short functions to header files
15 years ago
smatz
bd208c30e0
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
translators
0767682e01
(svn r16658) -Update from WebTranslator v3.0:
...
dutch - 42 changes by Excel20
german - 26 changes by dihedral, mjreaper, planetmaker
hungarian - 39 changes by alyr
ukrainian - 47 changes by Madvin
15 years ago
translators
1eb577e003
(svn r16657) -Update: WebTranslator2 update to 2009-06-25 16:41:10
...
finnish - 1 fixed by jpx_ (1)
serbian - 110 fixed by etran (110)
15 years ago
smatz
5799a7a57c
(svn r16656) -Fix (r16655): strange things happen
15 years ago
smatz
c113303593
(svn r16655) -Codechange: use IsRailwayStationTile() more
15 years ago
smatz
72bee4ad2d
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
smatz
2fc6fc7d62
(svn r16653) -Fix (r16269): TOC() macro was broken
15 years ago
smatz
d4538bc611
(svn r16652) -Codechange: use less strict, but faster check for quickly bailing out in FindTrainCollideEnum() (Bilbo)
...
-Codechange: shuffle the code a bit
15 years ago
yexo
210c61bef7
(svn r16651) -Fix: When there is no AI version that can load data from the savegame, load the latest version of the same AI instead of a random AI.
16 years ago
yexo
b424962e57
(svn r16650) -Fix (r16649): missing ()
16 years ago
yexo
f225163e60
(svn r16649) -Fix: When the exact AI version a game was saved with is no longer available and the latest version of the AI can't load data from that AI version, use the latest available version of the AI that can load the data instead of the first found version that can load the data.
16 years ago
yexo
a52f5c45e6
(svn r16648) -Codechange: move some more includes around
16 years ago
yexo
b00726a5d2
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
16 years ago
smatz
a9602401f0
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
16 years ago
translators
6a43a2e8f2
(svn r16645) -Update from WebTranslator v3.0:
...
russian - 6 changes by Lone_Wolf
16 years ago
translators
172a366412
(svn r16644) -Update: WebTranslator2 update to 2009-06-24 17:43:08
...
czech - 1 fixed by Hadez (1)
hungarian - 1 fixed by IPG (1)
indonesian - 1 fixed by adjayanto (1)
16 years ago
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
16 years ago
smatz
916331328e
(svn r16642) -Codechange: use map size limits enum at one more place
16 years ago
smatz
4b3bf5667a
(svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum
16 years ago
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
smatz
cc9ecc4e7d
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
16 years ago
smatz
51c8a2fefc
(svn r16637) -Cleanup: remove unused _debug_station_level
16 years ago
smatz
da1b67f115
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
16 years ago
rubidium
b5f49d5b5a
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
16 years ago
smatz
54cbd17bd8
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
16 years ago
smatz
9ec6fc8a61
(svn r16633) -Codechange: remove checks for consistency of newpool
16 years ago
smatz
45312433b6
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
16 years ago
smatz
f733d75dad
(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old savegames was broken
16 years ago
glx
a2ef2e748e
(svn r16630) -Fix (r16629): forgot a continue
16 years ago
glx
a77b5e7c29
(svn r16629) -Fix: depend hang on solaris
...
-Fix: depend do not append delimiter string before deps for non empty files
-Add: support for -s option (starting string delimiter)
16 years ago
smatz
721a0b0608
(svn r16628) -Codechange: remove one gcc2 hack
16 years ago
smatz
368eb3d473
(svn r16627) -Fix: warning about comparing signed and unsigned types
16 years ago
rubidium
4b60c03e60
(svn r16625) -Fix: unsigned vs signed warning in strgen
16 years ago
rubidium
0704883074
(svn r16622) -Fix: {CARGO} only consumes 1 argument
16 years ago
translators
e8530f1c0e
(svn r16621) -Update: WebTranslator2 update to 2009-06-22 17:28:43
...
dutch - 1 fixed by Excel20 (1)
german - 1 fixed by planetmaker (1)
italian - 1 fixed by lorenzodv (1)
russian - 5 fixed, 13 changed by Lone Wolf (18)
slovenian - 1 fixed by Necrolyte (1)
16 years ago
rubidium
39d51e3cfa
(svn r16620) -Fix (r16619): sometimes one misses the obvious :(
16 years ago
rubidium
1e84abd2d6
(svn r16619) -Cleanup: more coding style in airport stuff.
16 years ago
frosch
4ff924862d
(svn r16618) -Fix (r16614): Silence a warning.
16 years ago
rubidium
7ced2b4795
(svn r16617) -Cleanup: some incorrect indenting
16 years ago
translators
d4cb72d75b
(svn r16616) -Update from WebTranslator v3.0:
...
french - 41 changes by glx
16 years ago
yexo
2c82d10226
(svn r16615) -Fix (r16613): 0x10 != 2
16 years ago
yexo
679ffee940
(svn r16614) -Codechange: Make the airport min/max available year a property of the Airport class.
...
-Change: rename station.always_small_airport to station.never_expire_airports to make it more future-proof
16 years ago
yexo
3531315322
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
16 years ago
alberth
8d3e094920
(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus)
16 years ago
belugas
af54ba7bfc
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
...
In other words, fix a comment ;)
16 years ago
rubidium
ba85e6dae1
(svn r16610) -Fix: remove rogue space before '?'
16 years ago
alberth
460b2656df
(svn r16609) -Codechange: Introduction of widget sizes and offsets used while drawing.
16 years ago
translators
d4e8d62bcc
(svn r16607) -Update: WebTranslator2 update to 2009-06-20 17:50:41
...
estonian - 1 changed by lible (1)
russian - 31 fixed, 40 changed by Lone Wolf (71)
16 years ago
alberth
484a915ec2
(svn r16606) -Doc: Added/fixed doxygen comments.
16 years ago
alberth
f773774d15
(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.
16 years ago
alberth
88d75805af
(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.
16 years ago
smatz
d65963a48f
(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)
16 years ago
peter1138
67485b5c76
(svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode instead of palette_mode. (Why did it work at some point?)
16 years ago
rubidium
71c7064ad6
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
16 years ago
frosch
a490ae68ed
(svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one.
16 years ago
rubidium
e48606124d
(svn r16599) -Fix [FS#2987] (r16584): reset the 'current' font size after drawing, this way we won't draw other strings too small; only caused problems when tiny/big text strings would use SETX.
16 years ago
smatz
717248b0d8
(svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame
16 years ago
translators
68ba22738f
(svn r16595) -Update: WebTranslator2 update to 2009-06-18 17:50:03
...
russian - 31 fixed, 11 changed by Lone Wolf (42)
16 years ago
rubidium
c011ea92f2
(svn r16594) -Fix [FS#2969]: mouse would under some circumstances not be undrawn when drawing the first chat line causing two mouse pointers to be visible.
16 years ago
rubidium
a5256855a3
(svn r16593) -Cleanup: realign the TTDP flags table.
16 years ago
rubidium
8f74c85d74
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
16 years ago
rubidium
6d70d935a9
(svn r16591) -Codechange: some coding style in strgen
16 years ago
rubidium
62ee93c702
(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found.
16 years ago
translators
54c22ce1e3
(svn r16587) -Update: WebTranslator2 update to 2009-06-17 17:39:59
...
estonian - 16 changed by lible (16)
russian - 10 changed by Lone Wolf (10)
slovenian - 27 fixed by Necrolyte (27)
16 years ago
rubidium
11c7c258dd
(svn r16586) -Codechange: don't store lifelength in the savegame; it can easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect.
16 years ago
yexo
4c227b6b78
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
16 years ago
rubidium
6a5c852aea
(svn r16584) -Fix [FS#2965]: sometimes SETX/SETXY would lead to unexpected results for NewGRF texts.
...
Note: This readds support for centering strings with SETX, however the text part of the string will not be in the exact center, as the SETX offsets that.
Note: All means of aligning vehicle names behind wide sprites (SETX or lots of spaces) in the buy menu will cause the vehicle names to be misaligned in other places, like the new vehicle news message, exclusive use of vehicle message, detailed vehicle information or autoreplace.
16 years ago
rubidium
2f4336b175
(svn r16583) -Update: the order of the language files so it's in sync with english.txt. Normally WT2 would do this, but only with activity for those languages. Now we'd like to the order to match so we can more easily spot import bugs while developing WT3.
16 years ago
translators
ad5d4d57c3
(svn r16582) -Update: WebTranslator2 update to 2009-06-16 17:10:36
...
estonian - 3 fixed, 47 changed by lible (50)
russian - 31 fixed, 225 changed by Lone Wolf (256)
16 years ago
rubidium
8ca2ccc456
(svn r16581) -Codechange: unify the access to Engine::lifelength.
16 years ago
rubidium
ee96d737b2
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
16 years ago
rubidium
2df1a2119c
(svn r16579) -Codechange: rework smallmap code a bit; remove goto, remove some unneeded variables, return value directly instead of writing it to a variable to later return that
16 years ago
translators
880f420525
(svn r16578) -Update: WebTranslator2 update to 2009-06-14 17:33:27
...
russian - 39 fixed, 121 changed by Lone Wolf (160)
simplified_chinese - 3 fixed by ww9980 (3)
traditional_chinese - 3 fixed by ww9980 (3)
16 years ago
rubidium
af4992ec14
(svn r16577) -Fix: signed/unsigned comparison
16 years ago
rubidium
714acd5c74
(svn r16576) -Fix: show the line of the translation file that has the fault and not the line of the string in english.txt.
16 years ago
alberth
978a9df133
(svn r16575) -Fix (r15760): Move resize sprite to the right when widget is lowered for RTL languages also.
16 years ago
rubidium
f1840d084b
(svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs.
16 years ago
rubidium
8b8920533b
(svn r16573) -Fix: [Network] Always send the starting date from the game you're currently playing instead the starting date from the config file.
16 years ago
rubidium
c09176b0b7
(svn r16572) -Codechange: also catch FPEs in saveload and the warning about missing NewGRFs; only happens when assertions are disabled and NewGRFs are missing.
16 years ago
smatz
632a3191f6
(svn r16571) -Fix [FS#2974](r16322): in some cases, train could be stuck in depot
16 years ago
yexo
eed0de5166
(svn r16569) -Codechange: remove the gaps in the AirportTiles enum
16 years ago
yexo
7d4e41c977
(svn r16568) -Codechange: rename all arrays with airport-tile sprites
16 years ago
yexo
772ed49d15
(svn r16567) -Fix (r16566): some minor corrections
16 years ago
yexo
fc00382c0d
(svn r16566) -Codechange: enumify all airport tiles
16 years ago
translators
f74489c69e
(svn r16565) -Update: WebTranslator2 update to 2009-06-11 17:32:14
...
russian - 3 fixed, 1 deleted, 209 changed by Lone Wolf (213)
serbian - 95 fixed by etran (95)
16 years ago
yexo
148559ff5e
(svn r16563) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
16 years ago
yexo
e624d96282
(svn r16562) -Revert (r16561)
16 years ago
yexo
c5c15fcbd9
(svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
16 years ago
smatz
500b272ba1
(svn r16560) -Fix (r16559): wrong replacement at one place
16 years ago
smatz
a2567c84a0
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
16 years ago
alberth
0b66eb938f
(svn r16558) -Codechange: Switch found-town window to nested widgets.
16 years ago
smatz
0ae854650a
(svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background in the AIDebug window
16 years ago
smatz
f67ea11992
(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
16 years ago
smatz
7d4d3850cb
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
16 years ago
smatz
2d841c66e5
(svn r16554) -Fix (r16433): compilation with disabled network was broken
16 years ago
smatz
ca9787b2ea
(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks
16 years ago
smatz
aae77c67cb
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
16 years ago
smatz
8786c8792d
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
16 years ago
smatz
6ba1c691ad
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
16 years ago
smatz
0f76a15344
(svn r16549) -Codechange: use bool in TileLoopClearHelper
16 years ago
smatz
e300d153cc
(svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly
16 years ago
smatz
ac991bff90
(svn r16547) -Codechange: make CircularTileSearch a tiny bit faster
16 years ago
smatz
55b1e701e4
(svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor
16 years ago
smatz
5c934c621d
(svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1
16 years ago
smatz
d2ad6d38be
(svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles)
16 years ago
translators
86f6a61d3b
(svn r16543) -Update: WebTranslator2 update to 2009-06-09 17:05:46
...
russian - 6 deleted, 276 changed by Lone Wolf (282)
16 years ago
smatz
f76c080976
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
16 years ago
rubidium
5209b32953
(svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one
16 years ago
translators
644e879b16
(svn r16537) -Update: WebTranslator2 update to 2009-06-08 17:40:35
...
french - 1 fixed by glx (1)
german - 1 changed by planetmaker (1)
russian - 31 fixed, 89 changed by Lone Wolf (120)
16 years ago
frosch
6d54a1939e
(svn r16536) -Fix (r16535): W != S
16 years ago
frosch
28f8c8b493
(svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections.
16 years ago
yexo
76b077ce25
(svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state
16 years ago
translators
a9c6dcfa81
(svn r16533) -Update: WebTranslator2 update to 2009-06-07 17:45:47
...
icelandic - 8 fixed, 50 changed by scrooge (58)
russian - 8 fixed, 28 changed by Lone Wolf (36)
serbian - 100 fixed by etran (100)
16 years ago
yexo
1c754c75d6
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
16 years ago
alberth
d7663017e5
(svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given away to a child from the total (Hirundo).
16 years ago
yexo
338f75b3b2
(svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API.
16 years ago
frosch
69107b00cc
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
16 years ago
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
smatz
6cf1610a08
(svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle
16 years ago
frosch
289e8a7f45
(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost.
16 years ago
rubidium
8d6dec5e72
(svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD.
16 years ago
frosch
d98e8fcf90
(svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles.
16 years ago
yexo
8dba8371e3
(svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI was stopped an a human company took it's CompanyID
16 years ago
frosch
a75f564af4
(svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392)
16 years ago
yexo
a2c5c2651a
(svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge)
16 years ago
alberth
e77b0adb53
(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.
16 years ago
translators
4973d4a290
(svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
...
swedish - 39 fixed by daishan (39)
16 years ago
alberth
e47ca002d2
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
16 years ago
alberth
cbf2d24ebb
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
16 years ago
alberth
24b2876cb5
(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree.
16 years ago
alberth
ed0a0a681a
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
16 years ago
alberth
bb075195b9
(svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array.
16 years ago
rubidium
bb854f2b97
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
16 years ago
yexo
1df82e9702
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
16 years ago
smatz
4e7ec0035e
(svn r16507) -Fix (r16503): segfault when deleting non-last graphics set
16 years ago
smatz
f74b597c83
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
16 years ago
rubidium
d7eb9f9d0e
(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
16 years ago
smatz
e6b8b65fcd
(svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor
16 years ago
rubidium
b982ff66f6
(svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ).
16 years ago
yexo
62a698df32
(svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
...
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
16 years ago
alberth
85824cf261
(svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree.
16 years ago
translators
afd9e81a47
(svn r16499) -Update: WebTranslator2 update to 2009-06-01 17:32:36
...
luxembourgish - 3 fixed, 11 changed by *jigo* (14)
serbian - 105 fixed by etran (105)
16 years ago
frosch
c9eac207ea
(svn r16498) -Codechange: Remove hardly used HASBITS.
16 years ago
smatz
61e668929f
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
16 years ago
smatz
00cd25b7a2
(svn r16496) -Codechange: remove one useless dynamic_cast<>
16 years ago
alberth
53c60be207
(svn r16495) -Codechange: Renamed a few variables.
16 years ago
smatz
c5240c770c
(svn r16494) -Codechange: cache train's speed limit caused by curves
16 years ago
rubidium
f163217dbb
(svn r16493) -Fix: missing/wrong @file doxygen 'headers'
16 years ago
smatz
d091c7d80f
(svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed.
16 years ago
alberth
580e478e4e
(svn r16491) -Codechange: Added parentheses around bitwise operators for code style.
16 years ago
frosch
07b9c68a81
(svn r16490) -Fix: Do not draw train details over the scrollbar.
16 years ago
alberth
dd43a1b97f
(svn r16489) -Fix [FS#2937] (r16258): Do not resize a widget twice (erikjanp)
16 years ago
alberth
49e253d949
(svn r16488) -Codechange [FS#2941]: Use widget numbers of base grap window and cargo payment window in the window handling code (erikjanp)
16 years ago
alberth
627cb3abe2
(svn r16487) -Codechange [FS#2940]: Add widget numbers to news display and news history windows (based on work by erikjanp)
16 years ago
alberth
3174fef27c
(svn r16486) -Codechange [FS#2939]: Added widget numbers to the airport toolbar (based on work by erikjanp)
16 years ago
alberth
02c1ed111d
(svn r16485) -Fix [FS#2938]: Move date in news window a pixel away from the right-edge (erikjanp)
16 years ago
alberth
5207900285
(svn r16484) -Cleanup: Renamed widget variable to widget_index and introduced widget_type variable.
...
-Fix: Prevented out-of-bounds array access when not clicking at a widget.
16 years ago
frosch
eb3965f934
(svn r16483) -Codechange: Enumerate tabs in train details window.
16 years ago
frosch
6e06b592ad
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
16 years ago
frosch
749c976e47
(svn r16479) -Fix (r5146): Call callbacks after initialisation of vehicle variables.
16 years ago
frosch
bec5f3f11b
(svn r16478) -Fix (r15378): Determining most common (sub-)cargo-type was broken due to someone confusing similiary named variables.
16 years ago
rubidium
f540a86f95
(svn r16477) -Fix [FS#2936] (r12650): loading indicator when 'unload' in and 'no loading' is off was pointing to the wrong direction.
16 years ago
smatz
b12ba4b751
(svn r16476) -Fix (r16475): wrong version of the patch
16 years ago
smatz
7cd7be48c3
(svn r16475) -Codechange: move code invalidating Vehicle::last_station_visited to more logical place
16 years ago
rubidium
b7dfc3aa0b
(svn r16474) -Fix [FS#2933]: could set company related settings via query window
16 years ago
smatz
e4cbd54748
(svn r16473) -Fix [FS#2934](r16442): show all non-effect vehicles in the minimap, not only effect vehicles
16 years ago
smatz
11d88765cc
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
16 years ago
smatz
6c2f88691b
(svn r16470) -Fix (r14293): track reservation was drawn at bridge heads in the menu
16 years ago
translators
e7bdc770f3
(svn r16469) -Update: WebTranslator2 update to 2009-05-30 17:31:31
...
afrikaans - 6 fixed by Chilli (6)
luxembourgish - 290 fixed, 793 changed by *jigo* (1083)
16 years ago
alberth
f608a7d4a6
(svn r16468) -Codechange: Use GetWidgetOfType() for finding an edit box.
16 years ago
alberth
3e78641156
(svn r16467) -Codechange: Unduplicate setting of widget focus (with thanks to Smatz).
16 years ago
alberth
c9e3d041fb
(svn r16466) -Codechange: Improved wording in comments.
16 years ago
alberth
b96e1dc80c
(svn r16465) -Codechange: Eliminated GetGloballyFocusedWidget(), it was used only once.
16 years ago
alberth
ae70c7641f
(svn r16464) -Codechange (r16422): Added a missing const_cast<>
16 years ago
alberth
feaaf78a63
(svn r16463) -Cleanup: Code style fixes.
16 years ago
translators
ad34f67468
(svn r16460) -Update: WebTranslator2 update to 2009-05-29 17:38:27
...
afrikaans - 18 fixed, 6 changed by Chilli (24)
luxembourgish - 114 fixed, 252 changed by *jigo* (366)
16 years ago
smatz
917e1f4fad
(svn r16459) -Codechange: move definition of several cargopacket accessors to header file
16 years ago
smatz
436730d9a0
(svn r16458) -Codechange: use one enum instead of four
16 years ago
rubidium
9f9c1cd29c
(svn r16457) -Fix [FS#2925]: skipping a 'nearest depot order' because none could be found could cause multiple orders to get skipped
16 years ago
yexo
a9a3a9c6a9
(svn r16455) -Fix: don't crash when a newgrf has sounds in an unsupported sound format
16 years ago
yexo
5357fa2467
(svn r16454) -Fix (r16181, r16241): fix the try/catch bug fixed in r16181 and reintroduced in r16241 again, this time without breaking the regression test.
16 years ago
yexo
e7a087b08b
(svn r16453) -Fix: Move some code around so a company is no longer used after deleting it
16 years ago
smatz
05c3a12463
(svn r16452) -Fix: don't trigger station animations when the station was deleted in the same tick
16 years ago
smatz
fa4f521e82
(svn r16451) -Fix (r16449): crash when a spectator (or dedicated server) received news about new engine
16 years ago
translators
d81b3c61e9
(svn r16450) -Update: WebTranslator2 update to 2009-05-27 17:39:46
...
arabic_egypt - 2 fixed by khaloofah (2)
danish - 2 fixed by ThomasA (2)
english_US - 2 fixed by WhiteRabbit (2)
indonesian - 2 fixed, 8 changed by anansboga (10)
romanian - 1 changed by CrystyB (1)
serbian - 100 fixed by etran (100)
16 years ago
rubidium
984f711392
(svn r16449) -Fix [FS#2924]: vehicle recolouring wasn't done for engine preview/news
16 years ago
rubidium
52113477f1
(svn r16448) -Fix [FS#2909]: road vehicles ending up on the pavement when they are in a drive through station that got removed due to bankruptcy
16 years ago
yexo
9b0476951d
(svn r16447) -Fix [FS#2922] (r16444): compiling on x86-64 failed
16 years ago
glx
41b9670bc2
(svn r16446) -Fix (r16378): 'cast to pointer from integer of different size' warning
16 years ago
smatz
01e5c536a7
(svn r16445) -Codechange: update old comments (Yexo)
16 years ago
yexo
18d0a5238f
(svn r16444) -Codechange: Set all company settings to their default value for a new company instead of zeroing them.
16 years ago
smatz
e419fe6d3f
(svn r16442) -Codechange: use new Vehicle accessors at more places
16 years ago
smatz
0c53f04c07
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
16 years ago
yexo
c04e5a9aa3
(svn r16440) -Fix [NoAI]: AIRail::GetRailStationDirection returned incorrect information
16 years ago
yexo
f044ad6f80
(svn r16439) -Change: Make the default vehicle servicing settings company-based settings, so in a multiplayer game everyone can change them.
16 years ago
smatz
d8d7a38eb9
(svn r16438) -Fix (r16436): set 'old_company' after modifying '_current_company'
16 years ago
rubidium
78c726d2b1
(svn r16437) -Codechange: remove the hack that for CMD_COMPANY_CTRL the company was changed from spectator to company 0 in the network code.
16 years ago
rubidium
4677b60b73
(svn r16436) -Codechange: always execute 'spectator'/'server' commands as spectator. This to reduce the difference between dedicated and non-dedicated servers and normal clients.
16 years ago
rubidium
e234e88d2d
(svn r16435) -Codechange: don't require the 'user company 0' hack for commands.
16 years ago
rubidium
d39f442bd0
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
16 years ago
yexo
68042a6dde
(svn r16433) -Codechange: Remove most of CmdSetAutoreplace and replace it with calls to CmdChangeCompanySetting
16 years ago
smatz
795231995d
(svn r16432) -Feature(tte): use 'scrollto x y' in console to scroll to tile with given coordinates
16 years ago
yexo
272722f12f
(svn r16431) -Fix (16429): Company settings can also be changed in multiplayer games
16 years ago
smatz
72165d32c8
(svn r16430) -Fix: crash when a company is deleted while a dropdown with company names is open
16 years ago
yexo
7eb9ad0415
(svn r16429) -Change: Make the company settings behave like all others settings: the default set in the main menu / config file is now really the default for a new company, and changing the value in game will no longer change the default for new companies.
16 years ago
rubidium
87dfc2a881
(svn r16428) -Codechange: use the less bloated SimpleTinyEnumT instead of TinyEnumT if the stuff provided by TinyEnumT but not SimpleTinyEnumT is not used.
16 years ago
rubidium
82cdacb20c
(svn r16427) -Codechange: replace a few magic numbers with an existing constant and unduplicate a few lines.
16 years ago
rubidium
37b391901a
(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned
16 years ago
yexo
de04ae2cda
(svn r16425) -Change [FS#2869]: Stop an AI when it takes too long to initialize or load
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
49235963aa
(svn r16420) -Fix [FS#2919]: don't allow content download via the console when there's no zlib as it's done for the GUI already
16 years ago
frosch
80e19b12c3
(svn r16418) -Fix: Resolve the company name for 'subsidy awarded'-news when the news are triggered, so it stays valid when the company bankrupts or is taken over.
16 years ago
translators
6d74fb3553
(svn r16417) -Update: WebTranslator2 update to 2009-05-24 17:18:38
...
icelandic - 31 fixed, 14 changed by scrooge (45)
indonesian - 17 fixed by adjayanto (17)
serbian - 84 fixed by etran (84)
16 years ago
frosch
eeb3f75cfe
(svn r16416) -Fix [FS#2912]: Rework deleting of news when referenced vehicles/stations/industries are deleted.
16 years ago
smatz
b86ab81030
(svn r16415) -Fix (r13008): some 64bit architectures require size_t to be aligned at 8-byte boundary, ensure it for MemBlock
16 years ago
frosch
6e06e82bc4
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
16 years ago
alberth
0db7c2929e
(svn r16413) -Codechange: Allow leading/trailing whitespace and comma in newgrf parameters instead of treating them as invalid.
16 years ago
frosch
e60a1ec090
(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them.
16 years ago
frosch
8ae1c5d908
(svn r16411) -Fix (r16390): Building articulated roadvehicles caused infinite loop due to v->Next() pointing to v itself.
16 years ago
rubidium
a661b157ad
(svn r16410) -Fix (r16307): don't assume the extension starts with the first '.', but with the last '.'. This way depend doesn't fail if there's a dot in your path, e.g. 'gcc-4.4'.
16 years ago
rubidium
65d2a381d9
(svn r16409) -Change: don't add empty lines/duplicates of the previous command to the console's history
16 years ago
frosch
b9e911170a
(svn r16408) -Codechange: Silence a pointless newgrf debug message.
16 years ago
smatz
bebab3cd79
(svn r16407) -Fix [FS#2913]: set CargoPacket::source to INVALID_STATION when source station is deleted
16 years ago
smatz
c1861060f7
(svn r16406) -Codechange: constify parameters of CheckSubsidised()
16 years ago
alberth
6bad10d216
(svn r16405) -Codechange: Move widget drawing code to functions to allow re-use.
16 years ago
rubidium
9f5d8d0f56
(svn r16404) -Fix [FS#2911] (r16378): the number of spritegroups got halved when the new pool was added, which mean there weren't enough spritegroups when you have more than about a dozen ECS vectors.
...
-Change: increase the spritegroup pool's maximum size to something more than the number of real sprites that OpenTTD can handle; for example ECS has about 30 spritegroups per real sprite. With the 'old' limit that would mean 'only' about 4000 real sprites worth of spritegroups could be loaded.
16 years ago
smatz
1eb48cdded
(svn r16403) -Codechange: move code related to subsidies to separate file
16 years ago
rubidium
846382a0f3
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
yexo
2d8609080f
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
16 years ago
frosch
a368f8615d
(svn r16399) -Fix (r4540): Don't treat pointer values as integer.
16 years ago
rubidium
fd016d5d09
(svn r16398) -Feature: make NewGRF callbacks work again; honouring the 'features' of 0.3.2.1, which was released only 5 years ago.
16 years ago
rubidium
6cfc38b97c
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
16 years ago
rubidium
730b411878
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
smatz
329407e9bc
(svn r16395) -Fix (r16379): max sign ID can be higher than total number of signs
16 years ago
rubidium
cd382b28a3
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago
rubidium
4c0542c17f
(svn r16393) -Codechange: move VehicleRail to Train.
16 years ago
rubidium
6350648a6c
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
16 years ago
rubidium
1324100d69
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago