alberth
62fc8bd6c5
(svn r16838) -Codechange: Fill Window::nested_array in SetupSmallestSize.
2009-07-15 22:51:37 +00:00
alberth
0dcb1a320d
(svn r16837) -Codechange: Collect largest used index while constructing nested widget tree.
2009-07-15 22:17:08 +00:00
yexo
6e467e8ae0
(svn r16834) -Fix [FS#3034]: call the AI Save() function only once so AIs can't crash OpenTTD
2009-07-15 19:47:06 +00:00
translators
0b749ffa66
(svn r16833) -Fix: WT3 made its first bug .. it is growing up!
2009-07-15 17:53:02 +00:00
translators
150daec67a
(svn r16832) -Update from WebTranslator v3.0:
...
simplified_chinese - 54 changes by Gavin
german - 4 changes by Araxiel
korean - 31 changes by telk5093
brazilian_portuguese - 2 changes by Tucalipe
russian - 26 changes by Lone_Wolf, Unknown
2009-07-15 17:45:19 +00:00
alberth
4969d387d3
(svn r16831) -Fix (r16798): Stickybox is in the header and resizebox in the footer of the window.
2009-07-14 21:25:32 +00:00
translators
6a84a48990
(svn r16829) -Update from WebTranslator v3.0:
...
arabic_egypt - 46 changes by kasakg
simplified_chinese - 1 changes by Gavin
esperanto - 205 changes by tradukanto
german - 1 changes by planetmaker
greek - 4 changes by kinglee
korean - 201 changes by darkttd, telk5093
russian - 28 changes by Lone_Wolf
serbian - 89 changes by etran
2009-07-14 17:45:29 +00:00
rubidium
6cf59514d1
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
2009-07-14 17:16:32 +00:00
rubidium
2f6f510452
(svn r16827) -Codechange: make OSX specific files include stdafx.h always as the first file. Also unify OSX specific stuff into osx_stdafx.h and remove unused includes.
2009-07-14 16:43:45 +00:00
rubidium
873adde908
(svn r16825) -Codechange: unify dirtying when updating the viewport signs.
2009-07-13 23:15:13 +00:00
rubidium
79deeee323
(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and UpdateAll[Type]VirtCoords.
2009-07-13 22:33:25 +00:00
smatz
a2ce1e6e8f
(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()
2009-07-13 22:07:07 +00:00
frosch
3a76b9be2b
(svn r16819) -Fix (r4868): Use the palette of the vehicle being drawn instead of the one of the front vehicle.
2009-07-13 20:27:54 +00:00
frosch
23599a1ed4
(svn r16818) -Feature(ette): Highlight whole articulated vehicles in traindepot instead of only the first part.
2009-07-13 19:34:43 +00:00
frosch
1fbbf29987
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
2009-07-13 19:30:37 +00:00
translators
fc8bb190b0
(svn r16816) -Update from WebTranslator v3.0:
...
galician - 229 changes by Condex
indonesian - 1 changes by prof
korean - 2 changes by darkttd
polish - 18 changes by mysteq
russian - 10 changes by Lone_Wolf
2009-07-13 17:45:20 +00:00
rubidium
fd980be463
(svn r16815) -Fix: reduce the toolbar's priority for handling keypresses from most important to least important, so e.g. the order windows' 'd' skips to the next order
2009-07-13 16:41:34 +00:00
smatz
64de470917
(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraft
2009-07-13 16:37:27 +00:00
smatz
98b8479f56
(svn r16813) -Codechange: make IsEngineCountable() member of Vehicle
2009-07-13 16:35:22 +00:00
rubidium
0a1b4912ef
(svn r16811) -Change: introduce a plural 'rule' for Korean
2009-07-13 14:42:09 +00:00
smatz
2de68b2894
(svn r16809) -Fix [FS#3021](r13096): automatic resizing of SelectCompanyLiveryWindow wasn't working as expected
2009-07-13 12:00:56 +00:00
smatz
2185ab8656
(svn r16808) -Fix (r16338): don't crash when loading savegame with invalid references
2009-07-13 11:09:02 +00:00
peter1138
1e50346943
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
2009-07-13 10:17:22 +00:00
rubidium
5e3326d4d7
(svn r16802) -Fix [FS#3031]: service orders didn't behave like conditional orders; if a train doesn't need service it didn't completely skip the order, it would first send the vehicle towards the depot and would then realise it doesn't need to go there making it possible that the vehicle leaves that station on the wrong side.
2009-07-13 09:18:07 +00:00
rubidium
5fe30de455
(svn r16801) -Fix [FS#3022]: cargo payments weren't destroyed when a vehicle was destructed. This only happened when you crashed a vehicle while it was unloading.
2009-07-13 09:15:11 +00:00
translators
8bb45a35c1
(svn r16800) -Update from WebTranslator v3.0:
...
simplified_chinese - 29 changes by ww9980
galician - 108 changes by Condex
german - 2 changes by Roujin
indonesian - 3 changes by prof
korean - 5 changes by telk5093
romanian - 2 changes by kkmic
russian - 28 changes by Lone_Wolf
2009-07-12 17:45:26 +00:00
frosch
fb9ec40e44
(svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
2009-07-12 16:00:11 +00:00
alberth
95ac767add
(svn r16798) -Fix [FS#3016]: Added several new widget distances for better widget size computations.
2009-07-12 12:19:41 +00:00
alberth
aac49ba01c
(svn r16797) -Codechange: Allow drop-down menus for windows with nested widgets.
2009-07-12 10:02:10 +00:00
alberth
5d9e94a2b4
(svn r16796) -Fix [FS#3030]: Closebox 'X' is a string. (Rubidium)
2009-07-12 09:41:44 +00:00
rubidium
8cad64558f
(svn r16795) -Fix [FS#3025]: houses wouldn't get build on the map edge.
2009-07-12 09:39:30 +00:00
yexo
c7647e2e15
(svn r16794) -Fix (r16752): setting coverage area highlight in the airport selection window didn't take effect immediatly
2009-07-12 00:14:30 +00:00
translators
bc1efe627e
(svn r16793) -Update from WebTranslator v3.0:
...
portuguese - 102 changes by SupSuper
russian - 3 changes by Lone_Wolf
spanish - 11 changes by Terkhen
2009-07-11 17:45:13 +00:00
rubidium
ff725906a7
(svn r16791) -Codechange: unify (and document) the Remove[StationType] functions.
2009-07-10 22:46:30 +00:00
yexo
f8844424cc
(svn r16790) -Add [NoAI]: AIVehicle::GetReliability to get the current reliability of vehicles
2009-07-10 22:30:38 +00:00
yexo
bd8f92d3ff
(svn r16789) -Codechange: unify the drawing of the Accepts/Supplies cargo lists in the station build windows.
2009-07-10 22:03:09 +00:00
yexo
79285c580b
(svn r16788) -Fix: with modified_catchment off the build road station window would not display all possible cargos in the Accepts/Supplies lists
2009-07-10 21:59:07 +00:00
yexo
a656094395
(svn r16787) -Fix [FS#3027]: the noise level text in the airport build window was drawn over the lowest button
2009-07-10 20:48:08 +00:00
yexo
c633a98e0b
(svn r16786) -Fix [FS#3027] (r16752): only one tile was selected when the build airport window was opened instead of an area with the size of the airport
2009-07-10 19:41:03 +00:00
rubidium
026f3c8feb
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
2009-07-10 18:30:02 +00:00
peter1138
07dbd830b6
(svn r16784) -Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality.
2009-07-10 18:22:04 +00:00
rubidium
8a8731b3f0
(svn r16783) -Change: make it more clear that the squirrel_export script needs gawk.
2009-07-10 18:21:14 +00:00
translators
db34656972
(svn r16782) -Update from WebTranslator v3.0:
...
catalan - 33 changes by arnaullv
dutch - 2 changes by habell
french - 2 changes by belugas
galician - 18 changes by Condex
german - 8 changes by Roujin
hungarian - 11 changes by alyr
italian - 2 changes by lorenzodv
persian - 67 changes by Gajet9
russian - 48 changes by Lone_Wolf
spanish - 27 changes by Terkhen
swedish - 1 changes by Chrill
2009-07-10 17:45:34 +00:00
rubidium
62f770a5fc
(svn r16781) -Fix [FS#3026] (r16297): don't cast negative values to uints when the settings' range is "negative..positive".
2009-07-10 16:32:12 +00:00
alberth
4f78ef88b0
(svn r16780) -Add [FS#3015]: Allow the AI Debug Window to become sticky.
2009-07-09 20:23:13 +00:00
alberth
99455ffb49
(svn r16779) -Fix: Take real smallest size of nested widgets into account for initial window position.
2009-07-09 19:57:33 +00:00
alberth
b417938f74
(svn r16778) -Codechange: Split window initialization in a data part and a size/position part.
2009-07-09 19:52:47 +00:00
translators
1ac852a1f9
(svn r16777) -Update from WebTranslator v3.0:
...
catalan - 65 changes by arnaullv
simplified_chinese - 4 changes by ww9980
finnish - 2 changes by jpx_
german - 65 changes by Roujin
icelandic - 4 changes by baldur
russian - 2 changes by svgr
spanish - 61 changes by Terkhen
vietnamese - 1 changes by sephiroth2m
2009-07-09 17:45:27 +00:00
rubidium
e448ef9d10
(svn r16773) -Fix (r16014): forgot to remove obsoleted aliases
2009-07-09 11:32:38 +00:00
rubidium
74f56861e9
(svn r16772) -Fix [FS#3019]: don't use the same error message for turning around road vehicles and flipping parts of trains in the depot
2009-07-08 22:11:55 +00:00
rubidium
f8c0926c1a
(svn r16771) -Fix: API export was forgotten causing API to think variables were uint; doesn't matter much as int was converted to uint and then back.
2009-07-08 20:49:29 +00:00
translators
1a3f111d59
(svn r16768) -Update from WebTranslator v3.0:
...
german - 2 changes by planetmaker
persian - 38 changes by Gajet9
romanian - 10 changes by kkmic
serbian - 93 changes by etran
slovak - 2 changes by James
vietnamese - 68 changes by sephiroth2m
2009-07-08 17:45:19 +00:00
yexo
484bda00de
(svn r16767) -Fix [NoAI] (r16524): AITile::GetCargoProduction/Acceptance didn't accept a radius of 0 anymore
2009-07-08 17:42:58 +00:00
rubidium
e4ef68405c
(svn r16766) -Codechange: remove station->MarkDirty. It is in all cases meant to only update the sign and not invalidate the widget; the widget would be invalidated by a call before/after the call to MarkDirty or it wouldn't make sense because e.g. the window doesn't exist anymore/yet.
2009-07-08 12:01:26 +00:00
rubidium
770ad0c022
(svn r16765) -Codechange: give ViewportSign's width_1 and width_2 more self explaining names
2009-07-08 08:50:20 +00:00
rubidium
bb78e5bb14
(svn r16764) -Codechange: unify the way viewport signs are marked dirty
2009-07-08 08:30:35 +00:00
rubidium
b9e4c6653c
(svn r16763) -Add: initial translation of Vietnamese.
2009-07-08 07:53:39 +00:00
translators
5310e10674
(svn r16762) -Update from WebTranslator v3.0:
...
dutch - 1 changes by Yexo
finnish - 32 changes by jpx_
german - 47 changes by Roujin, planetmaker
indonesian - 16 changes by fanioz
russian - 6 changes by Lone_Wolf
2009-07-07 17:45:20 +00:00
rubidium
4989b4afb9
(svn r16761) -Codechange: make UpdateViewportSignPos(ition) a class function of ViewportSign
2009-07-07 16:51:20 +00:00
rubidium
52abc92d1f
(svn r16760) -Codechange: make UpdateStationVirtCoord a function of Station
2009-07-07 16:43:58 +00:00
rubidium
44ebf9a474
(svn r16759) -Codechange: some coding style in station.cpp
2009-07-07 11:21:29 +00:00
rubidium
c448d8fcdf
(svn r16758) -Document: some station related types/enums
2009-07-07 11:21:14 +00:00
rubidium
cd3219b2de
(svn r16757) -Fix [FS#3018]: in the refit window the "Select cargo type to carry" line always showed the ship refit tooltip
2009-07-07 09:19:27 +00:00
translators
5dcbeb3243
(svn r16756) -Update from WebTranslator v3.0:
...
finnish - 82 changes by jpx_
german - 2 changes by planetmaker
korean - 144 changes by darkttd, telk5093
malay - 3 changes by Syed
russian - 28 changes by Lone_Wolf
2009-07-06 17:45:17 +00:00
yexo
3fb9944210
(svn r16755) -Codechange: apply some codestyle to newgrf.cpp
2009-07-05 20:59:42 +00:00
translators
ffc5cf92c6
(svn r16754) -Update from WebTranslator v3.0:
...
arabic_egypt - 2 changes by kasakg
traditional_chinese - 64 changes by josesun
german - 4 changes by planetmaker
persian - 2 changes by Gajet9
2009-07-05 17:17:22 +00:00
yexo
7b57b54a56
(svn r16753) -Fix (r16740): Don't check the width of the same string 4 times, but pick the maximum width of all difficulty levels
2009-07-05 16:55:26 +00:00
yexo
d85adeeca5
(svn r16752) -Codechange: Remove most of the window-changing code from AirportPickerWindow::OnPaint
2009-07-05 16:50:56 +00:00
alberth
0d6bef2171
(svn r16751) -Fix (r16740): Do not crash when using a non-standard font size in the widgets.
2009-07-05 16:26:42 +00:00
yexo
46529bd491
(svn r16750) -Fix: mark the intro gui dirty when changing the difficulty level to avoid glitches on the difficulty button
2009-07-05 16:14:50 +00:00
alberth
df377f3ec6
(svn r16749) -Codechange: Rail toolbar uses nested widget tree only.
2009-07-05 15:53:47 +00:00
alberth
f24464e7ad
(svn r16748) -Codechange: Don't cast away constness.
2009-07-05 15:01:36 +00:00
alberth
36ce7e09ef
(svn r16747) -Fix: Non-resized windows also need a post re-init SetDirty.
2009-07-05 14:26:29 +00:00
smatz
8786ebbad7
(svn r16746) -Codechange: use Town::PostDestructor() instead of not very clean construct for invalidating nearest town for road tiles
2009-07-05 13:21:51 +00:00
smatz
aa4ccab6a8
(svn r16745) -Fix [FS#3011]: invalidate JoinStation window after removing item from the pool
2009-07-05 13:20:05 +00:00
translators
4764c73f1c
(svn r16743) -Update from WebTranslator v3.0:
...
german - 18 changes by planetmaker
2009-07-04 17:45:07 +00:00
alberth
43ee12137b
(svn r16740) -Codechange: Self-sizing widgets in intro screen, town directory, and found town windows.
2009-07-04 15:35:36 +00:00
alberth
9cfbe11e3a
(svn r16739) -Codechange: Initialize internal data before computing the widgets.
2009-07-04 14:13:23 +00:00
alberth
8f727713d6
(svn r16738) -Codechange: Remove casting away constness by changing the text before storing.
2009-07-04 13:55:28 +00:00
frosch
da1628d0b5
(svn r16737) -Fix (r15645): When loading a savegame Engine::grffile might be left NULL in certain cases. (dynamic_engines enabled, articulated vehicle with only wagon-override action3s)
2009-07-04 12:20:42 +00:00
rubidium
c5a44ce99e
(svn r16736) -Codechange: give some station enums a name and use that instead of 'byte'.
2009-07-04 11:26:57 +00:00
rubidium
e56535fda5
(svn r16735) -Codechange: had_vehicle_of_type only stored 7 bits, all less that bit 7... but it was a word wasting space etc.
2009-07-04 11:24:25 +00:00
alberth
4d577b8cc1
(svn r16734) -Codechange: Prepare intro, town directory, and found town windows for more flexible widget contents.
2009-07-03 22:25:59 +00:00
alberth
14d5eb0427
(svn r16733) -Codechange: Move rebuilding and sorting the town list out of TownDirectoryWindow::OnPaint.
2009-07-03 21:38:41 +00:00
rubidium
677b2d07bd
(svn r16732) -Fix [FS#2991]: show Close instead of Cancel when there's nothing to canel in the content downloading window.
2009-07-03 21:08:18 +00:00
yexo
bed99fdaec
(svn r16731) -Fix [NoAI]: AIDepotList contained wrong tiles for hangars when st->xy != st->airport_tile.
2009-07-03 19:55:07 +00:00
alberth
840ac11452
(svn r16730) -Doc: Added some missing docs (most notably the class/struct docs) to GUIList template.
2009-07-03 19:34:28 +00:00
translators
d609a5be25
(svn r16729) -Update from WebTranslator v3.0:
...
german - 7 changes by planetmaker
hebrew - 2 changes by yitzc
indonesian - 28 changes by fanioz
korean - 1 changes by darkttd
brazilian_portuguese - 85 changes by Tucalipe
turkish - 23 changes by niw3
2009-07-03 17:45:22 +00:00
smatz
a7d6ccbfb0
(svn r16728) -Fix (r14919): the Join station window didn't show all stations nearby in some cases
2009-07-03 13:33:00 +00:00
alberth
b441e00ce7
(svn r16727) -Codechange: Introducing WD_SORTBUTTON_ARROW_WIDTH constant.
2009-07-02 21:18:22 +00:00
translators
12faf721a2
(svn r16726) -Update from WebTranslator v3.0:
...
indonesian - 26 changes by fanioz
italian - 8 changes by lorenzodv
korean - 29 changes by darkttd
swedish - 74 changes by daishan
2009-07-02 17:45:16 +00:00
frosch
34d45cdf9d
(svn r16725) -Documentation: raw_industry_cost_multiplier
2009-07-02 17:08:54 +00:00
smatz
fd48f3cc5c
(svn r16724) -Fix (r16714): MSVC 64bit warnings (Rubidium)
2009-07-02 12:47:52 +00:00
smatz
32bf91aa41
(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train
2009-07-02 12:10:39 +00:00
rubidium
18fbe0aac4
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
2009-07-02 09:06:15 +00:00
rubidium
f97bd41ed4
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
2009-07-02 08:59:27 +00:00
smatz
9b10bc9cdf
(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train
2009-07-02 00:17:27 +00:00
smatz
1e1f0ab2cf
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01 23:57:20 +00:00
smatz
378d01f2f4
(svn r16718) -Codechange: make IsFreeWagon() member of Train
2009-07-01 23:49:13 +00:00
smatz
20fedeb3d6
(svn r16717) -Codechange: make IsFrontEngine() member of Train
2009-07-01 22:22:01 +00:00
smatz
8eda6955b5
(svn r16716) -Codechange: reduce code duplication in DrawCompanyVehiclesAmount()
2009-07-01 21:33:06 +00:00
smatz
fe57925910
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
2009-07-01 21:29:03 +00:00
smatz
93557ba4e9
(svn r16714) -Codechange: use pool-like accessors for Subsidy
2009-07-01 18:45:05 +00:00
smatz
07f133e7c4
(svn r16713) -Doc: document the Subsidy struct
2009-07-01 18:18:12 +00:00
translators
26d1a888f9
(svn r16712) -Update from WebTranslator v3.0:
...
afrikaans - 23 changes by burgerd
dutch - 8 changes by Yexo
french - 8 changes by glx
german - 29 changes by dihedral, planetmaker
indonesian - 14 changes by fanioz
italian - 43 changes by lorenzodv
malay - 55 changes by Syed
2009-07-01 17:45:22 +00:00
smatz
d04750ff87
(svn r16711) -Codechange: use FOR_ALL_SUBSIDIES macro when iterating over all subsidies
2009-07-01 17:43:26 +00:00
smatz
5a227bffdc
(svn r16710) -Fix: invalidate subsidies with invalid source or destination when converting older savegames
2009-07-01 15:08:43 +00:00
rubidium
3b44f44287
(svn r16709) -Fix [FS#2994]: the list of animated tiles could have duplicates (only for old savegames) and tiles that weren't animated
2009-07-01 14:51:05 +00:00
rubidium
4e15c61aff
(svn r16708) -Cleanup: do not try to indent strings using spaces, especially strings that span multiple lines; it will not get the effect you want. Also do not indent at different levels in different strings that will be shown on the same place.
2009-07-01 09:53:54 +00:00
rubidium
ff4326d6a3
(svn r16707) -Fix [FS#3007] (r16693): under some circumstances vehicles would skip loading as they thought nothing could be unloaded or loaded.
2009-07-01 09:50:52 +00:00
rubidium
e189037662
(svn r16706) -Fix (r16694): acquiring a subsidy resulted in an assertion.
2009-07-01 09:45:30 +00:00
translators
50827afb71
(svn r16703) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnaullv
traditional_chinese - 7 changes by elleryq
danish - 3 changes by silentStatic
dutch - 4 changes by Excel20
estonian - 34 changes by kristjans
german - 7 changes by dihedral
greek - 24 changes by Gonik
malay - 30 changes by Syed
romanian - 68 changes by kneekoo
2009-06-30 17:45:27 +00:00
rubidium
54c52f4401
(svn r16702) -Change: don't implicitly fall back to the null/dedicated (video) drivers, but show an error message that no driver could be found. You can still explicitly start the null drivers thought.
2009-06-30 16:20:16 +00:00
rubidium
ffb9f1f1f9
(svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer
2009-06-30 12:42:43 +00:00
rubidium
f0693ed0c8
(svn r16700) -Fix: if allegro fails to start or fails open a window or sound card fall back to another driver
2009-06-30 12:38:18 +00:00
rubidium
231626f98c
(svn r16699) -Fix [FS#3001]: if SDL fails to allocate a surface due to it being too large (and SDL doesn't crash!) fall back to another video driver.
2009-06-30 12:36:24 +00:00
translators
7de2b22d92
(svn r16697) -Fix (r16696): don't silently introduce old ##case for some languages
2009-06-30 10:19:14 +00:00
translators
a4ffea66e0
(svn r16696) -Change: make order of pragmas identical for all languages (and to what strgen defines it to be)
...
-Change: make order of cases identical to what the case-pragma indicates
2009-06-30 10:14:17 +00:00
translators
21a845ac98
(svn r16695) -Update: WebTranslator2 update to 2009-06-30 10:00:57
...
japanese - 6 fixed by nex259 (6)
norwegian_bokmal - 8 fixed by jankmi (8)
portuguese - 9 fixed by SnowFlake (9)
serbian - 111 fixed by etran (111)
spanish - 1 fixed by erregerre (1)
2009-06-30 10:01:05 +00:00
rubidium
4f99508114
(svn r16694) -Fix [FS#2995] (rgradual loading, rnewindustries): only pay for whatever has been actually unloaded and perform the payment when unloading has finished. This fixes, amongst others:
...
* cheating by starting to unload and after getting paid rushing to the depot to get sold (or unloading, loading and getting paid again for the remainder)
* cargo being dropped onto a station at the moment a stockpiling industry doesn't accept it anymore
* industries getting cargo that has not been unloaded yet and subsequently dumping it back on the station in one go
Note: you will now get paid after the unloading has finished, so you'll have to wait a bit longer for 'your' money.
2009-06-29 19:55:36 +00:00
rubidium
025cf4b546
(svn r16693) -Fix [FS#3004] (r16883): cargo income was not added to the vehicle's profit.
2009-06-29 19:17:23 +00:00
translators
86dbc2bc89
(svn r16692) -Update from WebTranslator v3.0:
...
ukrainian - 3 changes by Madvin
2009-06-29 17:45:07 +00:00
rubidium
6670a92012
(svn r16691) -Codechange: what's the point of getting the fifth dparam and then using that as the second dparam later on? Especially when the fifth dparam is never set and the second dparam is never used.
2009-06-29 09:32:58 +00:00
michi_cc
dfa16d6525
(svn r16690) -Fix [FS#3002]: Missing debug string for ESRB_SAFE_TILE in YAPF debugging helper.
2009-06-28 22:42:19 +00:00
alberth
2509f55d87
(svn r16689) -Codechange: Allow for rendering of parameterized text of nested widgets in Window::DrawWidget, adapt intro and town directory windows.
2009-06-28 22:23:26 +00:00
alberth
0365d15306
(svn r16688) -Codechange: Some cleanup of intro screen and town directory.
2009-06-28 21:23:37 +00:00
alberth
194701b27a
(svn r16687) -Codechange: Perform re-initialization of windows with nested widgets after a language change.
2009-06-28 20:09:40 +00:00
translators
d443e0c0a8
(svn r16686) -Update from WebTranslator v3.0:
...
german - 4 changes by planetmaker
2009-06-28 17:45:07 +00:00
translators
cb8820f221
(svn r16685) -Update: WebTranslator2 update to 2009-06-28 17:40:12
...
korean - 3 fixed, 28 changed by leejaeuk5 (31)
2009-06-28 17:40:14 +00:00
alberth
ae9cd9b700
(svn r16684) -Codechange: Add maxdim function for Dimension struct.
2009-06-28 15:16:57 +00:00
rubidium
2c478d1b6d
(svn r16683) -Codechange: move the cargo payment handling to a seperate class. Based on ideas of fonso/fonsinchen.
2009-06-28 15:12:59 +00:00
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
2009-06-28 14:36:25 +00:00
rubidium
7f117cf256
(svn r16681) -Codechange: only resolve the company once for vehicle payment instead of each time a cargo packet is delivered
2009-06-28 14:33:10 +00:00
rubidium
5140f4261b
(svn r16680) -Codechange: don't go through all the station unloading stuff when there is no vehicle at the station
2009-06-28 14:29:58 +00:00
frosch
ce55eda3e1
(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.
2009-06-27 21:36:04 +00:00
frosch
523cde0798
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27 21:06:58 +00:00
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
2009-06-27 20:53:45 +00:00
frosch
4c3f480f92
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
2009-06-27 18:26:50 +00:00
translators
415c575fe5
(svn r16675) -Update from WebTranslator v3.0:
...
german - 19 changes by planetmaker
ukrainian - 21 changes by Madvin
2009-06-27 17:45:10 +00:00
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)
2009-06-27 17:32:18 +00:00
smatz
837b3628d9
(svn r16673) -Codechange: rename GetProducedCargo() to AddProducedCargo() and change its behaviour accordingly
2009-06-27 17:05:20 +00:00
alberth
28ad9897da
(svn r16672) -Codechange: Add functions to compute size of strings and sprites.
2009-06-27 11:45:05 +00:00
alberth
d5693bd446
(svn r16671) -Doc: Documenting Sprite structure.
2009-06-26 23:20:32 +00:00
alberth
657b6c84f0
(svn r16670) -Codechange: Containers with equally sized children are useful to have.
2009-06-26 21:25:25 +00:00
frosch
9136b9b779
(svn r16669) -Cleanup (r1): Only animated tiles are... animated.
2009-06-26 20:03:16 +00:00
translators
cbb3fa2eca
(svn r16668) -Update from WebTranslator v3.0:
...
dutch - 43 changes by Yexo
ukrainian - 34 changes by Madvin
2009-06-26 17:45:11 +00:00
smatz
873a205ae6
(svn r16667) -Codechange: replace GetRandomTown() and GetRandomIndustry() by Town::GetRandom() and Industry::GetRandom()
2009-06-26 15:08:54 +00:00
smatz
0e5af86ead
(svn r16666) -Codechange: replace GetHouseSpecs() by HouseSpec::Get(), hide _house_specs[]
2009-06-26 14:02:27 +00:00
smatz
7b78bae8e7
(svn r16665) -Codechange: replace GetTownByTile() by Town::GetByTile()
2009-06-26 13:46:23 +00:00
smatz
d39c08fd9d
(svn r16664) -Codechange: move house-related stuff from town.h and town_type.h to separate files
2009-06-26 13:44:14 +00:00
smatz
5ca420492f
(svn r16663) -Codechange: make removing of railway station tiles faster
2009-06-26 12:25:53 +00:00
smatz
9d63b88b22
(svn r16662) -Codechange: replace GetRoadStopByTile() by RoadStop::GetByTile()
2009-06-26 10:45:20 +00:00
smatz
d5e58990f8
(svn r16661) -Codechange: move definition of few very short functions to header files
2009-06-25 23:49:59 +00:00
smatz
bd208c30e0
(svn r16660) -Codechange: get rid of more dummy tile_type_procs
2009-06-25 20:08:59 +00:00
smatz
5d301445a2
(svn r16659) -Codechange: rename GetAcceptedCargo() to AddAcceptedCargo() and change its behaviour accordingly
...
-Codechange: remove dummy GetAcceptedCargo_*() handlers
2009-06-25 19:23:09 +00:00
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
2009-06-25 17:45:18 +00:00
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)
2009-06-25 16:41:13 +00:00
smatz
5799a7a57c
(svn r16656) -Fix (r16655): strange things happen
2009-06-25 16:07:23 +00:00
smatz
c113303593
(svn r16655) -Codechange: use IsRailwayStationTile() more
2009-06-25 15:54:06 +00:00
smatz
72bee4ad2d
(svn r16654) -Codechange: cache industries in station's coverage area instead of searching them everytime payment is made
2009-06-25 15:42:03 +00:00
smatz
2fc6fc7d62
(svn r16653) -Fix (r16269): TOC() macro was broken
2009-06-25 00:06:06 +00:00
smatz
d4538bc611
(svn r16652) -Codechange: use less strict, but faster check for quickly bailing out in FindTrainCollideEnum() (Bilbo)
...
-Codechange: shuffle the code a bit
2009-06-24 23:59:20 +00:00
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.
2009-06-24 23:34:30 +00:00
yexo
b424962e57
(svn r16650) -Fix (r16649): missing ()
2009-06-24 23:24:01 +00:00
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.
2009-06-24 23:23:08 +00:00
yexo
a52f5c45e6
(svn r16648) -Codechange: move some more includes around
2009-06-24 22:38:47 +00:00
yexo
b00726a5d2
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
2009-06-24 21:33:11 +00:00
smatz
a9602401f0
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
2009-06-24 19:26:41 +00:00
translators
6a43a2e8f2
(svn r16645) -Update from WebTranslator v3.0:
...
russian - 6 changes by Lone_Wolf
2009-06-24 17:45:07 +00:00
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)
2009-06-24 17:43:13 +00:00
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
2009-06-24 17:39:54 +00:00
smatz
916331328e
(svn r16642) -Codechange: use map size limits enum at one more place
2009-06-23 23:42:37 +00:00
smatz
4b3bf5667a
(svn r16641) -Codechange: reduce number of multiplications done in FindTrainCollideEnum() to minimum
2009-06-23 23:31:43 +00:00
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
2009-06-23 21:44:48 +00:00
smatz
cc9ecc4e7d
(svn r16639) -Codechange: enumify RoadStop::status, move definition of short functions to header file
2009-06-23 21:12:48 +00:00
smatz
51c8a2fefc
(svn r16637) -Cleanup: remove unused _debug_station_level
2009-06-23 20:39:41 +00:00
smatz
da1b67f115
(svn r16636) -Codechange: no need to initialize already zeroed variables by zero in station and rs constructors, remove debug output
2009-06-23 20:32:51 +00:00
rubidium
b5f49d5b5a
(svn r16635) -Fix: a couple of MSVC 64 bits warnings
2009-06-23 20:29:59 +00:00
smatz
54cbd17bd8
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
2009-06-23 12:11:35 +00:00
smatz
9ec6fc8a61
(svn r16633) -Codechange: remove checks for consistency of newpool
2009-06-23 10:44:46 +00:00
smatz
45312433b6
(svn r16632) -Codechange: rename Town::flags12 to Town::flags
2009-06-23 09:52:26 +00:00
smatz
f733d75dad
(svn r16631) -Fix (r1826)(r1881)(r9613): loading of some town data from old savegames was broken
2009-06-23 09:46:29 +00:00
glx
a2ef2e748e
(svn r16630) -Fix (r16629): forgot a continue
2009-06-23 00:04:37 +00:00
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)
2009-06-22 23:57:33 +00:00
smatz
721a0b0608
(svn r16628) -Codechange: remove one gcc2 hack
2009-06-22 23:15:27 +00:00
smatz
368eb3d473
(svn r16627) -Fix: warning about comparing signed and unsigned types
2009-06-22 22:04:48 +00:00
rubidium
4b60c03e60
(svn r16625) -Fix: unsigned vs signed warning in strgen
2009-06-22 20:35:14 +00:00
rubidium
0704883074
(svn r16622) -Fix: {CARGO} only consumes 1 argument
2009-06-22 19:09:48 +00:00
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)
2009-06-22 17:28:50 +00:00
rubidium
39d51e3cfa
(svn r16620) -Fix (r16619): sometimes one misses the obvious :(
2009-06-21 21:08:20 +00:00
rubidium
1e84abd2d6
(svn r16619) -Cleanup: more coding style in airport stuff.
2009-06-21 21:05:06 +00:00
frosch
4ff924862d
(svn r16618) -Fix (r16614): Silence a warning.
2009-06-21 20:59:30 +00:00
rubidium
7ced2b4795
(svn r16617) -Cleanup: some incorrect indenting
2009-06-21 20:57:01 +00:00
translators
d4cb72d75b
(svn r16616) -Update from WebTranslator v3.0:
...
french - 41 changes by glx
2009-06-21 17:37:07 +00:00
yexo
2c82d10226
(svn r16615) -Fix (r16613): 0x10 != 2
2009-06-21 13:30:21 +00:00
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
2009-06-21 13:26:30 +00:00
yexo
3531315322
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
2009-06-21 10:11:04 +00:00
alberth
8d3e094920
(svn r16612) -Fix (r16605): ASCII_LETTERSTART should be defined unconditionally (leeus)
2009-06-21 08:35:05 +00:00
belugas
af54ba7bfc
(svn r16611) -Doc Fix(r16606): "then" became "the" and now is gone.
...
In other words, fix a comment ;)
2009-06-20 23:22:46 +00:00
rubidium
ba85e6dae1
(svn r16610) -Fix: remove rogue space before '?'
2009-06-20 19:23:45 +00:00
alberth
460b2656df
(svn r16609) -Codechange: Introduction of widget sizes and offsets used while drawing.
2009-06-20 18:06:37 +00:00
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)
2009-06-20 17:50:44 +00:00
alberth
484a915ec2
(svn r16606) -Doc: Added/fixed doxygen comments.
2009-06-20 15:48:55 +00:00
alberth
f773774d15
(svn r16605) -Codechange: Move ASCII_LETTERSTART to the right source file.
2009-06-20 15:25:28 +00:00
alberth
88d75805af
(svn r16604) -Codechange: Use FS_BEGIN for iterating over fonts.
2009-06-20 15:05:59 +00:00
smatz
d65963a48f
(svn r16603) -Codechange: enumify map size limits (based on a patch by Bilbo)
2009-06-20 11:25:39 +00:00
peter1138
67485b5c76
(svn r16602) -Fix (r13831): Antialiased fonts broken; check pixel_mode instead of palette_mode. (Why did it work at some point?)
2009-06-20 09:35:22 +00:00
rubidium
71c7064ad6
(svn r16601) -Fix [FS#2880]: try 2... hopefully better this time
2009-06-19 20:26:18 +00:00
frosch
a490ae68ed
(svn r16600) -Fix: Give a more meaningful error message when console commands expect an integer but don't get one.
2009-06-19 15:48:13 +00:00
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.
2009-06-19 12:08:44 +00:00
smatz
717248b0d8
(svn r16596) -Fix (r16378): there were several hundreds of empty signs above tile 0 after loading TTO/TTD savegame
2009-06-18 18:13:38 +00:00
translators
68ba22738f
(svn r16595) -Update: WebTranslator2 update to 2009-06-18 17:50:03
...
russian - 31 fixed, 11 changed by Lone Wolf (42)
2009-06-18 17:50:05 +00:00
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.
2009-06-18 17:16:29 +00:00
rubidium
a5256855a3
(svn r16593) -Cleanup: realign the TTDP flags table.
2009-06-18 15:59:21 +00:00
rubidium
8f74c85d74
(svn r16592) -Fix [FS#2880]: 'connection lost' was also shown when the client was 'leaving'.
2009-06-18 15:05:45 +00:00
rubidium
6d70d935a9
(svn r16591) -Codechange: some coding style in strgen
2009-06-18 11:17:55 +00:00
rubidium
62ee93c702
(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found.
2009-06-18 09:47:06 +00:00
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)
2009-06-17 17:40:41 +00:00
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.
2009-06-17 17:13:30 +00:00
yexo
4c227b6b78
(svn r16585) -Add [NoAI]: AIBuoyList to get a list of all buoys
2009-06-17 13:12:08 +00:00
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.
2009-06-17 13:04:37 +00:00
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.
2009-06-16 22:04:36 +00:00
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)
2009-06-16 17:10:40 +00:00
rubidium
8ca2ccc456
(svn r16581) -Codechange: unify the access to Engine::lifelength.
2009-06-16 13:52:18 +00:00
rubidium
ee96d737b2
(svn r16580) -Codechange: rename Engine::image_index to original_image_index to not confuse it with image_index from *VehInfo.
2009-06-16 13:31:06 +00:00
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
2009-06-16 10:46:11 +00:00
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)
2009-06-14 17:33:32 +00:00
rubidium
af4992ec14
(svn r16577) -Fix: signed/unsigned comparison
2009-06-14 17:02:09 +00:00
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.
2009-06-14 17:01:12 +00:00
alberth
978a9df133
(svn r16575) -Fix (r15760): Move resize sprite to the right when widget is lowered for RTL languages also.
2009-06-14 15:50:39 +00:00
rubidium
f1840d084b
(svn r16574) -Codechange: reorder stuff in NetworkGameInfo so compilers waste less bytes aligning stuff and fix the comment of the structs.
2009-06-13 22:48:41 +00:00
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.
2009-06-13 12:06:31 +00:00
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.
2009-06-13 12:03:37 +00:00
smatz
632a3191f6
(svn r16571) -Fix [FS#2974](r16322): in some cases, train could be stuck in depot
2009-06-13 10:22:22 +00:00
yexo
eed0de5166
(svn r16569) -Codechange: remove the gaps in the AirportTiles enum
2009-06-12 19:44:47 +00:00
yexo
7d4e41c977
(svn r16568) -Codechange: rename all arrays with airport-tile sprites
2009-06-12 18:32:10 +00:00
yexo
772ed49d15
(svn r16567) -Fix (r16566): some minor corrections
2009-06-12 15:31:38 +00:00
yexo
fc00382c0d
(svn r16566) -Codechange: enumify all airport tiles
2009-06-12 14:53:57 +00:00
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)
2009-06-11 17:32:17 +00:00
yexo
148559ff5e
(svn r16563) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
2009-06-11 14:29:03 +00:00
yexo
e624d96282
(svn r16562) -Revert (r16561)
2009-06-11 14:17:26 +00:00
yexo
c5c15fcbd9
(svn r16561) -Fix [NoAI]: AIMarine::AreWaterTilesConnected didn't return true for bridge head<>neighbouring water tile
2009-06-11 14:15:18 +00:00
smatz
500b272ba1
(svn r16560) -Fix (r16559): wrong replacement at one place
2009-06-10 22:11:39 +00:00
smatz
a2567c84a0
(svn r16559) -Codechange: introduce Company::IsValidAiID() and Company::IsValidHumanID(), don't use IsHumanCompany() where possible
2009-06-10 22:05:01 +00:00
alberth
0b66eb938f
(svn r16558) -Codechange: Switch found-town window to nested widgets.
2009-06-10 20:48:22 +00:00
smatz
0ae854650a
(svn r16557) -Feature(tte) [NoAI][FS#2892]: mark dead AIs by red background in the AIDebug window
2009-06-10 19:26:04 +00:00
smatz
f67ea11992
(svn r16556) -Codechange [NoAI]: use accessor for AIInstance::is_dead
2009-06-10 19:23:25 +00:00
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)
2009-06-10 19:00:34 +00:00
smatz
2d841c66e5
(svn r16554) -Fix (r16433): compilation with disabled network was broken
2009-06-10 18:53:43 +00:00
smatz
ca9787b2ea
(svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks
2009-06-10 16:02:00 +00:00
smatz
aae77c67cb
(svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster
2009-06-10 14:07:08 +00:00
smatz
8786c8792d
(svn r16551) -Codechange: use shift instead of multiplication in TileXY()
2009-06-10 13:44:37 +00:00
smatz
6ba1c691ad
(svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults
2009-06-10 08:18:40 +00:00
smatz
0f76a15344
(svn r16549) -Codechange: use bool in TileLoopClearHelper
2009-06-10 07:19:48 +00:00
smatz
e300d153cc
(svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly
2009-06-10 05:36:58 +00:00
smatz
ac991bff90
(svn r16547) -Codechange: make CircularTileSearch a tiny bit faster
2009-06-09 23:34:48 +00:00
smatz
55b1e701e4
(svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor
2009-06-09 23:22:37 +00:00
smatz
5c934c621d
(svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1
2009-06-09 20:04:46 +00:00
smatz
d2ad6d38be
(svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles)
2009-06-09 17:20:06 +00:00
translators
86f6a61d3b
(svn r16543) -Update: WebTranslator2 update to 2009-06-09 17:05:46
...
russian - 6 deleted, 276 changed by Lone Wolf (282)
2009-06-09 17:05:50 +00:00
smatz
f76c080976
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
2009-06-09 13:35:30 +00:00
rubidium
5209b32953
(svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one
2009-06-08 22:13:10 +00:00
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)
2009-06-08 17:40:46 +00:00
frosch
6d54a1939e
(svn r16536) -Fix (r16535): W != S
2009-06-08 15:44:11 +00:00
frosch
28f8c8b493
(svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections.
2009-06-08 15:42:35 +00:00
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
2009-06-07 20:20:22 +00:00
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)
2009-06-07 17:45:52 +00:00
yexo
1c754c75d6
(svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL
2009-06-07 15:54:37 +00:00
alberth
d7663017e5
(svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given away to a child from the total (Hirundo).
2009-06-07 14:34:43 +00:00
yexo
338f75b3b2
(svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API.
2009-06-07 13:29:09 +00:00
frosch
69107b00cc
(svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead.
2009-06-07 13:25:21 +00:00
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-06-06 16:54:22 +00:00
smatz
6cf1610a08
(svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle
2009-06-06 16:49:45 +00:00
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.
2009-06-06 14:46:50 +00:00
rubidium
8d6dec5e72
(svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD.
2009-06-06 11:47:21 +00:00
frosch
d98e8fcf90
(svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles.
2009-06-06 10:40:16 +00:00
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
2009-06-06 01:53:17 +00:00
frosch
a75f564af4
(svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392)
2009-06-05 21:19:38 +00:00
yexo
a2c5c2651a
(svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge)
2009-06-05 17:36:39 +00:00
alberth
e77b0adb53
(svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar.
2009-06-05 07:25:26 +00:00
translators
4973d4a290
(svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
...
swedish - 39 fixed by daishan (39)
2009-06-04 16:25:43 +00:00
alberth
e47ca002d2
(svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees.
2009-06-04 14:34:38 +00:00
alberth
cbf2d24ebb
(svn r16516) -Codechange: Added click and drag handling for nested widgets.
2009-06-04 14:07:05 +00:00
alberth
24b2876cb5
(svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree.
2009-06-04 12:46:37 +00:00
alberth
ed0a0a681a
(svn r16514) -Codechange: Add widget flags, and drawing and invalidating.
2009-06-03 21:13:13 +00:00
alberth
bb075195b9
(svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array.
2009-06-03 20:00:33 +00:00
rubidium
bb854f2b97
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
2009-06-03 18:47:08 +00:00
yexo
1df82e9702
(svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function
2009-06-03 15:59:26 +00:00
smatz
4e7ec0035e
(svn r16507) -Fix (r16503): segfault when deleting non-last graphics set
2009-06-03 00:05:51 +00:00
smatz
f74b597c83
(svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit
2009-06-02 19:56:23 +00:00
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.
2009-06-02 19:12:28 +00:00
smatz
e6b8b65fcd
(svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor
2009-06-02 12:57:47 +00:00
rubidium
b982ff66f6
(svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ).
2009-06-02 12:56:38 +00:00
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
2009-06-01 22:00:47 +00:00
alberth
85824cf261
(svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree.
2009-06-01 20:45:46 +00:00
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)
2009-06-01 17:32:40 +00:00
frosch
c9eac207ea
(svn r16498) -Codechange: Remove hardly used HASBITS.
2009-06-01 15:01:54 +00:00
smatz
61e668929f
(svn r16497) -Feature [FS#2870]: Q/W/E/D will now open the landscape toolbar and select appropriate tool
2009-06-01 14:36:36 +00:00
smatz
00cd25b7a2
(svn r16496) -Codechange: remove one useless dynamic_cast<>
2009-06-01 13:34:13 +00:00
alberth
53c60be207
(svn r16495) -Codechange: Renamed a few variables.
2009-06-01 13:28:05 +00:00