rubidium
5f9ee68eac
(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
16ad8df175
(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
fefc880971
(svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :)
15 years ago
rubidium
f48cc9d4bf
(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
b04ba7dcea
(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place
15 years ago
rubidium
9980af2898
(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
2962d8f0fc
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
15 years ago
rubidium
c17c31b5b6
(svn r16919) -Codechange: unify some more StringID w.r.t. their naming
15 years ago
translators
9aaec4d2f2
(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
3bcfa7c52a
(svn r16917) -Codechange: fix some GCC 4.5 'case X is not in enum Y' warnings
15 years ago
smatz
13a7c550ad
(svn r16916) -Fix (r16909): station acceptance was reset after game load
15 years ago
rubidium
5f3a097b86
(svn r16915) -Fix (r16909): signal updates didn't propagate through waypoints
15 years ago
rubidium
6e3d999dce
(svn r16914) -Codechange: split Station and BaseStation into different files
15 years ago
alberth
da9d9a27fe
(svn r16913) -Codechange: Signal, train depot, and waypoint windows switched to using nested widget tree.
15 years ago
rubidium
cb0409fe52
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
df9941f729
(svn r16910) -Update: remove removed strings from the other language files
15 years ago
rubidium
68ead6b84f
(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
2646a99d29
(svn r16908) -Codechange: s/DepotWaypointReservation/DepotReservation/
15 years ago
rubidium
8405d7d7e7
(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
8083d67780
(svn r16906) -Fix (r12939): Child windows of build toolbars were placed inconsistently.
15 years ago
translators
639a829f87
(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
f7b3067fb3
(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
0658d6cb3d
(svn r16900) -Codechange: prepare the waypoint window for buoys
15 years ago
frosch
f09df64608
(svn r16899) -Fix (r16896): Missing 'return'.
15 years ago
alberth
4ba0e2301a
(svn r16898) -Codechange: Station build window uses nested widget tree.
15 years ago
rubidium
ed5ced71c8
(svn r16897) -Codechange: use the 'generic' station spec to station allocation for waypoints too
15 years ago
rubidium
43eda3dfbf
(svn r16896) -Codechange: make station spec allocation and station animation functions work for both stations and waypoints
15 years ago
alberth
c63338cd81
(svn r16895) -Codechange: Build dock window uses nested widget tree.
15 years ago
frosch
d5a4c89365
(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().
15 years ago
alberth
e3752f3ef8
(svn r16893) -Codechange: Ship depot build window uses nested widget tree.
15 years ago
alberth
03abe67e88
(svn r16892) -Codechange: Add support for nested widget tree windows to PickerWindowBase.
15 years ago
alberth
2a5784c53d
(svn r16891) -Codechange: Docks toolbar uses nested widget tree.
15 years ago
alberth
1978c7dc87
(svn r16890) -Codechange: Allow raising and enabling/disabling of widgets even if they are not used.
15 years ago
translators
38d88f10fe
(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
2ca679f5a9
(svn r16888) -Fix (r16864): crash when trying to build (some?) NewGRF waypoints
15 years ago
rubidium
87dba11ca1
(svn r16887) -Fix (r16884): erroneous semicolon.
15 years ago
rubidium
e3053660c6
(svn r16886) -Codechange: unify naming of some string IDs related to string codes and group them logically
15 years ago
rubidium
dc943b35e0
(svn r16885) -Codechange: reduce (string) duplication with vehicle lists
15 years ago
frosch
7b92d9efe4
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
15 years ago
translators
3999dbe7f7
(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
a9474bf032
(svn r16882) -Codechange: Introduce a line_height variable in the station picker window.
15 years ago
rubidium
21921441d0
(svn r16881) -Codechange: fix some naming inconsistencies w.r.t. strings used in the vehicle list GUIs.
15 years ago
rubidium
42e1bdacbc
(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
d509ad3213
(svn r16879) -Codechange: Use coordinates of widgets for custom rendering.
15 years ago
alberth
3361602f1b
(svn r16878) -Codechange: Let WWT_LABEL widgets do the drawing rather than OnPaint.
15 years ago
smatz
af13707e00
(svn r16877) -Codechange: use Subsidy::IsAwarded() instead of testing subsidy's age
15 years ago
rubidium
3fcfb9b248
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
15 years ago
translators
73453e61d6
(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
d3a95e9bbd
(svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains.
15 years ago
alberth
eed8b07d69
(svn r16873) -Codechange: Terraform window and scenario landscape editing window switched to nested widgets.
15 years ago
frosch
e8c2992ae6
(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage.
15 years ago
alberth
36576371c0
(svn r16871) -Codechange: Generalize GetWidgetContentSize to UpdateWidgetSize for better control over widget size and resize steps.
15 years ago
rubidium
2b374824dc
(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawing
15 years ago
rubidium
861a2163f6
(svn r16869) -Codechange: make drawing waypoints a tiny bit more like drawing stations
15 years ago
rubidium
8c17c6cb2b
(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoords
15 years ago
frosch
f129634f52
(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
82ac703e2d
(svn r16866) -Fix (r16865): forgot to run squirrel_export.sh
15 years ago
yexo
38768d0ca2
(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
4e5af51d1f
(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.
15 years ago
rubidium
d8f16ea199
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
15 years ago
rubidium
c9cab7ba19
(svn r16862) -Codechange: make waypoints use the same system of station station spec lists.
15 years ago
rubidium
72d6c3a9ad
(svn r16861) -Codechange: move a few more bits from station to basestation (to be shared with waypoints)
15 years ago
rubidium
06ea681b5f
(svn r16860) -Codechange: introduce a helper to assign a station spec to Waypoints
15 years ago
rubidium
84df3ba2b4
(svn r16859) -Codechange: split the Station struct into two so parts of it can be reused for Waypoints.
15 years ago
translators
869fb4fa78
(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
57d3d4ce5e
(svn r16857) -Fix [FS#3036](r16652): crash when train partially in depot crashed
15 years ago
alberth
b9cf3f880b
(svn r16856) -Fix: Allow the rail toobar window to align vertically for larger sprites.
15 years ago
rubidium
9933df9d89
(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint struct and make it more similar to Station.
15 years ago
rubidium
a007d609af
(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
f16314d0cc
(svn r16853) -Codechange: make CargoSpec const at two places
15 years ago
smatz
77d13eae61
(svn r16852) -Codechange: use FOR_ALL_CARGOSPECS for iterating over all valid CargoSpecs
15 years ago
rubidium
665fa7f9c1
(svn r16851) -Codechange: use StationSpecList in waypoint too
15 years ago
rubidium
dea1144bcb
(svn r16850) -Codechange: unify some naming of variables between waypoints and stations.
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
alberth
b6889daf8d
(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
539480e845
(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
b4253a94f2
(svn r16846) -Codechange: make the content download status window only use nested widgets
15 years ago
alberth
d0a47fc1b4
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
15 years ago
alberth
3cba03c5eb
(svn r16844) -Doc (r13182): Remove documentation of removed window event handling function.
15 years ago
alberth
c00ce64458
(svn r16843) -Codechange: More documentation for the WWT_MATRIX widget, and better variable names in matrix rendering function.
15 years ago
rubidium
594070194f
(svn r16842) -Cleanup: add some spaces around a few operators
15 years ago
rubidium
fd589b90e8
(svn r16841) -Cleanup: spaces/tabs where they don't belong
15 years ago
alberth
6767a59827
(svn r16840) -Codechange: Small merge in town directory widget content method.
15 years ago
alberth
99215c5010
(svn r16839) -Codechange: Remove obsolete FillNestedArray().
15 years ago
alberth
9be387761c
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
15 years ago
alberth
92206f2d18
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
15 years ago
yexo
f085d7775b
(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD
15 years ago
translators
91a6af688e
(svn r16833) -Fix: WT3 made its first bug .. it is growing up!
15 years ago
translators
4a18ddebc8
(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
f1303f1ae8
(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window.
15 years ago
translators
ea1454d694
(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
6f0d8acf55
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
15 years ago
rubidium
e3c7a77b40
(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
2b1c43f81f
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
15 years ago
rubidium
e067d4a4b8
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
15 years ago
smatz
db63e1ad82
(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()
15 years ago
frosch
8041d37973
(svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle.
15 years ago
frosch
db69c343f1
(svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part.
15 years ago
frosch
3973b1e7cb
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
15 years ago
translators
3922860bb9
(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
463b96a746
(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
b6960e4e17
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
15 years ago
smatz
868c21cbcc
(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle
15 years ago
rubidium
bb9fee178d
(svn r16811) -Change: introduce a plural 'rule' for Korean
15 years ago
smatz
95c7993451
(svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected
15 years ago
smatz
aa7bcb1259
(svn r16808) -Fix (r16338): don't crash when loading savegame with invalid references
15 years ago
peter1138
a67f861d55
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
15 years ago
rubidium
2547ba9517
(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
be56fa3217
(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
7ca86b8b62
(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
78eccd05be
(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
9efd32d13c
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
15 years ago
alberth
c94c18fc0a
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
15 years ago
alberth
e3f4293401
(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)
15 years ago
rubidium
b5b743bcba
(svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge.
15 years ago
yexo
fff3bae83d
(svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly
15 years ago
translators
9a1f3d281b
(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
86768da0f6
(svn r16791) -Codechange: unify (and document) the Remove[StationType] functions.
15 years ago
yexo
b58001f695
(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles
15 years ago
yexo
4843b3c45d
(svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows.
15 years ago
yexo
58ee544cff
(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
024a2eeed5
(svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button
15 years ago
yexo
abc4f9b9a0
(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
3b8d0621a2
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
15 years ago
peter1138
c654dedb28
(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
1c1b6da4a3
(svn r16783) -Change: make it more clear that the squirrel_export script needs gawk.
15 years ago
translators
97247c1bca
(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
24305a68ee
(svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive".
15 years ago
alberth
bc32b7dc4c
(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.
15 years ago
alberth
1d8e4a48b4
(svn r16779) -Fix: Take real smallest size of nested widgets into account for initial window position.
15 years ago
alberth
7f851505f9
(svn r16778) -Codechange: Split window initialization in a data part and a size/position part.
15 years ago
translators
606648b5d1
(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
113f5b402d
(svn r16773) -Fix (r16014): forgot to remove obsoleted aliases
15 years ago
rubidium
741a340b8b
(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
16e207f78b
(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
07924a47d0
(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
369d4ce179
(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore
15 years ago
rubidium
9ae07bba85
(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
3fb1506d6d
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
15 years ago
rubidium
8275a98e1f
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
15 years ago
rubidium
2d907d902a
(svn r16763) -Add: initial translation of Vietnamese.
15 years ago
translators
ad1925432f
(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
3086383cdc
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
15 years ago
rubidium
fbb2fb9720
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
15 years ago
rubidium
e26e7c4731
(svn r16759) -Codechange: some coding style in station.cpp
15 years ago
rubidium
b350c5faef
(svn r16758) -Document: some station related types/enums
15 years ago
rubidium
2fcb588c87
(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
6048aecb3c
(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
1cf14caee0
(svn r16755) -Codechange: apply some codestyle to newgrf.cpp
15 years ago
translators
ed549f7563
(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
da5d63e260
(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
96201f1a41
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
15 years ago
alberth
b9f181afc9
(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size in the widgets.
15 years ago
yexo
2ac03f6271
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
15 years ago
alberth
d95f548576
(svn r16749) -Codechange: Rail toolbar uses nested widget tree only.
15 years ago
alberth
abd37177f2
(svn r16748) -Codechange: Don't cast away constness.
15 years ago
alberth
e1a26058e9
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
15 years ago
smatz
59f94619c7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
15 years ago
smatz
c861d9b64b
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
15 years ago
translators
4c6a4e3ab2
(svn r16743) -Update from WebTranslator v3.0:
...
german - 18 changes by planetmaker
15 years ago
alberth
d65c6cae54
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
15 years ago
alberth
2385aeae3c
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
15 years ago
alberth
c7c422465a
(svn r16738) -Codechange: Remove casting away constness by changing the text before storing.
15 years ago
frosch
7d90c06eb9
(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
571dfb9055
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
15 years ago
rubidium
65f77a7bee
(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
527dd3dcf7
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
15 years ago
alberth
50ca187524
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
15 years ago
rubidium
ab67cf0031
(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
a6b0f0b51a
(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile.
15 years ago
alberth
f5d9760824
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
15 years ago
translators
ff402e7ea0
(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
e7be1c74cf
(svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases
15 years ago
alberth
3c50a66ced
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
15 years ago
translators
7e852ab446
(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
6ffa9f50db
(svn r16725) -Documentation: raw_industry_cost_multiplier
15 years ago
smatz
1e6a12b75b
(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)
15 years ago
smatz
6a0855f0d1
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
15 years ago
rubidium
4d14c1b534
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
15 years ago
rubidium
61e735ba4c
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
15 years ago
smatz
77eaefb61c
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
15 years ago
smatz
d86e17d65a
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
15 years ago
smatz
ecfaa0564d
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
smatz
adc5363202
(svn r16717) -Codechange: make IsFrontEngine() member of Train
15 years ago
smatz
15990079ce
(svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount()
15 years ago
smatz
93c5300fc5
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
15 years ago
smatz
76a50ce94d
(svn r16714) -Codechange: use pool-like accessors for Subsidy
15 years ago
smatz
aaeb53066d
(svn r16713) -Doc: document the Subsidy struct
15 years ago
translators
973adfe98a
(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
f4d0d94184
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
15 years ago
smatz
023f78b5ff
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
15 years ago
rubidium
927c4a0fe8
(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
8db99f57f8
(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
3884221a94
(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
8e804a4b6c
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
15 years ago
translators
e3627dabda
(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
65191b077d
(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
b7c8026a3d
(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
c29afac0a7
(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
791187cd12
(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
ccf2682269
(svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages
15 years ago
translators
5ce1184775
(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
e32a51c8b7
(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
985608c713
(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
80043e688e
(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.
15 years ago
translators
fa4fc71e11
(svn r16692) -Update from WebTranslator v3.0:
...
ukrainian - 3 changes by Madvin
15 years ago
rubidium
5375b32aee
(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
b43a4f6787
(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper.
15 years ago
alberth
baab325b54
(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
d5a42ee825
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
15 years ago
alberth
058bb5d6c3
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
15 years ago
translators
337c707fa1
(svn r16686) -Update from WebTranslator v3.0:
...
german - 4 changes by planetmaker
15 years ago
translators
02500a4e04
(svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
...
korean - 3 fixed, 28 changed by leejaeuk5 (31)
15 years ago
alberth
8fba82c99b
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
15 years ago
rubidium
18bc39d00b
(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.
15 years ago
rubidium
043af83a03
(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
778e92cf54
(svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered
15 years ago
rubidium
eb4380f5ea
(svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station
15 years ago
frosch
1e09854cb7
(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.
15 years ago
frosch
a288e4d82f
(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
9b070b5405
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
frosch
812ad41f23
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
15 years ago
translators
e42deae3a9
(svn r16675) -Update from WebTranslator v3.0:
...
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
15 years ago
translators
bbf5d7de21
(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
50b5678e26
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
15 years ago
alberth
996e5eea47
(svn r16672) -Codechange: Add functions to compute size of strings and sprites.
15 years ago
alberth
9489490e48
(svn r16671) -Doc: Documenting Sprite structure.
15 years ago
alberth
56122e377b
(svn r16670) -Codechange: Containers with equally sized children are useful to have.
15 years ago
frosch
c4418d243a
(svn r16669) -Cleanup (r1): Only animated tiles are... animated.
15 years ago
translators
9e84a6ae1c
(svn r16668) -Update from WebTranslator v3.0:
...
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
15 years ago
smatz
ff33ed94ce
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
15 years ago
smatz
b668c24d46
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
15 years ago
smatz
af78d6a9bb
(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()
15 years ago
smatz
e6a165881c
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
15 years ago
smatz
2987f02144
(svn r16663) -Codechange: make removing of railway station tiles faster
15 years ago
smatz
90554ee390
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
15 years ago
smatz
f2e55319dd
(svn r16661) -Codechange: move definition of few very short functions to header files
15 years ago
smatz
c0ac230e3e
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
15 years ago
smatz
c30a87758f
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
15 years ago
translators
103bff508b
(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
0745707464
(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
6915643a99
(svn r16656) -Fix (r16655): strange things happen
15 years ago
smatz
38477f2b36
(svn r16655) -Codechange: use IsRailwayStationTile() more
15 years ago
smatz
fa1ad0fd3c
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
15 years ago
smatz
8bc244d14e
(svn r16653) -Fix (r16269): TOC() macro was broken
15 years ago
smatz
029fb9bdee
(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
d45b27c46b
(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.
15 years ago
yexo
cc07a78577
(svn r16650) -Fix (r16649): missing ()
15 years ago
yexo
2970b72e59
(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.
15 years ago
yexo
8bc9adde19
(svn r16648) -Codechange: move some more includes around
15 years ago
yexo
44c15e4196
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
15 years ago
smatz
05c695a647
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
15 years ago
translators
fd4a9a9106
(svn r16645) -Update from WebTranslator v3.0:
...
russian - 6 changes by Lone_Wolf
15 years ago
translators
8f7b6536ab
(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)
15 years ago
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
b18bf87c90
(svn r16642) -Codechange: use map size limits enum at one more place
15 years ago
smatz
986cc75a12
(svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum
15 years ago
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
15 years ago
smatz
8bb88e5f72
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
15 years ago
smatz
64455d14ea
(svn r16637) -Cleanup: remove unused _debug_station_level
15 years ago
smatz
33ce857271
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
15 years ago
rubidium
bfe20321e7
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
15 years ago
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
15 years ago
smatz
192b9bda7b
(svn r16633) -Codechange: remove checks for consistency of newpool
16 years ago
smatz
a50ba1b8c1
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
16 years ago
smatz
5ef0745254
(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old savegames was broken
16 years ago
glx
70f6cee9ce
(svn r16630) -Fix (r16629): forgot a continue
16 years ago
glx
e6af53ea01
(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
d703f0c3b5
(svn r16628) -Codechange: remove one gcc2 hack
16 years ago
smatz
4f0e62deb6
(svn r16627) -Fix: warning about comparing signed and unsigned types
16 years ago
rubidium
d5ff6c7423
(svn r16625) -Fix: unsigned vs signed warning in strgen
16 years ago
rubidium
95a1bbdd7d
(svn r16622) -Fix: {CARGO} only consumes 1 argument
16 years ago
translators
ace1baf9c3
(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
c8d13c521a
(svn r16620) -Fix (r16619): sometimes one misses the obvious :(
16 years ago
rubidium
7ed618997f
(svn r16619) -Cleanup: more coding style in airport stuff.
16 years ago
frosch
b07ef35f44
(svn r16618) -Fix (r16614): Silence a warning.
16 years ago
rubidium
acff607624
(svn r16617) -Cleanup: some incorrect indenting
16 years ago
translators
2eca42f5be
(svn r16616) -Update from WebTranslator v3.0:
...
french - 41 changes by glx
16 years ago
yexo
2aeaa7a11a
(svn r16615) -Fix (r16613): 0x10 != 2
16 years ago
yexo
c7bd6c8d34
(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
548a605263
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
16 years ago
alberth
41c8baa7dc
(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus)
16 years ago
belugas
6262d3bb73
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
...
In other words, fix a comment ;)
16 years ago
rubidium
460d99abcf
(svn r16610) -Fix: remove rogue space before '?'
16 years ago
alberth
e994d1ddaa
(svn r16609) -Codechange: Introduction of widget sizes and offsets used while drawing.
16 years ago
translators
05bb636ba4
(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
c1ef6abc6a
(svn r16606) -Doc: Added/fixed doxygen comments.
16 years ago
alberth
0aed5bf7d7
(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.
16 years ago
alberth
8aa51823fc
(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.
16 years ago
smatz
4419366f94
(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)
16 years ago
peter1138
88ec646c1f
(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
9b156c1bd4
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
16 years ago
frosch
83f8d52a67
(svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one.
16 years ago
rubidium
6a3a304283
(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
0961668e14
(svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame
16 years ago
translators
ca15d98db3
(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
904d2bc458
(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
1359471d3f
(svn r16593) -Cleanup: realign the TTDP flags table.
16 years ago
rubidium
a497e3ff4a
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
16 years ago
rubidium
cdc0c092f1
(svn r16591) -Codechange: some coding style in strgen
16 years ago