1
0
Fork 0
Commit Graph

10445 Commits (130e2e9f4f51491b43b1d5107489b6de8ed903b4)

Author SHA1 Message Date
rubidium 0f9c40244a (svn r21209) -Feature: [NewGRF] Allow setting the gender of the current string or select the case of the next substring 2010-11-16 14:00:02 +00:00
rubidium 0500c92003 (svn r21208) -Add: [NewGRF] Mapping information w.r.t. a translation's case and gender names 2010-11-16 12:47:22 +00:00
rubidium e84c52e662 (svn r21207) -Codechange: replace the magic 0x00DE constant with something less magic 2010-11-16 12:35:16 +00:00
rubidium b00858473c (svn r21206) -Document: that, and why string code 9A 02 (skip/ignore next colour code) is not implemented 2010-11-16 12:18:35 +00:00
terkhen d7aa9a6bd1 (svn r21205) -Fix [FS#4207]: Under some conditions, group count would be wrong after moving train engines in the depot window. 2010-11-16 12:05:41 +00:00
rubidium 0f2a9877b8 (svn r21204) -Codechange: unify style of string code conversion 2010-11-16 11:50:26 +00:00
rubidium 4b4db5d86e (svn r21203) -Codechange: make the maximum plural count available to the rest of OpenTTD as well 2010-11-16 11:42:47 +00:00
rubidium 4965c7dd2b (svn r21202) -Codechange: allow strings with embedded '\0' in GRFText. 2010-11-16 11:34:19 +00:00
rubidium a15d309721 (svn r21201) -Document: some GRFText methods/fields 2010-11-16 11:25:19 +00:00
planetmaker 8d42b04e3b (svn r21200) -Fix: [OSX] Don't let the mouse cursor jump when switching to full screen mode 2010-11-15 19:53:15 +00:00
translators be0a922be5 (svn r21199) -Update from WebTranslator v3.0:
belarusian - 4 changes by KorneySan
croatian - 4 changes by VoyagerOne
hungarian - 4 changes by IPG
norwegian_bokmal - 4 changes by mantaray
russian - 4 changes by Lone_Wolf
slovenian - 4 changes by ntadej
2010-11-15 18:45:23 +00:00
rubidium a6a2fbd937 (svn r21198) -Fix: don't call variables properties in debug messages 2010-11-15 16:43:46 +00:00
planetmaker b7d8001202 (svn r21197) -Fix [FS#4001] (r17794): [OSX] Finding a fallback font failed when compiling for OSX 10.4 as it tried to match also OpenTTD-specific control characters 2010-11-15 08:31:07 +00:00
rubidium d572100585 (svn r21195) -Fix [FS#4230] (r21135): in some corner cases the savegame conversion didn't do the right thing 2010-11-14 21:39:12 +00:00
translators 6433ce5f6c (svn r21193) -Update from WebTranslator v3.0:
french - 4 changes by glx
serbian - 4 changes by etran
2010-11-14 18:45:10 +00:00
frosch 478da38d2b (svn r21192) -Fix (r15505)[FS#4226]: Use non-interactive randomness for townnames on map generation, so they are controlled by the generation-seed as well. 2010-11-14 16:16:28 +00:00
terkhen 1fe2ce42ca (svn r21191) -Doc: Add missing information for a parameter of CmdFoundTown. 2010-11-14 16:13:07 +00:00
terkhen eda95bb85c (svn r21189) -Fix: Force a minimum speed for trains when using the realistic acceleration model. 2010-11-14 15:48:24 +00:00
translators 41c97d051f (svn r21185) -Update from WebTranslator v3.0:
traditional_chinese - 5 changes by josesun
finnish - 17 changes by USephiroth
german - 4 changes by planetmaker
luxembourgish - 5 changes by Phreeze
polish - 5 changes by xaxa
brazilian_portuguese - 2 changes by bmnds
russian - 5 changes by Lone_Wolf
slovak - 4 changes by marek995
spanish - 4 changes by Terkhen
vietnamese - 4 changes by nglekhoi
2010-11-14 13:00:56 +00:00
rubidium 673b3711b4 (svn r21182) -Fix: possible just-freed memory reads 2010-11-14 12:05:24 +00:00
rubidium a9da53c106 (svn r21179) -Fix [FS#4201] (r69): if the main toolbar's location is configurable, why isn't the statusbar's location configurable? 2010-11-13 23:40:36 +00:00
rubidium fc75b00992 (svn r21178) -Codechange: pass the language_id to TranslateTTDPatchCodes as well 2010-11-13 19:15:26 +00:00
rubidium 034eb834cc (svn r21177) -Codechange: change UniqueLanguageFile into GetLanguage 2010-11-13 19:10:30 +00:00
translators 46cdc7b3d3 (svn r21176) -Update from WebTranslator v3.0:
portuguese - 1 changes by frosch
brazilian_portuguese - 9 changes by bmnds
swedish - 1 changes by Zuu
turkish - 33 changes by niw3
2010-11-13 18:45:17 +00:00
alberth 2c4564c7dd (svn r21175) -Add: Forced construction of missing industries. 2010-11-13 15:21:55 +00:00
alberth 0c775e5750 (svn r21174) -Add: Use a progressive back-off mechanism to reduce wasting build attempts at unbuildable industries. 2010-11-13 15:20:57 +00:00
alberth a245db6360 (svn r21173) -Codechange: Don't recompute target industry counts each time. 2010-11-13 15:19:43 +00:00
alberth eb4ab0091a (svn r21172) -Feature: Better control over how many new industries are created during the game. 2010-11-13 15:17:55 +00:00
alberth f22fb0d53d (svn r21171) -Change: Reset industry build data at game start or load. 2010-11-13 15:15:25 +00:00
alberth 4d419b9f3e (svn r21170) -Codechange: Store industry management data in the save game (some of it is used in the very near future). 2010-11-13 15:13:14 +00:00
alberth 67549a206c (svn r21169) -Feature: Do not build industries during economic recession. 2010-11-13 15:08:47 +00:00
alberth 3211ab301e (svn r21168) -Feature: Use desired industry counts rather than relative probability to decide which industry to build. 2010-11-13 15:07:34 +00:00
alberth e861487bcb (svn r21167) -Codechange: Use IndustryBuildData::builddata instead of a local variable. 2010-11-13 15:04:58 +00:00
alberth 1bf94674df (svn r21166) -Codechange: Move MaybeNewIndustry() to IndustryBuildData::TryBuildNewIndustry(). 2010-11-13 15:02:31 +00:00
rubidium d46a2ef122 (svn r21165) -Codechange: move the case/gender meta data into the language metadata struct as well 2010-11-13 14:36:43 +00:00
rubidium 8aba642ed5 (svn r21164) -Codechange: replace the hardcoded array of language metadata with a list 2010-11-13 12:09:30 +00:00
rubidium 68b94e61e0 (svn r21163) -Codechange: pass a LanguageMetadata struct instead of its index to ReadLanguagePack, and simplify one of its callers 2010-11-13 11:38:01 +00:00
rubidium a664227c8e (svn r21162) -Codechange: move the config "field" for the language file out of dynlang 2010-11-13 11:28:55 +00:00
rubidium f4e4056aed (svn r21161) -Codechange: make the currently used language easier accessible 2010-11-13 11:25:58 +00:00
rubidium f195920695 (svn r21160) -Codechange: reuse the strgen LanguageHeader to store some metadata about a language, and keep the language metadata in memory instead of loading it several times from disk 2010-11-13 11:11:02 +00:00
alberth 239fcc8ccd (svn r21159) -Codechange: AdvertiseIndustryOpening() also works with a const pointer. 2010-11-13 10:17:16 +00:00
alberth 6c088543c1 (svn r21158) -Codechange: Assert boundary inside the loop rather than afterwards. 2010-11-13 10:11:47 +00:00
rubidium 30637a8340 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
alberth 43f807a918 (svn r21156) -Codechange: Introduce EconomyIsInRecession(). 2010-11-13 09:45:20 +00:00
rubidium aea8274dba (svn r21155) -Fix [FS#4222] (r14959): default service interval for ships/aircraft got switched 2010-11-12 21:40:43 +00:00
rubidium 9770d88412 (svn r21154) -Fix [FS#4223]: OPF has been removed for trains, so the 90 degree turn option doesn't need to mention it's not supported for OPF 2010-11-12 21:37:15 +00:00
rubidium 395335c197 (svn r21153) -Change: unify the moment trains/road vehicles become (un)visible when entering/leaving a tunnel. As a side effect some tunnel related glitches are gone. 2010-11-12 19:40:39 +00:00
translators 15dafc4dc2 (svn r21152) -Update from WebTranslator v3.0:
catalan - 1 changes by arnau
polish - 2 changes by silver_777
2010-11-12 18:45:10 +00:00
rubidium 0fc5206a5b (svn r21151) -Fix [FS#4221]: Sort arrow wasn't accounted for in two windows causing it to be overwritten by the "sort by" string 2010-11-12 16:29:09 +00:00
rubidium 671158acd8 (svn r21150) -Fix: [OSX] Deprecation warning with libpng 1.4 2010-11-12 12:00:03 +00:00
terkhen 13685c0210 (svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types. 2010-11-11 22:19:27 +00:00
translators f3574a273b (svn r21147) -Update from WebTranslator v3.0:
basque - 49 changes by HerrBasque
polish - 1 changes by voythas
portuguese - 1 changes by JayCity
2010-11-11 18:45:12 +00:00
rubidium 67d071d033 (svn r21145) -Fix: station list wasn't updated when a new cargo got a rating 2010-11-11 10:34:44 +00:00
rubidium e745bd9815 (svn r21144) -Change [FS#4206]: filter stations by cargo they have a rating for instead of having cargo waiting 2010-11-11 10:34:01 +00:00
rubidium 6a1a4fc5bb (svn r21143) -Codechange: reduce the number of dereferences in UpdateStationWaiting 2010-11-11 09:12:01 +00:00
rubidium ed18d02e9a (svn r21142) -Codechange: replace magic bridge length constants with proper constants (uni657) 2010-11-10 23:43:14 +00:00
rubidium 65e6c9fd12 (svn r21141) -Codechange: Use the new 'frame' variable for the bridge entry code as well (Hirundo) 2010-11-10 23:16:28 +00:00
rubidium b50aeb9552 (svn r21140) -Codechange: Use the new 'frame' variable to handle road vehicles entering or leaving a tunnel (Hirundo) 2010-11-10 23:15:48 +00:00
rubidium f118744ff2 (svn r21139) -Codechange: Use the new 'frame' variable to handle trains entering or leaving a tunnel (Hirundo) 2010-11-10 23:14:48 +00:00
rubidium 8b8b4e083c (svn r21138) -Codechange: Introduce the concepts of frame and position in the tunnel / bridge entering code (Hirundo) 2010-11-10 23:13:37 +00:00
rubidium 72a6eeef26 (svn r21137) -Fix/revert-ish (r1385): station ratings weren't updated (anymore) after an aircraft crashed 2010-11-10 22:56:05 +00:00
rubidium d1dfb27699 (svn r21136) -Fix [FS#4213]: bridge speed limits should apply to all wagons of a vehicle, not just the head of the vehicle 2010-11-10 20:15:48 +00:00
smatz b8cb654adc (svn r21135) -Fix (r19870): silencing gcc 3.3 warnings caused gcc 4.0 to warn 2010-11-10 19:54:20 +00:00
rubidium 1ddc05e822 (svn r21134) -Change: perform some more stringent validity checking on the language files 2010-11-10 17:49:44 +00:00
rubidium 17b514ccd1 (svn r21133) -Add: function to check the validity of a string (without modifying it) 2010-11-10 17:49:14 +00:00
rubidium 8cd48767f9 (svn r21132) -Codechange: unify the language file version/validity checking 2010-11-10 17:48:31 +00:00
rubidium 2df2c021df (svn r21131) -Codechange: show a (debug) warning when the GRF ID of a NewGRF differs between the file scan and other stages 2010-11-10 17:04:32 +00:00
rubidium 016b9f289f (svn r21130) -Fix [FS#4208-ish]: under some circumstances static (disabled/influencing) NewGRFs weren't properly ignored which could cause a desync 2010-11-10 17:03:01 +00:00
rubidium bb19bdd566 (svn r21129) -Fix [FS#4208-ish]: Crash when showing the "disabled static NewGRF for desync purposes" message 2010-11-10 17:02:12 +00:00
rubidium 0f5c1e2eaf (svn r21128) -Fix [FS#4208]: Crash when disabling static NewGRFs (when joining/starting a server) 2010-11-10 17:01:29 +00:00
rubidium 15defb219f (svn r21127) -Codechange: change the max gender constant's name's style to the style used by the max case constant's name 2010-11-10 16:31:46 +00:00
rubidium 7c7a0cc3f7 (svn r21126) -Codechange: increase the limit of languages OpenTTD can know about to the limit imposed by the NewGRF specs as we're already quite close to the limit; less than 10% from the limit with the currently translated languages 2010-11-10 16:25:20 +00:00
rubidium ab31493dc2 (svn r21125) -Fix (r20248): static NewGRFs shouldn't be added non-statically to a game 2010-11-09 21:57:02 +00:00
translators b3ab73164c (svn r21124) -Update from WebTranslator v3.0:
dutch - 1 changes by habell
irish - 3 changes by tem
romanian - 1 changes by kkmic
slovenian - 2 changes by ntadej
2010-11-09 18:45:17 +00:00
terkhen 6a38925ca3 (svn r21123) -Codechange: Remove max_speed from the Vehicle class. 2010-11-09 17:43:05 +00:00
terkhen e1ff8aeb09 (svn r21122) -Fix (r21100): Use the cached max speed when checking road vehicle overtaking. 2010-11-09 17:39:41 +00:00
terkhen e08aa7e8e6 (svn r21121) -Fix (r21100): Use the cached max speed when calculating YAPF penalties for road vehicles. 2010-11-09 17:36:40 +00:00
terkhen c6ad6f52a9 (svn r21120) -Fix (r21096): Use the engine max speed value instead of the savegame value, as the latter could be stored in old units in old savegames. 2010-11-09 10:56:02 +00:00
frosch b1765482d2 (svn r21119) -Fix: Helicopter flight altitude was determined inconsistently in different places. 2010-11-08 21:26:32 +00:00
frosch c0ea0ac301 (svn r21118) -Codechange: Name and deduplicate some magic numbers. 2010-11-08 21:22:21 +00:00
translators 54c6e23f78 (svn r21117) -Update from WebTranslator v3.0:
belarusian - 1 changes by KorneySan
croatian - 1 changes by VoyagerOne
czech - 1 changes by marek995
french - 1 changes by glx
korean - 1 changes by junho2813
spanish - 1 changes by Terkhen
2010-11-08 18:45:22 +00:00
planetmaker 5565ae1ac0 (svn r21116) -Add [FS#3012]: Reduce the chances to accidentially break savegames with NewGRFs 2010-11-07 21:46:41 +00:00
rubidium b9ccf6dccc (svn r21115) -Codechange: make it more clear that genders and cases in the base translation are not supported 2010-11-07 20:57:41 +00:00
translators 12f9212239 (svn r21114) -Update from WebTranslator v3.0:
basque - 11 changes by HerrBasque
finnish - 1 changes by jpx_
german - 1 changes by planetmaker
hungarian - 1 changes by IPG
italian - 4 changes by lorenzodv
malay - 14 changes by rionix88
norwegian_bokmal - 3 changes by mantaray
russian - 2 changes by Lone_Wolf
serbian - 1 changes by etran
spanish - 1 changes by Terkhen
vietnamese - 1 changes by nglekhoi
2010-11-07 18:45:34 +00:00
rubidium 28ed77c354 (svn r21113) -Codechange: remove the amount of places where the language pack identifier magic value is 2010-11-07 18:35:59 +00:00
rubidium a89fed21c7 (svn r21112) -Codechange: reduce the amount (of copying) variables 2010-11-07 18:20:18 +00:00
alberth 17695611cb (svn r21111) -Add: Remove the buttons below the newgrf details if the list is not editable. 2010-11-07 13:56:13 +00:00
alberth a026ee9b4c (svn r21110) -Add: Tidy up the buttons of the active newgrfs list. 2010-11-07 13:54:49 +00:00
alberth 5962e1db3a (svn r21109) -Add: Don't display available newgrfs when the newgrf list is not editable. 2010-11-07 13:54:04 +00:00
alberth f961fe626b (svn r21108) -Add: Copy the 'editable' flag of the newgrf window to its layout widget. 2010-11-07 13:51:34 +00:00
michi_cc b26b8b5b2a (svn r21107) -Fix: Don't use the maximum track speed where the maximum vehicle speed is meant. 2010-11-07 13:35:12 +00:00
michi_cc 2d801c64a1 (svn r21106) -Change: Tuned realistic acceleration to be a bit more realistic in order to make acceleration "slower", which highlights the differences between vehicle types more. 2010-11-07 13:35:07 +00:00
planetmaker 1ee62de0a3 (svn r21105) -Feature-ish: Allow to sort purchase lists for trains and road vehicles by tractive effort 2010-11-06 20:20:03 +00:00
planetmaker 2364ac83a0 (svn r21104) -Doc: Add doxygen commands to a few functions 2010-11-06 20:12:20 +00:00
planetmaker eaae7ab8b1 (svn r21103) -Change: Use the same sorting of the sorting criteria for both trains and road vehicles 2010-11-06 20:11:36 +00:00
translators 59d32eff47 (svn r21102) -Update from WebTranslator v3.0:
malay - 39 changes by rionix88
2010-11-06 18:45:07 +00:00
planetmaker c36da4841b (svn r21101) -Doc: Additions and clarifications of doxygen comments 2010-11-06 16:55:15 +00:00
terkhen b65df93121 (svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed). 2010-11-06 13:11:24 +00:00
terkhen 18e3a3ddfc (svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache. 2010-11-06 13:05:11 +00:00
terkhen 25d1b2f54b (svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time. 2010-11-06 13:03:17 +00:00