yexo
ce649b0a73
(svn r20799) -Fix: [NewGRF] clamp vehicle var 0xC2 (max age) to uint16 (Hirundo)
2010-09-13 13:55:25 +00:00
yexo
4d1f24330f
(svn r20798) -Doc [FS#4117]: [NoAI] AITile::HasTransportType doesn't work for TRANSPORT_AIR
2010-09-13 13:36:36 +00:00
yexo
2d4c5ea668
(svn r20797) -Fix: disable houses without a size that are available according to their building flags
2010-09-13 13:27:29 +00:00
yexo
e5a81fbbde
(svn r20796) -Fix: make sure all houses in the house spec array are valid. It was possible that part of a multitile house was not copied because the array was full
2010-09-13 13:08:53 +00:00
yexo
3e64d01a63
(svn r20795) -Codechange: clarify code/documentation of the start/stop bit in CmdMassStartStopVehicle (Krille)
2010-09-13 12:14:22 +00:00
rubidium
f0757f26d7
(svn r20793) -Fix: broken string
2010-09-12 21:03:10 +00:00
yexo
8fafaf3224
(svn r20792) -Fix (r8973): [NewGRF] vehicle vars 0x98 and 0xB4 (max speed and current speed) used the wrong unit for aircraft (Hirundo)
2010-09-12 19:54:25 +00:00
frosch
f0783d7e72
(svn r20791) -Fix (r12161): Building 2x2 houses did not work for 2x2 road layouts on all map sizes.
2010-09-12 19:40:47 +00:00
frosch
b249046364
(svn r20790) -Fix (r0)[FS#4118]: Remove a check which is wrong for NewGrf houses and serves no use for original houses.
2010-09-12 18:28:51 +00:00
translators
b4c86e69a3
(svn r20789) -Update from WebTranslator v3.0:
...
ido - 106 changes by Edwardo
indonesian - 78 changes by fanioz
norwegian_bokmal - 1 changes by CyberKenny
portuguese - 1 changes by ABCRic
swedish - 1 changes by Zuu
thai - 68 changes by kenny
vietnamese - 13 changes by nglekhoi
2010-09-12 17:45:19 +00:00
yexo
c3d4763a00
(svn r20788) -Fix (r20733)[FS#4119]: start/stop all vehicles from non-train depots was broken
2010-09-12 16:54:39 +00:00
frosch
17e6201d33
(svn r20787) -Fix: Spelling mistake in slovak real town names. (mek2)
2010-09-12 14:45:46 +00:00
translators
1cf8fc6d93
(svn r20786) -Update from WebTranslator v3.0:
...
finnish - 1 changes by jpx_
ido - 1 changes by Edwardo
italian - 1 changes by lorenzodv
portuguese - 6 changes by ABCRic
serbian - 1 changes by etran
thai - 60 changes by kenny
2010-09-11 17:45:17 +00:00
rubidium
e63d975d6e
(svn r20785) -Fix: crash when closing the station view of oilrigs (similar to r20774)
2010-09-11 17:45:03 +00:00
alberth
dfeac6ba2e
(svn r20784) -Doc: Doxyment a few debug line printing functions.
2010-09-11 11:48:37 +00:00
rubidium
c0ba81e617
(svn r20783) -Change/Fix: do autosave-on-exit as well when using kill/CTRL-C to terminate a dedicated OpenTTD
2010-09-10 20:03:45 +00:00
translators
a3fc7c05bf
(svn r20782) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
dutch - 1 changes by Yexo
french - 1 changes by glx
galician - 64 changes by Condex
german - 1 changes by planetmaker
korean - 3 changes by junho2813
polish - 1 changes by voythas
romanian - 1 changes by tonny
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
thai - 11 changes by angelix, kenny
2010-09-10 17:45:34 +00:00
yexo
95a2d1f907
(svn r20781) -Fix (r20780): FinishInitNested reset this->owner, so set it afterwards
2010-09-10 13:50:47 +00:00
yexo
fa8bd83036
(svn r20780) -Fix (r20772): group gui only worked properly for the first company
2010-09-10 13:34:47 +00:00
frosch
06678a8ac2
(svn r20779) -Add [FS#4025]: If GRFs do not have action14 parameter information, allow to set the number of parameters in the GUI explicitly.
2010-09-09 20:49:56 +00:00
translators
04d20f9d42
(svn r20778) -Update from WebTranslator v3.0:
...
ido - 77 changes by Edwardo
2010-09-09 17:45:04 +00:00
rubidium
7f8b490a21
(svn r20777) -Codechange: make VehicleListIdentifier a variable of BaseVehicleList and use that instead of "dereferencing" the window number and storing some information twice
2010-09-09 14:40:39 +00:00
rubidium
3ebf8a297e
(svn r20776) -Codechange: make VehicleLists for the group "ALL_GROUP" work as well
2010-09-09 14:39:48 +00:00
rubidium
976ee2a91e
(svn r20775) -Fix (r20771): the group's vehicle lists weren't properly populated
2010-09-09 14:24:42 +00:00
rubidium
64d9a36dc0
(svn r20774) -Fix [FS#4116]: assertion triggered when removing a station owned by nobody when the local company is "spectator" as well
2010-09-09 10:55:05 +00:00
rubidium
4b605f51ab
(svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well
2010-09-08 21:40:00 +00:00
rubidium
f5128695c5
(svn r20772) -Codechange: use packed VehicleListIdentifiers as window numbers
2010-09-08 21:37:13 +00:00
rubidium
881c6c679f
(svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters
2010-09-08 21:28:50 +00:00
rubidium
0e840f7360
(svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters
2010-09-08 21:14:41 +00:00
rubidium
ea4b40704b
(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot
2010-09-08 21:02:12 +00:00
rubidium
9badab6454
(svn r20768) -Codechange: unify send-to-depot commands
2010-09-08 18:55:58 +00:00
translators
835d63a8d7
(svn r20767) -Update from WebTranslator v3.0:
...
ido - 47 changes by Edwardo
2010-09-08 17:45:03 +00:00
yexo
d6d3e83847
(svn r20766) -Fix [FS#4112]: action14 data was not used for NewGRFs loaded from a savegame
2010-09-08 15:35:54 +00:00
yexo
1ba35972e6
(svn r20765) -Fix (r17345): AIEventCompanyAskMerger was disguised as AIEventCompanyMerger (fanioz)
2010-09-08 13:45:26 +00:00
smatz
a09bc6c366
(svn r20764) -Codechange: minor coding style fix
2010-09-07 20:38:26 +00:00
frosch
b57a3ae5ec
(svn r20763) -Fix [FS#4113](r20749): The bridgetest on building shipdepots can no longer rely on being only called for clear water tiles.
2010-09-07 19:20:15 +00:00
translators
0e2a9b0767
(svn r20762) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
chuvash - 16 changes by mefisteron
ido - 8 changes by Edwardo
romanian - 2 changes by kkmic
2010-09-07 17:45:10 +00:00
smatz
bb4538665a
(svn r20761) -Codechange: make PlaceObject() static
2010-09-07 11:05:22 +00:00
smatz
15c2a2d555
(svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle()
2010-09-07 11:03:46 +00:00
smatz
a282c3ab57
(svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active
2010-09-07 11:00:42 +00:00
smatz
82949024f1
(svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings
2010-09-06 18:20:07 +00:00
translators
a71cc228b2
(svn r20757) -Update from WebTranslator v3.0:
...
chuvash - 23 changes by mefisteron
galician - 62 changes by Condex
norwegian_nynorsk - 42 changes by mantaray
2010-09-06 17:45:11 +00:00
smatz
29cec22a2e
(svn r20756) -Cleanup: no need to check return value of CallocT
2010-09-06 16:02:42 +00:00
smatz
8909a5a2da
(svn r20755) -Fix (r19975): small memory leak at program exit (happens only once)
2010-09-06 15:47:11 +00:00
yexo
8cc43828e8
(svn r20754) -Fix [FS#4112]: assert when an industry previously build on water was flooded because it's grf changed/is missing
2010-09-06 15:23:16 +00:00
smatz
fd54943c7a
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
2010-09-06 14:14:09 +00:00
frosch
e4091f16d0
(svn r20751) -Fix: IndustryCargoesWindow::HousesCanAccept() did not check climate-availability of houses.
2010-09-05 19:46:04 +00:00
translators
86a553f01f
(svn r20750) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by
icelandic - 1 changes by grjonib
swedish - 3 changes by Zuu
thai - 34 changes by pa_o__
turkish - 14 changes by niw3
2010-09-05 17:45:17 +00:00
yexo
a2ba35f57c
(svn r20749) -Fix: allow overbuilding objects with buoys and ship depots
2010-09-05 16:33:32 +00:00
yexo
0e250f2bdf
(svn r20748) -Fix: overbuilding an object tile with sea under it with a canal didn't take the cost for clearing the sea into account
2010-09-05 16:00:36 +00:00
yexo
323c526a4d
(svn r20747) -Fix: overbuilding an object with water under it succeeded even for industries that can't be build on water
2010-09-05 16:00:04 +00:00
yexo
a9cdcb02f5
(svn r20746) -Fix: set CMD_NO_WATER flag for CmdBuildBridge
2010-09-05 15:07:38 +00:00
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
2010-09-05 14:54:18 +00:00
yexo
0ab95ba636
(svn r20744) -Fix: overbuilding an object with water under it failed
2010-09-05 14:53:20 +00:00
frosch
42a996ec23
(svn r20743) -Fix: Make testruns of clearing an object tile not influence repeated testruns resp. the exec run.
2010-09-05 13:31:39 +00:00
frosch
ce1cae81ea
(svn r20742) -Fix: Evaluate DC_NO_WATER flag when clearing objects built on water.
2010-09-05 13:28:59 +00:00
frosch
e9cd81953a
(svn r20741) -Cleanup: Use IsTileOnWater() in more places.
2010-09-05 13:18:54 +00:00
frosch
435c8d33b0
(svn r20740) -Codechange: Add HasTileWaterClass() to test for tiletypes with WaterClass.
2010-09-05 13:18:26 +00:00
translators
a9d2ba6069
(svn r20739) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by
esperanto - 11 changes by Christopher
spanish - 1 changes by Terkhen
2010-09-04 17:45:12 +00:00
alberth
4f435d9256
(svn r20738) -Codechange: Introduce a function for getting the number of industries that should be build.
2010-09-04 12:09:12 +00:00
alberth
21a80e0a0e
(svn r20737) -Codechange: Introduce a function for advertising opening of a new industry.
2010-09-04 12:01:55 +00:00
alberth
fcf92a20e2
(svn r20736) -Codechange: Introduce a new function for trying to create a new industry.
2010-09-04 11:59:12 +00:00
alberth
6c34a044c8
(svn r20735) -Codechange: Introduce GetIndustryGamePlayProbability().
2010-09-04 11:29:42 +00:00
alberth
03f7733f83
(svn r20734) -Codechange: Rename GetScaledIndustryProbability() to GetScaledIndustryGenerationProbability().
2010-09-04 11:16:40 +00:00
yexo
2d30613c3a
(svn r20733) -Fix: when overbuilding an object with an industry, clear the complete object
2010-09-04 00:16:33 +00:00
yexo
2e054c19ad
(svn r20732) -Fix: when trying to build a bridge over an object, try to autoremove the object if it's too high
2010-09-03 23:48:12 +00:00
yexo
0decc3e094
(svn r20731) -Fix (r20739): SmallVector did not have an assignment operator, causing invalid memory reads / double free
2010-09-03 23:04:02 +00:00
yexo
9a0033cbf6
(svn r20730) -Fix: crash when removing an object while the newgrf debug window was open for that object
2010-09-03 22:28:11 +00:00
yexo
a45b598bfc
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
2010-09-03 21:50:51 +00:00
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
2010-09-03 21:41:08 +00:00
yexo
9b5808a89d
(svn r20727) -Fix [FS#4106]: compilation with --disable-ai was broken (cirdan)
2010-09-03 20:32:33 +00:00
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
2010-09-03 17:45:31 +00:00
glx
72bd89b900
(svn r20722) -Fix (r20719): signed/unsigned side effect makes a small negative value become a big positive value
2010-09-03 12:52:09 +00:00
rubidium
29eae4a378
(svn r20721) -Fix: objects that can be built on water shouldn't be drowned.
2010-09-02 20:45:54 +00:00
frosch
48767d1bef
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
2010-09-02 20:00:48 +00:00
frosch
48d8f16653
(svn r20719) -Codechange: Remove some hardcoded iconsizes.
2010-09-02 19:34:44 +00:00
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
2010-09-02 17:45:39 +00:00
yexo
7b0fd807fb
(svn r20717) -Fix [FS#4103]: water class was not set for stations
2010-09-01 23:41:56 +00:00
yexo
c07fdab16c
(svn r20716) -Feature: add airport class and airport name to the land info tool
2010-09-01 23:14:15 +00:00
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
2010-09-01 20:09:15 +00:00
rubidium
7ee2c31f99
(svn r20713) -Fix (r20654): when ignoring action0 object properties, ignore property 13 correctly
2010-09-01 19:45:50 +00:00
terkhen
5df8e6abcf
(svn r20712) -Fix [FS#4094]: Do not use new game settings when creating many random industries in the scenario editor.
2010-09-01 19:04:06 +00:00
terkhen
efef4becbd
(svn r20711) -Fix [FS#4094]: Do not use new game settings when creating many random towns at the scenario editor.
2010-09-01 19:00:32 +00:00
terkhen
c6db763781
(svn r20710) -Codechange: Clarify the name of some town generation variables.
2010-09-01 18:52:27 +00:00
translators
7a5b995157
(svn r20709) -Update from WebTranslator v3.0:
...
irish - 28 changes by tem
2010-09-01 17:45:06 +00:00
rubidium
dd2c38ea82
(svn r20708) -Fix [FS#4101]: upon company bankruptcy some objects weren't removed properly
2010-09-01 06:15:26 +00:00
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
2010-08-31 17:45:21 +00:00
rubidium
cf8f6571fc
(svn r20706) -Fix (r20664): land slope check wasn't called when it should be called
2010-08-31 16:17:22 +00:00
yexo
0068c02244
(svn r20705) -Fix: graphic glitch when switching to a different-sized font while the chat message box was visible
2010-08-31 12:18:28 +00:00
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
2010-08-30 17:45:29 +00:00
yexo
6eb3ef7bc3
(svn r20697) -Fix [FS#4084]: call the new function after resizing a window so it's not possible a window becomes unmoveable
2010-08-30 14:52:28 +00:00
yexo
47494b2744
(svn r20696) -Codechange: create a new function to make sure part of the caption bar is visible when creating a window
2010-08-30 14:51:11 +00:00
yexo
6446a928dc
(svn r20695) -Codechange: move PreventHiding to another location
2010-08-30 14:50:42 +00:00
yexo
cf2032d0f8
(svn r20694) -Fix [FS#4087]: empty newgrf presets were not selectable
2010-08-30 10:52:27 +00:00
yexo
e91e2498c7
(svn r20693) -Fix: use strncmp instead of memcmp for comparing strings
2010-08-30 10:49:02 +00:00
yexo
9a05f8004b
(svn r20692) -Fix [FS#4055]: crash after downloading missing content
2010-08-30 10:16:04 +00:00
rubidium
562df2803f
(svn r20691) -Fix (r20690): unmessup a broken string
2010-08-29 18:39:28 +00:00
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
2010-08-29 17:45:46 +00:00
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
2010-08-29 15:58:43 +00:00
alberth
219ad6e003
(svn r20688) -Codechange: Rename Queue struct to BinaryHeap.
2010-08-29 13:47:15 +00:00
alberth
ed72338513
(svn r20687) -Codechange: Replace the THISBIN_HEAP_ARR macro by a GetElement() method.
2010-08-29 13:46:34 +00:00
alberth
bc6a5a5e64
(svn r20686) -Codechange: Make init_BinaryHeap() a method.
2010-08-29 13:42:38 +00:00
alberth
2c962548e5
(svn r20685) -Codechange: Make BinaryHeap_Clear() a method.
2010-08-29 13:38:43 +00:00
alberth
b06cedc905
(svn r20684) -Codechange: Make BinaryHeap_Free() a method.
2010-08-29 13:38:27 +00:00
alberth
3f0cd8c9f0
(svn r20683) -Codechange: Make BinaryHeap_Delete() a method.
2010-08-29 13:38:06 +00:00
alberth
10b182482e
(svn r20682) -Codechange: Make BinaryHeap_Pop() a method.
2010-08-29 13:36:50 +00:00
alberth
92801ac718
(svn r20681) -Codechange: Make BinaryHeap_Push() a method, introduce temporary THISBIN_HEAP_ARR macro.
2010-08-29 13:35:51 +00:00
alberth
68e2a07479
(svn r20680) -Codechange: Remove the now useless union and struct wrappers around the binary heap data.
2010-08-29 13:34:08 +00:00
alberth
ded2acf02e
(svn r20679) -Codechange: Remove unused insertion sorter.
2010-08-29 13:32:39 +00:00
alberth
fa6203fdc3
(svn r20678) -Codechange: Remove unused NetworkFindClientInfoFromIndex(), NetworkFindClientInfoFromIP().
2010-08-29 12:37:49 +00:00
rubidium
7af4449fef
(svn r20677) -Fix (r20136): copy-paste error (jwm)
2010-08-29 09:41:50 +00:00
rubidium
dd0a8a573d
(svn r20676) -Codechange: it's not needed to supply two almost identical vars
2010-08-28 22:26:25 +00:00
rubidium
00415213f3
(svn r20675) -Add [FS#4077]: method to access the (action 14) NewGRF version of other NewGRFs
2010-08-28 21:45:44 +00:00
alberth
be59c90e86
(svn r20674) -Codechange: Remove declared functions that do not exist (anymore) otherwise.
2010-08-28 20:15:45 +00:00
rubidium
a8b992f4fd
(svn r20673) -Codechange: add support for inspecting objects
2010-08-28 19:48:46 +00:00
rubidium
60655522ca
(svn r20672) -Remove: some stale strings
2010-08-28 19:46:35 +00:00
rubidium
c862ab42c9
(svn r20671) -Add: feature F (not action F as written mistakenly in the previous message) support for the scenario editor
2010-08-28 19:45:56 +00:00
rubidium
7b16c7650b
(svn r20670) -Add: support for action F
...
-Add: a window to select (NewGRF) objects
2010-08-28 19:43:41 +00:00
rubidium
2d10b0f11d
(svn r20669) -Codechange: trigger the whole object every 256 ticks instead of every 250 ticks
2010-08-28 19:13:20 +00:00
rubidium
41a80490be
(svn r20668) -Codechange: add (more) support for bridges over objects
2010-08-28 19:02:21 +00:00
rubidium
3e67b4fe5f
(svn r20667) -Codechange: implement the autoslope callback for objects
2010-08-28 19:00:21 +00:00
rubidium
d4403cb649
(svn r20666) -Codechange: enable drawing of (NewGRF) objects
2010-08-28 18:57:32 +00:00
rubidium
fba19a41d5
(svn r20665) -Codechange: make clearing object tiles behave (more) like TTDPatch
2010-08-28 18:56:07 +00:00
rubidium
ca7fe458a2
(svn r20664) -Codechange: implement the land slope callback for objects
2010-08-28 18:55:20 +00:00
rubidium
9991c8677d
(svn r20663) -Codechange: add the GRF name to the tile info window
2010-08-28 18:54:12 +00:00
rubidium
60fe27db50
(svn r20662) -Codechange: implement object animation
2010-08-28 18:51:47 +00:00
rubidium
ee8c37c3d9
(svn r20661) -Codechange: implement the "decide colour" callback for objects
2010-08-28 18:50:32 +00:00
rubidium
852bde0bad
(svn r20660) -Codechange: implement (most) of action2 support for objects
2010-08-28 18:49:39 +00:00
rubidium
8fd9728e19
(svn r20659) -Feature: make the (flat) area around an industry configurable (Eddi|zuHause)
2010-08-28 18:37:49 +00:00
rubidium
e0ba6550d2
(svn r20658) -Codechange: add the colour of an object to the object instance
2010-08-28 18:28:34 +00:00
rubidium
b376f8ae15
(svn r20657) -Codechange: add function to draw NewGRF tileseq in the GUI
2010-08-28 18:23:58 +00:00
rubidium
bd48893478
(svn r20656) -Codechange: implement counting of objects
2010-08-28 18:23:14 +00:00
rubidium
c481e3b110
(svn r20655) -Codechange: implement reading the action3 of objects
2010-08-28 18:22:24 +00:00
rubidium
23ba40d385
(svn r20654) -Codechange: implement reading action0 of objects
2010-08-28 18:21:09 +00:00
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
2010-08-28 17:45:17 +00:00
rubidium
164a923c69
(svn r20652) -Codechange: implement a function to get the index of a spec.
2010-08-28 17:38:07 +00:00
rubidium
0a86eac2f1
(svn r20651) -Codechange: add a function to determine whether an object is available and use it
2010-08-28 17:36:28 +00:00
rubidium
6348aa7964
(svn r20650) -Codechange: add some variables to the object's spec
2010-08-28 17:35:00 +00:00
rubidium
f9a9b0ed4a
(svn r20649) -Codechange: implement classes for objects
2010-08-28 17:32:30 +00:00
rubidium
1ec1f1ef37
(svn r20648) -Codechange: implement the NewGRF override manager for objects
2010-08-28 17:30:55 +00:00
rubidium
34da98f2b1
(svn r20647) -Codechange: update some of the object spec information
2010-08-28 17:29:12 +00:00
rubidium
f1f1c71a41
(svn r20646) -Codechange: make the code flow of breakdown handling a bit clearer
2010-08-28 14:18:56 +00:00
rubidium
2fb18e975c
(svn r20645) -Codechange [FS#4086]: unify the code for checking for breakdown handling as well (Hirundo)
2010-08-28 14:14:37 +00:00
rubidium
702cc96943
(svn r20644) -Codechange [FS#4086]: unify the vehicle breakdown code (Hirundo)
2010-08-28 14:01:50 +00:00
rubidium
2c1ffd79f1
(svn r20643) -Fix (r20641): != != ==
2010-08-27 22:51:16 +00:00
rubidium
0d8091a7c3
(svn r20642) -Codechange: make the table in object_land easier expandable.
2010-08-27 22:46:11 +00:00
rubidium
5d835bd280
(svn r20641) -Codechange: remove the "require flat land" flag
2010-08-27 22:43:27 +00:00
rubidium
50769995c7
(svn r20640) -Add: support for water under objects
2010-08-27 22:29:13 +00:00
rubidium
536bb704b7
(svn r20639) -Add: random bits to object tiles
2010-08-27 22:26:21 +00:00
rubidium
3e9e1b8e65
(svn r20638) -Codechange: split object.h
2010-08-27 22:21:23 +00:00
frosch
4901d42140
(svn r20636) -Codechange: Move MarkTileDirtyByTile() and DeleteAnimatedTile() into MakeWaterKeepingClass().
2010-08-27 20:46:36 +00:00
translators
d7c843a22e
(svn r20635) -Update from WebTranslator v3.0:
...
chuvash - 18 changes by mefisteron
2010-08-27 17:45:17 +00:00
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".
2010-08-27 10:50:21 +00:00
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
08a41c6ee5
(svn r20631) -Codechange: generalise IsIndustryTileOnWater + simplify so related code
2010-08-26 19:29:20 +00:00
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
2010-08-26 17:45:14 +00:00
rubidium
16bcd6c0cf
(svn r20628) -Fix: typos in animation trigger enum/comments
2010-08-26 17:08:37 +00:00
rubidium
ddf1510a23
(svn r20627) -Codechange: unify the animation code of station, airport, house and industry tiles
2010-08-26 17:01:17 +00:00
rubidium
d3f57f0e4d
(svn r20626) -Codechange: pass AirportTileSpec to the airport tile callback
2010-08-26 16:56:06 +00:00
rubidium
82ef98a90a
(svn r20625) -Add: AirportTileSpec::GetByTile to simplify accessing the AirportTileSpec
2010-08-26 16:53:06 +00:00
rubidium
9982b5fd00
(svn r20624) -Codechange: some constifying for NewGRF house
2010-08-26 16:48:32 +00:00
rubidium
e2e26190d5
(svn r20623) -Codechange: unify the storing of animation related information
2010-08-26 15:31:40 +00:00
rubidium
4efa2efdbb
(svn r20622) -Codechange: unify [GS]et[Statation|Object|Industry|House]AnimationFrame
2010-08-26 14:45:45 +00:00
rubidium
7f86dcca90
(svn r20621) -Codechange: move animation frames of houses, objects and industries to m7 (same as airports and stations)
2010-08-26 14:36:00 +00:00
rubidium
193800e0fa
(svn r20620) -Codechange: rename airporttile's callback_flags to callback_mask, so it's the same for all NewGRF features with callbacks
2010-08-26 11:18:32 +00:00
rubidium
134712ec64
(svn r20619) -Fix [FS#4070]: [OSX] Limit minimum window size to 64x64 like all other platforms (matheweis)
2010-08-25 19:05:34 +00:00
rubidium
1e0e4b8cb6
(svn r20618) -Fix [FS#4081]: drawing the "OpenTTD" text in the intro game caused crashes with very low resolutions
2010-08-25 19:02:51 +00:00
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
2010-08-25 17:45:30 +00:00
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
2010-08-24 17:45:33 +00:00
yexo
0a644af019
(svn r20611) -Fix: disable newgrf houses that have a different size then their substitute type
2010-08-24 16:30:31 +00:00
frosch
9390bddbbd
(svn r20610) -Fix (r20609): X and Y got swapped.
2010-08-24 16:15:42 +00:00
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
2010-08-24 16:00:35 +00:00
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.
2010-08-23 23:49:14 +00:00
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
2010-08-23 22:44:08 +00:00
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.
2010-08-23 22:28:35 +00:00
yexo
f6f218cf6b
(svn r20604) -Feature: add a reset button to the newgrf parameters window
2010-08-23 22:25:50 +00:00
rubidium
da4dc61f76
(svn r20603) -Codechange: silence some ICC warnings
2010-08-23 22:03:36 +00:00
yexo
09d109a787
(svn r20602) -Change (r20601): use DFLT instead of DEFA as name for the default field
2010-08-23 21:53:55 +00:00
yexo
a36159614a
(svn r20601) -Feature: [NewGRF] Add 'DEFA' field to set parameter defaults with action 14
2010-08-23 21:47:07 +00:00
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
2010-08-23 21:21:41 +00:00
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.
2010-08-23 18:20:22 +00:00
michi_cc
a7e8b67c7c
(svn r20598) -Codechange: [Win32] Replace the external x64 asm with a built-in Windows function.
2010-08-23 18:19:15 +00:00
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
2010-08-23 17:45:26 +00:00
rubidium
95d37c8615
(svn r20596) -Fix [FS#4066]: crash when the tooltip is wider than the window is
2010-08-22 20:25:45 +00:00
frosch
4b0fa883f1
(svn r20595) -Fix (r20536)[FS#4068]: Autoreplace needs refitting of wagons in free wagon chains.
2010-08-22 19:15:47 +00:00
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
2010-08-22 17:45:33 +00:00
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.
2010-08-22 16:47:26 +00:00
rubidium
29e02728e1
(svn r20592) -Fix (r2041): no (proper) savegame conversion was done when _date_fract got a new value range
2010-08-22 09:21:56 +00:00
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
2010-08-22 09:18:01 +00:00
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
2010-08-21 17:45:24 +00:00
frosch
64d7b84c9f
(svn r20587) -Codechange (r20456)[FS#4035]: Revert to scrollbars without minimal size to simplify window setup.
2010-08-21 10:59:03 +00:00
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
2010-08-20 17:45:28 +00:00
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.
2010-08-20 17:36:09 +00:00
rubidium
79027229b9
(svn r20582) -Fix [FS#4044]: Autoreplace can trigger an assertion when at the vehicle limit
2010-08-20 17:35:10 +00:00
rubidium
d6cd62e633
(svn r20581) -Codechange: simplify getting the station in CalcPercentVehicleFilled
2010-08-20 15:35:14 +00:00
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
2010-08-20 15:30:21 +00:00
frosch
03ab158935
(svn r20579) -Change (r1579): Allow removing of buoys if they are only used by own vehicles.
2010-08-20 12:50:59 +00:00
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.
2010-08-20 12:13:27 +00:00
rubidium
3e3cd47222
(svn r20577) -Fix [FS#4043]: scroll button flickering when pressed
2010-08-20 11:55:10 +00:00
rubidium
1231dc7b57
(svn r20575) -Fix [FS#4059] (r20542): reloading of companies did load another AI
2010-08-19 22:06:20 +00:00
rubidium
1fa98e1695
(svn r20574) -Codechange: a little over 1 million vehicles should be enough for the forseeable future
2010-08-19 20:58:30 +00:00
rubidium
cc658392eb
(svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit
2010-08-19 20:45:29 +00:00
rubidium
646fbb628a
(svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit
2010-08-19 20:42:00 +00:00
rubidium
e89a0fb7f9
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
2010-08-19 20:39:12 +00:00
rubidium
983883a2b9
(svn r20570) -Codechange: free/reserve some bits in the timetable commands to increase the vehicle pool limit
2010-08-19 20:34:51 +00:00
rubidium
64c178467d
(svn r20569) -Cleanup: the change timetable command doesn't need the packed bit anymore
2010-08-19 20:32:33 +00:00
yexo
ca0cd109f2
(svn r20568) -Codechange: change the value of AIVehicle::VEHICLE_INVALID and use it as return value instead of ::INVALID_VEHICLE
2010-08-19 20:20:20 +00:00
rubidium
552adca67f
(svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker
2010-08-19 19:23:38 +00:00
translators
8c5916ffb7
(svn r20565) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by KorneySan
simplified_chinese - 3 changes by pda1573
traditional_chinese - 5 changes by josesun
chuvash - 31 changes by mefisteron
dutch - 5 changes by habell
esperanto - 16 changes by Christopher
finnish - 4 changes by jpx_
french - 4 changes by glx
german - 6 changes by planetmaker
hungarian - 1 changes by norbert79
italian - 6 changes by lorenzodv
romanian - 2 changes by kkmic
russian - 13 changes by KorneySan, Lone_Wolf
slovenian - 4 changes by ntadej
spanish - 3 changes by Terkhen
2010-08-19 17:45:45 +00:00
yexo
dc303e550b
(svn r20563) -Change: [NoAI] rename AIAbstractList to AIList
2010-08-19 15:37:28 +00:00
yexo
6c7384cabd
(svn r20562) -Change: [NoAI] Move all functions from AIList to AIAbstractList
2010-08-19 15:19:40 +00:00
rubidium
1fe3ce9993
(svn r20561) -Fix: compiler warning
2010-08-19 14:26:41 +00:00
rubidium
55c1af9fb1
(svn r20560) -Fix: AIs (still/again?) crashing for certain commands
2010-08-19 14:25:07 +00:00
yexo
85740a0283
(svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile
2010-08-19 13:44:41 +00:00
yexo
16be24e13a
(svn r20558) -Codechange: use one generic function to create a list of company buttons
2010-08-19 12:56:31 +00:00
yexo
381b14a1e9
(svn r20556) -Fix (r20555): a tempory copy/pasted line ended up in the commit
2010-08-19 11:36:12 +00:00
yexo
44ba57bb79
(svn r20555) -Fix [FS#4053]: wrong tooltip for the company select button in the AI debug and performance rating windows
2010-08-19 11:33:15 +00:00
rubidium
a4c6d07edc
(svn r20553) -Feature: allow rate limiting of incoming commands
2010-08-19 08:59:36 +00:00
terkhen
cfc0df152b
(svn r20552) -Fix: Never show tooltips when the mouse cursor is outside the window.
2010-08-19 08:22:08 +00:00
rubidium
be288d00be
(svn r20550) -Fix: documentation of CmdSetTimetableStart
2010-08-18 22:52:02 +00:00
rubidium
b594990071
(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)
2010-08-18 22:40:17 +00:00
rubidium
e8e22c99fd
(svn r20548) -Codechange: rename some variables giving them slightly more meaningful names
2010-08-18 21:30:38 +00:00
rubidium
926594b599
(svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands.
2010-08-18 20:48:38 +00:00
rubidium
04d6648c5e
(svn r20546) -Fix (r20542): starting AIs shouldn't cause an assertion to trigger
2010-08-18 18:57:58 +00:00
rubidium
019878118d
(svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot
2010-08-18 18:52:16 +00:00
translators
e242294530
(svn r20544) -Update from WebTranslator v3.0:
...
belarusian - 19 changes by KorneySan, Wowanxm
traditional_chinese - 15 changes by josesun
esperanto - 40 changes by Christopher
finnish - 4 changes by jpx_
french - 3 changes by glx
german - 4 changes by NG
hungarian - 10 changes by IPG, norbert79
polish - 5 changes by lion
russian - 21 changes by KorneySan, Lone_Wolf, perk11
serbian - 8 changes by etran
swedish - 20 changes by Zuu
2010-08-18 17:45:38 +00:00
rubidium
84de237507
(svn r20543) -Fix (r20542): compilation failed when networking was disabled
2010-08-18 17:23:03 +00:00
rubidium
69fa0b36d3
(svn r20542) -Codechange: generalise the setting of "p2" to the ClientID.
2010-08-18 17:06:45 +00:00
rubidium
287ee8c01d
(svn r20541) -Fix: when removing a vehicle update the "clone orders of"-vehicle of a backed up order, or remove it if there is no vehicle sharing orders with that vehicle.
2010-08-18 15:58:30 +00:00
smatz
d28985fe8e
(svn r20540) -Fix [FS#4049](r20480): use CmdDeleteTown instead of direct use of operator delete
2010-08-18 15:22:40 +00:00
rubidium
38ca44594f
(svn r20539) -Codechange: make order backups more self-contained.
2010-08-18 15:15:59 +00:00
yexo
a65345d7ed
(svn r20538) -Codechange: introduce a few macros to initialize the airport classes
2010-08-18 01:19:03 +00:00
rubidium
8118cab6ba
(svn r20537) -Codechange: make RefitVehicle a static (local) function
2010-08-18 00:48:22 +00:00
rubidium
c5a670037b
(svn r20536) -Codechange: unify the refitting of vehicles
2010-08-18 00:47:31 +00:00
yexo
82e37c3cca
(svn r20535) -Codechange: make the 'vehicle must be stopped in depot' strings consistant
2010-08-18 00:46:14 +00:00
yexo
eeca1846d6
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
2010-08-18 00:30:12 +00:00
rubidium
9b8d7048da
(svn r20533) -Codechange: shuffle a bit with the bits in the sell command
2010-08-18 00:03:08 +00:00
rubidium
4780cc50b2
(svn r20532) -Codechange: unify selling of vehicles a bit
2010-08-17 23:55:22 +00:00
rubidium
c14853b72e
(svn r20531) -Codechange: unify quite a bit of the vehicle building commands
2010-08-17 23:15:55 +00:00
yexo
bf29e5d860
(svn r20530) -Cleanup (r13507): p2 bit 0 for CmdBUildRailVehicle is no longer valid so don't use it
2010-08-17 22:33:27 +00:00
yexo
f9a55b7439
(svn r20529) -Codechange: simplify UpdateAirplanesOnNewStation by removing code for situations that don't happen
2010-08-17 21:50:58 +00:00
yexo
afb60ec59c
(svn r20528) -Fix: in old savegames aircraft can have an invalid state
2010-08-17 21:46:25 +00:00
yexo
cc45b99866
(svn r20527) -Codechange: move the flood code and remove some redundant checks
2010-08-17 19:52:44 +00:00
translators
10f00b3079
(svn r20526) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by KorneySan
simplified_chinese - 1 changes by pda1573
croatian - 5 changes by VoyagerOne
czech - 8 changes by marek995
dutch - 4 changes by habell
esperanto - 24 changes by Christopher
finnish - 7 changes by jpx_
german - 4 changes by NG
hungarian - 9 changes by IPG
indonesian - 6 changes by prof
irish - 9 changes by tem
italian - 4 changes by lorenzodv
romanian - 4 changes by tonny
russian - 5 changes by KorneySan
slovenian - 8 changes by ntadej
swedish - 5 changes by Zuu
2010-08-17 17:45:49 +00:00
yexo
c263f25309
(svn r20525) -Codechange: make Aircraft::UpdateDeltaXY more readable by removing the MKIT macro
2010-08-17 11:59:52 +00:00
yexo
cf1f337e4d
(svn r20524) -Codechange: remove old airport debug code
2010-08-17 11:59:09 +00:00
frosch
e77ddc5786
(svn r20523) -Fix [FS#4040]: Do not print a colon for AI settings with empty name.
...
Please note that this is only meant for compatiblity to make settings of 'old' AIs still look nice.
Usage of this 'compatibility feature' is not recommended, as selected lines cannot be highlighted this way as it is done for the NewGRF settings.
2010-08-17 09:49:31 +00:00
rubidium
edec7723cd
(svn r20522) -Fix [FS#4041] (r20482): the wrong "delete" was called for Objects
2010-08-17 09:42:38 +00:00
translators
69feef4899
(svn r20518) -Update from WebTranslator v3.0:
...
chuvash - 30 changes by mefisteron
croatian - 4 changes by VoyagerOne
czech - 2 changes by marek995
dutch - 5 changes by habell
finnish - 5 changes by jpx_
french - 9 changes by glx
german - 9 changes by planetmaker
italian - 5 changes by lorenzodv
romanian - 22 changes by tonny
russian - 3 changes by Lone_Wolf
serbian - 1 changes by etran
slovenian - 15 changes by ntadej
spanish - 10 changes by Terkhen
swedish - 4 changes by Zuu
vietnamese - 2 changes by nglekhoi
2010-08-16 17:45:46 +00:00
terkhen
531cca331b
(svn r20517) -Fix (r20516): Committed way too much.
2010-08-16 17:25:11 +00:00
terkhen
ff1c565e14
(svn r20516) -Feature [FS#3472]: Filter signs at the sign list window. (Zuu)
2010-08-16 16:15:22 +00:00
rubidium
d98ff7c4c4
(svn r20515) -Feature: ignore _ in console command names so there is no "inconsistent" behaviour w.r.t. underscores anymore without breaking backwards compatability greatly
2010-08-16 15:18:21 +00:00
frosch
ca6aac6a5a
(svn r20514) -Fix: Draw error messages in white by default, they may not have a colour code.
2010-08-16 12:32:49 +00:00
rubidium
8b9a71d45f
(svn r20513) -Change: unify style of some "broken NewGRF" strings
2010-08-16 12:21:17 +00:00
frosch
31bebd3ad5
(svn r20512) -Fix [FS#4036]: Generation seed is unsigned.
2010-08-16 09:44:05 +00:00
frosch
65b43667fa
(svn r20511) -Fix: Initial height of townlist was not a multiple of the line height.
2010-08-16 08:33:28 +00:00
rubidium
1c3d42598e
(svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n)
2010-08-15 23:44:45 +00:00
rubidium
12b8822277
(svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg)
2010-08-15 23:42:36 +00:00
michi_cc
71ff3c4bb4
(svn r20508) -Add [FS#3973]: A new screenshot type that makes a zoomed-in screenshot of the visible viewport. (Eddi)
2010-08-15 23:32:36 +00:00
michi_cc
0796ba3d26
(svn r20507) -Change: Remove the shortcut hints from the screenshot menu strings (as they're configurable now) and rename "Giant screenshot" to "Whole map screenshot".
2010-08-15 23:32:32 +00:00
michi_cc
a994c1ef71
(svn r20506) -Change: Vehicles will now stop loading after a load cycle that loaded less than possible, unless it's a full load order. This should improve behaviour with gradual loading and cargo continuously trickling in.
2010-08-15 22:37:30 +00:00
frosch
236737b2f2
(svn r20505) -Feature [FS#3978]: Allow changing visual effect when changing railtype.
2010-08-15 19:59:48 +00:00
frosch
57a098bccc
(svn r20504) -Codechange: Move updating of train's visual effect to separate function.
2010-08-15 19:53:53 +00:00
frosch
4ca2609362
(svn r20503) -Fix (r18838): Powered wagons should check the railtype of the tile they are on, not where the engine is on.
2010-08-15 18:35:57 +00:00
frosch
c52f42ea21
(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags.
2010-08-15 18:25:57 +00:00
translators
292ffad04e
(svn r20501) -Update from WebTranslator v3.0:
...
simplified_chinese - 3 changes by pda1573
chuvash - 7 changes by mefisteron
estonian - 5 changes by Jaanus
hungarian - 6 changes by IPG
turkish - 28 changes by niw3
2010-08-15 17:45:15 +00:00
frosch
a0520bb8bf
(svn r20500) -Fix: When converting rail all trains with a part on the converted rails need updating. Not only engines, which have power afterwards. Also update Acceleration after updating Power.
2010-08-15 15:47:07 +00:00
alberth
35fec79700
(svn r20499) -Doc: Spelling fixes, and one doxygen comment addition.
2010-08-15 14:06:43 +00:00
rubidium
15514baf8b
(svn r20498) -Fix [FS#4030]: ignore the non-stop state when comparing one order type to another order type
2010-08-15 13:17:04 +00:00
rubidium
e1d35cba6d
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
2010-08-15 11:58:20 +00:00
frosch
bdb4ae940d
(svn r20496) -Codechange: Remove IsProductionMinimum()/Maximum(). The 0 and 255 constants are used all over the place, no need for trivial wrapper functions.
2010-08-15 10:14:08 +00:00
translators
6cac7d8509
(svn r20493) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
italian - 4 changes by lorenzodv
korean - 2 changes by junho2813
polish - 2 changes by silver_777
russian - 4 changes by Lone_Wolf
slovenian - 31 changes by ntadej
vietnamese - 1 changes by nglekhoi
2010-08-14 17:45:24 +00:00
rubidium
5933086e61
(svn r20489) -Fix [FS#4031]: [NoAI] checking whether water tiles are connected failed in some cases
2010-08-14 09:46:36 +00:00
rubidium
33dccfd5cf
(svn r20487) -Fix: typo in comments
2010-08-14 09:04:37 +00:00
translators
efef49e30d
(svn r20486) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
croatian - 4 changes by VoyagerOne
dutch - 4 changes by habell
finnish - 3 changes by jpx_
french - 3 changes by glx
german - 3 changes by planetmaker
italian - 2 changes by lorenzodv
polish - 5 changes by xine
serbian - 6 changes by etran
spanish - 3 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-08-13 17:45:36 +00:00
terkhen
7aeeb8ed35
(svn r20485) -Fix [FS#4012]: Sorting of refittable cargos was wrong for trains.
2010-08-13 14:28:51 +00:00
terkhen
ffcd869dda
(svn r20484) -Codechange: Move BuildRefitList to the RefitWindow class.
2010-08-13 14:26:29 +00:00
terkhen
144a7cab1a
(svn r20483) -Doc: RefitOption operators.
2010-08-13 14:24:47 +00:00
rubidium
89b2b9370a
(svn r20482) -Codechange: move some object related information off the map and unify the relation objects have to towns
2010-08-13 12:45:26 +00:00
rubidium
c5ec910980
(svn r20481) -Fix: statues were not removed when towns would be removed
2010-08-13 11:58:45 +00:00
rubidium
a7beb897e2
(svn r20480) -Codechange: make CmdDeleteTown responsible for actually clearing tiles and such; ~Town still checks it though.
2010-08-13 11:57:59 +00:00
frosch
7e5309a28a
(svn r20479) -Change: Use 'Buttons Name: Value' layout for AI and NewGRF parameter GUI.
2010-08-13 07:34:28 +00:00
yexo
bc96bdb203
(svn r20478) -Codechange: remove support for 'helipad groups' because there are no airports with more than 1 helipad group
2010-08-13 00:36:12 +00:00
yexo
e4117dbfb7
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
2010-08-13 00:21:03 +00:00
yexo
6babc60254
(svn r20476) -Codechange: simplify a check in aircraft_cmd.cpp by using the existing CanVehicleUseStation
2010-08-12 22:36:42 +00:00
yexo
53811d79c5
(svn r20475) -Fix (r20474): also remove the include of crc32.hpp
2010-08-12 22:08:45 +00:00
yexo
241d705406
(svn r20474) -Cleanup: remove some unused code
2010-08-12 21:36:43 +00:00
rubidium
089fc97387
(svn r20473) -Codechange: pass Town instead of TownID to BuildObject
2010-08-12 19:18:58 +00:00
translators
61df1a372c
(svn r20472) -Update from WebTranslator v3.0:
...
italian - 2 changes by lorenzodv
russian - 1 changes by Lone_Wolf
2010-08-12 17:45:09 +00:00
frosch
d496ec65b9
(svn r20470) -Codechange: Make arrow buttons lower and raise like other buttons when clicked.
2010-08-12 16:44:51 +00:00
frosch
b8c401f644
(svn r20469) -Fix (r20227): Building statues used different companys for CMD_LANDSCAPE_CLEAR during testrun and DC_EXEC.
2010-08-12 14:20:02 +00:00
frosch
b9efd3c04e
(svn r20468) -Fix: Vehicledetails of non-trains accessed a non existing scrollbar, though values were unused.
2010-08-12 13:26:44 +00:00
frosch
c808e5c30f
(svn r20467) -Fix (r20453): Remove personal note.
2010-08-12 12:03:52 +00:00
frosch
28048826f8
(svn r20466) -Codechange: USe NWID_SELECTION to hide the scrollbar in dropdowns.
2010-08-12 11:53:11 +00:00
frosch
419c269e56
(svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar and 'sell chain' button for non-train depot windows.
2010-08-12 11:46:20 +00:00
frosch
e5ff41ee53
(svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of columns for non-train depot windows.
2010-08-12 11:21:30 +00:00
frosch
c16dead108
(svn r20462) -Fix (r20452): Initialise scrollbar_index with -1 to indicate 'no scrollbar associated'.
2010-08-12 09:47:48 +00:00
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
b37be47f16
(svn r20460) -Codechange: Remove WF_SCROLL window flags and store the state directly in the scrollbar widget instead.
2010-08-12 09:14:34 +00:00
frosch
6e9c9c28d9
(svn r20459) -Codechange: Remove the Scrollbar members of Window and make NWidgetScrollbar inherit from Scrollbar instead.
2010-08-12 09:13:04 +00:00
frosch
55bd5de43d
(svn r20458) -Codechange: Move Scrollbar from window.cpp to widget.cpp
2010-08-12 09:11:12 +00:00
frosch
57c063250f
(svn r20457) -Codechange: Remove _scrolling_scrollbar and WF_SCROLL_MIDDLE and instead store the widget index of the being scrolled scrollbar in the Window.
2010-08-12 09:09:24 +00:00
frosch
66e48dfdce
(svn r20456) -Codechange: Add separate nested widget class for scrollbars.
2010-08-12 09:07:45 +00:00
frosch
037d2ed436
(svn r20455) -Codechange: Rename some vscroll and vscroll2 to more suitable names.
2010-08-12 08:42:37 +00:00
frosch
a8f4322a03
(svn r20454) -Fix: some whitespace.
2010-08-12 08:39:06 +00:00
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
2010-08-12 08:37:01 +00:00
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
frosch
629b350a71
(svn r20451) -Codechange: Add helper function Window::GetScrollbar() to get the Scrollbar belonging to a scrollbar widget.
2010-08-12 06:40:28 +00:00
rubidium
cfde445ec9
(svn r20450) -Fix: same the airport tile ID mapping as well
2010-08-11 19:09:26 +00:00
rubidium
d6004d17d4
(svn r20449) -Codechange: unduplicate saving/loading of NewGRF ID + local id -> OpenTTD spec mappings
2010-08-11 18:57:48 +00:00
rubidium
e0a3a0fd54
(svn r20448) -Codechange: make some functions that can be const const
2010-08-11 18:50:23 +00:00
translators
6b4f36533c
(svn r20447) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 3 changes by planetmaker
hungarian - 17 changes by IPG
irish - 7 changes by tem
romanian - 2 changes by tonny
spanish - 3 changes by Terkhen
swedish - 3 changes by Zuu
2010-08-11 17:45:29 +00:00
rubidium
ab5b0ceff2
(svn r20446) -Codechange: unify the location of the water class
2010-08-11 14:14:06 +00:00
frosch
43d6740f2d
(svn r20445) -Codechange (r20435): Some compilers (esp. mine) do not comply to the specs.
2010-08-11 07:42:47 +00:00
rubidium
6245a9556b
(svn r20444) -Cleanup: unify writing of {NUM} x {NUM}
2010-08-10 23:32:09 +00:00
rubidium
1dbd2223ad
(svn r20443) -Codechange: more TileHash to a more generic location
2010-08-10 23:31:43 +00:00
translators
091f8ff731
(svn r20442) -Update from WebTranslator v3.0:
...
czech - 2 changes by Hadez
dutch - 2 changes by habell
french - 2 changes by glx
italian - 2 changes by lorenzodv
polish - 2 changes by lion
spanish - 2 changes by Terkhen
2010-08-10 17:45:21 +00:00
rubidium
cde8a44a11
(svn r20441) -Fix [FS#4024]: adding "goto nearest depot and stop" orders in one go was denied. This caused both AI adding those orders and backed up order restoration to fail.
2010-08-10 16:45:32 +00:00
rubidium
10ced06205
(svn r20440) -Fix: MSVC warning about shifting a 32 bit value and then converting it to 64 bits
2010-08-10 16:17:51 +00:00
rubidium
91f31b59e8
(svn r20439) -Fix [FS#4023]: MinGW compiler complaining about converting -1 to an unsigned int
2010-08-10 16:15:42 +00:00
rubidium
2a9f9b092b
(svn r20438) -Fix [FS#4022]: for docks "facing" north, i.e. having the watery part a the northern side, the joiner had an off-by-one to the north w.r.t. the station spread against the actual other (correct) building tools
2010-08-10 16:13:51 +00:00
rubidium
29b489a055
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
2010-08-10 15:54:53 +00:00
rubidium
3d21fb44aa
(svn r20436) -Codechange: use GRFFilePropsBase's spritegroup for stations.
2010-08-10 15:51:33 +00:00
rubidium
ca7a067b7a
(svn r20435) -Codechange: move spritegroup to GRFFilePropsBase and prepare it for more spritegroups
2010-08-10 15:49:35 +00:00
rubidium
21e4e7ce06
(svn r20427) -Revert (r20105): even though MCI has less problems with wrongly pitched songs than dmusic, it crashed instead.
2010-08-09 18:29:13 +00:00
translators
1ec0ce3003
(svn r20425) -Update from WebTranslator v3.0:
...
simplified_chinese - 14 changes by pda1573
traditional_chinese - 32 changes by josesun
chuvash - 25 changes by mefisteron
croatian - 3 changes by VoyagerOne
estonian - 44 changes by KSiimson
german - 3 changes by planetmaker
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
russian - 3 changes by Lone_Wolf
serbian - 2 changes by etran
2010-08-09 17:45:31 +00:00
terkhen
78fd08c7b2
(svn r20424) -Fix: Rename members of TileContext (TC_NORMAL conflicted with an existing define on MinGW).
2010-08-09 10:59:30 +00:00
frosch
7f1425c333
(svn r20423) -Change [FS#3947]: Make snow on bridges depend on bridgeheight.
2010-08-09 07:32:04 +00:00
frosch
b6cf38a912
(svn r20422) -Change [FS#3947]: Resolve tracksprites on bridges always using the southern bridgehead as tile.
2010-08-09 07:30:50 +00:00
frosch
c2b1c624dd
(svn r20421) -Change [FS#3947]: Make snowyness of bridgehead depend on the tileheight at the entry edge.
2010-08-09 07:19:44 +00:00
frosch
48c5091a7c
(svn r20420) -Codechange: Add TileContext enum instead of using a bool.
2010-08-09 07:10:42 +00:00
frosch
67c21f7e01
(svn r20419) -Codechange: Rename dummy_land.cpp to void_cmd.cpp
2010-08-09 06:48:52 +00:00
frosch
a56f8ba801
(svn r20418) -Fix [FS#4017](r20125): During world generation the snow-mapbits are not yet available, so test the snowline variable directly (as before).
2010-08-08 21:34:19 +00:00
rubidium
747634a687
(svn r20417) -Fix (r20345) [FS#4018]: the offset stored for objects shouldn't be substracted immediately from the TileIndex as that doesn't quite do the right thing
2010-08-08 19:50:07 +00:00
translators
f072c099ee
(svn r20416) -Update from WebTranslator v3.0:
...
finnish - 3 changes by jpx_
german - 1 changes by BRFBlake
italian - 8 changes by lorenzodv
romanian - 2 changes by tonny
2010-08-08 17:45:15 +00:00
alberth
7ad1f5ccef
(svn r20415) -Add: Clicking at the smallmap disables updates from the industry chain window.
2010-08-08 11:21:24 +00:00
alberth
2fa665114e
(svn r20414) -Feature: Enable industries in the smallmap displayed in the industry chain window.
2010-08-08 11:17:14 +00:00
rubidium
7362ff4409
(svn r20413) -Fix (r20326): some comments got a bit outdated
2010-08-08 11:12:34 +00:00
alberth
e1e8e245a0
(svn r20412) -Codechange: Replace an if by a switch in IndustryCargoesWindow::OnClick.
2010-08-08 11:02:57 +00:00
rubidium
3da3d131c6
(svn r20411) -Codechange: rename unmovables as quite a lot of them are actually movable; e.g. HQ and owned land are pretty movable.
2010-08-08 10:59:30 +00:00
alberth
abc14d8fbf
(svn r20410) -Codechange: Move smallmap map-type switching to a function.
2010-08-08 10:47:09 +00:00
rubidium
412bb37f59
(svn r20409) -Codechange: reduce the number of includes needed by newgrf.h
2010-08-08 09:07:40 +00:00
frosch
5f874b90f9
(svn r20408) -Fix [FS#4013]: PBS reservations were always displayed on halftile foundations if the railtype uses overlays.
2010-08-08 08:52:47 +00:00
rubidium
ef50a89ca5
(svn r20407) -Codechange: make AirportClass use the new generic class
2010-08-07 22:08:20 +00:00
rubidium
edbadde301
(svn r20406) -Codechange: make StationClass use the new generic class
2010-08-07 22:07:07 +00:00
rubidium
cb4ab6a231
(svn r20405) -Add: generic class for "classes" for NewGRFs, e.g. the Station classes and Airport classes
2010-08-07 22:05:58 +00:00
rubidium
2b645d1b0d
(svn r20404) -Codechange: remove the need for StationSpec::allocated
2010-08-07 21:39:30 +00:00
rubidium
2d3ee123af
(svn r20402) -Codechange: rename the airport/station class id to something slightly more generic
2010-08-07 21:10:57 +00:00
rubidium
6d6939f844
(svn r20401) -Codechange: let HouseSpec use GRFFileProps
2010-08-07 21:03:38 +00:00
rubidium
b6a0806948
(svn r20400) -Codechange: let StationSpec use GRFFilePropsBase
2010-08-07 20:52:45 +00:00
yexo
178f74c31c
(svn r20399) -Change: [NoAI] AIIndustry::IsCargoAccepted now returns 3 possible values so AIs can detect a temporaral refusal from an industry to accept some cargo type
2010-08-07 20:51:53 +00:00
rubidium
af9d8824bd
(svn r20398) -Codechange: move some variables of GRFFileProps into (the new) GRFFilePropsBase
2010-08-07 20:51:07 +00:00
alberth
f5d972cade
(svn r20397) -Feature: Display industry smallmap colour in the industry chain window.
2010-08-07 20:36:23 +00:00
yexo
e80f339086
(svn r20396) -Codechange: introduce a helper function to test whether an industry temporarily refues to accept some cargo
2010-08-07 20:11:27 +00:00
translators
50fe2264ec
(svn r20395) -Update from WebTranslator v3.0:
...
romanian - 126 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 5 changes by etran
swedish - 1 changes by Zuu
ukrainian - 9 changes by Fixer
2010-08-07 17:45:19 +00:00
yexo
0b4d80ae54
(svn r20394) -Fix [FS#4010]: make the default minimum width for editboxes 10 pixels
2010-08-06 20:52:53 +00:00
alberth
3536357cc6
(svn r20393) -Fix [FS#3993]: Prevent taking over competitors when you'd get too many vehicles.
2010-08-06 20:28:16 +00:00
alberth
422a1ad242
(svn r20392) -Fix [FS#3993]: Prevent buying bankrupt companies when you'd get too many vehicles.
2010-08-06 20:26:01 +00:00
alberth
5cfc029523
(svn r20391) -Fix [FS#3993]: Prevent buying more vehicles than allowed.
2010-08-06 20:10:53 +00:00
alberth
e0e66b6ed0
(svn r20390) -Codechange: Move company vehicle counting to vehicle.cpp.
2010-08-06 19:56:14 +00:00
rubidium
90a35d2e5b
(svn r20389) [NoAI] -Add: AIOrder::IsVoidOrder to find void "(Invalid Order)" orders.
...
[NoAI] -Change: AIOrder::GetOrderFlags returns AIOrder::AIOF_INVALID for void orders.
2010-08-06 19:04:21 +00:00
translators
d54f2ba21f
(svn r20388) -Update from WebTranslator v3.0:
...
belarusian - 216 changes by KorneySan, Wowanxm
croatian - 5 changes by VoyagerOne
dutch - 5 changes by Yexo
hungarian - 7 changes by IPG
italian - 5 changes by lorenzodv
korean - 5 changes by junho2813
polish - 5 changes by lion
portuguese - 10 changes by SupSuper
romanian - 11 changes by tonny
russian - 9 changes by KorneySan
spanish - 5 changes by Terkhen
swedish - 9 changes by tool
vietnamese - 4 changes by nglekhoi
2010-08-06 17:45:42 +00:00
alberth
16dfc7a04d
(svn r20387) -Fix [FS#4000]: Allow the industry-chain button for non-fundable industries, and disallow for the 'many random industries'.
2010-08-06 12:23:44 +00:00
alberth
d9c9ae8fcf
(svn r20386) -Fix: Initialize fund-industry buttons when opening window.
2010-08-06 12:19:01 +00:00
alberth
3ca0ed3e82
(svn r20385) -Codechange: Move updating of buttons in the fund-industry window to a method.
2010-08-06 12:12:20 +00:00
frosch
01833039bd
(svn r20384) -Fix: Update cursor dimensions when reloading grfs resp. changing base graphics, so the cursor does not glitch if it becomes bigger.
2010-08-05 19:23:19 +00:00
translators
b2181365b0
(svn r20383) -Update from WebTranslator v3.0:
...
belarusian - 672 changes by KorneySan, Wowanxm
croatian - 2 changes by VoyagerOne
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 4 changes by dihedral
greek - 2 changes by fumantsu
hungarian - 10 changes by IPG
irish - 4 changes by tem
marathi - 44 changes by amitst
romanian - 77 changes by kkmic, tonny
russian - 6 changes by KorneySan
swedish - 17 changes by Zuu
2010-08-05 17:45:37 +00:00
frosch
1cd34128d6
(svn r20382) -Codechange: Hide default airport layoutname if there is only one layout.
2010-08-05 17:24:45 +00:00
frosch
66dd872bdc
(svn r20379) -Codechange: Draw airport preview using company colours.
2010-08-05 17:16:31 +00:00
yexo
d00cf48323
(svn r20377) -Feature: [NewGRF] prop 0x0A tile layout for airports
2010-08-05 12:10:22 +00:00
yexo
a3a24f4c68
(svn r20376) -Feature [FS#3093]: add setting for none/original/more smoke (SirkoZ)
2010-08-05 12:09:08 +00:00
yexo
f8b7163b34
(svn r20375) -Codechange: make sure the watertype for existing airport tiles is set to invalid
2010-08-05 12:06:53 +00:00
yexo
2e6713ce95
(svn r20374) -Codechange: add persistant storage for airports
2010-08-05 12:06:13 +00:00
yexo
00902294b3
(svn r20373) -Feature: [NewGRF] callback 0x156 to use another name for airport layouts than the default "Layout x"
2010-08-05 12:05:56 +00:00
yexo
d6fa76b044
(svn r20372) -Feature; [NewGRF] callback 0x155 to display extra information about an airport in the build gui
2010-08-05 12:05:15 +00:00
yexo
5bacbba9f2
(svn r20371) -Codechange: add general function to call text callbacks for airports
2010-08-05 12:04:33 +00:00
yexo
a48dbd7c51
(svn r20370) -Add: [NewGRF] new action 5 block to add airport preview sprites
2010-08-05 12:03:58 +00:00
yexo
3e6f8165d4
(svn r20369) -Feature: preview sprites for airports
2010-08-05 12:03:34 +00:00
yexo
7e4bdbbc9d
(svn r20368) -Codechange: automatically rotate all nodes for airport movement if the airport is rotated
2010-08-05 12:03:06 +00:00
yexo
c421b6fef5
(svn r20367) -Codechange; don't use a pointer to access the AirportMovingData of the current position
2010-08-05 12:02:22 +00:00
yexo
d2f9b87ccd
(svn r20366) -Codechange: store the rotation of the airport layout in the station struct and use it to rotate hangar tiles
2010-08-05 12:00:09 +00:00
yexo
330c2f979e
(svn r20365) -Codechange: allow multiple layouts for one airport statemachine, store the layout number
2010-08-05 11:59:07 +00:00
yexo
6321eb5a00
(svn r20364) -Codechange: add infrastructure for airport callbacks
2010-08-05 11:57:55 +00:00
translators
fe6c557705
(svn r20363) -Update from WebTranslator v3.0:
...
belarusian - 83 changes by Wowanxm
dutch - 2 changes by habell
german - 9 changes by dihedral
italian - 5 changes by lorenzodv
korean - 2 changes by junho2813
spanish - 2 changes by Terkhen
2010-08-04 17:45:20 +00:00
yexo
63951fada6
(svn r20362) -Codechange: use correct parameter type for SetFill in airport gui
2010-08-04 10:33:18 +00:00
terkhen
2339b34021
(svn r20361) -Fix [FS#3989]: Stop vehicle following after zooming out.
2010-08-04 08:58:45 +00:00
rubidium
cf88a1bc3b
(svn r20360) -Update: move Belarusian to the finished languages
...
-Add: stub for Marathi language (one of the languages in India)
2010-08-04 08:47:44 +00:00
translators
d4cbd1d784
(svn r20359) -Update from WebTranslator v3.0:
...
belarusian - 597 changes by KorneySan, Wowanxm
finnish - 2 changes by jpx_
french - 2 changes by glx
polish - 5 changes by silver_777
russian - 20 changes by KorneySan
serbian - 2 changes by etran
2010-08-04 08:46:28 +00:00
rubidium
3fd1fc35e6
(svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled
2010-08-04 07:31:29 +00:00
frosch
ba527ec56e
(svn r20357) -Fix (r20356): Call GetAllRoadBits() only if there is road.
2010-08-04 06:27:20 +00:00
rubidium
b74cee45be
(svn r20356) -Fix [FS#3983]: apparantly one generic error message can't be understood...
2010-08-03 18:32:53 +00:00
michi_cc
fff8524fb9
(svn r20355) -Fix (r20353): Stale comment.
2010-08-03 18:29:26 +00:00
rubidium
e23db5db21
(svn r20354) -Fix: some compilation errors in (unfinished) translations
2010-08-03 18:08:49 +00:00
michi_cc
4d927af488
(svn r20353) -Add: [NewGRF] Support for callback 0x147 ("add sprite offset") for canals.
2010-08-03 17:48:07 +00:00
michi_cc
bd2f7e998c
(svn r20352) -Add: [NewGRF] Support for property 09, feature 05, i.e alternate canal sprite layout.
2010-08-03 17:48:03 +00:00
michi_cc
f67c727c68
(svn r20351) -Codechange: Uncouple water lock and depot drawing.
2010-08-03 17:47:43 +00:00
translators
71f9c4fe79
(svn r20350) -Update from WebTranslator v3.0:
...
belarusian - 1070 changes by KorneySan, Wowanxm
simplified_chinese - 7 changes by pda1573
croatian - 2 changes by VoyagerOne
dutch - 2 changes by habell
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 44 changes by NG
indonesian - 6 changes by prof
korean - 2 changes by junho2813
russian - 8 changes by KorneySan, Lone_Wolf
serbian - 2 changes by etran
spanish - 6 changes by Terkhen
vietnamese - 2 changes by nglekhoi
2010-08-03 17:45:43 +00:00
rubidium
d1a7f7a672
(svn r20349) -Fix: don't pay stuff you didn't have to pay for previously :)
2010-08-03 16:42:47 +00:00
rubidium
fc39a8bec1
(svn r20348) -Fix [FS#4004]: [NoAI] Ship depots were constructed along the wrong axis
2010-08-03 16:38:15 +00:00
yexo
04a9a58ecd
(svn r20346) -Change: scan for tar files before scanning for AIs/NewGRFs so new AIs/NewGRFs inside a tar file are found
2010-08-03 13:32:02 +00:00
rubidium
87386cabc4
(svn r20345) -Codechange: unify removing of objects a bit more
2010-08-03 13:03:25 +00:00
yexo
e2d706cd21
(svn r20344) -Feature: add rescan_newgrf console command
2010-08-03 12:54:19 +00:00
rubidium
0664955db7
(svn r20343) -Fix (r20342): don't start svn commit too early... it won't see the later changes
2010-08-03 12:47:11 +00:00
rubidium
725c181445
(svn r20342) -Codechange: unify the construction of objects
2010-08-03 12:41:24 +00:00
rubidium
92ac2e485b
(svn r20341) -Codechange: pass the tile of the HQ instead of the company to UpdateCompanyHQ
2010-08-03 12:36:40 +00:00
rubidium
1c86321d35
(svn r20340) -Codechange: introduce some flags for objects and use them in some places
2010-08-03 12:07:55 +00:00
rubidium
d687b49a4e
(svn r20339) -Codechange: reorder the HQ drawing data so it's in a slightly more logical order from the map array's point of view.
2010-08-03 11:39:17 +00:00
rubidium
fbde46c028
(svn r20338) -Codechange: unify the unmovable tile drawing
2010-08-03 11:35:57 +00:00
rubidium
3bfe26c69d
(svn r20337) -Codechange: unify the construction of objects on the map
2010-08-03 08:58:12 +00:00
rubidium
f812e80002
(svn r20336) -Codechange: rework the HQ updating
2010-08-03 08:32:58 +00:00
rubidium
ffedcc6533
(svn r20335) -Codechange: change the name of some unmovable map accessors
2010-08-03 08:16:06 +00:00
rubidium
f44c51577b
(svn r20334) -Codechange: reorder the unmovable bits a bit for futher extension
2010-08-03 08:09:45 +00:00
frosch
1a9d5ae076
(svn r20333) -Fix (r20332): Mask second operand to 5 bits to avoid differences between platforms.
2010-08-02 23:35:47 +00:00
frosch
0e5c562da4
(svn r20332) -Add: [NewGRF] AdvVarAct2 operators for SHL, SHR and SAR.
2010-08-02 23:12:43 +00:00
yexo
689d4bef04
(svn r20331) -Doc: some more airport-related code
2010-08-02 23:09:38 +00:00
rubidium
aae7ef73bb
(svn r20330) -Codechange: unify the removal of unmovables a bit
2010-08-02 23:05:54 +00:00
yexo
d65a967027
(svn r20329) -Codechange: align the data of the original airports so it's better readable
2010-08-02 22:27:42 +00:00
rubidium
49cee72fa4
(svn r20328) -Codechange: unify the unmovable related commands and make building lighthouses/transmitters actually happen via a command
2010-08-02 22:10:05 +00:00
rubidium
f2d71c1196
(svn r20327) -Change: don't let building e.g. road remove light houses and transmitters in the scenario editor
2010-08-02 22:03:28 +00:00
rubidium
55129f1fbb
(svn r20326) -Codechange: move UnmovableType to its own file
2010-08-02 21:35:59 +00:00
yexo
5ae4e27446
(svn r20325) -Fix (r20322): surround variable declarations in a switch-block with {}
2010-08-02 21:25:17 +00:00
yexo
c7516f230f
(svn r20324) -Doc: add doxygen comments to the Airport struct belonging to a station
2010-08-02 21:11:52 +00:00
terkhen
7a6df202d0
(svn r20323) -Codechange: Move Delete town code to a command.
2010-08-02 21:07:23 +00:00
terkhen
ca0751adb8
(svn r20322) -Codechange: Move Expand town code to a command.
2010-08-02 21:06:06 +00:00
rubidium
f2edc728e6
(svn r20321) -Codechange: rename GetUnmovableSpec to UnmovableSpec::Get and add+use a ::GetByTile
2010-08-02 20:57:32 +00:00
alberth
0e900039f3
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
2010-08-02 20:47:27 +00:00
alberth
4781f1fa92
(svn r20319) -Codechange: Align comments, add indent to a function call.
2010-08-02 20:37:32 +00:00
alberth
5556955960
(svn r20318) -Doc: Doxygen additions.
2010-08-02 20:32:39 +00:00
alberth
73f45d16d1
(svn r20317) -Codechange: Move variable declaration to their first use.
2010-08-02 20:19:10 +00:00
rubidium
00dcb16760
(svn r20316) -Document: some members/structs and functions and rename some slightly to better catch their meaning
2010-08-02 20:12:02 +00:00
michi_cc
9f5e49eaad
(svn r20315) -Codechange: Replace magic numbers by named constants.
2010-08-02 18:47:03 +00:00
michi_cc
e34faa8e15
(svn r20314) -Fix (r20312): Too many parameters, missed one.
2010-08-02 18:40:25 +00:00
michi_cc
3c7b220d59
(svn r20312) -Doc: Add missing doxygen comments to road map accessors.
2010-08-02 18:34:46 +00:00
yexo
dff871b40d
(svn r20311) -Codechange: don't reserve extra space in the savegame that is never used
2010-08-02 18:24:09 +00:00
translators
9b9d8088b0
(svn r20310) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
belarusian - 354 changes by KorneySan, Wowanxm
simplified_chinese - 5 changes by pda1573
traditional_chinese - 1 changes by pda1573
chuvash - 17 changes by mefisteron
french - 4 changes by glx
greek - 18 changes by fumantsu
italian - 4 changes by lorenzodv
brazilian_portuguese - 15 changes by Tucalipe
russian - 28 changes by KorneySan
swedish - 14 changes by tool
thai - 23 changes by sf_alpha
ukrainian - 14 changes by Madvin
vietnamese - 9 changes by nglekhoi
2010-08-02 17:45:39 +00:00
yexo
6371e6c4db
(svn r20307) -Fix (r20305): the palette for baseset extra grfs was never set so it defaulted to dos
2010-08-02 16:04:24 +00:00
rubidium
dfb0a2c9a5
(svn r20305) -Change: reduce OpenTTD's install size by roughly 460 KiB by only providing the "extra" base graphics in one palette and doing the conversion upon loading; the conversion has existed for a while, but now the NewGRF can tell its palette using Action 14 thus it can enable the conversion for only that NewGRF.
2010-08-02 15:29:31 +00:00
terkhen
cded122da5
(svn r20303) -Feature: [NewGRF] Air drag property support for trains and road vehicles. Air drag for vehicles with air drag not set or set to zero will use a default value depending on their max speed.
2010-08-02 14:54:47 +00:00
terkhen
7d0297f967
(svn r20302) -Add: Method for getting the air drag of a ground vehicle.
2010-08-02 14:52:51 +00:00
terkhen
8203749e68
(svn r20301) -Add: [NewGRF] Read air drag property from Action 0 for trains.
2010-08-02 14:51:35 +00:00
terkhen
5c633159ca
(svn r20300) -Add: Air drag field to the rail engine information.
2010-08-02 14:50:26 +00:00
terkhen
1fd66d7cc4
(svn r20299) -Add: Make trains and road vehicles use a different area value to calculate air drag.
2010-08-02 14:49:23 +00:00
terkhen
14d58e9978
(svn r20298) -Fix: GetInitialMaxSpeed did not return the correct value for road vehicles.
2010-08-02 14:48:13 +00:00
terkhen
6dde1417d8
(svn r20297) -Doc: Explain the default tractive effort value used by standard road vehicles.
2010-08-02 14:44:00 +00:00
alberth
f0ebe530ad
(svn r20296) -Fix: Fallback font selection due to missing glyphs did not work as intended.
2010-08-02 12:10:48 +00:00
frosch
edf9b36b81
(svn r20294) -Fix [FS#3996](r20281): 'break' got in wrong position.
2010-08-01 23:49:03 +00:00
yexo
9dbe84922b
(svn r20293) -Doc: add more doxygen comments in ai_gui.cp
2010-08-01 22:08:29 +00:00
yexo
6bfe29308c
(svn r20292) -Codechange: remove some unused variables from AIConfigWindow
2010-08-01 22:03:55 +00:00
alberth
ee01ec9136
(svn r20291) -Codechange: Unify break coding style.
2010-08-01 21:19:49 +00:00
alberth
c32e35c30d
(svn r20290) -Codechange: Add missing 'break' statements.
2010-08-01 20:58:35 +00:00
terkhen
80c43f52e8
(svn r20289) -Codechange: Unify fall through coding style.
2010-08-01 20:52:11 +00:00
yexo
7b62e4dc8e
(svn r20288) -Doc: add doxygen string to all GetClassName functions (part of all AI api classes)
2010-08-01 20:41:46 +00:00
rubidium
d1787d884c
(svn r20287) -Fix: GCC 4.1 warning
2010-08-01 19:52:51 +00:00
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
2010-08-01 19:44:49 +00:00
yexo
613b273f36
(svn r20285) -Codechange: use ///< for single-line doxygen comments in the AI code
2010-08-01 19:36:56 +00:00
yexo
99cb47a382
(svn r20284) -Codechange: use ///< for single-line doxygen comments in the AI code
2010-08-01 19:36:36 +00:00
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
4871baf44d
(svn r20282) -Codechange: add some spaces where they should've been
2010-08-01 19:01:09 +00:00
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
rubidium
605f6d0ed3
(svn r20280) -Fix: indentation of some switch cases
2010-08-01 18:48:00 +00:00
alberth
dc6ed2c2c0
(svn r20279) -Doc: Doxygen additions/improvements.
2010-08-01 17:45:53 +00:00
translators
2d25def2ff
(svn r20278) -Update from WebTranslator v3.0:
...
afrikaans - 9 changes by burgerd
belarusian - 840 changes by KorneySan, Wowanxm
croatian - 4 changes by VoyagerOne
czech - 10 changes by ReisRyos
finnish - 1 changes by jpx_
hungarian - 4 changes by IPG
irish - 4 changes by tem
korean - 1 changes by junho2813
polish - 4 changes by lion
portuguese - 5 changes by SupSuper
romanian - 4 changes by tonny
russian - 13 changes by KorneySan
serbian - 4 changes by etran
thai - 176 changes by sf_alpha
ukrainian - 4 changes by Fixer
2010-08-01 17:45:46 +00:00
alberth
9f8d730cc4
(svn r20277) -Codechange: Move CmdSetAutoReplace() from company_cmd.cpp to autoreplace_cmd.cpp.
2010-08-01 14:43:39 +00:00
rubidium
aa8ac7885a
(svn r20276) -Update: add some genders/cases to Belarusian
2010-08-01 14:27:38 +00:00
yexo
09bfbee90e
(svn r20275) -Fix (r20274): some compilers are complaining about signed/unsigned comparison
2010-08-01 10:53:39 +00:00
yexo
dc3271b705
(svn r20274) -Fix: special keycodes were matched if a code matched the start of the string (ie 'C' matched 'CTRL')
2010-08-01 10:42:18 +00:00
yexo
b0b0a21617
(svn r20273) -Fix [FS#3930]: '-' and '=' were not correctly read from hotkeys.cfg
2010-07-31 23:33:09 +00:00
yexo
33ccd9ada8
(svn r20272) -Doc: [NoAI] document return value of AIGroup::SetAutoReplace
2010-07-31 22:46:29 +00:00
yexo
6d4900ed7c
(svn r20271) -Doc: add doxygen comments to several items under src/ai/
2010-07-31 22:16:34 +00:00
alberth
7aabb887d4
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
2010-07-31 21:43:07 +00:00
yexo
b65a9eb856
(svn r20268) -Add: append 'On'/'Off' after the name for boolean NewGRF settings
2010-07-31 21:24:59 +00:00
alberth
a825b4fa5f
(svn r20266) -Doc: Mostly typo fixes, a few doxygen-related improvements.
2010-07-31 21:02:56 +00:00
yexo
adf94b8529
(svn r20264) -Fix (r20258): saving a new preset was broken
2010-07-31 20:28:10 +00:00
rubidium
5f8cfba77a
(svn r20263) -Change: only show the NewGRF version when newgrf_developer_tools are enabled
2010-07-31 20:04:14 +00:00
alberth
3f62ee6355
(svn r20262) -Codechange: Remove unused ScoreInfo::id field, and doxyment the data structures.
2010-07-31 19:45:48 +00:00
translators
ea05f284a9
(svn r20260) -Update from WebTranslator v3.0:
...
basque - 13 changes by Thadah
belarusian - 313 changes by KorneySan
dutch - 4 changes by Yexo
finnish - 3 changes by jpx_
korean - 5 changes by telk5093
russian - 10 changes by KorneySan
thai - 60 changes by sf_alpha
2010-07-31 17:45:18 +00:00
rubidium
ac280af8bc
(svn r20259) -Add: allow NewGRFs to specify their version and use that to hide old NewGRFs / to choose the newest when loading compatible NewGRFs
2010-07-31 14:40:50 +00:00
yexo
5a2862814a
(svn r20258) -Feature: more user-friendly gui to change NewGRF parameters
2010-07-31 12:15:12 +00:00
rubidium
9c241135f2
(svn r20257) -Codechange: unify some node handling code and don't require a single root node
2010-07-31 12:05:41 +00:00
yexo
d9bc65cdd8
(svn r20256) -Codechange: add a DrawStringMultiline variant that accepts const char* instead of StringID
2010-07-31 11:47:08 +00:00
yexo
d6eab96a22
(svn r20255) -Add: allow NewGRFs to specify static info about their user-changeable parameters
2010-07-31 09:51:04 +00:00
rubidium
4a4f02dc81
(svn r20254) -Add: allow NewGRFs to specify their palette
2010-07-31 09:44:38 +00:00
rubidium
e469a94a2d
(svn r20253) -Codechange: change GRFConfig::windows_paletted into a bitmask/bitset
2010-07-31 09:40:43 +00:00
rubidium
f7794e313f
(svn r20252) -Codechange: deduplicate logic for setting a suitable (initial) palette for NewGRFs
2010-07-31 09:36:09 +00:00
yexo
75c4a2d2fb
(svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters
2010-07-31 09:35:49 +00:00
yexo
897818c198
(svn r20250) -Feature: [NewGRF] add support for action14 (static grf info)
2010-07-31 09:35:42 +00:00
yexo
d3c1be9abd
(svn r20249) -Codechange: change the newgrf name/description from a char* to a GRFText* to make translations possible
2010-07-31 09:33:39 +00:00
yexo
1ca16aa979
(svn r20248) -Codechange: use a copy-constructor instead of a separate function co clone GRFConfig/GRFError
2010-07-31 09:32:44 +00:00
rubidium
24df43633c
(svn r20247) -Fix: when it is known the loading an old savegame is going to fail, bail out immediately (using an exception) instead of going on until e.g. the expected number of byte is read
2010-07-30 22:57:46 +00:00
translators
3aaeb311df
(svn r20246) -Update from WebTranslator v3.0:
...
basque - 20 changes by Thadah
belarusian - 276 changes by KorneySan
chuvash - 2 changes by mefisteron
finnish - 1 changes by jpx_
french - 1 changes by ElNounch
polish - 12 changes by lion
romanian - 1 changes by eliberatorM
serbian - 6 changes by etran
thai - 64 changes by sf_alpha
2010-07-30 17:45:26 +00:00
rubidium
5e270e694a
(svn r20245) -Update: the other languages in accordance with r20244
2010-07-30 12:27:42 +00:00
rubidium
0c54c242e2
(svn r20244) -Fix: the caption of the "Available vehicle" lists was black, whereas for building those vehicles, which uses the exact same window, it was white.
2010-07-30 12:26:58 +00:00
rubidium
4a6c317d42
(svn r20243) -Update: the strings; they don't need the {WHITE} colour code anymore either
2010-07-30 12:17:14 +00:00
rubidium
ab47c9dea7
(svn r20242) -Change: remove the need for "{WHITE}" control codes in some of the railtype NewGRF strings
...
-Fix: make it possible to properly assess the length of the rail toolbar caption
2010-07-30 12:15:22 +00:00
alberth
2dd77d0ef9
(svn r20241) -Codechange: Move variable declarations to their first use.
2010-07-30 10:39:24 +00:00
translators
f602e43107
(svn r20240) -Update from WebTranslator v3.0:
...
belarusian - 3 changes by Wowanxm
chuvash - 50 changes by mefisteron
irish - 9 changes by tem
vietnamese - 17 changes by myquartz
2010-07-29 17:45:10 +00:00
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
2010-07-29 14:26:28 +00:00
yexo
04242e19cf
(svn r20238) -Doc: [NoAI] clarify the documentation for AIBaseStation::GetLocation
2010-07-29 13:08:57 +00:00
michi_cc
e8cabbdc56
(svn r20237) -Fix (r20049): Check for disallowed level crossings also when converting rail.
2010-07-28 22:23:28 +00:00
rubidium
90c4066397
(svn r20236) -Add: stub for Belarusian translation
2010-07-28 19:07:06 +00:00
translators
8ed3b40741
(svn r20235) -Update from WebTranslator v3.0:
...
basque - 8 changes by Thadah
chuvash - 7 changes by mefisteron
croatian - 5 changes by VoyagerOne
dutch - 1 changes by habell
german - 8 changes by planetmaker
hungarian - 6 changes by IPG
indonesian - 4 changes by prof
italian - 12 changes by lorenzodv
korean - 1 changes by junho2813
russian - 1 changes by Lone_Wolf
ukrainian - 1 changes by Fixer
2010-07-28 17:45:31 +00:00
yexo
dd7800ea18
(svn r20234) -Fix [FS#3988]: refit costs from refit orders are subtracted from the vehicle yearly income
2010-07-28 14:18:58 +00:00
rubidium
fc6f336fee
(svn r20233) -Codechange: fix/unify coding and comment style a bit
2010-07-28 09:48:35 +00:00
rubidium
d72ee2bc57
(svn r20232) -Codechange: shuffle a few functions around so they don't need to be declared in advance
2010-07-28 09:47:31 +00:00
rubidium
70ff0d7513
(svn r20231) -Document: which version had which savegame version
2010-07-28 09:23:42 +00:00
rubidium
cfdcb6cbee
(svn r20230) -Fix [FS#3961]: road vehicles could be dead locked with one way roads. This allows one wayness to be removed if there are vehicles on a tile; it does not allow you to add one wayness to roads that have vehicles on them as it makes turning vehicles jump
2010-07-27 22:00:43 +00:00
rubidium
8df78e7a7b
(svn r20229) -Fix [FS#3986]: "Service at nearest depot" behaved the same as "Go to nearest depot"
2010-07-27 21:46:55 +00:00
translators
814be3ae66
(svn r20228) -Update from WebTranslator v3.0:
...
basque - 10 changes by Thadah
dutch - 9 changes by habell
finnish - 5 changes by jpx_
french - 5 changes by glx
german - 3 changes by planetmaker
italian - 9 changes by lorenzodv
portuguese - 8 changes by SupSuper
spanish - 9 changes by Terkhen
ukrainian - 9 changes by Fixer
2010-07-27 17:45:27 +00:00
terkhen
4f9b49653b
(svn r20227) -Fix [FS#3985]: Don't spend cash when building a statue fails.
2010-07-27 16:40:16 +00:00
rubidium
5ed982bbff
(svn r20226) -Fix: make "space after ..." usage uniform in English (UK) again
2010-07-27 14:54:39 +00:00
translators
1d95065f66
(svn r20225) -Update from WebTranslator v3.0:
...
portuguese - 11 changes by SupSuper
romanian - 16 changes by tonny
russian - 37 changes by
slovak - 11 changes by keso53
2010-07-26 17:45:15 +00:00
frosch
3767ae5196
(svn r20224) -Fix [FS#3976]: Depot did not become unsnowy, when snowline rises.
2010-07-26 17:37:50 +00:00
alberth
4203e641f8
(svn r20223) -Codechange: Replace scrolled row calculations by a call to GetScrolledRowFromWidget().
2010-07-26 13:08:48 +00:00
alberth
97f85f7bfb
(svn r20222) -Add: Add functions to compute the row in a scrolled widget.
2010-07-26 13:03:40 +00:00
alberth
3a1451644a
(svn r20221) -Codechange: Move unscrolled row calculation into a function.
2010-07-26 13:02:28 +00:00
rubidium
80cc566553
(svn r20220) -Fix [FS#3974]: strip non-printable characters before showing it in an edit box, so when renaming a vehicle type you won't get the "SETX stuff" that some NewGRFs use
2010-07-25 23:14:59 +00:00
translators
f06dcd1601
(svn r20218) -Update from WebTranslator v3.0:
...
traditional_chinese - 9 changes by josesun
hungarian - 9 changes by IPG
irish - 4 changes by tem
korean - 38 changes by junho2813
russian - 46 changes by Lone_Wolf
2010-07-25 17:45:18 +00:00
frosch
b71aabdfb7
(svn r20217) -Fix [FS#3969]: Invalidate saveload GUI after rescanning NewGRFs.
2010-07-25 14:33:17 +00:00
alberth
b59a6a53de
(svn r20216) -Fix: Increase scrolling speed of industry cargoes window, enlarge height slightly so small chains fit by default.
2010-07-25 12:38:06 +00:00
alberth
43b4d23b07
(svn r20215) -Fix [FS#3971]: Remove all road pieces rather than aborting at the first ownership error (Krille).
2010-07-25 10:04:13 +00:00
translators
177358f552
(svn r20214) -Update from WebTranslator v3.0:
...
croatian - 9 changes by VoyagerOne
finnish - 9 changes by jpx_
french - 9 changes by glx
german - 9 changes by planetmaker
indonesian - 9 changes by prof
serbian - 9 changes by etran
spanish - 9 changes by Terkhen
2010-07-24 17:45:26 +00:00
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
alberth
645b6ce773
(svn r20210) -Fix (r20206): Allow other compilers to enjoy the new window too.
2010-07-23 19:07:00 +00:00
alberth
a9b492c050
(svn r20209) -Add: Allow access to the industry cargoes window from the fund industry window.
2010-07-23 18:46:52 +00:00
alberth
27dba2b3b2
(svn r20208) -Add: Allow access of the industry cargoes window from the industry view window.
2010-07-23 18:44:04 +00:00
alberth
f601259f46
(svn r20207) -Codechange: Move variable declaration to first use.
2010-07-23 18:40:39 +00:00
alberth
85c775e7f3
(svn r20206) -Feature: Display suppliers and customers of an industry or cargo.
2010-07-23 18:39:02 +00:00
translators
a8032ab75f
(svn r20205) -Update from WebTranslator v3.0:
...
czech - 15 changes by ReisRyos
polish - 7 changes by xine
ukrainian - 1 changes by Fixer
2010-07-23 17:45:14 +00:00
translators
8cc2bf6cd5
(svn r20204) -Update from WebTranslator v3.0:
...
czech - 1 changes by ReisRyos
2010-07-22 17:45:07 +00:00
rubidium
6bb0d06668
(svn r20203) -Fix: some file "headers" were incorrect, including doxygen @file so they wouldn't be picked up by doxygen.
2010-07-22 16:50:58 +00:00
translators
93dbd5e356
(svn r20202) -Update from WebTranslator v3.0:
...
chuvash - 93 changes by mefisteron
irish - 5 changes by tem
norwegian_nynorsk - 1 changes by 2rB
2010-07-21 17:45:09 +00:00
yexo
1ec328f725
(svn r20201) -Feature [FS#3926]: add several new hotkeys to the global hotkey list and to the order windows. None of them has a default keybinding.
2010-07-21 14:28:06 +00:00
yexo
2828f36aa4
(svn r20200) -Fix [FS#3930]: terraform and extra viewport hotkeys didn't work in the scenario editor (jawsper)
2010-07-21 13:11:11 +00:00
yexo
5ac645ac1f
(svn r20199) -Fix [FS#3964]: NewGRFs that defined a vehicle without either loaded or loading groups could crash OpenTTD
2010-07-21 11:29:59 +00:00
translators
3e44b5e2e3
(svn r20198) -Update from WebTranslator v3.0:
...
chuvash - 39 changes by mefisteron
portuguese - 31 changes by ABCRic, SupSuper
2010-07-20 17:45:08 +00:00
rubidium
93a60d8157
(svn r20197) -Fix [FS#3963]: GetNearbyTileInformation can be used to get the terrain type of a MP_VOID tile.
2010-07-19 23:51:22 +00:00
terkhen
264bbc3076
(svn r20196) -Fix: Remove autofocus of the edit box in the world generation window.
2010-07-19 20:57:13 +00:00
terkhen
5685e061c0
(svn r20195) -Fix [FS#3891]: Remove autofocus of the edit box in the found town window (Zuu).
2010-07-19 20:52:14 +00:00
rubidium
5b1fc7304a
(svn r20194) -Fix: compilation with network disabled failed
2010-07-19 17:46:53 +00:00
translators
db94e06094
(svn r20193) -Update from WebTranslator v3.0:
...
chuvash - 15 changes by mefisteron
indonesian - 9 changes by prof
korean - 6 changes by junho2813
norwegian_bokmal - 15 changes by CyberKenny
portuguese - 58 changes by SupSuper
brazilian_portuguese - 15 changes by Tucalipe
russian - 1 changes by Lone_Wolf
2010-07-19 17:45:22 +00:00
rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
2010-07-19 17:28:27 +00:00
rubidium
644deff9d2
(svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more logical location
2010-07-19 17:24:33 +00:00
rubidium
73527b7b45
(svn r20190) -Codechange: unVARDEF _generate_world and move it to genworld
2010-07-19 17:17:36 +00:00
rubidium
51ca546a9d
(svn r20189) -Codechange: unVARDEF _display_opt and move it to a more logical location
2010-07-19 17:13:46 +00:00
rubidium
eb30ebe1a4
(svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location
2010-07-19 17:11:09 +00:00
rubidium
5a836cdec7
(svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name
2010-07-19 17:00:54 +00:00
rubidium
34764feac2
(svn r20186) -Codechange: remove VARDEF from _realtime_tick and _rightclick_emulate
2010-07-19 16:21:49 +00:00
rubidium
e38f503ec0
(svn r20185) -Codechange: reduce the scope of _palette_animation_counter
2010-07-19 16:05:29 +00:00
rubidium
3bb544e54d
(svn r20184) -Codechange: make _trees_tick_ctr and _disaster_delay not use VARDEF and put them in a more logical location
2010-07-19 15:51:06 +00:00
rubidium
45213e5708
(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location
2010-07-19 15:44:49 +00:00
translators
523d935882
(svn r20180) -Update from WebTranslator v3.0:
...
chuvash - 65 changes by mefisteron
korean - 16 changes by junho2813
portuguese - 11 changes by SupSuper
ukrainian - 3 changes by Madvin
2010-07-18 17:45:14 +00:00
translators
8d8c5166f9
(svn r20176) -Update from WebTranslator v3.0:
...
chuvash - 19 changes by mefisteron
greek - 9 changes by fumantsu
indonesian - 7 changes by prof
italian - 13 changes by lorenzodv
swedish - 2 changes by tool
turkish - 7 changes by niw3
2010-07-17 17:45:19 +00:00
frosch
f87e9c21f2
(svn r20175) -Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes.
2010-07-17 15:38:51 +00:00
frosch
ec4fa160e9
(svn r20174) -Codechange [FS#3955]: Allow horizontal resizing for all vehicle lists.
2010-07-17 15:06:28 +00:00
frosch
be7a5588fa
(svn r20173) -Codechange: Make the normal vehiclelist fit the longest action dropdown text.
2010-07-17 15:03:07 +00:00
frosch
f06560ad45
(svn r20172) -Codechange: Use BaseVehicleListWindow::BuildActionDropdownList() also for the normal vehicle list.
2010-07-17 14:58:35 +00:00
frosch
240e8df052
(svn r20171) -Fix: Make the group list action dropdown also use vehicletype-specific texts like the normal vehicle list.
2010-07-17 14:53:46 +00:00
frosch
ce480fb4b5
(svn r20170) -Codechange: Add BaseVehicleListWindow::GetActionDropdownSize().
2010-07-17 14:47:54 +00:00
frosch
c79d4f46a3
(svn r20169) -Codechange: Replace ShowGroupActionDropdown() with BaseVehicleListWindow::BuildActionDropdownList().
2010-07-17 14:36:36 +00:00
michi_cc
c5665202e1
(svn r20167) -Add: Vehicle var 4A to the NewGRF debug window.
2010-07-16 19:39:38 +00:00
rubidium
6863b7539c
(svn r20166) -Fix [FS#3949]: do not scan /data and ~/data (if they happen to be your working directory). If it's the directory where your binary is located it will still scan them.
2010-07-16 19:32:39 +00:00
michi_cc
2a3ec78d9f
(svn r20165) -Feature: [NewGRF] Information (var 4A) about the current railtype a train is on.
2010-07-16 19:02:59 +00:00
rubidium
e809c05099
(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds
2010-07-16 17:45:34 +00:00
translators
615e7ce38b
(svn r20163) -Update from WebTranslator v3.0:
...
dutch - 3 changes by habell
hungarian - 2 changes by IPG
irish - 6 changes by tem
portuguese - 18 changes by ABCRic
russian - 73 changes by Lone_Wolf, perk11
ukrainian - 8 changes by Fixer
2010-07-16 17:45:21 +00:00
rubidium
92da292fbc
(svn r20162) -Fix [FS#3954]: integer comparison failed in case the difference was more than "MAX_UINT"/2
2010-07-16 17:42:58 +00:00
rubidium
50c7f60eca
(svn r20160) -Merge: changelog updates from the 1.0 branch
2010-07-16 08:20:33 +00:00
rubidium
816222cd48
(svn r20159) -Change: clarify use of OpenTTD directories and don't use the "TTD" abbreviation for Transport Tycoon Deluxe (parts by planetmaker)
2010-07-15 22:30:38 +00:00
rubidium
e80b51168e
(svn r20158) -Fix (r20155): error in Russian language file
2010-07-15 22:21:46 +00:00
rubidium
6f7086b4b3
(svn r20157) -Fix [FS#3950]: make it *very* clear that saveconfig doesn't save the configuration of a running savegame to openttd.cfg, but the one that would be used for new games
2010-07-15 20:43:47 +00:00
michi_cc
9e93ee3a45
(svn r20156) -Fix [FS#3937]: [YAPP] Converting a one-way block to a path signal with trains on both sides could lead to a train crash.
2010-07-15 19:15:21 +00:00
translators
3ea53ff2fe
(svn r20155) -Update from WebTranslator v3.0:
...
simplified_chinese - 4 changes by pda1573
traditional_chinese - 15 changes by josesun
chuvash - 10 changes by mefisteron
croatian - 8 changes by VoyagerOne
finnish - 65 changes by jpx_
french - 3 changes by glx
german - 3 changes by planetmaker
irish - 2 changes by tem
polish - 5 changes by amateja
russian - 110 changes by perk11
serbian - 5 changes by etran
slovak - 3 changes by keso53
spanish - 1 changes by Terkhen
2010-07-15 17:45:44 +00:00
frosch
88dd0ac3af
(svn r20153) -Fix (r20125): Make the snowchecks for clear land and trees consistent with the other tiletypes.
2010-07-14 20:26:01 +00:00
frosch
8439cf2f4c
(svn r20152) -Fix: Silence a gcc warning.
2010-07-14 20:24:45 +00:00
terkhen
c960e1a5eb
(svn r20150) -Cleanup: Remove an unused function header.
2010-07-14 19:37:04 +00:00
rubidium
13f764c113
(svn r20147) -Change: make some of the english strings more consistent with eachother and OpenTTD's behaviour
2010-07-14 19:22:53 +00:00
translators
c0a0972011
(svn r20146) -Update from WebTranslator v3.0:
...
simplified_chinese - 110 changes by pda1573
traditional_chinese - 2 changes by pda1573
chuvash - 25 changes by mefisteron
czech - 1 changes by Hadez
finnish - 2 changes by jpx_
french - 2 changes by glx
german - 2 changes by planetmaker
hungarian - 3 changes by IPG
irish - 38 changes by tem
russian - 1 changes by Lone_Wolf
slovak - 20 changes by keso53
spanish - 2 changes by Terkhen
2010-07-14 17:45:38 +00:00
rubidium
0e078670b7
(svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again.
2010-07-14 17:36:27 +00:00
terkhen
fa3d9d04d3
(svn r20144) -Feature: Allow to configure the delay of hover events, or to disable them completely.
2010-07-14 15:08:31 +00:00
terkhen
0753669fa7
(svn r20143) -Codechange: Remove RecalcShipStuff function.
2010-07-14 12:27:51 +00:00
terkhen
8858729ae7
(svn r20142) -Fix [FS#3880]: Ships were not marked as dirty when stopping inside a depot.
2010-07-14 12:20:48 +00:00
terkhen
88830a24ec
(svn r20141) -Fix: Initialize the state of OnKeyPress at the AI debug window (Zuu).
2010-07-14 12:03:30 +00:00
terkhen
4d7c861947
(svn r20140) -Fix: Initialize the state of OnKeyPress at the world generation window (Zuu).
2010-07-14 12:01:40 +00:00
terkhen
e9793b3427
(svn r20139) -Fix [FS#3902]: Found town window ignored all hotkeys (Zuu).
2010-07-14 11:43:46 +00:00
rubidium
0dde0a7585
(svn r20138) -Change: also put the base set version number in the crash log
2010-07-14 09:06:41 +00:00
rubidium
01e0792b91
(svn r20137) -Fix [FS#3945]: desync due to (temporary) wrong railtype; when loading a savegame the railtype of some (high ID) trains could be wrong.
...
After loading the vehicle data in the trains are updated, but after that the "electrification" checks are done which can change the "global" vehicle data. However, this update is not propagated to the vehicles until the consist is updated, e.g. turning around and going to a depot.
This makes some of the trains of a just joined client run as non-electrified trains which can cause it to take a wrong path or to not (randomly) show the electric sparks.
2010-07-13 23:33:31 +00:00
rubidium
4975f5a94c
(svn r20136) -Codechange: check more of the vehicle caches (when desync debug is turned on)
2010-07-13 20:12:44 +00:00
translators
25947a9bbe
(svn r20135) -Update from WebTranslator v3.0:
...
simplified_chinese - 26 changes by pda1573
traditional_chinese - 6 changes by josesun
dutch - 10 changes by habell
romanian - 10 changes by kkmic
serbian - 5 changes by etran
2010-07-13 17:45:18 +00:00
truebrain
9fbf16356e
(svn r20134) -Revert (r20131): OOM is a nasty person
2010-07-12 21:21:05 +00:00
frosch
dcd605a9a9
(svn r20133) -Revert (r20130): Vehicles could deadlock themself in roadstops.
2010-07-12 19:36:06 +00:00
frosch
0a026ff41f
(svn r20132) -Fix [FS#3944](r20126): There can also be halftile foundations on slopes with opposite corners raised.
2010-07-12 18:15:37 +00:00
translators
6e7a8dfd86
(svn r20131) -Update from WebTranslator v3.0:
...
bulgarian - 6 changes by kokobongo
korean - 5 changes by junho2813
portuguese - 9 changes by ABCRic
russian - 9 changes by Lone_Wolf
2010-07-12 17:45:14 +00:00
frosch
f717248990
(svn r20130) -Fix [FS#3935]: Standard roadstops can also be left via manual depot orders.
2010-07-11 20:34:29 +00:00
translators
9c97a65b44
(svn r20128) -Update from WebTranslator v3.0:
...
bulgarian - 57 changes by kokobongo
croatian - 5 changes by VoyagerOne
finnish - 9 changes by jpx_
french - 9 changes by glx
german - 9 changes by planetmaker
hungarian - 24 changes by IPG
irish - 7 changes by tem
serbian - 5 changes by etran
spanish - 10 changes by Terkhen
swedish - 5 changes by Zuu
tamil - 142 changes by vv
2010-07-11 17:45:36 +00:00
frosch
5cc2591716
(svn r20127) -Fix [FS#3929]: Replace 'invalid engine' with 'vehicle model'.
2010-07-11 17:39:23 +00:00
frosch
72ee11a7c6
(svn r20126) -Fix [FS#3883]: Make railtype Terrain Type variable aware of RAIL_GROUND_HALF_SNOW. That is, resolve the sprites for upper and lower part of the foundation independently.
2010-07-11 17:28:19 +00:00
frosch
19fb8ba6f8
(svn r20125) -Change: [NewGRF] If a tile has a snow-flag in the map array, use that for Terrain Type variables, instead of always only using the tile Z position. Also use the maximum Z of a tile for tiles which usually have levelling foundations (stations, houses, industries, unmovables).
2010-07-11 17:11:14 +00:00
frosch
987417e665
(svn r20124) -Fix (r20118): Don't bring windows to front by hovering over them.
2010-07-11 14:35:53 +00:00
terkhen
0a689a67f5
(svn r20123) -Add [FS#3721]: Use all available space when drawing articulated road vehicles.
2010-07-11 13:14:08 +00:00
terkhen
175547b3a5
(svn r20122) -Fix: Correct vehicle list tooltips at the depot window.
2010-07-11 11:01:24 +00:00
terkhen
9cf9bb9b92
(svn r20121) -Add: OnHover method for windows.
2010-07-11 11:00:09 +00:00
terkhen
10fbb87823
(svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it.
2010-07-11 10:58:55 +00:00
terkhen
51e6cb0a70
(svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse.
2010-07-11 10:55:57 +00:00
terkhen
9aef7b8c3d
(svn r20118) -Add: Detect if the mouse has been hovering over the same point.
2010-07-11 10:53:07 +00:00
terkhen
dd5bf70f20
(svn r20117) -Codechange: Use a Point struct to store double click position.
2010-07-11 10:50:47 +00:00
terkhen
066aa61a45
(svn r20116) -Add: Show an specific error message when trying to convert/remove nonexistant signals.
2010-07-10 20:18:59 +00:00
terkhen
bb24713218
(svn r20115) -Add: Show an specific error message when trying to remove nonexistant stations.
2010-07-10 20:17:05 +00:00
terkhen
191389fa8d
(svn r20114) -Add: Show an specific error message when trying to remove rail or build/convert/remove signals over nonexistant railways.
2010-07-10 20:15:35 +00:00
terkhen
40e58f78ba
(svn r20113) -Add [FS#3895]: Show an specific error message when trying to remove nonexistant roads (Krille).
2010-07-10 20:12:32 +00:00
terkhen
5eb5ddbf31
(svn r20112) -Codechange: Prevent implicit use of CommandCost constructors.
2010-07-10 19:59:31 +00:00
translators
08d4fb21f5
(svn r20111) -Update from WebTranslator v3.0:
...
bulgarian - 74 changes by kokobongo
portuguese - 3 changes by ABCRic
ukrainian - 1 changes by Fixer
2010-07-10 17:45:12 +00:00
alberth
b06d18b19a
(svn r20110) -Fix [FS#3695]: Do not allow building a rail track to the water using a tree-tile.
2010-07-10 13:04:31 +00:00
alberth
7e0e7fb0e5
(svn r20109) -Codechange: Make GetFloodingBehaviour() globally usable.
2010-07-10 12:45:34 +00:00
frosch
9060a7ac00
(svn r20108) -Change: [NewGRF] Report substitute industry type in AI railstation selection callback.
2010-07-10 10:55:16 +00:00
frosch
969c059fea
(svn r20107) -Add: [NoAI] AIIndustryType::INDUSTRYTYPE_TOWN and AIIndustryType::INDUSTRYTYPE_UNKNOWN for AIRail::BuildNewGRFRailStation(). Note that BuildNewGRFRailStation() now checks the passed industry type for validity.
2010-07-10 10:54:30 +00:00
frosch
1055c2b0fd
(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available.
2010-07-10 08:54:57 +00:00
rubidium
d4da257ff9
(svn r20105) -Revert (r20102) [FS#3938]: resetting DirectMusic completely, although working, causes a temporary freeze of OpenTTD. As MCI behaves better than DirectMusic that has become the default music driver; small delay between songs beats wrongly pitched/bad sounding songs
2010-07-09 22:25:25 +00:00
michi_cc
58f1470129
(svn r20104) -Fix: [Win32] The win32 MIDI driver might clip the start of a song.
2010-07-09 20:50:28 +00:00
frosch
cddd6df252
(svn r20103) -Fix [FS#3934]: AITown::GetRating() returned wrong values. (Morloth)
2010-07-09 19:50:06 +00:00
rubidium
24fe1f41a5
(svn r20102) -Fix: OpenMSX music sounds odd after certain songs are played. Likely because the instruments weren't reset properly
2010-07-09 17:47:52 +00:00
translators
03b079f856
(svn r20101) -Update from WebTranslator v3.0:
...
estonian - 16 changes by Jaanus
polish - 3 changes by xine
portuguese - 6 changes by ABCRic, JayCity
romanian - 2 changes by kkmic
2010-07-09 17:45:17 +00:00
terkhen
5ea472650c
(svn r20100) -Fix: Give priority to ownership errors while removing rails.
2010-07-09 16:43:00 +00:00
terkhen
f363f64c51
(svn r20099) -Fix [FS#3882]: Give priority to ownership errors while removing roads.
2010-07-09 16:41:51 +00:00
michi_cc
811f0db597
(svn r20098) -Fix [FS#3898]: A train reversing in a station would sometimes fail to release its reserved path.
2010-07-09 14:14:17 +00:00
alberth
82fc340a0a
(svn r20097) -Codechange: Share constant bitset of safe level crossing slopes.
2010-07-09 12:14:02 +00:00
rubidium
72bfda4634
(svn r20090) -Fix: savegames would (very likely) end with 128 KiB worth of useless zeros
2010-07-08 18:45:52 +00:00
frosch
4ce5c6d93d
(svn r20089) -Fix [FS#3932]: Access of already freed memory, esp. due to hidden destructor call from Swap().
2010-07-08 18:38:38 +00:00
translators
02e4371ecb
(svn r20088) -Update from WebTranslator v3.0:
...
simplified_chinese - 29 changes by ww9980
irish - 18 changes by tem
2010-07-08 17:45:10 +00:00
rubidium
b7fe013793
(svn r20087) -Fix [FS#3876, FS#3887, FS#3920, FS#3923]: if after loading a savegame (including intro game) one tried to save a game (including autosave) and that failed (very) early on because it couldn't open the file for writing all pointers would be converted to NULLs which then causes corrupted game states
2010-07-08 11:50:42 +00:00
frosch
edcc7f3cbc
(svn r20086) -Add: Textstack support for CB 38.
2010-07-07 20:00:04 +00:00
translators
0bae69b12b
(svn r20085) -Update from WebTranslator v3.0:
...
irish - 9 changes by tem
korean - 5 changes by junho2813
lithuanian - 15 changes by BlinK_
ukrainian - 7 changes by Fixer
vietnamese - 2 changes by myquartz
2010-07-07 17:45:18 +00:00
glx
4796be85a5
(svn r20084) -Fix [FS#3919] (r7157): don't try to handle mouse events when the cursor ha left the window
2010-07-06 21:10:47 +00:00
translators
0ffbb12941
(svn r20083) -Update from WebTranslator v3.0:
...
swedish - 2 changes by tool
2010-07-06 17:45:06 +00:00
rubidium
5ca4098443
(svn r20082) -Fix [FS#3899]: reading deleted memory when selecting a NewGRF in the content download window of which the data has not been acquired from the content server. The crash would occur after the content server's reply was processed and the ContentInfo object was replaced with another.
2010-07-05 21:07:31 +00:00
translators
26404de5e6
(svn r20081) -Update from WebTranslator v3.0:
...
dutch - 2 changes by Nelis
english_US - 1 changes by Xanland
greek - 2 changes by fumantsu
hungarian - 2 changes by IPG
ukrainian - 73 changes by Fixer
2010-07-05 17:45:19 +00:00
translators
37f6453be3
(svn r20080) -Update from WebTranslator v3.0:
...
german - 2 changes by planetmaker
hungarian - 2 changes by alyr
irish - 14 changes by tem
brazilian_portuguese - 2 changes by Tucalipe
serbian - 1 changes by etran
slovenian - 2 changes by ntadej
tamil - 82 changes by vv
turkish - 2 changes by niw3
ukrainian - 7 changes by Fixer
2010-07-04 17:45:29 +00:00
frosch
a7d168b2e5
(svn r20079) -Codechange [FS#3922]: Add helper functions to deal with the 192-256-magic of vehicle movement.
2010-07-04 13:07:47 +00:00
yexo
902cefaa41
(svn r20077) -Codechange: remove the space between "open" and "ttd" in the title screen
2010-07-04 12:49:51 +00:00
yexo
17ef1a2336
(svn r20076) -Fix (r20073): hotkeys for the road toolbar were not stored in hotkeys.cfg
2010-07-04 12:06:33 +00:00
yexo
6997637208
(svn r20075) -Feature: customizable hotkeys for the main toolbar in the scenario editor
2010-07-04 11:48:04 +00:00
yexo
063909962a
(svn r20074) -Fix (r20065): highscore window should use the same hotkey for quit as the toolbar
2010-07-04 11:28:16 +00:00
yexo
19f86951d9
(svn r20073) -Feature: customizable hotkeys for the road toolbar
2010-07-04 10:57:31 +00:00
frosch
6c6d1e3792
(svn r20072) -Fix (r20065): NUM_MINUS was stored as NUM_PLUS in config file.
2010-07-04 09:35:06 +00:00
frosch
397d1186d7
(svn r20071) -Codechange: Consistently return the toolbar window for ShowBuildXxxToolbar().
2010-07-04 09:27:15 +00:00
yexo
26be68ae98
(svn r20070) -Feature: when none of the open windows handles a keypress, try all toolbars for global hotkeys
...
Users that have run a version between r20056 and r20068 should delete their hotkeys.cfg to reset the terraform toolbar hotkeys to default
2010-07-03 21:43:44 +00:00
frosch
9be9302cdb
(svn r20069) -Fix (r20055): Make valgrind happy.
2010-07-03 21:18:02 +00:00
yexo
9b66684b81
(svn r20068) -Feature: customizable hotkeys for the rail toolbar
2010-07-03 20:40:18 +00:00
yexo
4012f85eec
(svn r20067) -Add: special modifier (GLOBAL) to mark hotkeys as global hotkeys
2010-07-03 20:14:56 +00:00
frosch
4f51623d12
(svn r20066) -Fix: When rescanning NewGRFs resp. after content download also check whether compatible grfs are available now.
2010-07-03 20:02:14 +00:00
yexo
ddf11b7d3f
(svn r20065) -Feature: customizable hotkeys for the main toolbar
2010-07-03 19:35:54 +00:00
alberth
ed4fdd4a7b
(svn r20064) -Doc: Document water tile query and helper functions.
2010-07-03 18:43:52 +00:00
yexo
243075a096
(svn r20063) -Feature: customizable hotkeys for the dock toolbar
2010-07-03 18:18:58 +00:00
yexo
2e0acdbb07
(svn r20062) -Feature: customizable hotkeys for the airport toolbar
2010-07-03 18:10:18 +00:00
translators
cf3fb937ab
(svn r20061) -Update from WebTranslator v3.0:
...
croatian - 2 changes by VoyagerOne
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 2 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 50 changes by etran
2010-07-03 17:45:25 +00:00
frosch
30b4228723
(svn r20060) -Fix (r20055): strnicmp() does not exist on all platforms.
2010-07-03 15:15:19 +00:00
yexo
70a35a94b5
(svn r20059) -Feature: customizable hotkeys for the main window (the global hotkeys)
2010-07-03 13:42:27 +00:00
yexo
da57796d51
(svn r20058) -Feature: customizable hotkeys for the vehicle orders window
2010-07-03 13:29:19 +00:00
yexo
fda69b2be3
(svn r20057) -Feature: customizable hotkeys for the terraform toolbar in scenario editor
2010-07-03 13:29:01 +00:00
yexo
44a49ac849
(svn r20056) -Feature: customizable hotkeys for the terraform toolbar
2010-07-03 13:28:48 +00:00
yexo
258ca28819
(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg
2010-07-03 13:28:15 +00:00
yexo
d1044c036a
(svn r20054) -Add: framework to check for hotkeys
2010-07-03 13:27:32 +00:00
rubidium
eb19d4b440
(svn r20053) -Fix [FS#3919] (r20034): crashing road vehicles crashed OpenTTD with slower/longer trains
2010-07-02 19:54:29 +00:00
translators
6709714f97
(svn r20052) -Update from WebTranslator v3.0:
...
irish - 116 changes by tem
serbian - 2 changes by etran
spanish - 2 changes by Terkhen
2010-07-02 17:45:13 +00:00
yexo
ccb3dc9aee
(svn r20051) -Fix [FS#3916]: coloured_news_year was stored in savegames while it should be a client setting
2010-07-02 17:19:31 +00:00
michi_cc
34f32cbbf4
(svn r20049) -Feature: [NewGRF] Add a railtype flag to disallow level crossings per railtype.
2010-07-02 16:34:11 +00:00
michi_cc
a75583bbb6
(svn r20048) -Feature: Add a setting to forbid towns building level crossings.
2010-07-02 16:34:07 +00:00
michi_cc
ffdbb7ec81
(svn r20047) -Fix (rUnknown): Towns were not able to build level crossings when using original or better town layout.
2010-07-02 16:34:03 +00:00
alberth
4eb7b862a3
(svn r20046) -Feature [FS#3816]: Wrap console lines when they are too long.
2010-07-02 13:59:27 +00:00
alberth
ddb0f1a614
(svn r20045) -Add: Allow SA_BOTTOM alignment in DrawStringMultiLine().
2010-07-02 13:55:45 +00:00
alberth
e3bb01a7c4
(svn r20044) -Codechange: Using number of lines rather than number of added lines simplifies code.
2010-07-02 13:54:05 +00:00
alberth
22b9bc5157
(svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine().
2010-07-02 13:53:05 +00:00
alberth
3d329beb1b
(svn r20042) -Codechange: Add set methods to DrawStringParams.
2010-07-02 13:44:36 +00:00
smatz
d7a6ba4781
(svn r20041) -Fix [FS#3892](r19955): crash when spectator tried to open a vehicle list without selecting any company
2010-07-02 09:09:40 +00:00
rubidium
7062bb0bd7
(svn r20040) -Codechange: some coding style + using proper types
2010-06-30 22:17:53 +00:00
rubidium
939145c50b
(svn r20039) -Fix [FS#3907]: instead of loading the intro game when loading a savegame fails on the dedicated server, generate a new game.
...
Generating a new game is the least bad solution:
* loading the intro game: desyncs due to GM_MENU on the server and GM_NORMAL on the clients, NewGRFs not being loaded on the server but being loaded on the client;
* creating an empty map: OpenTTD will go crazy due to missing towns. Also clients can't properly join because of the missing towns;
* loading the last saved game: doesn't always exist and loading it might fail causing an infinite loop;
* stopping being a server: breaks the dedicated server horribly; if you loaded the game via rcon you can't connect with it anymore as you can't join the server;
* generating a new game: should always succeed, although people might think a scenario loaded fine because there are no companies and such.
2010-06-30 21:38:51 +00:00
rubidium
827a97a5ce
(svn r20038) -Change: move SafeSaveOrLoad a bit
2010-06-30 20:20:15 +00:00
translators
cd3bc08071
(svn r20037) -Update from WebTranslator v3.0:
...
serbian - 7 changes by etran
2010-06-30 17:45:07 +00:00
rubidium
b1d60d66cf
(svn r20036) -Fix [FS#3911]: tram tracks didn't show at level crossing with the new railtypes
2010-06-30 16:08:12 +00:00
rubidium
ed35d62e70
(svn r20035) -Fix [FS#3909]: under some circumstances you could get into an infinite loop
2010-06-29 21:15:40 +00:00
rubidium
b1400ab65e
(svn r20034) -Fix [FS#3896] (r14869): road vehicles could get crashed twice in a tick
...
In RoadVehicleController at tick N a road vehicle gets a j of slightly less
than adv_speed. In tick N+1 RoadVehCheckTrainCrash is called, then the road
vehicle gets a j of slightly more than adv_speed. This causes a second call
of RoadVehCheckTrainCrash. If in tick N the road vehicle moved onto a level
crossing and a (maglev) entered that tile at the same tick, in tick N+1 the
road vehicle would be crashed twice.
2010-06-29 20:48:34 +00:00
michi_cc
22357624ff
(svn r20030) -Fix: MSVC 2010 defines more POSIX error constants that we define as well.
2010-06-28 18:14:00 +00:00
rubidium
5297eb5722
(svn r20028) -Fix: trunk Windows binaries still had a 1.0.0.xxxxx version number
2010-06-28 13:51:33 +00:00
translators
419af07b6d
(svn r20027) -Update from WebTranslator v3.0:
...
irish - 61 changes by tem
brazilian_portuguese - 1 changes by Tucalipe
romanian - 12 changes by kkmic
2010-06-27 17:45:12 +00:00
alberth
829bd7d276
(svn r20026) -Codechange: No need to copy a formal parameter if the value is not needed further.
2010-06-27 13:33:14 +00:00
alberth
604e56adc2
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
2010-06-27 09:05:10 +00:00
michi_cc
b3a707ae4b
(svn r20024) -Codechange: Remove the need to link with dxguid.lib for windows.
2010-06-27 00:19:28 +00:00
translators
09eb0156fd
(svn r20023) -Update from WebTranslator v3.0:
...
chuvash - 12 changes by mefisteron
irish - 37 changes by Rubidium, tem
malay - 94 changes by Syed
2010-06-26 17:45:09 +00:00
alberth
212dbbf4d8
(svn r20022) -Doc: Add some doxygen comments.
2010-06-26 15:22:10 +00:00
alberth
ef17c6042f
(svn r20021) -Codechange: Move variable declarations.
2010-06-26 15:12:51 +00:00
alberth
5fb3e557d4
(svn r20020) -Codechange: _script_file is used in only one function.
2010-06-26 15:04:57 +00:00
alberth
87129fb9f5
(svn r20019) -Codechange: Apply function code style to a few small functions.
2010-06-26 14:51:27 +00:00
translators
647bbbe923
(svn r20018) -Update from WebTranslator v3.0:
...
irish - 52 changes by tem
2010-06-25 17:45:06 +00:00
translators
23301c9d8a
(svn r20017) -Update from WebTranslator v3.0:
...
chuvash - 37 changes by mefisteron
korean - 1 changes by junho2813
2010-06-24 17:45:08 +00:00
rubidium
6a2bc738cd
(svn r20016) -Change: move Irish out of unfinished
2010-06-23 17:47:10 +00:00
translators
c81354c8be
(svn r20015) -Update from WebTranslator v3.0:
...
chuvash - 17 changes by mefisteron
irish - 40 changes by tem
tamil - 6 changes by Rubidium
2010-06-23 17:45:08 +00:00
rubidium
18e567c168
(svn r20014) -Fix [FS#3881]: don't close the sort dropdown in the (original) vehicle list when there are no vehicles. That code is meant for the "actions" dropdown
2010-06-23 14:56:17 +00:00
rubidium
52154e097c
(svn r20013) -Fix [FS#3890]: silence some warnings / take the advice of the warnings into account
2010-06-23 14:38:17 +00:00
yexo
9683b87466
(svn r20012) -Fix: when joining a company with a password you could only enter 20 characters of the password
2010-06-23 00:11:11 +00:00
translators
977f72f872
(svn r20011) -Update from WebTranslator v3.0:
...
indonesian - 4 changes by adjayanto
swedish - 11 changes by tool
2010-06-22 17:45:09 +00:00
rubidium
67a30e1e86
(svn r20010) -Add: Chuvash language stub
2010-06-22 16:21:34 +00:00
rubidium
9582da99c0
(svn r20009) -Fix [FS#3893]: sign sorting was unstable
2010-06-22 08:01:38 +00:00
rubidium
e2445aca4a
(svn r20008) -Add: Tamil language stub
2010-06-21 19:33:39 +00:00
translators
abaa697c01
(svn r20007) -Update from WebTranslator v3.0:
...
irish - 19 changes by tem
korean - 1 changes by junho2813
portuguese - 12 changes by JayCity
2010-06-21 17:45:13 +00:00
frosch
be5e880f0b
(svn r20006) -Fix: Trains should also have running cost while slowing down for stop.
2010-06-21 17:36:46 +00:00
frosch
e931399b31
(svn r20005) -Codechange: Enumify force_proceed.
2010-06-21 17:35:27 +00:00
yexo
3c6fb88a09
(svn r20004) -Fix: [NewGRF] stringcodes 82, 83 and 84 weren't properly converted to openttd codes so they didn't work
2010-06-21 16:49:54 +00:00
yexo
9cfb61adf5
(svn r20003) -Feature [FS#3886]: [NewGRF] var 43 depot build date for railtypes
2010-06-20 19:13:02 +00:00
translators
f2d6bf6b58
(svn r20002) -Update from WebTranslator v3.0:
...
traditional_chinese - 13 changes by josesun
irish - 160 changes by tem
turkish - 12 changes by niw3
2010-06-20 17:45:12 +00:00
translators
ec7747918c
(svn r20001) -Update from WebTranslator v3.0:
...
greek - 1 changes by fumantsu
indonesian - 7 changes by prof
norwegian_bokmal - 11 changes by mantaray
norwegian_nynorsk - 11 changes by mantaray
2010-06-19 17:45:19 +00:00
rubidium
876eb5ee0b
(svn r19998) -Codechange: Unify the order of ship and plane icon in network-lobby with the rest of the game (frosch)
2010-06-19 16:42:02 +00:00
rubidium
3e35018f97
(svn r19997) -Codechange: Unify order of ship and plane icon in stationlist and stationsigns with the rest of the game (frosch)
2010-06-19 16:40:31 +00:00
rubidium
99a11badaf
(svn r19996) -Codechange: Add NetworkVehicleType enum.
2010-06-19 16:37:56 +00:00
translators
5623710593
(svn r19994) -Update from WebTranslator v3.0:
...
irish - 108 changes by tem
slovak - 17 changes by keso53
2010-06-18 17:45:10 +00:00
translators
398ac2ef95
(svn r19993) -Update from WebTranslator v3.0:
...
croatian - 6 changes by VoyagerOne
hebrew - 47 changes by dnd_man
brazilian_portuguese - 11 changes by Tucalipe
2010-06-17 17:45:12 +00:00
frosch
94efc4c3b9
(svn r19992) -Fix [FS#3878]: Clear force_proceed when entering depots and when loading.
...
-Fix (r18515): Resetting of force_proceed on manual stopping did not work.
2010-06-16 20:27:59 +00:00
translators
03c87faea1
(svn r19991) -Update from WebTranslator v3.0:
...
greek - 13 changes by fumantsu
hungarian - 1 changes by IPG
korean - 8 changes by junho2813
polish - 2 changes by xine
2010-06-16 17:45:17 +00:00
smatz
4cae19175e
(svn r19990) -Fix: owner of the Waypoint View window wasn't properly set
2010-06-15 22:48:50 +00:00
translators
eee3b46607
(svn r19989) -Update from WebTranslator v3.0:
...
czech - 3 changes by Hadez
irish - 79 changes by tem
russian - 2 changes by LazyBoy
2010-06-15 17:45:12 +00:00
translators
3bfc5e3cbe
(svn r19988) -Update from WebTranslator v3.0:
...
czech - 12 changes by Hadez
dutch - 12 changes by habell
finnish - 11 changes by jpx_
hungarian - 11 changes by alyr
irish - 44 changes by tem
italian - 11 changes by lorenzodv
luxembourgish - 14 changes by Phreeze
serbian - 11 changes by etran
slovenian - 11 changes by ntadej
vietnamese - 11 changes by nglekhoi
2010-06-14 17:45:34 +00:00
translators
ce7eb2e780
(svn r19987) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
croatian - 11 changes by VoyagerOne
french - 11 changes by glx
german - 11 changes by planetmaker
italian - 1 changes by lorenzodv
polish - 10 changes by silver_777
russian - 12 changes by Lone_Wolf
spanish - 11 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-06-13 17:45:30 +00:00
frosch
717d134947
(svn r19986) -Fix (r19841): One could add and remove Grfs from the list via doubleclicking even if editing the list is not allowed.
2010-06-13 14:58:14 +00:00
frosch
58f2a1d014
(svn r19985) -Fix (r19980): Loading preview data from old savegames failed indeterministically due to non-zeroed memory allocation. Thanks smatz.
2010-06-13 14:52:42 +00:00
frosch
ff89345a5c
(svn r19984) -Feature: Show some savegame details when selecting items in saveload GUIs.
2010-06-13 14:17:26 +00:00
frosch
c5424bec97
(svn r19983) -Add: Separate nested widget array for load heightmap GUI.
2010-06-13 14:17:02 +00:00
frosch
dc4ce3c5ae
(svn r19982) -Codechange: Shuffle some widget positions in saveload GUIs.
2010-06-13 14:16:27 +00:00
frosch
d9b4d92050
(svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK.
2010-06-13 14:15:58 +00:00
frosch
16618e6f16
(svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK.
2010-06-13 14:15:36 +00:00
frosch
e95518c8e9
(svn r19979) -Codechange: Separate static loadable fields from Company into separate struct.
2010-06-13 14:15:11 +00:00
frosch
0270ca846e
(svn r19978) -Add: Read settings during SL_LOAD_CHECK.
2010-06-13 14:14:37 +00:00
frosch
86244ad31e
(svn r19977) -Add: Read current date during SL_LOAD_CHECK.
2010-06-13 14:14:20 +00:00
frosch
2d8c2af5e9
(svn r19976) -Add: Read mapsize during SL_LOAD_CHECK.
2010-06-13 14:13:49 +00:00
frosch
8d9b573f8f
(svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames.
2010-06-13 14:13:23 +00:00
frosch
e8248cf113
(svn r19974) -Add: SlSkipArray() to skip arrays and sparse arrays in savegames.
2010-06-13 14:12:21 +00:00
frosch
62ac138154
(svn r19973) -Codechange: Add another procedure to chunk handlers for checking savegames (empty for now).
2010-06-13 14:11:59 +00:00
frosch
56fbbdeafd
(svn r19972) -Change: Use the md5sum from the previous save of the game for BaNaNaS instead of the initial (when the grf was added) md5sum from the gamelog. Neither method is 'better', but this way it is independent from the gamelog.
2010-06-13 14:11:32 +00:00
frosch
641fc68aa8
(svn r19971) -Codechange: Make IsGoodGRFConfigList() operate on any given GRFConfig and move the GameLog operations directly to AfterLoad().
2010-06-13 14:07:49 +00:00
frosch
67bec51f27
(svn r19970) -Fix (r14742): SmallMap::Insert() did not compile. Construct new items like operator[].
2010-06-13 09:41:48 +00:00
smatz
55a684efc1
(svn r19969) -Change: swap 'list of ships' and 'list of aircraft' buttons in the Station View window
2010-06-12 21:23:20 +00:00
smatz
c4e2a49225
(svn r19968) -Fix [FS#3876](r19955): the 'list of ships' button opened list of aircraft and vice versa
2010-06-12 21:21:44 +00:00
translators
6a6a30eeaf
(svn r19967) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
french - 1 changes by ElNounch
german - 1 changes by planetmaker
indonesian - 1 changes by prof
irish - 60 changes by tem
norwegian_bokmal - 1 changes by mantaray
norwegian_nynorsk - 59 changes by mantaray
brazilian_portuguese - 1 changes by Tucalipe
serbian - 2 changes by etran
slovenian - 1 changes by ntadej
spanish - 1 changes by Terkhen
swedish - 1 changes by tool
2010-06-12 17:45:43 +00:00
frosch
00a5189161
(svn r19966) -Codechange: Use InvalidateData() in saveload GUI when appropiate.
2010-06-12 14:52:42 +00:00
peter1138
4b4e97695f
(svn r19965) -Cleanup: Use size of buffer, not magic number.
2010-06-12 10:55:13 +00:00
terkhen
64e63b72e9
(svn r19964) -Add: Show an error message when trying to start a crashed or destroyed vehicle.
2010-06-11 20:33:33 +00:00
terkhen
3287f91893
(svn r19963) -Add: Stop a vehicle after it crashes or is destroyed.
2010-06-11 20:30:12 +00:00
terkhen
a345711a89
(svn r19962) -Cleanup: Remove unused "destroyed vehicle" strings.
2010-06-11 20:26:41 +00:00
terkhen
54403a8251
(svn r19961) -Codechange: Unify "vehicle is destroyed" errors.
2010-06-11 20:20:45 +00:00
translators
a3cd86ac80
(svn r19960) -Update from WebTranslator v3.0:
...
french - 45 changes by ElNounch
irish - 51 changes by tem
serbian - 2 changes by etran
2010-06-11 17:45:11 +00:00
alberth
f053a82594
(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.
2010-06-11 15:37:00 +00:00
smatz
e71fd4bb57
(svn r19958) -Codechange: move common code from Waypoint and Station destructors to BaseStation destructor
2010-06-11 00:20:24 +00:00
smatz
c4175b752a
(svn r19957) -Codechange: remove VLW_WAYPOINT_LIST
2010-06-11 00:18:28 +00:00
smatz
8bf4a7d1ae
(svn r19956) -Fix: close list of vehicles with given oil rig in orders when the oil rig is deleted
...
-Fix (r19952): close the list when it is not sticky
2010-06-10 23:52:09 +00:00