rubidium
268a57dedc
(svn r21452) -Codechange: read object property 17 (number of views)
14 years ago
rubidium
064ef533be
(svn r21451) -Fix (r21449): make sure the matrix's child widget's size is updated with the right widget index
14 years ago
translators
dbb9ccfa03
(svn r21450) -Update from WebTranslator v3.0:
...
romanian - 14 changes by kkmic
ukrainian - 6 changes by Fixer
14 years ago
rubidium
c5a369f1ba
(svn r21449) -Change: make the waypoint window make use the generic "matrix" widget
14 years ago
rubidium
89d392276f
(svn r21448) -Add: generic widget for creating a scrollable (one direction) and resizable (both directions) area with same sized widgets
14 years ago
rubidium
f9730d5666
(svn r21447) -Add: accessor function to get the direction of a scrollbar
14 years ago
yexo
c16ef277d9
(svn r21446) -Doc: doxygen comments for some functions in strings.cpp
14 years ago
yexo
8066998238
(svn r21445) -Fix: [NewGRF] fix gender choice lists in newgrf strings.
...
Change: strgen no longer writes the type of a string for a gender choice list
14 years ago
yexo
510f875265
(svn r21444) -Codechange: compute the type of elements in the argv string array on the fly and compare it with the type set by strgen
14 years ago
translators
c0d7c00dd8
(svn r21443) -Update from WebTranslator v3.0:
...
croatian - 6 changes by VoyagerOne
english_US - 8 changes by Rubidium
german - 9 changes by planetmaker
hungarian - 1 changes by IPG
serbian - 6 changes by etran
14 years ago
rubidium
8ab4804498
(svn r21442) -Fix [FS#4293] (r21412): don't use the current company for awarding subsidies; it's not quite valid there
14 years ago
yexo
f9c89d1ad9
(svn r21441) -Codechange: check all accesses to the argv array so a bad NewGRF can 'only' trigger an assert but no longer cause an invalid memory read
14 years ago
yexo
6c32eef05d
(svn r21440) -Codechange: pass a pointer to just past the end of the argv array around in FormatString and friends
14 years ago
translators
ca0cf460f3
(svn r21439) -Update from WebTranslator v3.0:
...
belarusian - 6 changes by KorneySan
dutch - 6 changes by habell
finnish - 6 changes by jpx_
french - 6 changes by glx
hungarian - 7 changes by IPG
italian - 6 changes by lorenzodv
polish - 6 changes by voythas
russian - 6 changes by Lone_Wolf
slovenian - 6 changes by ntadej
spanish - 6 changes by Terkhen
vietnamese - 6 changes by nglekhoi
14 years ago
rubidium
37e9e9e743
(svn r21438) -Fix (r21424): fix triggered an assertion when the build did support networking
14 years ago
rubidium
caf78cbf82
(svn r21437) -Fix: Object newgrf debug data table was outdated
14 years ago
yexo
70fe377930
(svn r21435) -Fix: NewGRF strings that referenced a value that was set by a string command later in the string failed
14 years ago
yexo
a2f8d89444
(svn r21433) -Fix: [NewGRF] a newgrf with incomplete string codes at the end of a string could cause invalid memory reads
14 years ago
rubidium
7ff19575f7
(svn r21432) -Cleanup: remove the now obsolete strings as well
14 years ago
rubidium
53809ca7e7
(svn r21431) -Cleanup: remove the build-while-paused cheat
14 years ago
rubidium
97623b6fc1
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
14 years ago
rubidium
b469b1dc51
(svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands
14 years ago
rubidium
434abd6dea
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
14 years ago
rubidium
78054d7ad5
(svn r21427) -Add: helper function to determine whether a command may be executed
14 years ago
rubidium
7bed9deb4f
(svn r21426) -Change: introduce a setting for the types of commands that are allowed to be executed while paused
14 years ago
rubidium
8f3607bbc7
(svn r21425) -Codechange: add "command types" to all commands
14 years ago
rubidium
8f31aec7db
(svn r21424) -Fix: CMD_CLEAR_ORDER_BACKUP might not get executed when the user pressed the shift key
14 years ago
rubidium
8ad1726679
(svn r21423) -Codechange: replace some magic numbers by slightly less magic numbers
14 years ago
translators
c03d90fc39
(svn r21422) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
estonian - 6 changes by Jaanus
italian - 1 changes by lorenzodv
brazilian_portuguese - 41 changes by Tucalipe
russian - 3 changes by KorneySan, Lone_Wolf
thai - 18 changes by kenny
14 years ago
translators
916dc98c65
(svn r21421) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
catalan - 3 changes by arnau
croatian - 1 changes by VoyagerOne
dutch - 21 changes by habell
french - 1 changes by glx
irish - 2 changes by tem
korean - 1 changes by junho2813
polish - 2 changes by voythas
romanian - 7 changes by kneekoo
russian - 2 changes by KorneySan
serbian - 25 changes by etran
slovenian - 3 changes by ntadej
ukrainian - 2 changes by Fixer
vietnamese - 2 changes by myquartz, nglekhoi
14 years ago
rubidium
b28c192292
(svn r21420) -Fix: admins were always given the stats of company 0
14 years ago
rubidium
72f86f4660
(svn r21418) -Fix: core.h needs config.h
14 years ago
rubidium
cd7b7ca9d8
(svn r21417) -Fix: ofcourse MSVC x64 has something to complain about
14 years ago
rubidium
e4c8f79f94
(svn r21416) -Codechange: limit vehicle name by amount of characters, not bytes
14 years ago
rubidium
7267a4de2c
(svn r21415) -Codechange: limit station/waypoint name by amount of characters, not bytes
14 years ago
rubidium
eafc316342
(svn r21414) -Codechange: limit town name by amount of characters, not bytes
14 years ago
rubidium
6e39c4afa1
(svn r21413) -Codechange: limit sign name by amount of characters, not bytes
14 years ago
rubidium
dd618051a7
(svn r21412) -Codechange: limit company name by amount of characters, not bytes
14 years ago
rubidium
48101ae6a7
(svn r21411) -Codechange: limit group name by amount of characters, not bytes
14 years ago
rubidium
4d6cd55877
(svn r21410) -Codechange: limit engine name by amount of characters, not bytes
14 years ago
rubidium
116a1201dd
(svn r21409) -Codechange: limit depot name by amount of characters, not bytes
14 years ago
rubidium
83535a52ea
(svn r21408) -Codechange: limit president name by amount of characters, not bytes
14 years ago
rubidium
5c2674ec77
(svn r21407) -Codechange: prepare the text buffer code for limiting on number of characters besides the number of bytes
14 years ago
rubidium
28da832781
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
14 years ago
rubidium
95934b9f49
(svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed
14 years ago
rubidium
4f51c9d3cd
(svn r21404) -Add: method for getting the length of an Utf8 string in characters
14 years ago
rubidium
f9edc64bb2
(svn r21403) -Change: the maximum size of the string argument of a command
14 years ago
translators
735a2a2363
(svn r21402) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
czech - 2 changes by SmatZ
finnish - 2 changes by jpx_
french - 2 changes by glx
hungarian - 1 changes by IPG
italian - 1 changes by lorenzodv
romanian - 12 changes by kneekoo
spanish - 2 changes by Terkhen
vietnamese - 1 changes by nglekhoi
14 years ago
rubidium
12efdff6c6
(svn r21401) -Fix: ofcourse MSVC x64 has something to complain about...
14 years ago
rubidium
dd4f02aa6f
(svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit
14 years ago
rubidium
9b53982428
(svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds.
14 years ago
rubidium
f929107665
(svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately
14 years ago
rubidium
3f851a4b8b
(svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file
14 years ago
rubidium
c780091c26
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
14 years ago
rubidium
2a577707e7
(svn r21395) -Codechange: move the save and load filter's interface to a header
14 years ago
rubidium
b5771255a6
(svn r21394) -Codechange: split the actual savegame loading from SaveOrLoad as well
14 years ago
rubidium
924aba8e67
(svn r21393) -Codechange: support resetting of the "base" filters, i.e. reset their read location to be begin of the file. This is needed for trying to load savegames as a "buggy format"
14 years ago
rubidium
5a40992e84
(svn r21392) -Change: prepare the network protocol for getting the file size later in the download process
14 years ago
rubidium
8335023dec
(svn r21391) -Update (r21390): the string names in the translations
14 years ago
rubidium
ee087fb581
(svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client
14 years ago
terkhen
3524d55c6a
(svn r21389) -Feature: Use alphabetical order when sorting industries by type at the industry directory window.
14 years ago
alberth
6e2885c191
(svn r21388) -Feature [FS#4289]: Allow entering of the new year in a text box when cheating the year.
14 years ago
alberth
2e2370338c
(svn r21387) -Codechange: Add an enum for cheat numbers.
14 years ago
alberth
c2e26b4c8c
(svn r21386) -Codechange: Use updated value to decide year to cheat to, instead of increment/decrement.
14 years ago
alberth
b634f7cad4
(svn r21385) -Codechange: Added a missing 'this' prefix, and some documentation to cheat gui code.
14 years ago
rubidium
d37efb6534
(svn r21384) -Fix: failure of WT3 to properly validate some string...
14 years ago
translators
4d99b01906
(svn r21383) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by KorneySan
czech - 1 changes by marek995
german - 1 changes by norbert79
russian - 6 changes by KorneySan
slovak - 1 changes by marek995
spanish - 2 changes by Terkhen
14 years ago
rubidium
cd053de1f5
(svn r21382) -Fix (r21153) [FS#4290]: the road vehicle's frame wasn't properly set upon savegame conversion *if* the vehicle would be hidden, but isn't going to be hidden anymore after the conversion
14 years ago
rubidium
ae8ce70bbd
(svn r21381) -Fix (r21377,r21375): some compilers have to spoil the fun...
14 years ago
rubidium
df2880e68c
(svn r21380) -Codechange: move ThreadedSave variables to a more logical place, and move an include to the right place
14 years ago
rubidium
2770e24e5c
(svn r21379) -Codechange: move the actual save code into a separate function
14 years ago
rubidium
1fb2849566
(svn r21378) -Codechange: move the logic for reading bytes from a savegame into a class
14 years ago
rubidium
e589dca253
(svn r21377) -Codechange: rewrite the savegame decompressors to behave more like filters
14 years ago
rubidium
07ee6b9ccf
(svn r21376) -Codechange: generalise ClearMemoryDumper
14 years ago
rubidium
cc8d1198d5
(svn r21375) -Codechange: rewrite the savegame compressors to behave more like filters
14 years ago
planetmaker
0f0be0d866
(svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines'
14 years ago
rubidium
1f409aa285
(svn r21373) -Codechange: rewrite the game state to memory dumper
14 years ago
yexo
aa744c5308
(svn r21372) -Cleanup: remove some broken npf debug code
14 years ago
rubidium
944a544fe3
(svn r21371) -Codechange: pass the buffer to the compressor directly instead of using a global variable
14 years ago
yexo
c2cb4d61b8
(svn r21370) -Fix: [NewGRF] a grf with an invalid action14 could cause an out of memory error
14 years ago
rubidium
5df5b0b18f
(svn r21369) -Fix: don't add object specs that weren't associate with graphics
14 years ago
translators
2498537a87
(svn r21368) -Update from WebTranslator v3.0:
...
german - 1 changes by planetmaker
norwegian_bokmal - 8 changes by mantaray
14 years ago
frosch
9ecaa47953
(svn r21367) -Fix (r18719)[FS#4283]: Fields were not cleared under snow though they were intended to be.
14 years ago
translators
487b8fc372
(svn r21366) -Update from WebTranslator v3.0:
...
basque - 81 changes by Thadah
marathi - 4 changes by jcravi
vietnamese - 2 changes by nglekhoi
14 years ago
rubidium
d1862377ae
(svn r21364) -Change: increase the default amount of companies, clients and spectators. Furthermore tighten the command execution/queueing limits a bit
14 years ago
rubidium
71abb66b46
(svn r21363) -Add: support for limiting the amount of (accepted) incoming data
14 years ago
translators
551425e289
(svn r21362) -Update from WebTranslator v3.0:
...
slovenian - 28 changes by ntadej
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
14 years ago
rubidium
4c76d8eaf6
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
14 years ago
rubidium
dafbfe0345
(svn r21360) -Fix [FS#4281]: crash when randomised action2 was used when resolving the image to draw in the buy menu
14 years ago
rubidium
c7066d00af
(svn r21358) -Codechange: make some network function names conform to coding style
14 years ago
rubidium
9f9141c3c1
(svn r21357) -Codechange: make it possible to resize the packet's buffer
14 years ago
planetmaker
5ea8947a0c
(svn r21355) -Feature-ish [FS#4280]: Happy Zuu and a hotkey for the AI debug window for all (Zuu)
14 years ago
translators
4249855e4b
(svn r21354) -Update from WebTranslator v3.0:
...
english_US - 1 changes by Rubidium
french - 1 changes by glx
italian - 1 changes by lorenzodv
14 years ago
frosch
a97c13253c
(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).
14 years ago
rubidium
b2c1f12b44
(svn r21350) -Fix: some indentation
14 years ago
yexo
68f61fbdb0
(svn r21348) -Fix (r21346): some compilers complain about int-uint comparisons
14 years ago
yexo
f464afa522
(svn r21347) -Cleanup: remove an unused feature from strgen and remove some ifs where we already know the result
14 years ago
yexo
a90f8114dd
(svn r21346) -Fix (r2592): buffer overflow in strgen for strings with very large arguments
14 years ago
translators
0714d67212
(svn r21345) -Update from WebTranslator v3.0:
...
turkish - 2 changes by niw3
vietnamese - 1 changes by nglekhoi
14 years ago
terkhen
64c200a25e
(svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU.
14 years ago
terkhen
5139fa9a23
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
14 years ago
terkhen
a2280fca68
(svn r21342) -Add: Sort some lists again after a language change.
14 years ago
terkhen
6352166908
(svn r21341) -Add: Use the complete industry name instead of only the town when sorting industries by name.
14 years ago
terkhen
85434d3c5b
(svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled.
14 years ago
rubidium
aeae689dc4
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
14 years ago
translators
814e780527
(svn r21337) -Update from WebTranslator v3.0:
...
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
hungarian - 18 changes by IPG
14 years ago
rubidium
0765e4c9ab
(svn r21336) -Fix (r21030) [FS#4274]: compile failure when desync debugging is enabled (fonsinchen)
14 years ago
rubidium
db6ccc721a
(svn r21335) -Change: be a bit more explicit that the game state can get broken by changing NewGRFs
14 years ago
rubidium
2a465f152b
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
14 years ago
smatz
565259647a
(svn r21333) -Fix: failure of WT3 to properly validate some string...
14 years ago
translators
78fb226806
(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
14 years ago
alberth
0722492c1b
(svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint().
14 years ago
rubidium
28eae51f93
(svn r21330) -Fix: two wrong ISO country codes
14 years ago
rubidium
94646d3a08
(svn r21328) -Fix: pass the case id when resolving NewGRF strings as well
14 years ago
rubidium
0e59d09ada
(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
14 years ago
rubidium
6e425d3e72
(svn r21326) -Fix: off-by-one in case choice list construction causing case lists to fail completely
14 years ago
rubidium
45214547a6
(svn r21325) -Change: the order of Portuguese genders
14 years ago
rubidium
51b2459f24
(svn r21324) -Fix: load of failures of WT3 to properly validate some strings...
14 years ago
translators
581f047405
(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
14 years ago
rubidium
916048f5e8
(svn r21322) -Fix [FS#4268] (r20924): packets were leaked
14 years ago
glx
e2ab0c5355
(svn r21321) -Fix (r21298): use the correct font sizes when checking for missing glyphs
14 years ago
rubidium
36a7e75c44
(svn r21320) -Fix (r21298): somehow a semicolon got lost
14 years ago
smatz
a6be993967
(svn r21319) -Fix: crash when creating file download by the content download system failed
14 years ago
smatz
8f250f7a2d
(svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed
14 years ago
rubidium
bf99fd7703
(svn r21317) -Change: improve the wording of some of the settings strings
14 years ago
planetmaker
4fe49fd71d
(svn r21316) -Fix: Some more strings where 'player' actually meant 'company'
14 years ago
rubidium
b08a25dc7d
(svn r21315) -Cleanup: remove a pair of unused strings
14 years ago
rubidium
83db490771
(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
14 years ago
planetmaker
9b91f02b90
(svn r21313) -Fix: Max vehicle settings are per company, not per player
14 years ago
translators
0991b28e50
(svn r21312) -Update from WebTranslator v3.0:
...
traditional_chinese - 1 changes by josesun
dutch - 4 changes by Yexo
portuguese - 43 changes by Samu
14 years ago
rubidium
890eec6132
(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
14 years ago
rubidium
6d50e7a760
(svn r21310) -Fix [FS#4259]: apparantly even earlier FreeBSDs had strndup
14 years ago
glx
5ea9b7c6ec
(svn r21309) -Fix: second parameter of SetupSubsidyDecodeParam() is a bool, so use a bool when calling the function
14 years ago
rubidium
e1aeb90ca5
(svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync
14 years ago
glx
b4cdcaa70e
(svn r21307) -Fix (r21306): forgot a #
14 years ago
glx
945ec94f23
(svn r21306) -Add: genders for portuguese language
14 years ago
smatz
8c98915955
(svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning
14 years ago
rubidium
3b1b593977
(svn r21301) -Fix: failure of WT3 to properly validate some string...
14 years ago
translators
ed9c95d705
(svn r21300) -Update from WebTranslator v3.0:
...
chuvash - 21 changes by mefisteron
polish - 3 changes by voythas
vietnamese - 1 changes by nglekhoi
14 years ago
rubidium
805e768e3a
(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
14 years ago
glx
9904cb7372
(svn r21298) -Fix [FS#4261]: fonts set in openttd.cfg were not properly checked for missing glyphs on language change
14 years ago
translators
4a99e15dce
(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
14 years ago
rubidium
9701e38412
(svn r21295) -Fix [FS#4259]: FreeBSD introduced strndup as well (MicRO)
14 years ago
rubidium
327a7ca429
(svn r21293) -Fix: failure of WT3 to properly validate some string...
14 years ago
translators
24bfbc1cf1
(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
14 years ago
frosch
0ebd5af86f
(svn r21291) -Fix: Treat objects on water like water in more cases.
14 years ago
frosch
5a355daa5b
(svn r21290) -Codechange: Add HasTileWaterGround() to deduplicate some tests.
14 years ago
frosch
dadf68fe1d
(svn r21289) -Fix [FS#4133]: Make terraforming and tunnel-excavation handle DC_AUTO-clearable multitile objects.
14 years ago
frosch
061021cbc5
(svn r21288) -Codechange: Add helper function to find entries in _cleared_object_areas.
14 years ago
smatz
beb66c05ac
(svn r21285) -Codechange: prevent ICC warning
14 years ago
alberth
16f678a990
(svn r21284) -Codechange: Rename CheckSavegameVersion() to IsSavegameVersionBefore().
14 years ago
alberth
8b104cbdfd
(svn r21283) -Codechange: Allow minor argument IsSavegameVersionBefore() to be optional.
14 years ago
alberth
160b6834e9
(svn r21282) -Codechange: Rename CheckSavegameVersionOldStyle() to IsSavegameVersionBefore().
14 years ago
alberth
41041dda9a
(svn r21281) -Doc: Add doxygen comments to saveload code.
14 years ago
rubidium
0b8697bad4
(svn r21280) -Merge: documentation updates from 1.0
14 years ago
rubidium
c6f4533697
(svn r21277) -Fix: failure of WT3 to properly validate some string...
14 years ago
translators
a88f3ecd9d
(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
14 years ago
frosch
aabbcf0f9e
(svn r21275) -Fix (r21272): Draw NW+SW fences in the correct order.
14 years ago
frosch
8c0e994f06
(svn r21274) -Change: Increase the bounding box size of hangars in the hope it fixes more glitches than it causes.
14 years ago
alberth
9f3845227e
(svn r21273) -Codechange: Return values should start at the same line.
14 years ago
frosch
0a16cbccc8
(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.
14 years ago
rubidium
5a0865b294
(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)
14 years ago
alberth
de9c678901
(svn r21270) -Doc: Doxyment updates and additions. Removal of doxyment in code.
14 years ago
frosch
6e378bf9bc
(svn r21269) -Codechange: Add TILE_SEQ_CHILD macro to construct child sprites in default stations sprite layouts.
14 years ago
rubidium
bd7f331da4
(svn r21268) -Fix (r21266): crash (or rather a triggered assertion) in some cases
14 years ago
alberth
9ef150d7ea
(svn r21267) -Doc: Typo fixes.
14 years ago
rubidium
63d091a43b
(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
14 years ago
alberth
73364915f1
(svn r21265) -Fix [FS#4245]: Don't setup target industry type counts if there are no industry types available.
14 years ago
rubidium
d24dbdac7b
(svn r21263) -Fix [FS#3935]: under some circumstances two vehicles could leave a non-drive through road stop at once
14 years ago
frosch
eb1bf15fc4
(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.
14 years ago
rubidium
3393a79c57
(svn r21261) -Codechange: beat some sense into some variable names
14 years ago
rubidium
e889a93129
(svn r21260) -Codechange: make strgen more stringent w.r.t. the allowed characters in strings
14 years ago
rubidium
208877fb5e
(svn r21259) -Change: [NewGRF] Split var43 into var43 (animation stage) and var47 (object colour)
14 years ago
rubidium
9ca03ba1e6
(svn r21258) -Fix: remove strings with the U+FFFD "replacement character"
14 years ago
translators
870d24ea92
(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
14 years ago
rubidium
e638c7e3b6
(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost
14 years ago
rubidium
663e5f9a26
(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
14 years ago
rubidium
d7eafddc18
(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
14 years ago
rubidium
9ed0c28c11
(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
14 years ago
rubidium
4c9d47ae60
(svn r21252) -Codechange: introduce a constant for the number of milliseconds per game tick and use it
14 years ago
rubidium
846721b375
(svn r21250) -Fix [FS#3952]: Rescanning AIs didn't "forget" removed AIs
14 years ago
rubidium
6dc948c667
(svn r21249) -Fix (r21240, r21236) [FS#4242]: rear ends of dualheaded engines didn't smoke nor spark (Hirundo)
14 years ago
rubidium
59b6c9a85e
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
rubidium
9ba8361f77
(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars
14 years ago
rubidium
cc5fd40a74
(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
14 years ago
planetmaker
1baf6fbae8
(svn r21245) -Fix (r21200): [OSX] Make gcc 4.2 happy
14 years ago
rubidium
bf6b6b8bc9
(svn r21244) -Fix [FS#4240] (r21179): the news message always stayed in the middle; let it follow the setting of the statusbar instead
14 years ago
rubidium
876f1840b4
(svn r21243) -Fix: load of failures of WT3 to properly validate some strings...
14 years ago
translators
d9f2f24a5e
(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
14 years ago
terkhen
88fe4eaf79
(svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages.
14 years ago
rubidium
3969e4f951
(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo)
14 years ago
rubidium
a56627cc77
(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)
14 years ago
rubidium
1c7940255a
(svn r21238) -Feature: [NewGRF] Support callback 0x10 for RVs and ships (Hirundo)
14 years ago
rubidium
8ed1333952
(svn r21237) -Codechange: Move HandleLocomotiveSmokeCloud to Vehicle::ShowVisualEffect (Hirundo)
14 years ago
rubidium
3dac24bed0
(svn r21236) -Codechange: Make the visual effects drawing routine work for all vehicle types (Hirundo)
14 years ago
rubidium
5f4754f2db
(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo)
14 years ago
rubidium
9e578590f9
(svn r21234) -Codechange: Make Train::UpdateVisualEffect work for all vehicle types (Hirundo)
14 years ago
rubidium
7a432a768b
(svn r21233) -Codechange: Introduce an enum to remove some magic numbers from the visual effect code (Hirundo)
14 years ago
rubidium
f1848b8614
(svn r21232) -Codechange: Move cached_vis_effect from the TrainCache to the VehicleCache (Hirundo)
14 years ago
rubidium
034d106179
(svn r21231) -Codechange: Generalize the naming of some settings and variables related to visual effects (Hirundo)
14 years ago
rubidium
b518a614fb
(svn r21230) -Fix/Change/Feature: [NewGRF] Make positioning of diesel fumes and electric sparks actually work (Hirundo).
14 years ago
rubidium
3aafe20b58
(svn r21229) -Fix [FS#4130]: [YAPF] Road vehicles not finding the nearest depot in some (corner) cases
14 years ago
rubidium
4958bf44d9
(svn r21228) -Fix: some MSVC 64 bits warnings
14 years ago
rubidium
afc4946b35
(svn r21227) -Fix (r21222): conversion didn't go right when cases were involved
14 years ago
rubidium
09816300e5
(svn r21226) -Fix: load of failures of WT3 to properly validate some strings...
14 years ago
translators
da7c1be08a
(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
14 years ago
rubidium
87ead2daa3
(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
14 years ago
rubidium
8fdbd17800
(svn r21223) -Fix: use proper plural for the short cargo unit names
14 years ago
rubidium
39dd38a31f
(svn r21222) -Codechange: unify some string drawing and make it use the proper infrastructure for that...
14 years ago
rubidium
85791c4783
(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
14 years ago
rubidium
5db8964fbf
(svn r21220) -Codechange: give a string a much better name
14 years ago
yexo
04977d9a07
(svn r21218) -Fix (r21189)[FS#4236]: don't force a minimum speed when braking
14 years ago
frosch
fc4a9f5e2c
(svn r21217) -Add: Plural codes to some english strings.
14 years ago
rubidium
3552be9616
(svn r21216) -Feature: [NewGRF] Allow specifying a "choice list" for plurals
14 years ago
rubidium
5e2c20250a
(svn r21215) -Codechange: store the plural form in the plural (choice) lists
14 years ago
terkhen
b4c22e854f
(svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers.
14 years ago
translators
d2e7e6ba3b
(svn r21212) -Update from WebTranslator v3.0:
...
dutch - 4 changes by habell
14 years ago
rubidium
6b0ee92bc9
(svn r21211) -Feature: [NewGRF] Allow specifying a "choice list" for cases and genders
14 years ago
rubidium
17dd6099d9
(svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring
14 years ago
rubidium
d16c4c77c6
(svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names
14 years ago
rubidium
3c09b725d6
(svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic
14 years ago
rubidium
e090d8acad
(svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next colour code) is not implemented
14 years ago
terkhen
5ff9bef01f
(svn r21205) -Fix [FS#4207]: Under some conditions, group count would be wrong after moving train engines in the depot window.
14 years ago
rubidium
f79d7f4c93
(svn r21204) -Codechange: unify style of string code conversion
14 years ago
rubidium
0b142b2709
(svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well
14 years ago
rubidium
fca95882cb
(svn r21202) -Codechange: allow strings with embedded '\0' in GRFText.
14 years ago
rubidium
83d1edc2a7
(svn r21201) -Document: some GRFText methods/fields
14 years ago
planetmaker
e52ee78d94
(svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode
14 years ago
translators
fcd7a51bc2
(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
14 years ago
rubidium
878a06dd9a
(svn r21198) -Fix: don't call variables properties in debug messages
14 years ago
planetmaker
d9647c0e3b
(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
14 years ago
rubidium
bc247f1e41
(svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing
14 years ago
translators
b94c7ee1c0
(svn r21193) -Update from WebTranslator v3.0:
...
french - 4 changes by glx
serbian - 4 changes by etran
14 years ago
frosch
291570bafd
(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.
14 years ago
terkhen
ef588232c9
(svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown.
14 years ago
terkhen
56d8627d10
(svn r21189) -Fix: Force a minimum speed for trains when using the realistic acceleration model.
14 years ago
translators
992d295936
(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
14 years ago
rubidium
df8b493d6e
(svn r21182) -Fix: possible just-freed memory reads
14 years ago
rubidium
9bdf6a36f4
(svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable?
14 years ago
rubidium
2a29b99681
(svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well
14 years ago
rubidium
1c315fb557
(svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage
14 years ago
translators
6f6fd8f66e
(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
14 years ago
alberth
3f65b99859
(svn r21175) -Add: Forced construction of missing industries.
14 years ago
alberth
be6ea97934
(svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries.
14 years ago
alberth
af72592ce1
(svn r21173) -Codechange: Don't recompute target industry counts each time.
14 years ago
alberth
93765020f1
(svn r21172) -Feature: Better control over how many new industries are created during the game.
14 years ago
alberth
40d69ce604
(svn r21171) -Change: Reset industry build data at game start or load.
14 years ago
alberth
701fb1907f
(svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future).
14 years ago
alberth
d698ee91df
(svn r21169) -Feature: Do not build industries during economic recession.
14 years ago
alberth
a9009b2acb
(svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build.
14 years ago
alberth
6d73213ab7
(svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable.
14 years ago
alberth
c8e5a7b411
(svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry().
14 years ago
rubidium
ce1e4a3448
(svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well
14 years ago
rubidium
9c792914f0
(svn r21164) -Codechange: replace the hardcoded array of language metadata with a list
14 years ago
rubidium
97735fca1e
(svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers
14 years ago
rubidium
7ada9aa754
(svn r21162) -Codechange: move the config "field" for the language file out of dynlang
14 years ago
rubidium
7c754ca125
(svn r21161) -Codechange: make the currently used language easier accessible
14 years ago
rubidium
0020e74533
(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
14 years ago
alberth
aac41efa1a
(svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer.
14 years ago
alberth
373c615e9e
(svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards.
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
alberth
b698045b82
(svn r21156) -Codechange: Introduce EconomyIsInRecession().
14 years ago
rubidium
582a75e052
(svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched
14 years ago
rubidium
7c23fa7cbe
(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
14 years ago
rubidium
127a70cb19
(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.
14 years ago
translators
680a2ada19
(svn r21152) -Update from WebTranslator v3.0:
...
catalan - 1 changes by arnau
polish - 2 changes by silver_777
14 years ago
rubidium
07987cc6a9
(svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string
14 years ago
rubidium
38737efb41
(svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4
14 years ago
terkhen
ef4f10d73d
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
14 years ago
translators
676695a68f
(svn r21147) -Update from WebTranslator v3.0:
...
basque - 49 changes by HerrBasque
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
14 years ago
rubidium
19f39f0fe0
(svn r21145) -Fix: station list wasn't updated when a new cargo got a rating
14 years ago
rubidium
4dfdd4e9f9
(svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting
14 years ago
rubidium
c916455a68
(svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting
14 years ago
rubidium
adb1692a4d
(svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657)
14 years ago
rubidium
0b0b1e4d28
(svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo)
14 years ago
rubidium
24fe5e2a62
(svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
e08f93b977
(svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo)
14 years ago
rubidium
38b4224078
(svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo)
14 years ago
rubidium
efacffeb1f
(svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed
14 years ago
rubidium
06bb553545
(svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle
14 years ago
smatz
cfbce19442
(svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn
14 years ago
rubidium
60c29acdae
(svn r21134) -Change: perform some more stringent validity checking on the language files
14 years ago
rubidium
e03fdc159d
(svn r21133) -Add: function to check the validity of a string (without modifying it)
14 years ago
rubidium
b050aaa42c
(svn r21132) -Codechange: unify the language file version/validity checking
14 years ago
rubidium
dfd03eb5e1
(svn r21131) -Codechange: show a (debug) warning when the GRF ID of a NewGRF differs between the file scan and other stages
14 years ago
rubidium
ba91fef610
(svn r21130) -Fix [FS#4208-ish]: under some circumstances static (disabled/influencing) NewGRFs weren't properly ignored which could cause a desync
14 years ago
rubidium
f5bf3e7997
(svn r21129) -Fix [FS#4208-ish]: Crash when showing the "disabled static NewGRF for desync purposes" message
14 years ago
rubidium
632f29a591
(svn r21128) -Fix [FS#4208]: Crash when disabling static NewGRFs (when joining/starting a server)
14 years ago
rubidium
fb71ee974d
(svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name
14 years ago
rubidium
8b84c74e07
(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
14 years ago
rubidium
3fe98f80e0
(svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game
14 years ago
translators
a6cf20ddb4
(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
14 years ago
terkhen
c7a2d1f883
(svn r21123) -Codechange: Remove max_speed from the Vehicle class.
14 years ago
terkhen
10d4b2f51f
(svn r21122) -Fix (r21100): Use the cached max speed when checking road vehicle overtaking.
14 years ago
terkhen
53d59b2882
(svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles.
14 years ago
terkhen
114efc5aa2
(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.
14 years ago
frosch
729760fdb8
(svn r21119) -Fix: Helicopter flight altitude was determined inconsistently in different places.
14 years ago
frosch
8b76d75e56
(svn r21118) -Codechange: Name and deduplicate some magic numbers.
14 years ago
translators
18659622b2
(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
14 years ago
planetmaker
98de280343
(svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs
14 years ago