frosch
4705dc84b1
(svn r23864) -Fix: Railtype overlays were drawn 'only transparent' on invisible bridges.
13 years ago
frosch
a85e583fdf
(svn r23863) -Fix (r22981): '' != ' == 0'.
13 years ago
frosch
341fbccf9c
(svn r23862) -Fix (r23860): Fix sweets capacity.
13 years ago
frosch
f7afd6ed8e
(svn r23861) -Feature: [NewGRF] New algorithm (activated via an engine flag) to determine the capacity of vehicles. This allows vehicles to better control the capacity for cargotypes which they know; and let cargo NewGRFs influence the capacity for cargos the vehicle NewGRF does not know, but which the vehicle is refittable to due to cargo classes.
13 years ago
frosch
4cc26a1b86
(svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15.
13 years ago
frosch
01ef8aa478
(svn r23859) -Fix: Inserting conditional orders for ships checked the wrong orders wrt. maximum distance.
13 years ago
translators
282749717f
(svn r23856) -Update from WebTranslator v3.0:
...
french - 21 changes by OliTTD
german - 3 changes by planetmaker
latvian - 4 changes by Parastais
slovak - 19 changes by dafree
welsh - 4 changes by kazzie
13 years ago
rubidium
4bcbf326d1
(svn r23855) -Fix [FS#5007]: out of bounds read for slowdown parameter caused desync when railtype >= 4, vehicles were fast, and the original acceleration model was used
13 years ago
rubidium
59edf288de
(svn r23854) -Codechange: make it easier to put random debug stuff into the random log
13 years ago
rubidium
8123f2929f
(svn r23853) -Fix: several incorrect @files
13 years ago
rubidium
34a5d030b8
(svn r23851) -Fix: infrastructure cache could get out of sync when overbuilding a drive through road stop
13 years ago
translators
8835781425
(svn r23850) -Update from WebTranslator v3.0:
...
french - 28 changes by OliTTD
polish - 3 changes by wojteks86
portuguese - 55 changes by JayCity
13 years ago
rubidium
8025579827
(svn r23849) -Fix [FS#5008]: when the network is lagging, you try to copy a vehicle's order but accidentally create a station order and then copy the vehicle's order (before the first command is executed) one could trigger an assertion from the pool. Simplify the ancient code and make it more fool proof, even though it could stop copying a vehicle's orders slightly earlier than it would now... but who has come near that limit and really needed that many orders?
13 years ago
frosch
46068abb1a
(svn r23848) -Fix: Even if A == B, A can make more sense than B.
13 years ago
rubidium
11ad0be0ee
(svn r23847) -Fix: when removing road or tram from a tram+road stop, the owner of the road stop's cache was updated instead of the owner of the removed infrastructure
13 years ago
translators
a29c38c1b5
(svn r23846) -Update from WebTranslator v3.0:
...
belarusian - 3 changes by KorneySan
finnish - 3 changes by jpx_
french - 22 changes by OliTTD
13 years ago
translators
c99f850c23
(svn r23845) -Update from WebTranslator v3.0:
...
english_AU - 3 changes by tomas4g
french - 27 changes by OliTTD
romanian - 3 changes by kkmic
tamil - 22 changes by aswn
vietnamese - 4 changes by nglekhoi
13 years ago
michi_cc
f2fc765290
(svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated properly on company takeover. And don't count buoys while loading a game either.
13 years ago
rubidium
abdd5ebfa7
(svn r23843) -Fix: minor issue with replaying ;)
13 years ago
rubidium
5811e3eae7
(svn r23842) -Change [FS#5001, FS#5002]: do not let towns (ever) remove objects
13 years ago
frosch
2b54794417
(svn r23841) -Fix: Clear NewGRF vehicle cache when their owner changes. (esp. vehicle var 43)
13 years ago
translators
a8452f7bc9
(svn r23840) -Update from WebTranslator v3.0:
...
catalan - 11 changes by arnau
croatian - 11 changes by VoyagerOne
dutch - 3 changes by lordbartjeh
german - 1 changes by Jogio
italian - 3 changes by lorenzodv
latvian - 19 changes by Parastais
norwegian_bokmal - 4 changes by meisme
russian - 9 changes by Lone_Wolf, akasoft
slovak - 128 changes by dafree
swedish - 33 changes by Zuu
tamil - 17 changes by aswn
13 years ago
frosch
1ef2dd585a
(svn r23839) -Feature: Allow command line options -e and -g to be combined to load saves/scenarios directly into SE.
13 years ago
rubidium
09dacda186
(svn r23838) -Fix [FS#5000]: assertion got hit when destroing a dock when a ship was loading
13 years ago
rubidium
37a8a8c5dc
(svn r23837) -Feature [FS#4994]: [NoGo] Allow querying orders of vehicles
13 years ago
frosch
b8bbf9a49d
(svn r23836) -Fix (r23145): If a vehicle is not refittable to any cargo in the CTT, then pick the first refittable cargoslot.
13 years ago
frosch
20c4f128ab
(svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable.
13 years ago
translators
d03a23ddc3
(svn r23834) -Update from WebTranslator v3.0:
...
serbian - 3 changes by etran
13 years ago
translators
ea9b1cd8c0
(svn r23832) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by Wowanxm
english_US - 3 changes by Rubidium
frisian - 49 changes by Flexo
german - 7 changes by Jogio, planetmaker
spanish - 3 changes by Terkhen
tamil - 13 changes by aswn
vietnamese - 35 changes by myquartz
13 years ago
yexo
491aee463f
(svn r23830) -Revert (r23804) [FS#4986]: while the idea was good, it causes too much trouble
13 years ago
frosch
e53ba1a4ac
(svn r23829) -Fix [FS#4996]: Loading empty GS strings/translations failed.
13 years ago
frosch
14fd811333
(svn r23828) -Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything.
13 years ago
rubidium
d79328ec86
(svn r23827) -Feature [FS#4992]: [NoGo] Allow to chose the goal question window's title from a (small) set of options
13 years ago
rubidium
464d51905a
(svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says
13 years ago
translators
21f02eb00d
(svn r23825) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by KorneySan
german - 49 changes by planetmaker
russian - 2 changes by Lone_Wolf
welsh - 17 changes by kazzie
13 years ago
translators
d5147af990
(svn r23824) -Update from WebTranslator v3.0:
...
french - 22 changes by OliTTD
german - 82 changes by NG
latvian - 24 changes by Parastais
spanish - 1 changes by Terkhen
tamil - 83 changes by aswn
13 years ago
translators
eb3d9326a5
(svn r23823) -Update from WebTranslator v3.0:
...
simplified_chinese - 46 changes by chenwt0315
dutch - 2 changes by Parody
french - 56 changes by OliTTD
german - 38 changes by Jogio
latvian - 23 changes by Parastais
polish - 5 changes by wojteks86
russian - 17 changes by akasoft
tamil - 13 changes by aswn
13 years ago
rubidium
1d098d8ce2
(svn r23822) -Fix-ish: when replaying make sure companies get created even if their creating client doesn't exist during the replay
13 years ago
rubidium
752474cec3
(svn r23821) -Fix-ish: when replaying a command log, ignore the command limit
13 years ago
rubidium
f0603a6204
(svn r23820) -Fix (r23818): WT3 validation failure
13 years ago
frosch
076f3ead20
(svn r23819) -Fix [FS#4951]: Removal of towns with 0 population failed during map generation.
13 years ago
translators
e797ac7594
(svn r23818) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by KorneySan
finnish - 7 changes by jpx_
french - 110 changes by OliTTD
german - 1 changes by NG
italian - 7 changes by lorenzodv
latvian - 69 changes by Parastais
polish - 38 changes by wojteks86
romanian - 10 changes by kkmic
russian - 1 changes by akasoft
slovenian - 140 changes by Necrolyte
welsh - 4 changes by kazzie
13 years ago
rubidium
82a3783fdd
(svn r23817) -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance that it happens significantly with betas/RCs/nightlies by doing the same as is done for stable releases: check the NewGRF version of server vs client.
...
Previously this check was not done for nightlies/betas/RCs due to missing versioning information in the source tarballs, but they have that for a while now. So just force the NewGRF version check for all versions, and remove the broken --revision configure option
13 years ago
yexo
d9f3912c59
(svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change
13 years ago
translators
c3d5183270
(svn r23815) -Update from WebTranslator v3.0:
...
belarusian - 13 changes by KorneySan
dutch - 7 changes by habell
english_AU - 7 changes by tomas4g
english_US - 1 changes by Rubidium
french - 13 changes by ElNounch
latvian - 14 changes by Parastais
norwegian_bokmal - 9 changes by mantaray
persian - 10 changes by Peymanpn
russian - 7 changes by Lone_Wolf, akasoft
serbian - 7 changes by etran
tamil - 81 changes by aswn
ukrainian - 4 changes by Fixer
13 years ago
rubidium
dcdc998aaa
(svn r23814) -Codechange: write the random-debug output directly to a file
13 years ago
yexo
762a8ade9d
(svn r23813) -Codechange: fix other language files
13 years ago
yexo
3557d5a784
(svn r23812) -Fix [FS#4977] (r23804): custom ActionB messages were broken
13 years ago
translators
29f062df93
(svn r23810) -Update from WebTranslator v3.0:
...
dutch - 3 changes by Bennievv
english_US - 7 changes by Rubidium
german - 12 changes by NG, planetmaker
korean - 3 changes by telk5093
latvian - 54 changes by Parastais
persian - 107 changes by Peymanpn
spanish - 7 changes by Terkhen
tamil - 71 changes by aswn
13 years ago
frosch
7a7991b469
(svn r23809) -Feature: Enhance some fatal NewGRF errors with the spritenumber that caused the problem.
13 years ago
frosch
c979c74f65
(svn r23808) -Codechange: Remove various translations which will be invalid with the next commit.
13 years ago
frosch
9eebe8b1ae
(svn r23807) -Codechange: GRFError::num_params is not needed, remove it.
13 years ago
frosch
639395d007
(svn r23806) -Fix: [NewGRF] Integer parameters in ActionB did not quite work anymore.
13 years ago
frosch
624f916468
(svn r23805) -Add: {STRING6} and {STRING7}.
13 years ago
yexo
215447b4e8
(svn r23804) -Fix: [NewGRF] Make string code 80 more secure by not crashing when it's used in strings where it's not supposed to be used
13 years ago
yexo
a6910398ea
(svn r23803) -Fix [FS#4969]: newgrf textstack was not properly used when storing parameters for the error message window
13 years ago
yexo
9c74fb5a69
(svn r23802) -Fix [FS#4968] (r23601): game lobby gui not updated when new company information becomes available
13 years ago
yexo
9d92eefbc9
(svn r23801) -Fix: reading the utf-8 BOM from AI/GS files on big-endian machines failed
13 years ago
rubidium
69ff8d2ccb
(svn r23800) -Codechange: also desync log failed commands
13 years ago
translators
4e01489c07
(svn r23799) -Update from WebTranslator v3.0:
...
german - 7 changes by planetmaker
latvian - 3 changes by
spanish - 1 changes by Terkhen
tamil - 49 changes by aswn
13 years ago
translators
e17073086a
(svn r23794) -Update from WebTranslator v3.0:
...
latvian - 5 changes by Tranzistors
13 years ago
yexo
b7d7111dd5
(svn r23793) -Fix (r23791): height computation was missing a few pixels so the last line was still missing
13 years ago
yexo
75e9a1d560
(svn r23792) -Feature [FS#4958]: move 'refitable to' text above custom newgrf text in build vehicle gui
13 years ago
yexo
e1dc47e65c
(svn r23791) -Fix [FS#4960]: resize text panel for parameter description if it doesn't fit in 4 lines.
...
If you resize the window so it's smaller than default the text might still not fit
13 years ago
translators
700a65a227
(svn r23790) -Update from WebTranslator v3.0:
...
belarusian - 7 changes by Wowanxm
simplified_chinese - 62 changes by Gavin
italian - 2 changes by Snail_
latvian - 3 changes by
serbian - 8 changes by etran
13 years ago
frosch
ecbcd955c4
(svn r23789) -Fix: [NewGRF] While we can only show one error per NewGRF, fatal errors should always disable the GRF. Also give those errors precedence over other information.
13 years ago
yexo
5da662f786
(svn r23788) -Fix: failure to load newgrf files that use action 0 general prop 15 with a missing language file
13 years ago
rubidium
84433bbeb7
(svn r23787) -Fix: add some missing spaces
13 years ago
translators
f92c396e27
(svn r23786) -Update from WebTranslator v3.0:
...
catalan - 14 changes by arnau
english_AU - 6 changes by tomas4g
hungarian - 32 changes by IPG
italian - 10 changes by Snail_, lorenzodv
latvian - 29 changes by Parastais
norwegian_bokmal - 6 changes by mantaray
spanish - 15 changes by Terkhen
welsh - 6 changes by kazzie
13 years ago
translators
fc384f8500
(svn r23785) -Update from WebTranslator v3.0:
...
croatian - 6 changes by VoyagerOne
czech - 12 changes by TheLamer
dutch - 6 changes by habell
english_US - 6 changes by Rubidium
finnish - 7 changes by jpx_
latvian - 17 changes by Parastais, Tranzistors
romanian - 6 changes by tonny
russian - 6 changes by Lone_Wolf
spanish - 6 changes by Terkhen
13 years ago
truebrain
4ecd7843fb
(svn r23784) -Revert (r23740): compiling without libpng failed to include a correct header
13 years ago
rubidium
274f446b2c
(svn r23783) -Cleanup: remove ancient but not needed command flag
13 years ago
rubidium
0982dbf329
(svn r23782) -Fix [FS#4965]: crash due to genders used for station name in hangar string of Italian translation
13 years ago
rubidium
cb21f37091
(svn r23781) -Fix [FS#4964]: under certain circumstances, e.g. a single invalid order, trying to determine the next order state could end up in an infinite loop
13 years ago
truebrain
1b34577941
(svn r23780) -Fix [FS#4963] (r23764): also name the two new errors server-side. As extra, split up one of the errors in 3 errors, to be more specific what goes wrong. As cherry on top, make sure on all sides we can never again forget to add such entries on both sides, by introducing an assert_compile()
13 years ago
translators
6908281d57
(svn r23779) -Update from WebTranslator v3.0:
...
bulgarian - 12 changes by kokobongo
croatian - 4 changes by VoyagerOne
dutch - 2 changes by habell
english_AU - 2 changes by tomas4g
latvian - 25 changes by Parastais, Tranzistors
lithuanian - 4 changes by simas068
norwegian_bokmal - 2 changes by mantaray
tamil - 34 changes by aswn
turkish - 76 changes by niw3
13 years ago
rubidium
314616727b
(svn r23778) -Fix [FS#4957]: trim all control codes and the likes from strings being passed into the AI. If the AI would be displaying them later we would be showing those control codes as question marks.
13 years ago
rubidium
4ad23bbf98
(svn r23777) -Codechange: refactor allocating memory and fetching strings into a single function for scripts
13 years ago
translators
02af3fe2fa
(svn r23776) -Update from WebTranslator v3.0:
...
basque - 18 changes by rosie2999
italian - 2 changes by lorenzodv
latvian - 35 changes by Tranzistors
tamil - 117 changes by aswn
ukrainian - 24 changes by Fixer
welsh - 5 changes by kazzie
13 years ago
frosch
a6f6c0f8ab
(svn r23775) -Change: Hide the PCX screenshot format from the options window, if a 32bpp blitter is used.
13 years ago
michi_cc
617993e904
(svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype.
13 years ago
rubidium
4626b3b504
(svn r23772) -Fix (r23771): validation failure
13 years ago
translators
9fbd8638ee
(svn r23771) -Update from WebTranslator v3.0:
...
belarusian - 2 changes by Wowanxm
catalan - 23 changes by arnau
finnish - 2 changes by jpx_
latvian - 65 changes by Tranzistors
romanian - 3 changes by tonny
russian - 2 changes by Lone_Wolf
spanish - 9 changes by Terkhen
tamil - 72 changes by aswn
13 years ago
smatz
ad78a5f1d3
(svn r23770) -Fix: compilation with GCC 4.7
13 years ago
rubidium
578c3218b0
(svn r23769) -Codechange: make the lag/join start timeouts configurable as well
13 years ago
translators
db75b9b4e1
(svn r23765) -Update from WebTranslator v3.0:
...
dutch - 7 changes by Yexo
english_US - 5 changes by Rubidium
french - 8 changes by glx
german - 2 changes by planetmaker
italian - 1 changes by lorenzodv
latvian - 123 changes by Tranzistors
slovenian - 36 changes by ntadej
urdu - 48 changes by haider
13 years ago
rubidium
f6329bf87e
(svn r23764) -Fix [FS#4955]: make default timeouts for certain states lower and configurable
13 years ago
rubidium
de4ecdb876
(svn r23763) -Fix [FS#4956]: check whether a water tile is really empty when overbuilding it with an object
13 years ago
alberth
ed1526b660
(svn r23762) -Fix [FS#4954]: Removed double words in three strings, and one change 'cost' to 'income' in english.txt (thanks Tranzistors)
13 years ago
translators
ee85722ad6
(svn r23761) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by Wowanxm
bulgarian - 50 changes by kokobongo
english_AU - 6 changes by tomas4g
english_US - 1 changes by Rubidium
finnish - 1 changes by jpx_
french - 1 changes by ElNounch
german - 20 changes by planetmaker
italian - 1 changes by lorenzodv
latvian - 202 changes by Tranzistors
norwegian_bokmal - 17 changes by mantaray
norwegian_nynorsk - 1 changes by mantaray
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
serbian - 25 changes by etran
spanish - 20 changes by Terkhen
welsh - 1 changes by kazzie
13 years ago
frosch
7ed4b6d069
(svn r23760) -Feature: Allow readonly display of NewGRF parameters, if GRF list may not be edited.
13 years ago
smatz
f2dda4e799
(svn r23759) -Fix (r17612)[FS#4951]: the check for duplicate town names wasn't really working
13 years ago
michi_cc
64b7bc557f
(svn r23758) -Feature: [NewGRF] Alternate rail type label list.
13 years ago
frosch
b986a1133c
(svn r23757) -Codechange: Unify the drawing of toggle buttons for boolean settings.
13 years ago
rubidium
e2031847bf
(svn r23756) -Fix (r23755): ... and WT3 likes some strings that strgen doesn't like ;)
13 years ago
translators
9dba278811
(svn r23755) -Update from WebTranslator v3.0:
...
croatian - 3 changes by VoyagerOne
english_US - 5 changes by Rubidium
finnish - 5 changes by jpx_
lithuanian - 32 changes by Devastator
norwegian_bokmal - 8 changes by eloekset
norwegian_nynorsk - 299 changes by eloekset
romanian - 20 changes by kkmic
russian - 21 changes by akasoft
swedish - 8 changes by tobjork
13 years ago
rubidium
1481ae6899
(svn r23754) -Fix (r23752): the locks aren't reentrant
13 years ago
rubidium
b3fb593eb1
(svn r23753) -Fix [FS#4952]: use plurals for the infrastructure stats
13 years ago
rubidium
22be2a7f43
(svn r23752) -Fix [FS#4938]: missing locking causing crash is extreme case when being in the MP lobby
13 years ago
rubidium
f8faaebaf0
(svn r23751) -Codechange: rename NetworkUDPGameLoop to a more descriptive name, and move the UDP specific bits to network_udp
13 years ago
translators
2453456275
(svn r23750) -Update from WebTranslator v3.0:
...
belarusian - 19 changes by Wowanxm
croatian - 19 changes by VoyagerOne
english_AU - 20 changes by tomas4g
italian - 20 changes by lorenzodv
lithuanian - 161 changes by BlinK_
norwegian_bokmal - 22 changes by eloekset, mantaray
norwegian_nynorsk - 32 changes by eloekset
vietnamese - 5 changes by nglekhoi
welsh - 19 changes by kazzie
13 years ago
michi_cc
cc9e7f07dc
(svn r23749) -Fix: [Win32] Work around a possible deadlock when initialising threaded drawing.
13 years ago
frosch
e3e7375c6d
(svn r23748) -Fix: Make vehicle variables A8 and A9 always return 0. Returning cur_image is a potential desyncer due to Action1 in static NewGRFs.
13 years ago
truebrain
10b9faf2f0
(svn r23747) -Fix (r23746): forgot one more case
13 years ago
truebrain
a130703073
(svn r23746) -Fix: also set 'info' to NULL if 'instance' dies (for both AI and GS); avoids invalid memory reads
13 years ago
frosch
9317aad5ee
(svn r23745) -Fix (r23087): If autorefit fails, count the vehicle capacity nevertheless, if it is already carrying the right thing.
13 years ago
frosch
0c237c337c
(svn r23744) -Fix (r23142) [FS#4923]: Check the version of the right GRF.
13 years ago
frosch
8b7143ef88
(svn r23743) -Fix [FS#4906]: Call CB 15E for all vehicles before actually executing any refit.
13 years ago
rubidium
1117c9cd95
(svn r23742) -Revert (r23735): for some reason gcc-trunk is more picky than basically everything else :(
13 years ago
rubidium
3481ca0f57
(svn r23741) -Revert (r23740): the few parts that the Windows / non-network compiles stumble on
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
truebrain
d76c2ff76e
(svn r23739) -Fix (r23738): owh vim, when can you learn to copy/paste tabs correctly?
13 years ago
truebrain
d3567c0ac3
(svn r23738) -Fix (r23731): forgot to sync the new window with the script API
13 years ago
truebrain
4b1404997e
(svn r23736) -Document: document correctly that WC_GOAL_QUESTION has a WindowNumber which is identical to the uniqueid given by the GameScript
13 years ago
rubidium
0cfe86cead
(svn r23735) -Codechange: remove ~50 includes from headers that weren't needed
13 years ago
rubidium
a237ceba7f
(svn r23734) -Cleanup: remove the translated strings as well
13 years ago
rubidium
98115709b7
(svn r23733) -Fix-ish [FS#4939]: cheating to different climates messes things even more up than changing NewGRFs in-game... so guess what happened
13 years ago
translators
9eeb3dedc6
(svn r23732) -Update from WebTranslator v3.0:
...
bulgarian - 7 changes by kokobongo
croatian - 3 changes by VoyagerOne
dutch - 20 changes by Yexo
english_US - 20 changes by Rubidium
finnish - 22 changes by jpx_
french - 20 changes by glx
german - 1 changes by planetmaker
lithuanian - 1 changes by BlinK_
norwegian_nynorsk - 1 changes by mantaray
portuguese - 1 changes by JayCity
russian - 1 changes by akasoft
serbian - 1 changes by etran
ukrainian - 27 changes by Fixer
13 years ago
truebrain
59de5e9570
(svn r23731) -Add: add GSGoal::Question(), to ask a question to a(ll) company(ies). It can contain random text, and at most 3 buttons from a collection of 17
13 years ago
rubidium
e40e1325d6
(svn r23730) -Add: Australian translation
13 years ago
truebrain
dea311a07e
(svn r23729) -Fix (r23670) [FS#4941]: if you increase the buffer size, also increase the bytes per pixel
13 years ago
truebrain
ff1db1a6c8
(svn r23728) -Fix [#FS4942-ish]: when cheating into another company, the SignList was not updated
13 years ago
truebrain
ee94a7512e
(svn r23727) -Codechange: speedup the 32bpp palette animation by reducing the amount of compares. This is possible because the function is called with only 2 possible conditions: from 0 to 255 (full palette update, 8bpp only) or from PALETTE_ANIM_START to 255
13 years ago
peter1138
570d2dcbed
(svn r23726) -Fix (r23670): Remove debugging code added accidentally
13 years ago
yexo
efe0fcf48d
(svn r23725) -Fix (r23723): compile before commit
13 years ago
yexo
f884be58e5
(svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check
13 years ago
yexo
7975bedc23
(svn r23723) -Codechange: speedup flood checks a bit
13 years ago
frosch
b930e3c866
(svn r23722) -Change: Give the chat query window the same Z priority as the normal text query window.
13 years ago
yexo
6e65e92054
(svn r23721) -Fix (r23070): reading memory of a temporary (already deconstructed) object is invalid
13 years ago
rubidium
d242f154f9
(svn r23720) -Fix/Feature [FS#4935]: show the script debug window also when the game script crashes
13 years ago
rubidium
e371c26025
(svn r23719) -Fix [FS#4930]: extraction of music packs failed
13 years ago
rubidium
761223bcdf
(svn r23718) -Fix [FS#4936]: rescanai caused crash when the AI settings of an AI was opened
13 years ago
rubidium
b9c4114f30
(svn r23717) -Fix [FS#4927]: ships going to wrong dock location when moving the dock while the game is paused
13 years ago
smatz
f6d9fbe35c
(svn r23716) -Revert (r23705)[FS#4937]: unforeseen consequences
13 years ago
translators
3ac2631ec8
(svn r23715) -Update from WebTranslator v3.0:
...
luxembourgish - 48 changes by Phreeze
portuguese - 7 changes by SupSuper
turkish - 100 changes by niw3
ukrainian - 11 changes by Fixer
welsh - 1 changes by kazzie
13 years ago
truebrain
d9f717dcfa
(svn r23714) -Codechange: don't mix Viewport with non-viewport code
13 years ago
truebrain
92c60447dc
(svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible
13 years ago
truebrain
5f65e056e1
(svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in
13 years ago
truebrain
5dbac2f2ae
(svn r23711) -Codechange: don't chain the two vehicle hashes, but call them one by one
13 years ago
rubidium
2b32ddf24f
(svn r23710) -Change: make the default secondary sort method for the server list the number of clients instead of the name
13 years ago
rubidium
37a81f01cf
(svn r23709) -Feature-ish: try harder to sort text instead of fancy characters in the server names
13 years ago
truebrain
1d9f3bf003
(svn r23708) -Codechange: apply the same trick as r23701 to GetTileSlope(), gaining similar benefits
13 years ago
translators
3b42f6ee64
(svn r23707) -Update from WebTranslator v3.0:
...
catalan - 22 changes by arnau
indonesian - 19 changes by rusydan
italian - 2 changes by lorenzodv
russian - 2 changes by Lone_Wolf
serbian - 2 changes by etran
13 years ago
smatz
cf54bc425f
(svn r23706) -Codechange: prevent 'unknown command' doxygen errors
13 years ago
smatz
441a22977a
(svn r23705) -Codechange: cache the last processed station in FindStationsAroundTiles() in order to make the code a bit faster
13 years ago
alberth
06597e684c
(svn r23704) -Doc: Doxygen comment fixes and additions.
13 years ago
truebrain
8ca67aae5d
(svn r23703) -Codechange: allow a compiler to inline a wrapper function, avoiding creation of a function stack, massively increasing its speed, for a function that is called often
13 years ago
truebrain
b4464e8076
(svn r23702) -Codechange: avoid using TileAddWrap() in FindStationsAroundTiles() by finding out where the border is in advance, speeding up the function with a factor 3 (you got to love random statistics which has no real meaning in the grand scheme of it all :D)
13 years ago
truebrain
8ff6c2da52
(svn r23701) -Codechange: give TileAddWrap() a 27% speed-up, by swapping entries in an if() statement, and reusing already calculated values (tnx to SmatZ for the ideas)
13 years ago
truebrain
c2d045f862
(svn r23700) -Fix: the size of the Subsidies pool used a random macro, which didn't really make sense in the grand scheme of things
13 years ago
truebrain
af6a2b3a65
(svn r23699) -Fix [FS#4928] (r23630): too much copy/pasting only allowed a silly low amount of goals to be created.
13 years ago
rubidium
94f72b7ad4
(svn r23698) -Fix (r21685): small, apparantly yearly reoccuring, typo
13 years ago
translators
11ee22efab
(svn r23697) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by Wowanxm
czech - 2 changes by SmatZ
dutch - 1 changes by Yexo
english_US - 13 changes by Rubidium
french - 2 changes by glx
german - 1 changes by planetmaker
hebrew - 1 changes by rril
indonesian - 85 changes by rusydan
norwegian_bokmal - 116 changes by mantaray
romanian - 1 changes by tonny
spanish - 2 changes by Terkhen
13 years ago
rubidium
b49906fa9d
(svn r23696) -Fix (r23695): 5 <-> 6... today is not my day
13 years ago
rubidium
7dc6e5b5fc
(svn r23695) -Fix/Feature [FS#4916]: make a distinction between fully zoomed in and default zoomed in screenshots
13 years ago
rubidium
e1757cb9a5
(svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant...
13 years ago
rubidium
9f4b0eedde
(svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour
13 years ago
rubidium
7e8fc15328
(svn r23692) -Fix: use smallest_x of your children only when you let the children update it
13 years ago
truebrain
c967d260bc
(svn r23691) -Fix: signed/unsigned issues, causing asserts for some languages in relation to the serverlist
13 years ago
rubidium
b1e95c9bd7
(svn r23690) -Fix: massive typo ;)
13 years ago
translators
8f0b8b0fe9
(svn r23689) -Update from WebTranslator v3.0:
...
simplified_chinese - 23 changes by chenwt0315
norwegian_bokmal - 236 changes by mantaray
swedish - 9 changes by tobjork
13 years ago
michi_cc
bc65c37327
(svn r23688) -Codechange: No need to check if a train needs servicing if we only extend a train's path without actually calling the pathfinder. The path extension will stop when hitting a junction tile, so it is impossible to miss a depot this way.
13 years ago
michi_cc
0e273d27ae
(svn r23686) -Fix [FS#4921] (r23413): Infrastructure count of canals/locks/ship depots wasn't updated properly when a company went into bankruptcy or was taken over.
13 years ago
translators
b25de6e887
(svn r23685) -Update from WebTranslator v3.0:
...
norwegian_bokmal - 67 changes by mantaray
swedish - 25 changes by tobjork
vietnamese - 1 changes by nglekhoi
welsh - 50 changes by kazzie
13 years ago
rubidium
22a5dbc0bb
(svn r23684) -Cleanup: let the highway take the highway
13 years ago
rubidium
304156a297
(svn r23683) -Fix [FS#4912]-ish: when fitting another engine the cargo capacity of wagons could become lower, causing them to contain more than they should. This caused the cargo transfer from the replaced parts to put even more stuff in the already full wagon. Prevent this from happening by reducing the amount of cargo in the vehicle to the capacity when moving vehicles/wagons around, or when autoreplacing
13 years ago
translators
9fd6aec303
(svn r23682) -Update from WebTranslator v3.0:
...
catalan - 2 changes by arnau
serbian - 11 changes by etran
13 years ago
rubidium
09c8676891
(svn r23681) -Fix [FS#4914]: vehicle numbers got misaccounted when autoreplacing failed due to length checks
13 years ago
rubidium
231a407eb8
(svn r23680) -Fix [FS#4915]: prevent removal of the (AI) company the local player is in
13 years ago
translators
6d575b53e9
(svn r23679) -Update from WebTranslator v3.0:
...
swedish - 48 changes by tobjork
tamil - 26 changes by aswn
13 years ago
truebrain
400b40a11d
(svn r23678) -Fix: close the editbox of settings when changing an AI, to avoid invalid memory read/write (reported by SmatZ)
13 years ago
truebrain
3f6725d1d4
(svn r23677) -Fix [FS#4909]: invalidate AI Parameters window when changing AI
13 years ago
rubidium
4e780d6dea
(svn r23676) -Fix [FS#4913] (r23412): when removing road stops the wrong tile was checked for updating the infrastructure cache
13 years ago
translators
2be5cc2721
(svn r23675) -Update from WebTranslator v3.0:
...
belarusian - 3 changes by Wowanxm
indonesian - 18 changes by fanioz
persian - 47 changes by Peymanpn
urdu - 19 changes by haider
13 years ago
michi_cc
c54c4398b1
(svn r23674) -Fix (r23670): Don't read invalid memory in the 32bpp simple blitter.
13 years ago
rubidium
bbd41a8af5
(svn r23672) -Fix: WT3 validation failure
13 years ago
translators
afabe34b1b
(svn r23671) -Update from WebTranslator v3.0:
...
hebrew - 1 changes by rril
indonesian - 10 changes by fanioz
korean - 123 changes by telk5093
russian - 2 changes by Lone_Wolf
vietnamese - 32 changes by nglekhoi
13 years ago
peter1138
42347d3c45
(svn r23670) -Feature: Add ability to adjust brightness of colour after remapping for 32bpp sprites
13 years ago
translators
181f95ee5b
(svn r23669) -Update from WebTranslator v3.0:
...
estonian - 112 changes by notAbot
hebrew - 2 changes by rril
slovenian - 33 changes by ntadej
swedish - 7 changes by Zuu
13 years ago
smatz
e5a8e94492
(svn r23668) -Fix: the 'Configure' button in the 'AI / Game Configuration' window didn't get enabled when activating a GameScript
13 years ago
truebrain
c0ce7dcaeb
(svn r23665) -Fix (r23664): revert, and apply other fix, which allows switching companies safely in SinglePlayer
13 years ago
truebrain
8ee7719912
(svn r23664) -Fix: adding goals with a company were still added for all companies. Tnx to Zuu for reporting (although cryptic :D)
13 years ago
rubidium
215867c213
(svn r23663) -Fix: WT3 validation fluke
13 years ago
translators
4661c220ae
(svn r23662) -Update from WebTranslator v3.0:
...
hungarian - 20 changes by Brumi
indonesian - 9 changes by fanioz
korean - 5 changes by junho2813, telk5093
polish - 2 changes by xaxa
serbian - 35 changes by etran
vietnamese - 9 changes by nglekhoi
13 years ago
rubidium
c9b6391ab0
(svn r23660) -Feature-ish: add the game script to the crash log
13 years ago
translators
c7c4358cb7
(svn r23658) -Update from WebTranslator v3.0:
...
german - 12 changes by planetmaker
hungarian - 52 changes by Brumi, IPG
indonesian - 17 changes by fanioz
italian - 4 changes by Snail_, lorenzodv
malay - 156 changes by kazlan68
romanian - 1 changes by tonny
russian - 1 changes by akasoft
swedish - 10 changes by Zuu
ukrainian - 22 changes by Fixer
13 years ago
yexo
9cdeead3bb
(svn r23657) -Fix (r22958): loading of very old savegames with custom town names failed
13 years ago
translators
461f65bdd5
(svn r23655) -Update from WebTranslator v3.0:
...
belarusian - 45 changes by KorneySan
croatian - 2 changes by VoyagerOne
czech - 49 changes by ReisRyos, TheLamer, marek995
dutch - 8 changes by Parody, habell
english_US - 2 changes by Rubidium
finnish - 2 changes by jpx_
french - 10 changes by glx
indonesian - 24 changes by fanioz
italian - 43 changes by lorenzodv
macedonian - 307 changes by RCTMASTA
malay - 544 changes by kazlan68
brazilian_portuguese - 35 changes by leandromoh
romanian - 2 changes by kkmic
russian - 6 changes by Lone_Wolf
slovak - 2 changes by teso
spanish - 2 changes by Terkhen
swedish - 2 changes by Zuu
ukrainian - 134 changes by Fixer
welsh - 48 changes by kazzie
13 years ago
rubidium
5df78d6cce
(svn r23654) -Fix [FS#4904]: missing this-> (adf88)
13 years ago
truebrain
ec691c26b5
(svn r23653) -Fix: also show GameScripts when you click Check Online Content (SubVersion does not allow translated commit messages, I am sorry) in AI / Game Settings
13 years ago
truebrain
af7958f5c4
(svn r23652) -Fix: don't include/document ScriptText for AIs. It is not usable
13 years ago
yexo
b01854e790
(svn r23651) -Feature: [NoGo] GSText now accepts string arguments as parameters to the constructor
13 years ago
yexo
9bf3fb5156
(svn r23650) -Fix: wrong functions were filtered for AI/GameScript doxygen documentation
13 years ago
truebrain
d64d053156
(svn r23649) -Fix [FS#4905) (r23634): loading a savegame with an empty GSTR chunk caused assert
13 years ago
truebrain
8faa8f2342
(svn r23648) -Revert (r23646): partial revert; nobody has to know about my local changes and attempts
13 years ago
truebrain
3399420e87
(svn r23647) -Add: add rescan_game as console command (patch by Xaroth)
13 years ago
truebrain
190a68b350
(svn r23646) -Fix [FS#4901]: rescan the Game Scripts when done downloading one.
13 years ago
truebrain
0eb26fbef0
(svn r23645) -Fix: missing 2 strings
13 years ago
rubidium
9d7aec3fe7
(svn r23644) -Fix [FS#4899]: prevent game scripts using StringIDs that are not coming from themselves, so the game script doesn't "accidentally" try to display an invalid string or try to display a town name in from an unknown town name generator
13 years ago
rubidium
d13fa6c0ee
(svn r23643) -Fix [FS#4896]: dates cut off in the message history
13 years ago
rubidium
ca7507e0a9
(svn r23642) -Fix [FS#4893]: OSK window got hidden by query window
13 years ago
translators
5f8f772528
(svn r23641) -Update from WebTranslator v3.0:
...
afrikaans - 98 changes by Maccie123, kdzar
bulgarian - 4 changes by Tvel
catalan - 44 changes by arnau
simplified_chinese - 62 changes by ww9980
traditional_chinese - 46 changes by elleryq, ww9980
croatian - 43 changes by VoyagerOne
danish - 188 changes by majbom, mgarde
dutch - 44 changes by habell
english_US - 32 changes by Rubidium
finnish - 43 changes by jpx_
french - 43 changes by glx
frisian - 16 changes by Fopper
german - 44 changes by NG, planetmaker
greek - 49 changes by kyrm
indonesian - 31 changes by fanioz
korean - 39 changes by junho2813, telk5093
lithuanian - 66 changes by BlinK_, Devastator
malay - 36 changes by Syed
maltese - 20 changes by ercolesptr
norwegian_bokmal - 6 changes by kristoffer_hh
norwegian_nynorsk - 1 changes by Utvik
polish - 68 changes by lion, matma6, nouwak, wojteks86
portuguese - 104 changes by ABCRic
romanian - 148 changes by kneekoo, tonny
russian - 43 changes by Lone_Wolf, MajestiC, akasoft
slovak - 135 changes by teso
spanish - 43 changes by Terkhen
swedish - 38 changes by Zuu, urdh
ukrainian - 28 changes by Madvin
vietnamese - 3 changes by nglekhoi
13 years ago
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
13 years ago
truebrain
474ba5fd88
(svn r23637) -Change: bump the savegame, to store all the new goodies
13 years ago
truebrain
8ac2d13c79
(svn r23636) -Add: introduce ScriptText in parameters where it can be used
13 years ago
truebrain
8bff646cf2
(svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network
13 years ago
truebrain
f1f0776efd
(svn r23634) -Add: support language files for GameScript (Rubidium)
13 years ago
truebrain
20bc2efeba
(svn r23633) -Add: allow most build commands from GameScript given a CompanyMode is active in that scope
13 years ago
truebrain
95b199e313
(svn r23632) -Add: GSCompanyMode, to change company in GameScripts
13 years ago
truebrain
867b263900
(svn r23631) -Add: ScriptWindow, to manipulate windows on the client (GameScript only)
13 years ago
truebrain
ccf9b01f5d
(svn r23630) -Add: a Goal GUI to show your current goals
13 years ago
truebrain
102c7ae60e
(svn r23629) -Add: allow ScriptRoad::BuildRoad, ScriptBridge::BuildBridge (for roads) and ScriptTunnel:BuildTunnel (for roads) to work for GameScript
13 years ago
truebrain
2fc120d4d1
(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)
13 years ago
truebrain
09ef12ab03
(svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only)
13 years ago
truebrain
6961332f05
(svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI
13 years ago
truebrain
1367fc9deb
(svn r23625) -Add: ScriptViewport::ScrollTo, for SinglePlayer only (GameScript only)
13 years ago
truebrain
10b0f4a879
(svn r23624) -Add: ScriptVehicle/ScriptStation/ScriptSign::GetOwner, to get the owner of those objects (GameScript only)
13 years ago
truebrain
1d84fb277e
(svn r23623) -Add: allow bi-directional communication with the AdminPort and GameScript
13 years ago
truebrain
bc78328918
(svn r23622) -Add: a set of events to trigger in a GameScript
13 years ago
truebrain
ac9324f270
(svn r23621) -Add: allow manipulation of signs via GameScripts
13 years ago
truebrain
b00fcef81a
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
13 years ago
truebrain
c56e79db7c
(svn r23619) -Add: ScriptDate::GetSystemTime, to get the seconds since 1 Jan 1970 of the real system (GameScript only)
13 years ago
truebrain
3a799f1145
(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only)
13 years ago
truebrain
37954d5098
(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)
13 years ago
truebrain
79071a2482
(svn r23616) -Add: ScriptGameSettings::SetValue, to set gamesettings (GameScript only)
13 years ago
truebrain
ae134dd2f6
(svn r23615) -Add: more API functions exposed to NoGo (part 2)
13 years ago
truebrain
4f801a38d0
(svn r23614) -Add: more API functions exposed to NoGo (part 1)
13 years ago
truebrain
d4582d2704
(svn r23613) -Add: allow IsDeveloperOnly in info.nut, to indicate if you can select this GS via the GUI (optional, defaults to false)
13 years ago
truebrain
ff7797c421
(svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library)
13 years ago
truebrain
fb2f2a0285
(svn r23611) -Add: run the begin of the script already while generating, and don't sleep on DoCommand while doing so
13 years ago
truebrain
e3a518f9b1
(svn r23610) -Add: Doxygen files for NoGo API (Yexo)
13 years ago
truebrain
5d4b2519a4
(svn r23609) -Add: save/load all GameScript related material
13 years ago
truebrain
dba90d725c
(svn r23608) -Fix: remove now unused strings from all other languages too
13 years ago
truebrain
f5478b62d1
(svn r23607) -Add: wire GameScript in all the GUIs
13 years ago
truebrain
17fea560ba
(svn r23606) -Add: GameScanner, to auto-detect game scripts, and wire it in the console
13 years ago
truebrain
14325e2391
(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory
13 years ago
truebrain
f66f27d249
(svn r23604) -Add: initial support for GameScripts
13 years ago
truebrain
2b381d0765
(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)
13 years ago
truebrain
5394a8c220
(svn r23602) -Add: support for DEITY commands, commands where no real company was involved in (Rubidium)
13 years ago
truebrain
c74ccfff1b
(svn r23601) -Fix: fix the conflict in window number
13 years ago
truebrain
32ca564bca
(svn r23600) -Codechange: link WC+number to a Widget, and the Widget to a Window class
13 years ago
truebrain
fd2325d205
(svn r23599) -Codechange: document WC_ entries, and reoder a bit
13 years ago
truebrain
e881e67b95
(svn r23598) -Fix: harden FormatString against abuse
13 years ago
truebrain
3c7627fb7f
(svn r23597) -Codechange: fix up squirrel export script a bit
13 years ago
translators
ae5e6af6e3
(svn r23596) -Update from WebTranslator v3.0:
...
belarusian - 1 changes by Wowanxm
croatian - 1 changes by VoyagerOne
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
italian - 1 changes by lorenzodv
lithuanian - 1 changes by Devastator
romanian - 1 changes by kkmic
russian - 1 changes by Lone_Wolf
spanish - 1 changes by Terkhen
swedish - 1 changes by Zuu
13 years ago
rubidium
3d605f6488
(svn r23595) -Codechange: add comma after last enum to get a more uniform coding style
13 years ago
rubidium
00fc0d45b0
(svn r23594) -Codechange: follow coding style with multi line comments
13 years ago
michi_cc
06ffcf0ae8
(svn r23593) -Fix (r23411): Infrastructure counts for rail were not properly updated when converting rail or building level crossings.
13 years ago
truebrain
7cfe482045
(svn r23592) -Fix (r23590): forgot one case
13 years ago
translators
3bf63437cf
(svn r23591) -Update from WebTranslator v3.0:
...
english_US - 1 changes by Rubidium
french - 1 changes by glx
serbian - 51 changes by etran
13 years ago