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