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
rubidium
09a1d006ba
(svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported
14 years ago
translators
5cd00df01a
(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
14 years ago
rubidium
8401322c3e
(svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is
14 years ago
rubidium
b75f513a1f
(svn r21112) -Codechange: reduce the amount (of copying) variables
14 years ago
alberth
1cb20976e1
(svn r21111) -Add: Remove the buttons below the newgrf details if the list is not editable.
14 years ago
alberth
71a1a32fbe
(svn r21110) -Add: Tidy up the buttons of the active newgrfs list.
14 years ago
alberth
390b582989
(svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable.
14 years ago
alberth
4838e827b1
(svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget.
14 years ago
michi_cc
be4dfdd709
(svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant.
14 years ago
michi_cc
06fd794dc7
(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.
14 years ago
planetmaker
4ca53b908c
(svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort
14 years ago
planetmaker
dad0c0020b
(svn r21104) -Doc: Add doxygen commands to a few functions
14 years ago
planetmaker
99d169c7b8
(svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles
14 years ago
translators
bc821b78d1
(svn r21102) -Update from WebTranslator v3.0:
...
malay - 39 changes by rionix88
14 years ago
planetmaker
d3dd03fd6b
(svn r21101) -Doc: Additions and clarifications of doxygen comments
14 years ago
terkhen
38d9eed25c
(svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed).
14 years ago
terkhen
25e638adcb
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
14 years ago
terkhen
79ab8cb571
(svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time.
14 years ago
terkhen
ca755e983c
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
14 years ago
terkhen
943c732756
(svn r21096) -Fix: Display the real max speed for aircrafts instead of always using the engine value.
14 years ago
terkhen
9dbd35a2ae
(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.
14 years ago
terkhen
0a9b1e90bf
(svn r21094) -Fix: Aircraft speed would ignore callback 36 result when it is greater than the engine speed.
14 years ago
terkhen
47df65122a
(svn r21093) -Codechange: Align some functions.
14 years ago
terkhen
ac4a3c9101
(svn r21092) -Codechange: Merge max speed functions.
14 years ago
terkhen
78e8a17729
(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.
14 years ago
terkhen
36c5f3c97c
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
14 years ago
translators
c81e5a01e0
(svn r21089) -Update from WebTranslator v3.0:
...
luxembourgish - 5 changes by Phreeze
14 years ago
alberth
e5b817e99a
(svn r21088) -Doc: Additions/corrections of doxygen comments.
14 years ago
alberth
576f77b5b8
(svn r21087) -Doc: Align and make existing comments available for doxygen.
14 years ago
rubidium
77c1838b3d
(svn r21086) -Feature-ish: [NewGRF] String code to print the weight in format based on settings
14 years ago
rubidium
16a2f22741
(svn r21085) -Feature-ish: [NewGRF] Implement stringcode 9A 0C (station name)
14 years ago
rubidium
6a82d9f508
(svn r21084) -Codechange: name a variable to cover its actual implementation better
14 years ago
belugas
377d11886c
(svn r21083) -Codechange: Limit the number of exceptions in the refittable cargo list to 7 (Eddi)
14 years ago
terkhen
580f8dc13c
(svn r21082) -Fix (r21080): Compilation error.
14 years ago
translators
bd9e075749
(svn r21081) -Update from WebTranslator v3.0:
...
ukrainian - 4 changes by Madvin
14 years ago
terkhen
4059acb2cc
(svn r21080) -Fix: Do not allow to use a custom water level with the original map generator.
14 years ago
belugas
d5c8ea393d
(svn r21079) -Codechange: replace magic numbers with already defined constant ("inspired" by Hirundo's work)
14 years ago
rubidium
054e0fa14f
(svn r21078) -Fix [FS#4203]: snowline didn't want to be very high
14 years ago
translators
197fd1f17c
(svn r21077) -Update from WebTranslator v3.0:
...
danish - 8 changes by beruic
14 years ago
translators
1c105ee7b7
(svn r21076) -Update from WebTranslator v3.0:
...
luxembourgish - 74 changes by Phreeze
14 years ago