yexo
a9cdcb02f5
(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge
14 years ago
yexo
72e2e21cb5
(svn r20745) -Fix: don't delete an object when trying to terraform a tile of it with canal under it. If we delete the object the terraforming will still fail due to the canal
14 years ago
yexo
0ab95ba636
(svn r20744) -Fix: overbuilding an object with water under it failed
14 years ago
frosch
42a996ec23
(svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run.
14 years ago
frosch
ce1cae81ea
(svn r20742) -Fix: Evaluate DC_NO_WATER flag when clearing objects built on water.
14 years ago
frosch
e9cd81953a
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
14 years ago
frosch
435c8d33b0
(svn r20740) -Codechange: Add HasTileWaterClass() to test for tiletypes with WaterClass.
14 years ago
translators
a9d2ba6069
(svn r20739) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by
esperanto - 11 changes by Christopher
spanish - 1 changes by Terkhen
14 years ago
alberth
4f435d9256
(svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build.
14 years ago
alberth
21a80e0a0e
(svn r20737) -Codechange: Introduce a function for advertising opening of a new industry.
14 years ago
alberth
fcf92a20e2
(svn r20736) -Codechange: Introduce a new function for trying to create a new industry.
14 years ago
alberth
6c34a044c8
(svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability().
14 years ago
alberth
03f7733f83
(svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability().
14 years ago
yexo
2d30613c3a
(svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object
14 years ago
yexo
2e054c19ad
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
14 years ago
yexo
0decc3e094
(svn r20731) -Fix (r20739): SmallVector did not have an assignment operator, causing invalid memory reads / double free
14 years ago
yexo
9a0033cbf6
(svn r20730) -Fix: crash when removing an object while the newgrf debug window was open for that object
14 years ago
yexo
a45b598bfc
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
14 years ago
yexo
bd379e283f
(svn r20728) -Codechange: shuffle some code in CMD_BUILD_ROAD so it doesn't call CMD_LANDSCAPE_CLEAR in test-mode from exec-mode
14 years ago
yexo
9b5808a89d
(svn r20727) -Fix [FS#4106]: compilation with --disable-ai was broken (cirdan)
14 years ago
translators
8c9c3a361a
(svn r20726) -Update from WebTranslator v3.0:
...
belarusian - 5 changes by KorneySan
finnish - 2 changes by jpx_
french - 4 changes by glx
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
norwegian_nynorsk - 1 changes by mantaray
polish - 5 changes by silver_777, voythas
russian - 6 changes by Lone_Wolf
spanish - 2 changes by Terkhen
14 years ago
glx
72bd89b900
(svn r20722) -Fix (r20719): signed/unsigned side effect makes a small negative value become a big positive value
14 years ago
rubidium
29eae4a378
(svn r20721) -Fix: objects that can be built on water shouldn't be drowned.
14 years ago
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
14 years ago
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
14 years ago
translators
5e258efe6b
(svn r20718) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
german - 2 changes by planetmaker
hungarian - 2 changes by IPG
icelandic - 6 changes by grjonib
irish - 2 changes by tem
norwegian_bokmal - 2 changes by Tacky93
norwegian_nynorsk - 3 changes by Tacky93
russian - 2 changes by Lone_Wolf
serbian - 2 changes by etran
slovak - 2 changes by keso53
14 years ago
yexo
7b0fd807fb
(svn r20717) -Fix [FS#4103]: water class was not set for stations
14 years ago
yexo
c07fdab16c
(svn r20716) -Feature: add airport class and airport name to the land info tool
14 years ago
rubidium
e90e831f2e
(svn r20714) -Fix: bit 9 of object's flags implies bit 3 is set, so just test for either of the bits being set
14 years ago
rubidium
7ee2c31f99
(svn r20713) -Fix (r20654): when ignoring action0 object properties, ignore property 13 correctly
14 years ago
terkhen
5df8e6abcf
(svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor.
14 years ago
terkhen
efef4becbd
(svn r20711) -Fix [FS#4094]: Do not use new game settings when creating many random towns at the scenario editor.
14 years ago
terkhen
c6db763781
(svn r20710) -Codechange: Clarify the name of some town generation variables.
14 years ago
translators
7a5b995157
(svn r20709) -Update from WebTranslator v3.0:
...
irish - 28 changes by tem
14 years ago
rubidium
dd2c38ea82
(svn r20708) -Fix [FS#4101]: upon company bankruptcy some objects weren't removed properly
14 years ago
translators
b610b1af61
(svn r20707) -Update from WebTranslator v3.0:
...
belarusian - 22 changes by KorneySan
german - 6 changes by planetmaker
korean - 2 changes by junho2813
portuguese - 21 changes by SupSuper
serbian - 10 changes by etran
slovak - 78 changes by comp
14 years ago
rubidium
cf8f6571fc
(svn r20706) -Fix (r20664): land slope check wasn't called when it should be called
14 years ago
yexo
0068c02244
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
14 years ago
translators
2907f2afc2
(svn r20699) -Update from WebTranslator v3.0:
...
dutch - 11 changes by habell
esperanto - 7 changes by Christopher
hungarian - 7 changes by IPG
icelandic - 25 changes by grjonib
italian - 8 changes by lorenzodv
korean - 7 changes by junho2813
norwegian_bokmal - 82 changes by mantaray
romanian - 10 changes by tonny
spanish - 10 changes by Terkhen
14 years ago
yexo
6eb3ef7bc3
(svn r20697) -Fix [FS#4084]: call the new function after resizing a window so it's not possible a window becomes unmoveable
14 years ago
yexo
47494b2744
(svn r20696) -Codechange: create a new function to make sure part of the caption bar is visible when creating a window
14 years ago
yexo
6446a928dc
(svn r20695) -Codechange: move PreventHiding to another location
14 years ago
yexo
cf2032d0f8
(svn r20694) -Fix [FS#4087]: empty newgrf presets were not selectable
14 years ago
yexo
e91e2498c7
(svn r20693) -Fix: use strncmp instead of memcmp for comparing strings
14 years ago
yexo
9a05f8004b
(svn r20692) -Fix [FS#4055]: crash after downloading missing content
14 years ago
rubidium
562df2803f
(svn r20691) -Fix (r20690): unmessup a broken string
14 years ago
translators
0fdab5f5a5
(svn r20690) -Update from WebTranslator v3.0:
...
belarusian - 10 changes by Wowanxm
catalan - 11 changes by arnau
traditional_chinese - 14 changes by josesun
croatian - 10 changes by VoyagerOne
finnish - 10 changes by jpx_
french - 10 changes by glx
german - 13 changes by planetmaker
hungarian - 3 changes by IPG
icelandic - 11 changes by grjonib
italian - 2 changes by lorenzodv
polish - 10 changes by voythas
russian - 14 changes by Lone_Wolf
slovenian - 34 changes by Necrolyte, ntadej
swedish - 12 changes by Zuu
14 years ago
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
alberth
219ad6e003
(svn r20688) -Codechange: Rename Queue struct to BinaryHeap.
14 years ago
alberth
ed72338513
(svn r20687) -Codechange: Replace the THISBIN_HEAP_ARR macro by a GetElement() method.
14 years ago
alberth
bc6a5a5e64
(svn r20686) -Codechange: Make init_BinaryHeap() a method.
14 years ago
alberth
2c962548e5
(svn r20685) -Codechange: Make BinaryHeap_Clear() a method.
14 years ago
alberth
b06cedc905
(svn r20684) -Codechange: Make BinaryHeap_Free() a method.
14 years ago
alberth
3f0cd8c9f0
(svn r20683) -Codechange: Make BinaryHeap_Delete() a method.
14 years ago
alberth
10b182482e
(svn r20682) -Codechange: Make BinaryHeap_Pop() a method.
14 years ago
alberth
92801ac718
(svn r20681) -Codechange: Make BinaryHeap_Push() a method, introduce temporary THISBIN_HEAP_ARR macro.
14 years ago
alberth
68e2a07479
(svn r20680) -Codechange: Remove the now useless union and struct wrappers around the binary heap data.
14 years ago
alberth
ded2acf02e
(svn r20679) -Codechange: Remove unused insertion sorter.
14 years ago
alberth
fa6203fdc3
(svn r20678) -Codechange: Remove unused NetworkFindClientInfoFromIndex(), NetworkFindClientInfoFromIP().
14 years ago
rubidium
7af4449fef
(svn r20677) -Fix (r20136): copy-paste error (jwm)
14 years ago
rubidium
dd0a8a573d
(svn r20676) -Codechange: it's not needed to supply two almost identical vars
14 years ago
rubidium
00415213f3
(svn r20675) -Add [FS#4077]: method to access the (action 14) NewGRF version of other NewGRFs
14 years ago
alberth
be59c90e86
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
14 years ago
rubidium
a8b992f4fd
(svn r20673) -Codechange: add support for inspecting objects
14 years ago
rubidium
60655522ca
(svn r20672) -Remove: some stale strings
14 years ago
rubidium
c862ab42c9
(svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor
14 years ago
rubidium
7b16c7650b
(svn r20670) -Add: support for action F
...
-Add: a window to select (NewGRF) objects
14 years ago
rubidium
2d10b0f11d
(svn r20669) -Codechange: trigger the whole object every 256 ticks instead of every 250 ticks
14 years ago
rubidium
41a80490be
(svn r20668) -Codechange: add (more) support for bridges over objects
14 years ago
rubidium
3e67b4fe5f
(svn r20667) -Codechange: implement the autoslope callback for objects
14 years ago
rubidium
d4403cb649
(svn r20666) -Codechange: enable drawing of (NewGRF) objects
14 years ago
rubidium
fba19a41d5
(svn r20665) -Codechange: make clearing object tiles behave (more) like TTDPatch
14 years ago
rubidium
ca7fe458a2
(svn r20664) -Codechange: implement the land slope callback for objects
14 years ago
rubidium
9991c8677d
(svn r20663) -Codechange: add the GRF name to the tile info window
14 years ago
rubidium
60fe27db50
(svn r20662) -Codechange: implement object animation
14 years ago
rubidium
ee8c37c3d9
(svn r20661) -Codechange: implement the "decide colour" callback for objects
14 years ago
rubidium
852bde0bad
(svn r20660) -Codechange: implement (most) of action2 support for objects
14 years ago
rubidium
8fd9728e19
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
14 years ago
rubidium
e0ba6550d2
(svn r20658) -Codechange: add the colour of an object to the object instance
14 years ago
rubidium
b376f8ae15
(svn r20657) -Codechange: add function to draw NewGRF tileseq in the GUI
14 years ago
rubidium
bd48893478
(svn r20656) -Codechange: implement counting of objects
14 years ago
rubidium
c481e3b110
(svn r20655) -Codechange: implement reading the action3 of objects
14 years ago
rubidium
23ba40d385
(svn r20654) -Codechange: implement reading action0 of objects
14 years ago
translators
3a9f54a4f8
(svn r20653) -Update from WebTranslator v3.0:
...
simplified_chinese - 23 changes by ww9980
traditional_chinese - 2 changes by ww9980
esperanto - 6 changes by Christopher
icelandic - 108 changes by grjonib
thai - 6 changes by angelix
14 years ago
rubidium
164a923c69
(svn r20652) -Codechange: implement a function to get the index of a spec.
14 years ago
rubidium
0a86eac2f1
(svn r20651) -Codechange: add a function to determine whether an object is available and use it
14 years ago
rubidium
6348aa7964
(svn r20650) -Codechange: add some variables to the object's spec
14 years ago
rubidium
f9a9b0ed4a
(svn r20649) -Codechange: implement classes for objects
14 years ago
rubidium
1ec1f1ef37
(svn r20648) -Codechange: implement the NewGRF override manager for objects
14 years ago
rubidium
34da98f2b1
(svn r20647) -Codechange: update some of the object spec information
14 years ago
rubidium
f1f1c71a41
(svn r20646) -Codechange: make the code flow of breakdown handling a bit clearer
14 years ago
rubidium
2fb18e975c
(svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo)
14 years ago
rubidium
702cc96943
(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)
14 years ago
rubidium
2c1ffd79f1
(svn r20643) -Fix (r20641): != != ==
14 years ago
rubidium
0d8091a7c3
(svn r20642) -Codechange: make the table in object_land easier expandable.
14 years ago
rubidium
5d835bd280
(svn r20641) -Codechange: remove the "require flat land" flag
14 years ago
rubidium
50769995c7
(svn r20640) -Add: support for water under objects
14 years ago
rubidium
536bb704b7
(svn r20639) -Add: random bits to object tiles
14 years ago
rubidium
3e9e1b8e65
(svn r20638) -Codechange: split object.h
14 years ago
frosch
4901d42140
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
14 years ago
translators
d7c843a22e
(svn r20635) -Update from WebTranslator v3.0:
...
chuvash - 18 changes by mefisteron
14 years ago
rubidium
8522984840
(svn r20634) -Fix (r20592): gracefully do the date_fract format conversion when an older OpenTTD savegame which loaded an ancient savegame still has the old date_fract "format".
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
08a41c6ee5
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
14 years ago
translators
327451e820
(svn r20630) -Update from WebTranslator v3.0:
...
chuvash - 5 changes by mefisteron
dutch - 2 changes by habell
german - 1 changes by planetmaker
polish - 1 changes by silver_777
14 years ago
rubidium
16bcd6c0cf
(svn r20628) -Fix: typos in animation trigger enum/comments
14 years ago
rubidium
ddf1510a23
(svn r20627) -Codechange: unify the animation code of station, airport, house and industry tiles
14 years ago
rubidium
d3f57f0e4d
(svn r20626) -Codechange: pass AirportTileSpec to the airport tile callback
14 years ago
rubidium
82ef98a90a
(svn r20625) -Add: AirportTileSpec::GetByTile to simplify accessing the AirportTileSpec
14 years ago
rubidium
9982b5fd00
(svn r20624) -Codechange: some constifying for NewGRF house
14 years ago
rubidium
e2e26190d5
(svn r20623) -Codechange: unify the storing of animation related information
14 years ago
rubidium
4efa2efdbb
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
14 years ago
rubidium
7f86dcca90
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
14 years ago
rubidium
193800e0fa
(svn r20620) -Codechange: rename airporttile's callback_flags to callback_mask, so it's the same for all NewGRF features with callbacks
14 years ago
rubidium
134712ec64
(svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like all other platforms (matheweis)
14 years ago
rubidium
1e0e4b8cb6
(svn r20618) -Fix [FS#4081]: drawing the "OpenTTD" text in the intro game caused crashes with very low resolutions
14 years ago
translators
c4ed8ee3e3
(svn r20617) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan, Wowanxm
finnish - 2 changes by jpx_
german - 2 changes by planetmaker
greek - 2 changes by fumantsu
hungarian - 1 changes by IPG
italian - 2 changes by lorenzodv
polish - 2 changes by voythas
spanish - 3 changes by Terkhen
vietnamese - 13 changes by myquartz
14 years ago
translators
11c8140259
(svn r20612) -Update from WebTranslator v3.0:
...
catalan - 79 changes by arnau
croatian - 3 changes by VoyagerOne
esperanto - 9 changes by Christopher
french - 2 changes by glx
hungarian - 7 changes by IPG
icelandic - 142 changes by grjonib
romanian - 2 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 3 changes by etran
spanish - 2 changes by Terkhen
14 years ago
yexo
0a644af019
(svn r20611) -Fix: disable newgrf houses that have a different size then their substitute type
14 years ago
frosch
9390bddbbd
(svn r20610) -Fix (r20609): X and Y got swapped.
14 years ago
yexo
3b04f510b1
(svn r20609) -Fix [FS#3702]: crash when a NewGRF defined an invalid substitute type for a house and the NewGRF was removed during the game
14 years ago
rubidium
5e08df7689
(svn r20607) -Fix: retain information about all base sets that are found and not only the latest version. This to stop confusing people that use newer versions of the base sets than those available via BaNaNaS.
14 years ago
yexo
747f638557
(svn r20606) -Change [FS#4042]: change the debug level of the "Registering two AIs/libraries with the same name and version" message from 0 to 1
14 years ago
rubidium
9d1145e50c
(svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not.
14 years ago
yexo
f6f218cf6b
(svn r20604) -Feature: add a reset button to the newgrf parameters window
14 years ago
rubidium
da4dc61f76
(svn r20603) -Codechange: silence some ICC warnings
14 years ago
yexo
09d109a787
(svn r20602) -Change (r20601): use DFLT instead of DEFA as name for the default field
14 years ago
yexo
a36159614a
(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14
14 years ago
rubidium
8ce06a09b9
(svn r20600) -Fix [FS#4075]: "downscale" a full load order to a load if possible order when removing the order while the vehicle is loading. This to prevent the vehicle from (possibly) staying forever in the station
14 years ago
michi_cc
0fd73dee60
(svn r20599) -Add: [Win32] Append a decoded stack trace to the debug.log. Most of the time, the result will only be useful if the corresponding PDB file is present.
14 years ago
michi_cc
a7e8b67c7c
(svn r20598) -Codechange: [Win32] Replace the external x64 asm with a built-in Windows function.
14 years ago
translators
56e05d1e2c
(svn r20597) -Update from WebTranslator v3.0:
...
dutch - 4 changes by habell
esperanto - 10 changes by Christopher
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
icelandic - 54 changes by grjonib
polish - 8 changes by silver_777, voythas, xine
serbian - 10 changes by etran
14 years ago
rubidium
95d37c8615
(svn r20596) -Fix [FS#4066]: crash when the tooltip is wider than the window is
14 years ago
frosch
4b0fa883f1
(svn r20595) -Fix (r20536)[FS#4068]: Autoreplace needs refitting of wagons in free wagon chains.
14 years ago
translators
cdadc58b66
(svn r20594) -Update from WebTranslator v3.0:
...
german - 2 changes by planetmaker
icelandic - 19 changes by grjonib
italian - 1 changes by lorenzodv
polish - 6 changes by xine
portuguese - 15 changes by JayCity
romanian - 7 changes by tonny
russian - 1 changes by KorneySan
slovak - 1 changes by JamesSVK
spanish - 1 changes by Terkhen
vietnamese - 9 changes by nglekhoi
14 years ago
rubidium
1fd36a0f32
(svn r20593) -Fix: (rlongago, r20547): long ago the service interval was int16, after which is got converted to Date except in the order backup. Much later I copied the savegame snippets from a vehicle and applied that on the order backup. Presto, reading/writing 32 bits (of Date) into 16 bits of ancient style service interval. That would then "spoil" the name pointer and that eventually crashes OpenTTD as it's likely to be an invalid pointer.
14 years ago
rubidium
29e02728e1
(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range
14 years ago
rubidium
56a263070f
(svn r20591) -Codechange: make sure _date_fract is set when SetDate is called. Some places wouldn't reset _date_fract correctly at all
14 years ago
translators
fc700cc33c
(svn r20589) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
esperanto - 8 changes by Christopher
icelandic - 10 changes by grjonib
italian - 4 changes by lorenzodv
russian - 3 changes by Lone_Wolf
swedish - 7 changes by Zuu
turkish - 11 changes by niw3
14 years ago
frosch
64d7b84c9f
(svn r20587) -Codechange (r20456)[FS#4035]: Revert to scrollbars without minimal size to simplify window setup.
14 years ago
translators
e4bb4af69f
(svn r20584) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
chuvash - 4 changes by mefisteron
croatian - 8 changes by VoyagerOne
esperanto - 17 changes by Christopher
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
russian - 1 changes by Lone_Wolf
spanish - 5 changes by Terkhen
14 years ago
frosch
514edcc19d
(svn r20583) -Fix: Autoreplace failed while attaching non-replaced wagons to the new chain, if to-be-sold-engines would become front-engines and the unitnumber limit would be exceeded.
14 years ago
rubidium
79027229b9
(svn r20582) -Fix [FS#4044]: Autoreplace can trigger an assertion when at the vehicle limit
14 years ago
rubidium
d6cd62e633
(svn r20581) -Codechange: simplify getting the station in CalcPercentVehicleFilled
14 years ago
rubidium
f3864181b6
(svn r20580) -Fix [FS#4039]: go via station and go via waypoint behaved differently when a train went back to the same (unordered) station again
14 years ago
frosch
03ab158935
(svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles.
14 years ago
frosch
de973a4d60
(svn r20578) -Fix [FS#4051]: Draw bounding boxes using white instead of pure white, so they are recoloured to grey in coloured newspaper instead of blue.
14 years ago
rubidium
3e3cd47222
(svn r20577) -Fix [FS#4043]: scroll button flickering when pressed
14 years ago
rubidium
1231dc7b57
(svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI
14 years ago
rubidium
1fa98e1695
(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
14 years ago