rubidium
d81cee085b
(svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable
2010-12-02 22:43:10 +00:00
yexo
3df30280d4
(svn r21370) -Fix: [NewGRF] a grf with an invalid action14 could cause an out of memory error
2010-12-02 19:21:13 +00:00
rubidium
6f549e54b5
(svn r21369) -Fix: don't add object specs that weren't associate with graphics
2010-12-02 18:51:44 +00:00
translators
654f475983
(svn r21368) -Update from WebTranslator v3.0:
...
german - 1 changes by planetmaker
norwegian_bokmal - 8 changes by mantaray
2010-12-02 18:45:10 +00:00
frosch
6d962a3e35
(svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be.
2010-12-01 21:35:18 +00:00
translators
2dcda5fa8f
(svn r21366) -Update from WebTranslator v3.0:
...
basque - 81 changes by Thadah
marathi - 4 changes by jcravi
vietnamese - 2 changes by nglekhoi
2010-12-01 18:45:09 +00:00
rubidium
fe9db12935
(svn r21364) -Change: increase the default amount of companies, clients and spectators. Furthermore tighten the command execution/queueing limits a bit
2010-11-30 20:06:40 +00:00
rubidium
fd752ca2b0
(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
2010-11-30 20:01:26 +00:00
translators
a0f0f5e2e1
(svn r21362) -Update from WebTranslator v3.0:
...
slovenian - 28 changes by ntadej
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-30 18:45:12 +00:00
rubidium
31c8ab0ed8
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
2010-11-30 14:18:20 +00:00
rubidium
21cf75951c
(svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when resolving the image to draw in the buy menu
2010-11-30 14:11:29 +00:00
rubidium
b6c2216749
(svn r21358) -Codechange: make some network function names conform to coding style
2010-11-30 13:38:46 +00:00
rubidium
9c83a8975f
(svn r21357) -Codechange: make it possible to resize the packet's buffer
2010-11-30 13:22:29 +00:00
planetmaker
c45d88ea6c
(svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu)
2010-11-30 00:15:38 +00:00
translators
283cf61e8c
(svn r21354) -Update from WebTranslator v3.0:
...
english_US - 1 changes by Rubidium
french - 1 changes by glx
italian - 1 changes by lorenzodv
2010-11-29 18:45:14 +00:00
frosch
f2c84e0120
(svn r21353) -Fix (r19056)[FS#4277]: New railtypes with overlays did not use the shore sprites as groundtiles for three-corner-raised slopes (at shore).
2010-11-29 17:26:47 +00:00
rubidium
c60a850fed
(svn r21350) -Fix: some indentation
2010-11-28 22:45:47 +00:00
yexo
dfe8b546ec
(svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons
2010-11-28 19:48:13 +00:00
yexo
d81d42bfc3
(svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result
2010-11-28 19:40:35 +00:00
yexo
35af463046
(svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments
2010-11-28 19:39:04 +00:00
translators
9b54d4266b
(svn r21345) -Update from WebTranslator v3.0:
...
turkish - 2 changes by niw3
vietnamese - 1 changes by nglekhoi
2010-11-28 18:45:10 +00:00
terkhen
75f86a7a21
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
2010-11-27 22:52:12 +00:00
terkhen
4b944cb13e
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
2010-11-27 22:47:29 +00:00
terkhen
ae78847f0f
(svn r21342) -Add: Sort some lists again after a language change.
2010-11-27 22:43:58 +00:00
terkhen
f2cc73bb51
(svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name.
2010-11-27 22:42:24 +00:00
terkhen
92d14f692b
(svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled.
2010-11-27 21:11:37 +00:00
rubidium
b46e57d364
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
2010-11-27 21:09:41 +00:00
translators
def0d71767
(svn r21337) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
hungarian - 18 changes by IPG
2010-11-27 18:45:14 +00:00
rubidium
ff015ac62c
(svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen)
2010-11-27 12:55:43 +00:00
rubidium
529da62f15
(svn r21335) -Change: be a bit more explicit that the game state can get broken by changing NewGRFs
2010-11-26 23:25:34 +00:00
rubidium
67f74559fc
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
2010-11-26 22:25:02 +00:00
smatz
c9a186c9ff
(svn r21333) -Fix: failure of WT3 to properly validate some string...
2010-11-26 18:53:09 +00:00
translators
00fb5ed92d
(svn r21332) -Update from WebTranslator v3.0:
...
catalan - 39 changes by arnau
czech - 15 changes by marek995
french - 5 changes by glx
italian - 17 changes by lorenzodv
polish - 2 changes by xaxa
portuguese - 84 changes by Samu
2010-11-26 18:45:22 +00:00
alberth
f5c6fd1a25
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
2010-11-26 15:22:18 +00:00
rubidium
61637f493a
(svn r21330) -Fix: two wrong ISO country codes
2010-11-26 11:03:40 +00:00
rubidium
c95b7a3965
(svn r21328) -Fix: pass the case id when resolving NewGRF strings as well
2010-11-25 23:14:48 +00:00
rubidium
fad75f5d5a
(svn r21327) -Fix: cases are always "off-by-one" w.r.t. to the case table as there is an implicit default case with index 0
2010-11-25 23:14:25 +00:00
rubidium
4e6d29351e
(svn r21326) -Fix: off-by-one in case choice list construction causing case lists to fail completely
2010-11-25 23:10:35 +00:00
rubidium
09e88969cf
(svn r21325) -Change: the order of Portuguese genders
2010-11-25 19:13:21 +00:00
rubidium
30cd1a5934
(svn r21324) -Fix: load of failures of WT3 to properly validate some strings...
2010-11-25 18:48:46 +00:00
translators
4ae1697118
(svn r21323) -Update from WebTranslator v3.0:
...
croatian - 19 changes by VoyagerOne
english_US - 212 changes by Rubidium
finnish - 19 changes by jpx_
french - 16 changes by glx
german - 15 changes by planetmaker
portuguese - 89 changes by JayCity, Samu
spanish - 19 changes by Terkhen
swedish - 1 changes by Zuu
vietnamese - 4 changes by nglekhoi
2010-11-25 18:45:31 +00:00
rubidium
374fc308de
(svn r21322) -Fix [FS#4268] (r20924): packets were leaked
2010-11-25 16:00:04 +00:00
glx
02d63f45e2
(svn r21321) -Fix (r21298): use the correct font sizes when checking for missing glyphs
2010-11-25 15:20:10 +00:00
rubidium
4e78e7b6c2
(svn r21320) -Fix (r21298): somehow a semicolon got lost
2010-11-25 14:55:01 +00:00
smatz
9594a3f7c5
(svn r21319) -Fix: crash when creating file download by the content download system failed
2010-11-25 13:43:09 +00:00
smatz
eb4516e50c
(svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed
2010-11-25 13:41:30 +00:00
rubidium
be1df5f720
(svn r21317) -Change: improve the wording of some of the settings strings
2010-11-24 23:30:42 +00:00
planetmaker
974cff7299
(svn r21316) -Fix: Some more strings where 'player' actually meant 'company'
2010-11-24 23:29:59 +00:00
rubidium
bfbb2bdc3f
(svn r21315) -Cleanup: remove a pair of unused strings
2010-11-24 23:17:52 +00:00
rubidium
31a5f8f043
(svn r21314) -Fix [FS#4253]: [NewGRF] (Hopefully) make callback 157 behave more like TTDPatch does, i.e. fall back to the default check when the callback is not yielding a result for a tile instead of disallowing building the object
2010-11-24 23:08:12 +00:00
planetmaker
753b1ca0a7
(svn r21313) -Fix: Max vehicle settings are per company, not per player
2010-11-24 22:54:16 +00:00
translators
c282e1a948
(svn r21312) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
dutch - 4 changes by Yexo
portuguese - 43 changes by Samu
2010-11-24 18:45:13 +00:00
rubidium
090d6fb8b7
(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
2010-11-24 17:00:37 +00:00
rubidium
3330dee7e0
(svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strndup
2010-11-24 08:08:23 +00:00
glx
4231154bb4
(svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function
2010-11-24 01:08:49 +00:00
rubidium
bb02e30a37
(svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync
2010-11-23 23:59:24 +00:00
glx
e0432a4585
(svn r21307) -Fix (r21306): forgot a #
2010-11-23 23:29:14 +00:00
glx
707d76df30
(svn r21306) -Add: genders for portuguese language
2010-11-23 23:27:55 +00:00
smatz
3302a520f4
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
2010-11-23 22:16:11 +00:00
rubidium
c5cbb61c11
(svn r21301) -Fix: failure of WT3 to properly validate some string...
2010-11-23 18:47:57 +00:00
translators
b0d8cbe865
(svn r21300) -Update from WebTranslator v3.0:
...
chuvash - 21 changes by mefisteron
polish - 3 changes by voythas
vietnamese - 1 changes by nglekhoi
2010-11-23 18:45:11 +00:00
rubidium
33e3d7f6a2
(svn r21299) -Fix (r21263): a road vehicle in a depot or wormhole could get into an incorrect state upon savegame conversion causing it to break up later in the game
2010-11-23 18:26:02 +00:00
glx
d9173858a2
(svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change
2010-11-23 17:59:50 +00:00
translators
2e338ba520
(svn r21296) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
croatian - 1 changes by VoyagerOne
dutch - 11 changes by habell
french - 7 changes by glx
irish - 7 changes by tem
korean - 4 changes by junho2813
romanian - 5 changes by tonny
slovak - 4 changes by marek995
2010-11-22 18:45:27 +00:00
rubidium
3cf9f175d8
(svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO)
2010-11-22 17:59:11 +00:00
rubidium
ac2f9b0d76
(svn r21293) -Fix: failure of WT3 to properly validate some string...
2010-11-21 18:47:09 +00:00
translators
e5002c3bcf
(svn r21292) -Update from WebTranslator v3.0:
...
croatian - 2 changes by VoyagerOne
esperanto - 7 changes by Christopher
hungarian - 3 changes by IPG
portuguese - 4 changes by JayCity
ukrainian - 10 changes by Fixer
vietnamese - 2 changes by nglekhoi
2010-11-21 18:45:22 +00:00
frosch
55d604e60d
(svn r21291) -Fix: Treat objects on water like water in more cases.
2010-11-21 18:39:12 +00:00
frosch
612516ff76
(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.
2010-11-21 18:38:45 +00:00
frosch
0fff26db97
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
2010-11-21 17:42:18 +00:00
frosch
d5360390d0
(svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas.
2010-11-21 17:05:23 +00:00
smatz
752aab7e11
(svn r21285) -Codechange: prevent ICC warning
2010-11-21 16:32:53 +00:00
alberth
3e27739287
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
2010-11-21 12:47:04 +00:00
alberth
5f8afaadb7
(svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional.
2010-11-21 12:38:16 +00:00
alberth
edef25d30c
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
2010-11-21 12:31:16 +00:00
alberth
2974141641
(svn r21281) -Doc: Add doxygen comments to saveload code.
2010-11-21 12:12:23 +00:00
rubidium
f70202bfa8
(svn r21280) -Merge: documentation updates from 1.0
2010-11-20 21:27:21 +00:00
rubidium
54c5bb7149
(svn r21277) -Fix: failure of WT3 to properly validate some string...
2010-11-20 18:47:36 +00:00
translators
228b7db671
(svn r21276) -Update from WebTranslator v3.0:
...
czech - 8 changes by marek995
finnish - 1 changes by jpx_
german - 2 changes by planetmaker
italian - 3 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 3 changes by etran
slovak - 1 changes by marek995
slovenian - 2 changes by ntadej
2010-11-20 18:45:28 +00:00
frosch
88063f6fa3
(svn r21275) -Fix (r21272): Draw NW+SW fences in the correct order.
2010-11-20 15:57:25 +00:00
frosch
636ffdc53b
(svn r21274) -Change: Increase the bounding box size of hangars in the hope it fixes more glitches than it causes.
2010-11-20 15:54:54 +00:00
alberth
ab50f74d7f
(svn r21273) -Codechange: Return values should start at the same line.
2010-11-20 15:44:24 +00:00
frosch
38dc34828e
(svn r21272) -Change [FS#119-ish]: Draw airport fences as groundsprites on runway/taxiway tiles. This makes the usual foundation-glitch a lot less likely to happen.
2010-11-20 14:45:52 +00:00
rubidium
3ca5951478
(svn r21271) -Change: use the last red instead of last red exit penalty for making sure other waypoint entries are evaluated as well when they are occupied, e.g. when there are no signals before the waypoint but a train just beyond the waypoint is stopped (like for stations)
2010-11-20 14:34:57 +00:00
alberth
3b0ee65571
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
2010-11-20 14:15:02 +00:00
frosch
5d72befbcd
(svn r21269) -Codechange: Add TILE_SEQ_CHILD macro to construct child sprites in default stations sprite layouts.
2010-11-20 14:05:16 +00:00
rubidium
3f1de4926e
(svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases
2010-11-20 13:57:49 +00:00
alberth
9d899b3758
(svn r21267) -Doc: Typo fixes.
2010-11-20 13:33:24 +00:00
rubidium
ffa437a6c1
(svn r21266) -Change: don't receive money for removing the rail of non-rail railstation tiles, i.e. rail station tiles for which the NewGRF has prevented trains to be routed
2010-11-20 12:52:06 +00:00
alberth
d6afbd025c
(svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available.
2010-11-20 12:20:59 +00:00
rubidium
097880c5e2
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
2010-11-20 09:09:57 +00:00
frosch
f80af8f8c8
(svn r21262) -Fix (r18708)[FS#4246]: Custom station foundations using the 'simple foundations'-method did not draw any sprite for WSE-slopes when there are foundations on both neighboured tiles in the north. As there must be at least one sprite to provide the correct offset for the groundsprite draw the (empty) default foundation sprite in that case.
2010-11-20 00:24:50 +00:00
rubidium
6fa54473be
(svn r21261) -Codechange: beat some sense into some variable names
2010-11-19 23:08:45 +00:00
rubidium
ede2fb8176
(svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings
2010-11-19 19:38:02 +00:00
rubidium
8ba6d25db6
(svn r21259) -Change: [NewGRF] Split var43 into var43 (animation stage) and var47 (object colour)
2010-11-19 19:25:35 +00:00
rubidium
0c6810eebe
(svn r21258) -Fix: remove strings with the U+FFFD "replacement character"
2010-11-19 18:47:09 +00:00
translators
8133032874
(svn r21257) -Update from WebTranslator v3.0:
...
arabic_egypt - 6 changes by kasakg
finnish - 2 changes by jpx_
french - 2 changes by glx
italian - 1 changes by lorenzodv
lithuanian - 63 changes by BlinK_
portuguese - 8 changes by JayCity
spanish - 4 changes by Terkhen
turkish - 5 changes by niw3
2010-11-19 18:45:27 +00:00
rubidium
874abb2965
(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost
2010-11-19 15:55:53 +00:00
rubidium
999246f63e
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
2010-11-19 13:24:32 +00:00
rubidium
6d09f4a3cb
(svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow
2010-11-19 12:33:19 +00:00
rubidium
611a9f2007
(svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version
2010-11-19 10:58:38 +00:00
rubidium
ab44c91778
(svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it
2010-11-19 10:35:59 +00:00
rubidium
924a924907
(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs
2010-11-18 23:31:06 +00:00
rubidium
40258d927f
(svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo)
2010-11-18 23:09:24 +00:00
rubidium
ed04bef953
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
2010-11-18 22:27:15 +00:00
rubidium
f7b2a87292
(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars
2010-11-18 22:26:29 +00:00
rubidium
c7f0518f16
(svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all
2010-11-18 22:24:10 +00:00
planetmaker
94c45d9cc3
(svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happy
2010-11-18 20:45:27 +00:00
rubidium
16c90ed48b
(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead
2010-11-18 19:24:40 +00:00
rubidium
60e153002c
(svn r21243) -Fix: load of failures of WT3 to properly validate some strings...
2010-11-18 18:50:17 +00:00
translators
72a6fc8aaf
(svn r21242) -Update from WebTranslator v3.0:
...
belarusian - 12 changes by KorneySan
croatian - 6 changes by VoyagerOne
czech - 1 changes by SmatZ
finnish - 7 changes by jpx_
german - 2 changes by planetmaker
hungarian - 12 changes by IPG
italian - 6 changes by lorenzodv
russian - 7 changes by KorneySan, Lone_Wolf
serbian - 14 changes by etran
slovenian - 83 changes by ntadej
spanish - 8 changes by Terkhen
swedish - 12 changes by Zuu
vietnamese - 5 changes by nglekhoi
2010-11-18 18:45:42 +00:00
terkhen
f31485a2f9
(svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages.
2010-11-18 17:49:42 +00:00
rubidium
2223ff92c7
(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo)
2010-11-18 14:32:09 +00:00
rubidium
46186134c8
(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
2010-11-18 14:20:03 +00:00
rubidium
61ff042460
(svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships (Hirundo)
2010-11-18 14:17:55 +00:00
rubidium
9af570eab4
(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo)
2010-11-18 14:15:27 +00:00
rubidium
34c658b203
(svn r21236) -Codechange: Make the visual effects drawing routine work for all vehicle types (Hirundo)
2010-11-18 14:11:50 +00:00
rubidium
b9407f7ca0
(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo)
2010-11-18 14:09:39 +00:00
rubidium
797435f05d
(svn r21234) -Codechange: Make Train::UpdateVisualEffect work for all vehicle types (Hirundo)
2010-11-18 14:07:48 +00:00
rubidium
f4689f4301
(svn r21233) -Codechange: Introduce an enum to remove some magic numbers from the visual effect code (Hirundo)
2010-11-18 14:04:36 +00:00
rubidium
79c47ef8b0
(svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo)
2010-11-18 14:03:12 +00:00
rubidium
5a503d505b
(svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo)
2010-11-18 14:01:20 +00:00
rubidium
31c0ba9d29
(svn r21230) -Fix/Change/Feature: [NewGRF] Make positioning of diesel fumes and electric sparks actually work (Hirundo).
2010-11-18 13:51:54 +00:00
rubidium
6878a0ffd7
(svn r21229) -Fix [FS#4130]: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases
2010-11-17 23:07:53 +00:00
rubidium
19cbf9b479
(svn r21228) -Fix: some MSVC 64 bits warnings
2010-11-17 19:43:15 +00:00
rubidium
4e16467f5b
(svn r21227) -Fix (r21222): conversion didn't go right when cases were involved
2010-11-17 19:41:58 +00:00
rubidium
864ab05cd0
(svn r21226) -Fix: load of failures of WT3 to properly validate some strings...
2010-11-17 18:50:08 +00:00
translators
7d8a886d92
(svn r21225) -Update from WebTranslator v3.0:
...
croatian - 7 changes by VoyagerOne
czech - 14 changes by SmatZ
dutch - 2 changes by habell
finnish - 8 changes by USephiroth
french - 6 changes by glx
german - 12 changes by planetmaker
italian - 11 changes by lorenzodv
macedonian - 116 changes by RCTMASTA
portuguese - 4 changes by JayCity
romanian - 9 changes by tonny
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 8 changes by Terkhen
vietnamese - 5 changes by nglekhoi
2010-11-17 18:45:46 +00:00
rubidium
7826b78415
(svn r21224) -Fix [FS#4172]: [NewGRF] The specs' cargo strings and OpenTTD's use of the clashed. Provide properties so NewGRFs can provide cargo strings tailored for OpenTTD while retaining (some) backward compatability
2010-11-17 18:35:59 +00:00
rubidium
602a0f10fa
(svn r21223) -Fix: use proper plural for the short cargo unit names
2010-11-17 18:16:21 +00:00
rubidium
418cca075f
(svn r21222) -Codechange: unify some string drawing and make it use the proper infrastructure for that...
2010-11-17 18:15:27 +00:00
rubidium
a950e9a4a8
(svn r21221) -Fix (r11429): short cargo units names for some cargo types/strings are not properly mapped to the strings that we use for the default industries
2010-11-17 18:04:11 +00:00
rubidium
3136775bbe
(svn r21220) -Codechange: give a string a much better name
2010-11-17 17:52:10 +00:00
yexo
8578ec7496
(svn r21218) -Fix (r21189)[FS#4236]: don't force a minimum speed when braking
2010-11-16 23:38:05 +00:00
frosch
33281491b1
(svn r21217) -Add: Plural codes to some english strings.
2010-11-16 21:11:34 +00:00
rubidium
18f0f1d81d
(svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for plurals
2010-11-16 21:03:39 +00:00
rubidium
ebf7b915b0
(svn r21215) -Codechange: store the plural form in the plural (choice) lists
2010-11-16 21:01:56 +00:00
terkhen
c96cb9ce37
(svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers.
2010-11-16 20:56:04 +00:00
translators
07ad8851cc
(svn r21212) -Update from WebTranslator v3.0:
...
dutch - 4 changes by habell
2010-11-16 18:45:06 +00:00
rubidium
ddf71db8c2
(svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders
2010-11-16 16:58:19 +00:00
rubidium
0f9c40244a
(svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring
2010-11-16 14:00:02 +00:00
rubidium
0500c92003
(svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names
2010-11-16 12:47:22 +00:00
rubidium
e84c52e662
(svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic
2010-11-16 12:35:16 +00:00
rubidium
b00858473c
(svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next colour code) is not implemented
2010-11-16 12:18:35 +00:00
terkhen
d7aa9a6bd1
(svn r21205) -Fix [FS#4207]: Under some conditions, group count would be wrong after moving train engines in the depot window.
2010-11-16 12:05:41 +00:00
rubidium
0f2a9877b8
(svn r21204) -Codechange: unify style of string code conversion
2010-11-16 11:50:26 +00:00
rubidium
4b4db5d86e
(svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well
2010-11-16 11:42:47 +00:00
rubidium
4965c7dd2b
(svn r21202) -Codechange: allow strings with embedded '\0' in GRFText.
2010-11-16 11:34:19 +00:00
rubidium
a15d309721
(svn r21201) -Document: some GRFText methods/fields
2010-11-16 11:25:19 +00:00
planetmaker
8d42b04e3b
(svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode
2010-11-15 19:53:15 +00:00
translators
be0a922be5
(svn r21199) -Update from WebTranslator v3.0:
...
belarusian - 4 changes by KorneySan
croatian - 4 changes by VoyagerOne
hungarian - 4 changes by IPG
norwegian_bokmal - 4 changes by mantaray
russian - 4 changes by Lone_Wolf
slovenian - 4 changes by ntadej
2010-11-15 18:45:23 +00:00
rubidium
a6a2fbd937
(svn r21198) -Fix: don't call variables properties in debug messages
2010-11-15 16:43:46 +00:00
planetmaker
b7d8001202
(svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters
2010-11-15 08:31:07 +00:00
rubidium
d572100585
(svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing
2010-11-14 21:39:12 +00:00
translators
6433ce5f6c
(svn r21193) -Update from WebTranslator v3.0:
...
french - 4 changes by glx
serbian - 4 changes by etran
2010-11-14 18:45:10 +00:00
frosch
478da38d2b
(svn r21192) -Fix (r15505)[FS#4226]: Use non-interactive randomness for townnames on map generation, so they are controlled by the generation-seed as well.
2010-11-14 16:16:28 +00:00
terkhen
1fe2ce42ca
(svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown.
2010-11-14 16:13:07 +00:00
terkhen
eda95bb85c
(svn r21189) -Fix: Force a minimum speed for trains when using the realistic acceleration model.
2010-11-14 15:48:24 +00:00
translators
41c97d051f
(svn r21185) -Update from WebTranslator v3.0:
...
traditional_chinese - 5 changes by josesun
finnish - 17 changes by USephiroth
german - 4 changes by planetmaker
luxembourgish - 5 changes by Phreeze
polish - 5 changes by xaxa
brazilian_portuguese - 2 changes by bmnds
russian - 5 changes by Lone_Wolf
slovak - 4 changes by marek995
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-11-14 13:00:56 +00:00
rubidium
673b3711b4
(svn r21182) -Fix: possible just-freed memory reads
2010-11-14 12:05:24 +00:00
rubidium
a9da53c106
(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable?
2010-11-13 23:40:36 +00:00
rubidium
fc75b00992
(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well
2010-11-13 19:15:26 +00:00
rubidium
034eb834cc
(svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage
2010-11-13 19:10:30 +00:00
translators
46cdc7b3d3
(svn r21176) -Update from WebTranslator v3.0:
...
portuguese - 1 changes by frosch
brazilian_portuguese - 9 changes by bmnds
swedish - 1 changes by Zuu
turkish - 33 changes by niw3
2010-11-13 18:45:17 +00:00
alberth
2c4564c7dd
(svn r21175) -Add: Forced construction of missing industries.
2010-11-13 15:21:55 +00:00
alberth
0c775e5750
(svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries.
2010-11-13 15:20:57 +00:00
alberth
a245db6360
(svn r21173) -Codechange: Don't recompute target industry counts each time.
2010-11-13 15:19:43 +00:00
alberth
eb4ab0091a
(svn r21172) -Feature: Better control over how many new industries are created during the game.
2010-11-13 15:17:55 +00:00
alberth
f22fb0d53d
(svn r21171) -Change: Reset industry build data at game start or load.
2010-11-13 15:15:25 +00:00
alberth
4d419b9f3e
(svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future).
2010-11-13 15:13:14 +00:00
alberth
67549a206c
(svn r21169) -Feature: Do not build industries during economic recession.
2010-11-13 15:08:47 +00:00
alberth
3211ab301e
(svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build.
2010-11-13 15:07:34 +00:00
alberth
e861487bcb
(svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable.
2010-11-13 15:04:58 +00:00
alberth
1bf94674df
(svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry().
2010-11-13 15:02:31 +00:00
rubidium
d46a2ef122
(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well
2010-11-13 14:36:43 +00:00
rubidium
8aba642ed5
(svn r21164) -Codechange: replace the hardcoded array of language metadata with a list
2010-11-13 12:09:30 +00:00
rubidium
68b94e61e0
(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers
2010-11-13 11:38:01 +00:00
rubidium
a664227c8e
(svn r21162) -Codechange: move the config "field" for the language file out of dynlang
2010-11-13 11:28:55 +00:00
rubidium
f4e4056aed
(svn r21161) -Codechange: make the currently used language easier accessible
2010-11-13 11:25:58 +00:00
rubidium
f195920695
(svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk
2010-11-13 11:11:02 +00:00
alberth
239fcc8ccd
(svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer.
2010-11-13 10:17:16 +00:00
alberth
6c088543c1
(svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards.
2010-11-13 10:11:47 +00:00
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
alberth
43f807a918
(svn r21156) -Codechange: Introduce EconomyIsInRecession().
2010-11-13 09:45:20 +00:00
rubidium
aea8274dba
(svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched
2010-11-12 21:40:43 +00:00
rubidium
9770d88412
(svn r21154) -Fix [FS#4223]: OPF has been removed for trains, so the 90 degree turn option doesn't need to mention it's not supported for OPF
2010-11-12 21:37:15 +00:00
rubidium
395335c197
(svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone.
2010-11-12 19:40:39 +00:00
translators
15dafc4dc2
(svn r21152) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
polish - 2 changes by silver_777
2010-11-12 18:45:10 +00:00
rubidium
0fc5206a5b
(svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string
2010-11-12 16:29:09 +00:00
rubidium
671158acd8
(svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4
2010-11-12 12:00:03 +00:00
terkhen
13685c0210
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
2010-11-11 22:19:27 +00:00
translators
f3574a273b
(svn r21147) -Update from WebTranslator v3.0:
...
basque - 49 changes by HerrBasque
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
2010-11-11 18:45:12 +00:00
rubidium
67d071d033
(svn r21145) -Fix: station list wasn't updated when a new cargo got a rating
2010-11-11 10:34:44 +00:00
rubidium
e745bd9815
(svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting
2010-11-11 10:34:01 +00:00
rubidium
6a1a4fc5bb
(svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting
2010-11-11 09:12:01 +00:00
rubidium
ed18d02e9a
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
2010-11-10 23:43:14 +00:00
rubidium
65e6c9fd12
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
2010-11-10 23:16:28 +00:00
rubidium
b50aeb9552
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
2010-11-10 23:15:48 +00:00
rubidium
f118744ff2
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
2010-11-10 23:14:48 +00:00
rubidium
8b8b4e083c
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
2010-11-10 23:13:37 +00:00
rubidium
72a6eeef26
(svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed
2010-11-10 22:56:05 +00:00
rubidium
d1dfb27699
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
2010-11-10 20:15:48 +00:00
smatz
b8cb654adc
(svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn
2010-11-10 19:54:20 +00:00
rubidium
1ddc05e822
(svn r21134) -Change: perform some more stringent validity checking on the language files
2010-11-10 17:49:44 +00:00
rubidium
17b514ccd1
(svn r21133) -Add: function to check the validity of a string (without modifying it)
2010-11-10 17:49:14 +00:00
rubidium
8cd48767f9
(svn r21132) -Codechange: unify the language file version/validity checking
2010-11-10 17:48:31 +00:00
rubidium
2df2c021df
(svn r21131) -Codechange: show a (debug) warning when the GRF ID of a NewGRF differs between the file scan and other stages
2010-11-10 17:04:32 +00:00
rubidium
016b9f289f
(svn r21130) -Fix [FS#4208-ish]: under some circumstances static (disabled/influencing) NewGRFs weren't properly ignored which could cause a desync
2010-11-10 17:03:01 +00:00
rubidium
bb19bdd566
(svn r21129) -Fix [FS#4208-ish]: Crash when showing the "disabled static NewGRF for desync purposes" message
2010-11-10 17:02:12 +00:00
rubidium
0f5c1e2eaf
(svn r21128) -Fix [FS#4208]: Crash when disabling static NewGRFs (when joining/starting a server)
2010-11-10 17:01:29 +00:00
rubidium
15defb219f
(svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name
2010-11-10 16:31:46 +00:00
rubidium
7c7a0cc3f7
(svn r21126) -Codechange: increase the limit of languages OpenTTD can know about to the limit imposed by the NewGRF specs as we're already quite close to the limit; less than 10% from the limit with the currently translated languages
2010-11-10 16:25:20 +00:00
rubidium
ab31493dc2
(svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game
2010-11-09 21:57:02 +00:00
translators
b3ab73164c
(svn r21124) -Update from WebTranslator v3.0:
...
dutch - 1 changes by habell
irish - 3 changes by tem
romanian - 1 changes by kkmic
slovenian - 2 changes by ntadej
2010-11-09 18:45:17 +00:00
terkhen
6a38925ca3
(svn r21123) -Codechange: Remove max_speed from the Vehicle class.
2010-11-09 17:43:05 +00:00
terkhen
e1ff8aeb09
(svn r21122) -Fix (r21100): Use the cached max speed when checking road vehicle overtaking.
2010-11-09 17:39:41 +00:00
terkhen
e08aa7e8e6
(svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles.
2010-11-09 17:36:40 +00:00
terkhen
c6ad6f52a9
(svn r21120) -Fix (r21096): Use the engine max speed value instead of the savegame value, as the latter could be stored in old units in old savegames.
2010-11-09 10:56:02 +00:00
frosch
b1765482d2
(svn r21119) -Fix: Helicopter flight altitude was determined inconsistently in different places.
2010-11-08 21:26:32 +00:00
frosch
c0ea0ac301
(svn r21118) -Codechange: Name and deduplicate some magic numbers.
2010-11-08 21:22:21 +00:00
translators
54c6e23f78
(svn r21117) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 1 changes by marek995
french - 1 changes by glx
korean - 1 changes by junho2813
spanish - 1 changes by Terkhen
2010-11-08 18:45:22 +00:00
planetmaker
5565ae1ac0
(svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs
2010-11-07 21:46:41 +00:00
rubidium
b9ccf6dccc
(svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported
2010-11-07 20:57:41 +00:00
translators
12f9212239
(svn r21114) -Update from WebTranslator v3.0:
...
basque - 11 changes by HerrBasque
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 4 changes by lorenzodv
malay - 14 changes by rionix88
norwegian_bokmal - 3 changes by mantaray
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-07 18:45:34 +00:00
rubidium
28ed77c354
(svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is
2010-11-07 18:35:59 +00:00
rubidium
a89fed21c7
(svn r21112) -Codechange: reduce the amount (of copying) variables
2010-11-07 18:20:18 +00:00
alberth
17695611cb
(svn r21111) -Add: Remove the buttons below the newgrf details if the list is not editable.
2010-11-07 13:56:13 +00:00
alberth
a026ee9b4c
(svn r21110) -Add: Tidy up the buttons of the active newgrfs list.
2010-11-07 13:54:49 +00:00
alberth
5962e1db3a
(svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable.
2010-11-07 13:54:04 +00:00
alberth
f961fe626b
(svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget.
2010-11-07 13:51:34 +00:00
michi_cc
b26b8b5b2a
(svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant.
2010-11-07 13:35:12 +00:00
michi_cc
2d801c64a1
(svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more.
2010-11-07 13:35:07 +00:00
planetmaker
1ee62de0a3
(svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort
2010-11-06 20:20:03 +00:00
planetmaker
2364ac83a0
(svn r21104) -Doc: Add doxygen commands to a few functions
2010-11-06 20:12:20 +00:00
planetmaker
eaae7ab8b1
(svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles
2010-11-06 20:11:36 +00:00
translators
59d32eff47
(svn r21102) -Update from WebTranslator v3.0:
...
malay - 39 changes by rionix88
2010-11-06 18:45:07 +00:00
planetmaker
c36da4841b
(svn r21101) -Doc: Additions and clarifications of doxygen comments
2010-11-06 16:55:15 +00:00
terkhen
b65df93121
(svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed).
2010-11-06 13:11:24 +00:00
terkhen
18e3a3ddfc
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
2010-11-06 13:05:11 +00:00
terkhen
25d1b2f54b
(svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time.
2010-11-06 13:03:17 +00:00
terkhen
c8a56f17f8
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
2010-11-06 12:53:31 +00:00
terkhen
78d0a1cb1a
(svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value.
2010-11-06 12:50:34 +00:00
terkhen
cfac2ced69
(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.
2010-11-06 12:47:12 +00:00
terkhen
609e6dae3f
(svn r21094) -Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed.
2010-11-06 12:45:40 +00:00
terkhen
5f72460cac
(svn r21093) -Codechange: Align some functions.
2010-11-06 12:42:04 +00:00
terkhen
766bf140db
(svn r21092) -Codechange: Merge max speed functions.
2010-11-06 12:40:38 +00:00
terkhen
d699c4a345
(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.
2010-11-06 12:39:18 +00:00
terkhen
8eb3d653da
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
2010-11-06 12:37:55 +00:00
translators
98744c5ff0
(svn r21089) -Update from WebTranslator v3.0:
...
luxembourgish - 5 changes by Phreeze
2010-11-05 18:45:07 +00:00
alberth
fa13971337
(svn r21088) -Doc: Additions/corrections of doxygen comments.
2010-11-05 16:34:22 +00:00