Commit Graph

1069 Commits

Author SHA1 Message Date
peter1138 59399480b3 (svn r9620) -Codechange: apply cargo translation table to newstation variables 0x60..0x65 2007-04-13 19:32:18 +00:00
belugas 39735f7b54 (svn r9619) -Documentation: Comments on drawing arrays of houses and industries 2007-04-13 17:15:06 +00:00
peter1138 b5b7b489ce (svn r9617) -Codechange: Implement callback for cargo profit calculation 2007-04-12 19:33:05 +00:00
maedhros b962cc911d (svn r9616) -Cleanup: Remove the NS setting type since it causes desyncs in multiplayer mode and only serves to confuse patch authors. 2007-04-12 18:36:54 +00:00
miham 10d4bfa2a7 (svn r9615) -Update: WebTranslator2 update to 2007-04-12 20:22:06
hungarian  - 8 fixed by miham (8)
italian    - 21 fixed, 707 changed by lorenzodv (728)
japanese   - 11 fixed by ickoonite (11)
2007-04-12 18:24:44 +00:00
maedhros 39b193efb6 (svn r9614) -Feature: Use the normal growth rate values when the growth rate is set to none and "Fund new buildings" is used. 2007-04-12 18:23:47 +00:00
maedhros 61fe356880 (svn r9613) -Feature: Make it possible to have some control over the town growth. The
default rate is TTD's original rate, and to approximate OpenTTD's previous
behaviour the rate should be set to "Fast" or "Very Fast". Town growth can be
switched off entirely, and if so, buildings will not be rebuilt. It is also
possible to specify a proportion of towns that grow twice as fast as the
others.
2007-04-12 17:24:34 +00:00
maedhros ccaaa7d33a (svn r9609) -Codechange: Move some function prototypes out of functions.h and into landscape.h, and add a few where they didn't exist. 2007-04-12 13:07:15 +00:00
peter1138 8cdec9a2ab (svn r9602) -Fix (r5833): Building rail on steep slopes ignored build_on_slopes patch setting. 2007-04-12 06:16:46 +00:00
peter1138 69982b1f01 (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID 2007-04-11 21:04:03 +00:00
peter1138 b47078d690 (svn r9598) -Fix (r9563): brainfart? in elrail transparency. who knows... 2007-04-11 20:42:13 +00:00
peter1138 91c407bd37 (svn r9597) -Codechange: Exclude sign transparency when toggling all options on/off 2007-04-11 20:14:11 +00:00
peter1138 23d9d6cfb4 (svn r9596) -Fix (r9563): (non-)transparency of station signs was confused with building transparency... 2007-04-11 20:13:32 +00:00
peter1138 9e967ed6bf (svn r9595) -Fix (r9563): Transparency hotkeys didn't work 2007-04-11 20:03:05 +00:00
belugas e161e60af6 (svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have 2007-04-10 20:58:04 +00:00
miham e34df4f3ad (svn r9585) -Update: WebTranslator2 update to 2007-04-10 14:52:27
romanian   - 26 fixed, 7 changed by kneekoo (33)
turkish    - 11 fixed by jnmbk (11)
2007-04-10 12:55:08 +00:00
maedhros afc3da5fc8 (svn r9581) -Revert (r9562): This broke as much as it fixed, so revert until a proper way of paying for refits when cloning can be found. 2007-04-10 09:01:56 +00:00
belugas 82ad5a6d9c (svn r9580) -Documentation: Correction of doxygen function declarations 2007-04-09 15:06:24 +00:00
belugas ec03c72afb (svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation. 2007-04-09 01:43:29 +00:00
belugas 93acc50678 (svn r9578) -Codechange: Cleanup of industry_cmd (Step-10). Use industry's spec map_colour for smallmap industry color code drawing 2007-04-09 01:14:43 +00:00
belugas cdb910d64b (svn r9577) -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet.
-Move the check proc array, in order to make it more useful latter.
-Add basic newGRF stuff on the industry spec. Not used yet.
2007-04-09 01:08:11 +00:00
miham 039720650a (svn r9576) -Update: WebTranslator2 update to 2007-04-08 19:22:55
american   - 15 fixed by WhiteRabbit (15)
polish     - 1 changed by meush (1)
2007-04-08 17:24:10 +00:00
belugas 12addc1bbe (svn r9574) -Fix(r9520, FS#721): Oil Rig ( or industry with behaviour INDUSTRYBEH_BUILT_ONWATER) should check all tiles before leaving the test. A tile in water does not ensure that all required tiles will necessary be on water. 2007-04-08 00:29:12 +00:00
glx 6b35482c8d (svn r9573) -Fix: enclose settings names containing spaces (like newgrf paths) with quotes 2007-04-07 22:30:10 +00:00
miham cb431a6a3e (svn r9572) [Translations] -Fix: (r9571) strange problem fixed in galician language header 2007-04-07 20:26:12 +00:00
miham 78a3c51423 (svn r9571) -Update: WebTranslator2 update to 2007-04-07 22:18:15
danish     - 15 fixed by MiR (15)
galician   - 14 fixed by Condex (14)
portuguese - 6 fixed by izhirahider (6)
russian    - 10 fixed by HMage (10)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovenian  - 15 fixed by Necrolyte (15)
2007-04-07 20:21:03 +00:00
miham 558a6267fd (svn r9570) -Update: WebTranslator2 update to 2007-04-06 19:21:04
brazilian_portuguese - 14 fixed by fukumori (14)
bulgarian  - 13 fixed by thetitan (10), groupsky (3)
catalan    - 13 fixed by arnaullv (13)
czech      - 9 fixed by Hadez (9)
dutch      - 13 fixed by habell (13)
esperanto  - 13 fixed by LaPingvino (13)
finnish    - 15 fixed by habazi (15)
french     - 9 fixed by glx (9)
frisian    - 99 fixed by ikkejw (99)
german     - 6 fixed by moewe2 (6)
hungarian  - 9 fixed by miham (9)
italian    - 13 fixed by lorenzodv (13)
korean     - 15 fixed by darkttd (15)
norwegian_nynorsk - 9 fixed by khaavik (9)
polish     - 16 fixed, 1 changed by meush (17)
russian    - 6 fixed, 3 changed by HMage (9)
slovak     - 9 fixed by lengyel (9)
spanish    - 15 fixed by eusebio (15)
traditional_chinese - 15 fixed, 5 changed by xbddc (20)
ukrainian  - 9 fixed by mad (9)
2007-04-06 17:30:17 +00:00
belugas 1c97841ff6 (svn r9569) -Fix(r9567): testing mode leftover... 2007-04-06 12:57:15 +00:00
belugas d4d5ce7ee5 (svn r9568) -Documentation: doxygen and comment changes: Root of src is finally done. Now, time to start clearing as much as possible 2007-04-06 04:10:19 +00:00
belugas 15d360c7f6 (svn r9567) -Fix(9555, FS#718): The industry ID been collected was just an index in a out of phase array. Now, ensure that the ID will really be an IndustryType 2007-04-06 02:12:15 +00:00
peter1138 39f92d1f21 (svn r9565) -Feature: Add list_patches console command. This shows all patches along with their current values. Based on patch by madman2003/GrimRC. 2007-04-05 12:59:57 +00:00
peter1138 614dd12f21 (svn r9564) -Fix (r9563): When adding files remember to add them... 2007-04-05 09:07:20 +00:00
peter1138 a2cec54c9d (svn r9563) -Feature: Add more finer control to transparency options, including a new toolbar, accessible from the map menu or Ctrl X. Patch by Wolf01. 2007-04-05 07:49:04 +00:00
maedhros abf88b687c (svn r9562) -Fix: When cloning, pay for the refit costs as well. 2007-04-04 14:21:46 +00:00
rubidium 3b8dd00bae (svn r9561) -Fix (r9561): loading the newgrfs in openttd.cfg was broken.
Note: as the 'full' path is stored of the newgrfs, the newgrfs in the old cfgs are not made default (you have to set them again).
2007-04-04 12:43:43 +00:00
rubidium db91588845 (svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
2007-04-04 12:03:10 +00:00
belugas a1b7fb8909 (svn r9559) -Documentation: doxygen and comment changes: 'U' and 'V' now. Almost done. Yeah. I know, I've already said that... 2007-04-04 04:08:47 +00:00
belugas f81217bcf4 (svn r9558) -Documentation: doxygen and comment changes: 'T' now. Almost done 2007-04-04 03:21:14 +00:00
belugas dfe5533db6 (svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near 2007-04-04 01:35:16 +00:00
belugas f12d1a3f0a (svn r9555) -Codechange: Cleanup of industry_cmd (Step-9). Use in-game appearing chances for industry creation. 2007-04-04 00:32:40 +00:00
rubidium a403f32e59 (svn r9554) -Documentation: add documentation to some map accessors. 2007-04-03 21:51:40 +00:00
rubidium d2634aaeec (svn r9553) -Documentation: fix ambiguity issue. 2007-04-03 19:19:04 +00:00
belugas 64f2e6ef07 (svn r9552) -Documentation: Some more doxygen work, adding comments too 2007-04-03 17:19:06 +00:00
belugas 56943ab584 (svn r9551) -Documentation: Some more doxygen work 2007-04-03 16:12:28 +00:00
belugas 0d691539a4 (svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
Not used yet.
2007-04-03 00:13:59 +00:00
belugas b1e0fdfd2a (svn r9549) -Codechange: Add definition of callbacks and callback masks for both industries and industry tiles 2007-04-03 00:01:18 +00:00
miham b13086bfee (svn r9548) [Translations] -Fix: Fixed empty strings added by WT2 [note to self: really should fix this old bug in WT2] 2007-04-02 19:47:36 +00:00
miham 517225935b (svn r9547) -Update: WebTranslator2 update to 2007-04-02 21:37:30
brazilian_portuguese - 2 fixed by tucalipe (2)
bulgarian  - 2 fixed by thetitan (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 6 fixed by Hadez (6)
dutch      - 2 fixed by habell (2)
esperanto  - 2 fixed, 1 changed by LaPingvino (3)
estonian   - 4 fixed by t2t2 (4)
french     - 6 fixed by glx (6)
hungarian  - 7 fixed by miham (7)
italian    - 2 fixed by lorenzodv (2)
norwegian_bokmal - 12 fixed by oletk (12)
slovak     - 6 fixed by lengyel (6)
ukrainian  - 6 fixed by mad (6)
2007-04-02 19:38:24 +00:00
rubidium 48c23d27f3 (svn r9546) -Fix (r9545): several typos... 2007-04-02 15:08:36 +00:00
belugas d58f9ef7b4 (svn r9545) -Documentation: Some corrections to previous doxygen work 2007-04-02 14:20:31 +00:00
maedhros e2cd1fedf7 (svn r9544) -Cleanup (r9543): Remove unused strings. 2007-04-02 11:38:52 +00:00
maedhros eae03e0f72 (svn r9543) -Fix [FS#691]: Split up STR_ENGINE_NOT_BUILDABLE into four strings so it can be
translated properly and remove "buildable", since it isn't actually a word.
2007-04-02 11:35:08 +00:00
belugas 65bc46082e (svn r9542) -Fix(FS# 712): When checking if a vehicle is on a given tile, and you are working on the ground tile, do not take aircrafts into account, as they do not pose any danger for the construction/destruction/conversion itself. Z stuff, in other words 2007-04-01 11:11:49 +00:00
celestar 191ea4b1ba (svn r9541) -Codechange: Safeguard the company-buying routines so that the buying player and the bought player need to be two different entities 2007-04-01 10:55:31 +00:00
celestar e3f1914de0 (svn r9540) -Fix (r1): Bankrupt AIs no longer buy themselves (usage of wrong variable) 2007-04-01 10:54:31 +00:00
truelight 32c3ba6604 (svn r9533) -Fix [FS#274]: when a company is removed (either via auto-clean, bankrupt, or take over), sell all the shares he has first, then sell the shares all people have on this company, and then remove the company. 2007-03-31 12:19:22 +00:00
maedhros 9c88baee67 (svn r9532) -Fix (r8741) [FS#708]: Make errors when building drive through road stops more descriptive. 2007-03-31 09:53:40 +00:00
maedhros 3ac05f25db (svn r9531) -Fix (r8661) [FS#692]: The scroll settings were wrong for trains as only a part
of the window should be horizontally scrollable, not all of it. This lead to
wagons without an engine overflowing the window and not being able to scroll to
the end of a train if there was an engine attached.
2007-03-31 08:24:05 +00:00
belugas 377fbf9eb7 (svn r9530) -Codechange: Replace a direct industry type access by a behaviour 2007-03-31 01:16:17 +00:00
truelight a764888619 (svn r9529) -Fix [FS#705]: when 2 clients joined together, the second asserted on the NewCompany command of the first 2007-03-30 22:17:47 +00:00
glx 94b3ea7b34 (svn r9528) -Fix r8610: don't try to modify non-existent widgets (many thanks to Bruce Perence, the libefence developer) 2007-03-30 21:58:38 +00:00
miham 70a73fceab (svn r9527) -Update: WebTranslator2 update to 2007-03-30 19:44:17
slovenian  - 2 fixed by Necrolyte (2)
2007-03-30 17:44:51 +00:00
belugas 77b3767f2f (svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees 2007-03-30 13:51:03 +00:00
miham 7a57ae4968 (svn r9525) -Update: WebTranslator2 update to 2007-03-29 19:56:13
estonian   - 3 fixed, 4 changed by kristjans (7)
finnish    - 2 fixed by pallokala (2)
italian    - 1 changed by lorenzodv (1)
traditional_chinese - 1 changed by xbddc (1)
turkish    - 12 fixed by jnmbk (12)
2007-03-29 17:59:24 +00:00
celestar a1ab0d29fe (svn r9524) -Fix(FS#640,r8755): Implemented a "dummy" State Machine for stations who got their airport removed while there were still aircraft within the State Machine (and thus caused asserts) 2007-03-29 13:52:34 +00:00
belugas 386e298acd (svn r9523) -Cleanup: doxygen changes. Time to take care of "R" 2007-03-28 20:41:35 +00:00
belugas 72fc068844 (svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc... 2007-03-28 20:06:28 +00:00
glx 29b2455761 (svn r9519) -Fix r7406 (revert r9518): free the malloced variable, not a pointer to that variable. Also free it if there's any error. 2007-03-28 14:31:52 +00:00
rubidium 5d3c610ab5 (svn r9518) -Fix [Windows]: do not free an uninitialized pointer. 2007-03-28 09:27:38 +00:00
maedhros c25d539543 (svn r9476) -Codechange: Make build windows for all vehicle types the same width. 2007-03-26 12:28:44 +00:00
maedhros cdf74ca0c9 (svn r9475) -Codechange: Allow the purchase details widget to expand dynamically if there's still not enough room for the text. 2007-03-26 11:41:14 +00:00
maedhros d2bd12d52e (svn r9474) -Fix (r8378): Expand the details widget in the vehicle build windows again to make room for all the text. 2007-03-26 08:55:45 +00:00
peter1138 2afcd1561a (svn r9473) -Codechange: add 'unhandled variable' debug message to newcargo resolver 2007-03-26 08:43:14 +00:00
maedhros c2312c37d6 (svn r9472) -Fix (r9449): num is the number of newlines in the string, not the number of lines. Also allow for maxh being negative. 2007-03-26 08:04:29 +00:00
belugas ac784b5fbe (svn r9469) -Fix(r3720): The maximum year allowed for to_euro conversion of custom currency was set to 1000, making it impossible to ever have one. Now, with 3000, it should be a little more comfortable 2007-03-25 23:57:09 +00:00
belugas 683aae8abf (svn r9467) -Fix(FS#703,6108): When resetting the array of currencies, the custom currency was reset too, thus loosing the setting a user could have used for it.(glx) 2007-03-25 23:42:55 +00:00
rubidium 45e788d524 (svn r9455) -Fix: the values for diff_custom, diff_level and snow_line in the .cfg were not properly checked. 2007-03-25 19:21:22 +00:00
maedhros 1a70cf53ff (svn r9449) -Fix: Truncate the newgrf information text in the newgrf gui if it's too long. 2007-03-25 16:09:36 +00:00
peter1138 f56fbbfed9 (svn r9439) -Codechange: check for valid default cargo type even if a vehicle is not refittable... 2007-03-25 10:43:27 +00:00
peter1138 e74169364c (svn r9438) -Codechange: Map cargo colours from DOS to Windows if necessary. 2007-03-25 08:13:07 +00:00
rubidium 0a3719fb72 (svn r9437) -Fix (r9420): dedicated server crashed when the y part of the resolution was less than 10. 2007-03-25 00:13:22 +00:00
peter1138 0ceca4140a (svn r9436) -Fix (r9411): don't deactivate GRF in an action 7/9 during reservation (and loading of cargo data), and action 6 should be run also 2007-03-24 23:43:33 +00:00
peter1138 fc540fcd0d (svn r9435) -Fix (r8972): ensure the cargo payment graph is at least 12 "items" high 2007-03-24 18:56:59 +00:00
peter1138 bea0993015 (svn r9434) -Fix (r9418): remove typedef from forward declaration to appease MSVC or something 2007-03-24 16:09:39 +00:00
truelight 9a9e891e0c (svn r9429) -Fix r9338: when deleting a vehicle which has shared orders with one more vehicle and no orders, segfaulted 2007-03-24 15:13:46 +00:00
peter1138 d53e16131d (svn r9427) -Codechange: remove redundant variable 2007-03-24 14:42:11 +00:00
celestar 49ff7cb938 (svn r9425) -Codechange/Fix (FS#689): Housekeeping in the convert rail functions: Changed the order of error checks to generate more meaningful error messages, added some doxygen comments and replaced bitshifting by proper mathematical operations 2007-03-24 09:12:03 +00:00
rubidium 694c7fdf0f (svn r9420) -Fix [FS#701]: crashes when the chatbox would be drawn outside of the main window. 2007-03-23 22:20:39 +00:00
peter1138 68572f1076 (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 2007-03-23 20:55:45 +00:00
peter1138 8353032129 (svn r9417) -Fix (r1): Waiting cargo icons in the station view window were incorrectly drawn if the cargo list was scrolled, resulting in overlapping images 2007-03-23 20:51:42 +00:00
peter1138 2e32df30dd (svn r9416) -Codechange: Split NewGRF Action 3 handler into separate functions for each feature (vehicles are common, though) 2007-03-23 20:01:25 +00:00
miham c603a27d29 (svn r9415) -Update: WebTranslator2 update to 2007-03-23 20:04:40
danish     - 1 changed by ThomasA (1)
german     - 5 fixed by moewe2 (5)
hungarian  - 1 fixed by miham (1)
portuguese - 8 fixed by Digitalfox (8)
simplified_chinese - 9 fixed by Fishingsnow (9)
2007-03-23 19:06:07 +00:00
peter1138 85ec21e8c5 (svn r9413) -Codechange: Remove default cargo translation table and use bitnums directly if no table is provided. This lets pre-cargolabel cargo definitions work. 2007-03-23 00:03:08 +00:00
peter1138 2f6a46632a (svn r9412) -Fix (r8886): When looking up a cargo type by label skip disabled cargos 2007-03-22 23:32:24 +00:00
peter1138 4d81a464e2 (svn r9411) -Codechange: Add support for loading of newcargo data. 2007-03-22 23:19:40 +00:00
belugas 06d3669bb5 (svn r9400) -Codechange: Use some more representative enum names for landscape types. 2007-03-22 03:42:43 +00:00
belugas 6e9ab4f7b8 (svn r9399) -Feature: Openttd.cfg will now present landscape patch entry as been temperate, arctic, tropic or toyland.
This is the first usage of the callback conversion system of settings loading
2007-03-22 03:35:18 +00:00
belugas deca0cc3fa (svn r9398) -Feature: Allow for a conversion callback system while reading configuration file, in case of wrong value.
This is the basic step, no patch setting is actually using it, so far
2007-03-22 03:15:58 +00:00
peter1138 e2801aa320 (svn r9393) -Codechange: Use newgrf town resolver as station parent scope handler 2007-03-21 20:58:01 +00:00
miham c29aa2ec44 (svn r9392) -Update: WebTranslator2 update to 2007-03-21 19:54:29
brazilian_portuguese - 2 changed by fukumori (2)
danish     - 11 fixed, 2 changed by ThomasA (13)
esperanto  - 8 fixed by LaPingvino (8)
estonian   - 28 fixed by vermon (27), t2t2 (1)
finnish    - 19 fixed, 66 changed by pallokala (9), habazi (76)
french     - 9 changed by Skiper (9)
italian    - 1 fixed, 49 changed by sidew (50)
traditional_chinese - 2 fixed by thomasau (2)
ukrainian  - 9 changed by mad (9)
2007-03-21 18:58:03 +00:00
belugas ca2fc01944 (svn r9391) -Documentation : correct Doxygen of comments and @file inclusion. Time for P and Q files 2007-03-21 17:42:43 +00:00
belugas 57557ba599 (svn r9390) -Documentation : correct Doxygen of comments and @file inclusion. This time, brought to you by the letter O 2007-03-21 15:19:33 +00:00
peter1138 d7f56f1550 (svn r9388) -Codechange: variable scope and type, and standardify all CargoID loops. 2007-03-21 13:19:01 +00:00
rubidium a9651a8b8f (svn r9387) -Fix (r9385): termination of a comment forgotten. 2007-03-21 11:50:34 +00:00
belugas dcd510c81f (svn r9385) -Cleanup: doxygen changes. Today, we are exploring the letter N. 2007-03-21 03:06:21 +00:00
rubidium 80ef389080 (svn r9378) -Fix [FS#688] (r9038): cancel in password queries reduces amount of players in the network game when they haven't joined the game yet. 2007-03-20 20:11:17 +00:00
rubidium 8e3e055248 (svn r9377) -Fix (r9376): the off-by-one error was also present at another location :( 2007-03-20 16:43:20 +00:00
rubidium c865b9f566 (svn r9376) -Fix (r8969): off-by-one error for the amount of mouth pieces for men. 2007-03-20 16:32:41 +00:00
rubidium 154c7c4bcf (svn r9373) -Fix (r9271): the chosen language was not stored nor read properly in/from the cfg. 2007-03-20 14:01:21 +00:00
maedhros 48f2bf9bb1 (svn r9371) -Feature: Add support for variable snow lines in the arctic climate, supplied
by newgrf files. When this is enabled forests cannot be built below the highest
snow line, and farms can't be built above it. Houses still use the
_opt.snow_line so they are all consistent, so to make them respect the snowline
you may want to use some newhouses features as well.
2007-03-20 13:47:00 +00:00
maedhros 7812f7fd0a (svn r9367) -Fix (r9315): If a new house doesn't have a corresponding action 3, the
graphics for the substitute (original) house should be drawn instead.
2007-03-20 10:06:39 +00:00
belugas b82ed41a19 (svn r9366) -Codechange: Unify the different houses acceptances attributes on their cargo counterpart, as well as specifying cargo slot. 2007-03-20 02:24:14 +00:00
peter1138 1bea18b440 (svn r9352) -Codechange: Use cargo class to determine if an aircraft should carry mail 2007-03-19 20:54:13 +00:00
rubidium b0beea9989 (svn r9339) -Codechange: disable shares by default as the sharing system is broken (abusable) and should therefor not be used in multiplayer games.
-Codechange: make default maximum distance from the edge for oil refineries a little higher, so the chance that you get oil refineries is a little better.
2007-03-19 17:08:51 +00:00
truelight 58ef6ecc33 (svn r9338) -Fix: close the Shared Order Vehicle List if you remove the shared link with only 2 vehicles 2007-03-19 15:59:23 +00:00
truelight 9435d8cc83 (svn r9337) -Fix [FS#542]: assert() when you removed the orders of a shared list while having the shared order vehicle list open. 2007-03-19 15:36:18 +00:00
peter1138 63ccdcf082 (svn r9327) -Fix (r9301): Fix warning on MSVC 2007-03-19 12:58:43 +00:00
peter1138 457930c483 (svn r9322) -Codechange: Use cargo class to count crash/flood victims 2007-03-19 12:40:51 +00:00
maedhros 28aa933489 (svn r9316) -Fix (r9315): Bump the savegame version for the newhouses merge. 2007-03-19 11:41:21 +00:00
maedhros 73ff939ddb (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
peter1138 ae48a7447b (svn r9303) -Codechange: Use cargo class when counting passengers in a road vehicle crash, and when loading aircraft. 2007-03-18 22:32:05 +00:00
peter1138 8ef0e43b94 (svn r9302) -Codechange: Use cargo class to test for passengers when deciding on the livery scheme to use. 2007-03-18 22:11:24 +00:00
peter1138 e485b8f694 (svn r9301) -Codechange: Use cargo class to determine if a road vehicle can stop in bus or truck stops. 2007-03-18 22:07:44 +00:00
peter1138 f4cad9017e (svn r9300) -Codechange: Use cargo's town effect property in the subsidy gui 2007-03-18 21:58:03 +00:00
richk f44cbfe1fe (svn r9299) -Fix (FS#675,FS#660): Small micro-movements on airports (of <4 pixels) caused odd aircraft movements. On oilrigs, this caused a full crash as movement would take helicopter out of airport/station tile.
Corrected by maneuvering aircraft directly over these tiny movements, rather than relying on movement by changing facing.
2007-03-18 21:44:00 +00:00
richk 408442d575 (svn r9298) -Fix (r1): A34-1000, Z-Shuttle, and Kelling K1 should be listed as small aircraft. 2007-03-18 21:38:30 +00:00
miham 051b3aba87 (svn r9292) [Translations] -Fix: Removed empty translation reached /trunk 2007-03-18 20:06:51 +00:00
miham 1f30eca98a (svn r9286) -Update: WebTranslator2 update to 2007-03-18 19:56:07
american   - 10 fixed by WhiteRabbit (10)
brazilian_portuguese - 7 fixed by fukumori (7)
bulgarian  - 12 fixed by thetitan (12)
catalan    - 3 fixed by arnaullv (3)
czech      - 8 fixed by Hadez (8)
dutch      - 8 fixed by habell (8)
french     - 3 fixed by glx (3)
greek      - 80 fixed by thanoulas (80)
italian    - 7 fixed, 7 changed by sidew (6), bluesboy84 (8)
japanese   - 11 fixed by PouncingAnt (2), ickoonite (9)
korean     - 3 fixed by darkttd (3)
norwegian_nynorsk - 6 fixed by pollux (6)
polish     - 7 fixed by meush (7)
russian    - 9 fixed, 1 changed by DarkFenX (10)
slovak     - 10 fixed by lengyel (10)
slovenian  - 6 fixed by Necrolyte (6)
spanish    - 9 fixed by eusebio (9)
swedish    - 9 fixed by daishan (9)
traditional_chinese - 6 fixed, 4 changed by thomasau (10)
ukrainian  - 9 fixed by mad (9)
2007-03-18 19:00:27 +00:00
rubidium 5171c3fbe4 (svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg). 2007-03-18 18:02:24 +00:00
rubidium 84d9f832c3 (svn r9277) -Fix [FS#685]: shared orders got messed up when the 'first' trains got removed in the depot. 2007-03-18 15:32:42 +00:00
celestar 693c2f12cb (svn r9275) -Fix(r8973, FS#686): Faulty display of aircraft maximum velocity in the news item for new vehicles 2007-03-18 10:37:22 +00:00
rubidium 7fb3b4f83e (svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths). 2007-03-17 22:21:05 +00:00
rubidium 534db3cf08 (svn r9267) -Fix (r9266): some leftover includes and erronous call to ChangeWorkingDirectory (it was moved). 2007-03-17 14:15:21 +00:00
rubidium 50b2088674 (svn r9266) -Codechange: unify the retrieval of the base paths a little more. 2007-03-17 11:36:04 +00:00
peter1138 92486ac980 (svn r9259) -Codechange: NUM_CARGO isn't a valid cargo type... 2007-03-16 21:42:11 +00:00
peter1138 1014c82180 (svn r9257) -Codechange: Use cargo's town effect property for determining subsidy source/target type. 2007-03-16 17:40:31 +00:00
celestar 124725d863 (svn r9251) -Fix(r6057, FS#644): Use a less CPU-intensive algorithm to find a random industry for the AI to prevent it slowing down the game. The AI now sucks a even a bit more than before (if that's even possible). 2007-03-16 10:11:16 +00:00
peter1138 c5313e3479 (svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup. 2007-03-16 00:55:59 +00:00
peter1138 99577265de (svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs. 2007-03-15 22:48:46 +00:00
belugas 78b4c42f17 (svn r9215) -Documentation : correct Doxygen of comments 2007-03-15 17:42:32 +00:00
truelight 41caaf4d14 (svn r9205) -Fix: if you started openttd with '-g' you got the same map every run 2007-03-15 14:34:10 +00:00
belugas eb1e6c19ad (svn r9190) -Fix: Little typo in an enum. 2007-03-15 01:17:20 +00:00
maedhros 33e84b2c1e (svn r9178) -Fix (r7573) [FS#679]: Don't allow building docks or buoys under bridges. 2007-03-14 12:56:09 +00:00
belugas 65ce0e36db (svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array
Added a few documentation on remaining animation arrays (mostly ToyLand ones)
2007-03-14 02:52:50 +00:00
peter1138 4177215b41 (svn r9147) -Fix (r1770, r8161): when loadin games, enroute_from and enroute_from_xy were updated in the wrong place, causing issues with TTD savegames/scenarios. 2007-03-13 21:31:09 +00:00
KUDr c7bcdb69b1 (svn r9146) -Fix [NTP][FS#676](r6800): "Train is lost" message is generated incorrectly. Forgot to set the best bird distance to zero in case we found the destination to indicate success. (de_zeurkous) 2007-03-13 21:04:22 +00:00
truelight e3f73943f6 (svn r9137) -Fix: if all news-setting buttons show 'full', make the ALL-button show 'full' too 2007-03-13 12:05:41 +00:00
miham 31957860f3 (svn r9132) [Translations] -Fix: Removed empty strings added by last commit 2007-03-12 19:58:56 +00:00
rubidium 1926b9038d (svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together. 2007-03-12 15:40:12 +00:00
rubidium 9299e76a25 (svn r9129) -Codechange: unify parts of DeterminePaths. 2007-03-12 15:25:33 +00:00
peter1138 1c55149e1f (svn r9127) -Codechange: Check if a cargo is valid before displaying it in a station's cargo rating list. (And duff up the block a little) 2007-03-11 22:29:37 +00:00
bjarni 4cc3551ef2 (svn r9126) -Feature: "Function of scrollwheel" can now be set to off as well
Note: since this can be useful for all platforms, the GUI is no longer OSX specific.
  Note: scrolling lists is still unaffected by this setting
2007-03-11 21:53:46 +00:00
bjarni 3cf65b8a08 (svn r9125) -Fix r9111: default scrollwheel setting is now zooming, not scrolling 2007-03-11 21:39:20 +00:00
miham 276eeb14df (svn r9118) -Update: WebTranslator2 update to 2007-03-11 16:16:39
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 5 fixed by arnaullv (5)
czech      - 1 changed by Hadez (1)
esperanto  - 1 fixed by LaPingvino (1)
french     - 5 fixed by glx (5)
german     - 1 fixed by Neonox (1)
greek      - 260 fixed by thanoulas (260)
hungarian  - 8 fixed by miham (8)
italian    - 1 fixed by sidew (1)
korean     - 12 fixed by leejaeuk5 (7), darkttd (5)
polish     - 1 fixed, 2 changed by meush (3)
portuguese - 2 fixed by izhirahider (2)
slovenian  - 1 fixed by Necrolyte (1)
traditional_chinese - 1 fixed, 42 changed by thomasau (43)
2007-03-11 15:17:30 +00:00
rubidium 16a9f79a6a (svn r9117) -Fix: the (current) difficulty level button was not selected when opening the difficulty window. 2007-03-11 14:56:35 +00:00
miham 473f33f129 (svn r9116) [Translations] -Change: force remove of changed translations (r9115) to ensure they are really changed 2007-03-11 14:38:52 +00:00
rubidium a2ca998dd4 (svn r9115) -Fix [FS#622]: make clear in the tooltips when the canal build tool (in the scenario editor) makes flooding water (ocean). 2007-03-11 14:17:53 +00:00
bjarni 9be41fede6 (svn r9112) -Feature r9111: scrollwheel scrolling can now also scroll the smallmap 2007-03-11 11:57:11 +00:00
bjarni 50fe0fe059 (svn r9111) -Feature: [OSX] mighty mice and touchpads can now scroll the map (in all directions)
It has to be enabled first (in patches->interface) first and this will disable scrollwheel zooming
  Note: patch setting "Map scrollwheel speed" might need to be changed since the "correct" setting
    appears to depend on what kind of mouse is in use (mighty mouse or touchpad)
2007-03-11 10:55:35 +00:00
belugas 6def45089d (svn r9108) -Fix(9093) : MSVC was a bit unhappy with some of the type changes. So basically, widening the types makes the difference 2007-03-11 02:53:44 +00:00
rubidium b89d13cdbf (svn r9105) -Fix [FS#629]: disable the ability to make flooding water with the canal build tool. In the scenario editor you can still make both canals and flooding water at height level 0. 2007-03-10 21:44:22 +00:00
KUDr 00bc893312 (svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138) 2007-03-10 20:05:31 +00:00
peter1138 1a7d9dd6c0 (svn r9102) -Codechange: (NewGRF) Apply cargo translation table to vehicle refit masks 2007-03-10 16:21:29 +00:00
truelight 146e5e12ec (svn r9097) -Fix [FS#525]: open and close messages now have their own setting, so you can hide economy changes, but do show open/close of industries
-Change: store news_display_opt in his own section, so it is no longer stored as uint in openttd.cfg (allows adding news-types easier)
2007-03-10 12:10:00 +00:00
peter1138 1461e39bb9 (svn r9094) -Codechange: Don't set up refit masks for engine types not in the current climate, and exclude engine types if their cargo type is invalid and they have no refittable type. 2007-03-10 10:08:38 +00:00
peter1138 f662e0f996 (svn r9093) -Codechange: variable scope / type 2007-03-10 09:55:11 +00:00
peter1138 e83e9b9e44 (svn r9092) -Codechange: (NewGRF) (re r8885) Also set cargo type as invalid if the chosen type is not available in the current climate. 2007-03-10 09:23:33 +00:00
belugas 0a8e1aa8d6 (svn r9089) -Codechange: Remove the 32 widgets limit on News Options window.
-Codechange: Use the newly created WWT_TEXT widget.
-Cleanup: remove a lot of magic numbers, make the whole window more flexible, with now the possibility to easily add new type of news events.
Thanks glx for ideas from an old patch
2007-03-10 03:33:43 +00:00
belugas 3e91313326 (svn r9088) -Add : a new type of widget, called WWT_TEXT. It is a simple truncated string. It will be usefull on windows where lot of simple text is always drawn on the WE_PAINT event, making the code clearer. For now, left, right (total size of the window), top, color and data are necessary to use it. Maybe more features will be available soon. 2007-03-10 03:25:15 +00:00
Darkvater 2a2ee534e9 (svn r9086) -Feature/Fix: [win32] Rewrite keyboard input and handle all keypresses in a WM_CHAR event. This saves us from doing translation (ToUnicode[Ex], ToAscii[Ex]), and we get free IME-input support as a plus. 2007-03-10 00:30:18 +00:00
Darkvater 86be8991c6 (svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage (non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop. 2007-03-10 00:29:20 +00:00
Darkvater 3702f987c8 (svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have CF_UNICODETEXT) correctly converts the input to the current locale. 2007-03-10 00:27:20 +00:00
Darkvater 3b3c7554b7 (svn r9083) -Codechange: Be more lenient when trimming UTF-8 strings and don't terminate the string when an invalid encoding is encountered, but only focus on maximum length. 2007-03-10 00:26:19 +00:00
KUDr 933c406678 (svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead. 2007-03-09 23:26:21 +00:00
peter1138 fe2b3e18fb (svn r9080) -Codechange: dynamically build cargo filter buttons in the station list window. 2007-03-09 22:55:57 +00:00
peter1138 c94480ab80 (svn r9079) -Codechange: add WWT_LAST widget when dynamically building cargo payment graph 2007-03-09 22:55:04 +00:00
rubidium 8dc695edea (svn r9078) -Codechange: coding style. 2007-03-09 15:12:37 +00:00
rubidium 2e1bda2c1a (svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances. 2007-03-09 14:41:39 +00:00
rubidium d609dff2ba (svn r9076) -Fix [FS#529]: the intercontinental airport used 'T-junction' runway sprites when there is no exit in the middle of the runway as in the city airport (skidd13). 2007-03-09 10:12:08 +00:00
belugas 8eb0a220e6 (svn r9075) -Codechange: Cleanup of industry_cmd (Step-7). Small step that is. The new industry messages do not need a series of tests. Only one property to use. 2007-03-09 02:04:07 +00:00
glx b52c4dea25 (svn r9074) -Codechange: win32 dedicated console now doesn't need an extra 'enter' to fully quit 2007-03-09 00:15:43 +00:00
bjarni f776f3beb1 (svn r9073) -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file) 2007-03-08 23:05:05 +00:00
bjarni c2b7d0192d (svn r9072) -Codechange: [Orders] added methods to orders to free them and check if they are in use 2007-03-08 21:39:34 +00:00
truelight daeac3d310 (svn r9071) -Fix [FS#459]: when in networking an other player takes over an AI which is also controlled by a player, move the player with the company to the company who bought out the AI 2007-03-08 21:05:05 +00:00
truelight 8877d11815 (svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station 2007-03-08 20:50:27 +00:00
peter1138 6040e559ce (svn r9069) -Codechange: Change a do ... while loop with a for loop. This fixes some warning that I never got anyway... 2007-03-08 19:23:49 +00:00
rubidium ce919e8c71 (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). 2007-03-08 16:27:54 +00:00
truelight aca3fb2b6e (svn r9067) -Fix [FS#637]: don't make owner signs transparent, as then you loose the information who it owns 2007-03-08 15:50:07 +00:00
truelight 7b153e6356 (svn r9066) -Fix [FS#638]: store the owner of a statue, so when it gets removed, the town is notified of it 2007-03-08 14:34:32 +00:00
rubidium c517f8fd6e (svn r9065) -Fix: possible dereference of NULL pointer. 2007-03-08 13:54:19 +00:00
truelight 70623e3488 (svn r9064) -Fix [FS#663]: don't keep on scrolling for non-numeric values in settings, but require reclick 2007-03-08 12:57:08 +00:00
celestar 0fd907e0ec (svn r9062) -Fix (r4822, FS#595): The station list, sorted by cargo rating, now takes stations into account that have no cargo waiting (KeeperOfTheSoul). While at it, doxygen the function 2007-03-08 12:26:31 +00:00
rubidium c89379f7eb (svn r9061) -Fix [r9038, FS#668]: passwords are send when the server is in the 'authorizing' state, not 'inactive'. 2007-03-08 09:46:44 +00:00
Darkvater 2536a14abd (svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system. 2007-03-07 18:58:28 +00:00
miham 5e1351b377 (svn r9054) -Update: WebTranslator2 update to 2007-03-07 18:39:14
catalan    - 2 fixed by arnaullv (2)
croatian   - 95 fixed, 34 changed by Ydobon (129)
czech      - 1 fixed, 3 deleted, 109 changed by Hadez (113)
danish     - 4 fixed by ThomasA (4)
dutch      - 2 fixed by habell (2)
esperanto  - 5 fixed by LaPingvino (5)
french     - 2 fixed by glx (2)
german     - 1 fixed by Neonox (1)
hungarian  - 1 fixed by miham (1)
italian    - 1 fixed by sidew (1)
japanese   - 14 fixed by ickoonite (14)
korean     - 9 fixed by Nios (9)
norwegian_nynorsk - 1 fixed by Eikje3 (1)
polish     - 2 fixed by meush (2)
simplified_chinese - 5 fixed by Fishingsnow (5)
slovenian  - 1 fixed by Necrolyte (1)
spanish    - 5 fixed by eusebio (5)
swedish    - 5 fixed by daishan (5)
traditional_chinese - 7 fixed by sam0737 (7)
ukrainian  - 1 fixed by znikoz (1)
2007-03-07 17:42:09 +00:00
rubidium 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 2007-03-07 12:11:48 +00:00
rubidium 36bb92ae24 (svn r9050) -Codechange: Foo(void) -> Foo() 2007-03-07 11:47:46 +00:00
glx 0b5cbecd3d (svn r9048) -Fix r9040: non-bool used as bool 2007-03-06 23:27:14 +00:00
rubidium 1e8a2e19b3 (svn r9043) -Fix [FS#652]: the personal (.openttd) directories were hidden in the load/save directory listings (stepancheg). 2007-03-06 22:37:04 +00:00
belugas 7a58642b6c (svn r9042) -Add : Maedhros as a developper 2007-03-06 22:16:43 +00:00
bjarni f61f1962c5 (svn r9040) -Codechange: the build window and CmdBuildAircraft() now shares the code to figure out if an aircraft is buildable in the hangar in question
This should help ensuring that the build command and the list are consistent in what aircraft are buildable
2007-03-06 22:11:58 +00:00
bjarni a24913d461 (svn r9039) -Fix r9034: missed the _pause in cocoa_v.mm 2007-03-06 22:01:59 +00:00
rubidium a2b5b74b83 (svn r9038) -Fix [FS#115]: inactive connections are not automatically kicked, i.e. people who only open a telnet (or similar) connection to a server. 2007-03-06 22:00:42 +00:00
maedhros 68020bfa6d (svn r9037) -Feature: [NewGRF] Add support for Action 13, which allows you to translate
grf-specific texts. The translations will only be shown if you're using a
language with a grf language id and if a string hasn't already been set
specifically for the language you're using.
2007-03-06 22:00:13 +00:00
rubidium f1abcf0ff7 (svn r9036) -Fix [SunOS]: SunOS/Solaris does not have stdint.h, so use inttypes.h which defines the things we need from stdint.h. 2007-03-06 21:18:25 +00:00
truelight 621ea1d863 (svn r9035) -Fix [SunOS]: Solaris sometimes has pid_t defined as long. Fix warnings in those cases 2007-03-06 21:14:48 +00:00
truelight 43133c766c (svn r9034) -Codechange: renamed _pause to _pause_game, as some targets already have
a symbol called _pause (and therefor our variable conflicts with 
 thatone. We shouldn't be using _ as global indicator.....)
2007-03-06 20:59:52 +00:00
maedhros 1c7df202c6 (svn r9031) -Codechange: Introduce grfconfig->status, and use it for states that are
mutually exclusive. At the same time, add an INITIALISED state which makes it
possible to check if a grf is not yet active but will be later on during the
GLS_ACTIVATION loading stage.
2007-03-06 19:33:28 +00:00
maedhros 60703d3691 (svn r9029) -Fix (r7326): Only call the gradual loading amount callback if the bit for it is set in the vehicle's callbackmask. 2007-03-06 19:12:56 +00:00
rubidium b5f418d9f1 (svn r9027) -Fix [FS#664]: desync caused by buffer overrun. 2007-03-06 18:03:06 +00:00
richk 4b2ff65e0e (svn r9022) -Fix [FS#660]: Airport state machine fails if the adjustment in position is less than 4 pixels. The new planespeed movement made this a fatal error on the oilrig. This fix just corrects the oilrig movement orders so that the error does not occur.
Full solution is to allow minor corrections without changing the facing of the aircraft. (spotted by ledow)
2007-03-05 23:00:43 +00:00
miham 71e4bb484c (svn r9021) [Translations] -Fix: removed empty strings once again. 2007-03-05 20:00:43 +00:00
miham 3859bde772 (svn r9020) -Update: WebTranslator2 update to 2007-03-05 19:56:28
american   - 17 fixed by WhiteRabbit (17)
brazilian_portuguese - 4 fixed by fukumori (4)
bulgarian  - 1 fixed by thetitan (1)
catalan    - 4 fixed by arnaullv (4)
czech      - 5 fixed, 39 changed by Hadez (44)
dutch      - 4 fixed by habell (4)
finnish    - 7 fixed by pallokala (7)
greek      - 10 fixed by thanoulas (10)
italian    - 4 fixed by sidew (4)
polish     - 3 fixed, 5 changed by meush (8)
portuguese - 3 fixed by izhirahider (3)
romanian   - 17 fixed, 8 changed by kneekoo (25)
russian    - 3 changed by DarkFenX (3)
slovak     - 4 fixed, 30 changed by lengyel (34)
ukrainian  - 6 fixed by znikoz (6)
2007-03-05 18:57:19 +00:00
truelight 657be6d2d0 (svn r9019) -Fix: use <> for system-headers 2007-03-05 18:00:18 +00:00
miham 53caedd0bf (svn r9018) -Change: added SunOS as OS name in the quit dialog 2007-03-05 17:05:41 +00:00
celestar f8e7d08885 (svn r9016) [SunOS] -Fix: Don't use a struct-member that doesn't exist.
-Documentation: Updated readme.txt for SunOS 5.10 (aka Solaris 10)
Note: With this commit, building and running on Solaris 10 works, thus
we officially support this OS now :)
2007-03-05 09:35:45 +00:00
tron e092b2d8c7 (svn r9015) -Fix
NL at EOF
2007-03-05 05:03:28 +00:00
tron 89d03d004a (svn r9014) -Fix
Improve translation using gender tags
2007-03-05 05:02:24 +00:00
tron 8dfe956a37 (svn r9013) -Fix
Remove incorrect empty translation
2007-03-05 05:01:06 +00:00
Darkvater 915ae8ffc2 (svn r9012) -Fix/Feature (UTF8): When cutting strings into multiple lines also take into consideration whitespace characters of more than 1 byte length (eg IDEOGRAPHIC SPACE, IsWhitespace() function). When trimming such strings, account for multiple-byte long sequences so use *Utf8PrevChar(v) = '\0'.
-Codechange: Add a function Utf8TrimString() that properly trims a string to an UTF8 encoding seperation instead of somewhere in the wild (and use it in the chat area)
2007-03-05 00:45:56 +00:00
Darkvater aea64adbb9 (svn r9011) -Codechange (r9003): Rework Utf8PrevChar so that it returns a pointer to the previous UTF8 character's first byte instead of a byte-length offset 2007-03-05 00:34:48 +00:00
Darkvater b3f59814de (svn r9009) -Fix (r1): Determine whether to play a sound or not when entering a tunnel based on engine type (only steam engines) instead of on spritenum which can be invalid for newgrf trains. DBSet(XL) or any other steam trains without newsounds should sound their horn now. 2007-03-04 22:14:32 +00:00
miham ebe9bd4539 (svn r9005) -Update: WebTranslator2 update to 2007-03-04 09:03:25
bulgarian  - 13 fixed by groupsky (13)
danish     - 13 fixed by ThomasA (13)
french     - 4 fixed, 6 changed by glx (4), Skiper (6)
german     - 4 fixed by Neonox (4)
hungarian  - 3 fixed by miham (3)
norwegian_bokmal - 13 fixed by oletk (13)
norwegian_nynorsk - 20 fixed, 1 changed by pollux (21)
portuguese - 4 fixed by izhirahider (4)
russian    - 4 fixed, 10 changed by DarkFenX (14)
simplified_chinese - 13 fixed by Fishingsnow (13)
slovenian  - 4 fixed by Necrolyte (4)
traditional_chinese - 2 fixed by thomasau (2)
2007-03-04 08:05:43 +00:00
Darkvater 0d643c624b (svn r9003) -Codechange: Introduce a function Utf8PrevCharLen that finds the starting character of an UTF-8 sequence from a given position and returns the length to the first UTF-8 encoding byte of that sequence. 2007-03-04 00:49:40 +00:00
rubidium ead8c82ab6 (svn r9002) -Update: remove strings removed in r9001 from languages other than English. 2007-03-03 22:15:37 +00:00
rubidium 35fde14a52 (svn r9001) -Codechange: remove duplication of functions and strings with respect to the news of new vehicles. 2007-03-03 22:03:15 +00:00
rubidium cf47f2a856 (svn r9000) -Fix [FS#581, r2572]: new locomotive names were not announced in the news, it said "new railway locomotive available - railway locomotive". 2007-03-03 20:43:52 +00:00
rubidium 2061d6af27 (svn r8999) -Fix [FS#450]: do not select a disabled platform length/number of track count when going out of drag-drop mode. 2007-03-03 20:43:50 +00:00
Darkvater e33a8d3caa (svn r8995) -Fix (FS#620, r8464): revert properly (reversion of r4322) internal speeds 2007-03-03 13:36:25 +00:00
Darkvater b024134c6a (svn r8994) -Fix [FS642, r3320]: [win32] Resolution doubled in cfg file when fullscreen mode used. Use _wnd.double_size which gives back its correct state with respect to double size and fullscreen. 2007-03-03 13:13:25 +00:00
peter1138 db2f57e3a1 (svn r8990) -Fix: more indenting and variable scoping 2007-03-03 10:48:25 +00:00
peter1138 8f2a554864 (svn r8989) -Fix: more indenting and variable scoping 2007-03-03 09:58:20 +00:00
peter1138 55d544d47e (svn r8988) -Fix: Indenting, variable scope, variable type and minor duffage 2007-03-03 09:40:34 +00:00
belugas b71354dc40 (svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style. 2007-03-03 04:04:22 +00:00
rubidium 6887fbbaaf (svn r8980) -Fix (FS#656): the industry list should also be (re)set when the number of industries is 0. 2007-03-02 19:57:55 +00:00
rubidium 517f2bcc57 (svn r8979) -Fix (r8978): unsigned vs signed comparisons. 2007-03-02 18:57:54 +00:00
richk d11e36e477 (svn r8978) -Feature: Rewrite of transfer system.
This major feature-fix keeps track of the value of transfers offloaded at a station, and hands on to a loading vehicle a credit note proportionate to the cargo loaded. The transferring vehicle is paid only for the distance it has travelled. eg. B-C in a transfer chain A-B-C-D.
When the final cargo is delivered, these credit notes are cashed, and the final vehicle is paid for A-D minus any credit notes it is carrying. The company bank balance increases by the value of the A-D route.
You still need to set up a profitable route; it is still easy to make a loss on transfers by bad planning. :)
2007-03-02 18:49:11 +00:00
Darkvater 0961e1bc56 (svn r8977) -Codechange: Remove the hardcoded maximum width for some drawstrings and replace them with a portion of w->width. Only visible improvement is QueryWndProc which will not write exactly to the edge of the window anymore. 2007-03-02 17:54:52 +00:00
Darkvater 991fbeaefa (svn r8976) -Codechange: Reinitialize all engines after grf files have been reloaded/changed. 2007-03-02 15:17:48 +00:00
Darkvater baf79a6a85 (svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long. 2007-03-02 15:08:28 +00:00
Darkvater c0971bafdc (svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that we don't conflict with Vista Platform SDK (boekabart) 2007-03-02 15:02:12 +00:00
celestar f621608f7d (svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type. 2007-03-02 12:01:24 +00:00
peter1138 879eca8e23 (svn r8972) -Codechange: Dynamically add buttons on the cargo payment graph. This lets us remove the gaps and allow more than 12 cargo types later. 2007-03-02 11:36:34 +00:00
rubidium ea319b78f8 (svn r8969) -Codechange: rework of the player face bits.
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
 - replace tons of ifs/switches/magic numbers by table lookups
2007-03-02 01:17:11 +00:00
truelight 322953ad2e (svn r8967) -Fix (OSX): silent the warnings in cocoa_v.mm about deprecated stuff.. we know that\! 2007-03-02 00:36:16 +00:00
rubidium 08973ba8eb (svn r8966) -Codechange: replace some if-cascades by switches. 2007-03-02 00:17:35 +00:00
rubidium cd8090f3bd (svn r8964) -Codechange: use grf_load_string to read action 8 strings instead of trying to do the same manually. 2007-03-01 23:37:05 +00:00
miham c53f174005 (svn r8957) -Update: WebTranslator2 update to 2007-03-01 21:03:45
afrikaans  - 69 fixed, 24 changed by TrueTenacity (93)
american   - 1 fixed by WhiteRabbit (1)
brazilian_portuguese - 14 fixed, 9 changed by tucalipe (11), fukumori (12)
catalan    - 13 fixed by arnaullv (13)
czech      - 13 fixed by Hadez (13)
dutch      - 13 fixed by habell (13)
esperanto  - 13 fixed by LaPingvino (13)
french     - 13 fixed, 1 changed by glx (14)
german     - 13 fixed by Neonox (13)
hungarian  - 13 fixed by miham (13)
icelandic  - 1 fixed by scrooge (1)
italian    - 13 fixed by sidew (13)
japanese   - 4 fixed by ickoonite (4)
korean     - 3 fixed by darkttd (3)
norwegian_bokmal - 1 fixed by oletk (1)
polish     - 14 fixed by meush (14)
portuguese - 11 fixed by izhirahider (11)
russian    - 13 fixed, 25 changed by DarkFenX (38)
slovak     - 16 fixed, 33 changed by lengyel (49)
slovenian  - 13 fixed by Necrolyte (13)
spanish    - 13 fixed by eusebio (13)
swedish    - 13 fixed by daishan (13)
traditional_chinese - 9 fixed, 3 changed by thomasau (12)
turkish    - 13 fixed by jnmbk (13)
ukrainian  - 15 fixed, 29 changed by mad (32), znikoz (12)
2007-03-01 20:12:41 +00:00
rubidium c8faa6bee2 (svn r8955) -Fix: crash on loading savegames with GRFs that do not have their GRF info/name set. 2007-03-01 18:28:55 +00:00
rubidium 05fe6d2362 (svn r8954) -Codechange: remove direct map accesses from non-map-accessor headers. 2007-03-01 13:35:40 +00:00