Commit Graph

1332 Commits

Author SHA1 Message Date
peter1138 63f7965920 (svn r9963) -Fix (r9962): 'smooth_scroll' patch setting was ignored (always on) in some places. 2007-05-28 17:07:19 +00:00
peter1138 344e9007fe (svn r9962) -Feature: Add smooth viewport scrolling. This must be enabled with patch setting 'smooth_scroll' 2007-05-28 16:46:16 +00:00
rubidium 1a8a44165b (svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8. 2007-05-28 04:15:32 +00:00
rubidium 2347c45d35 (svn r9960) -Fix [FS#813]: road wasn't properly added when overbuilding a tram rails with normal rails to for a crossing. 2007-05-28 03:41:18 +00:00
maedhros 710cc5a597 (svn r9959) -Fix: Only call GetNextVehicle for trains. 2007-05-27 17:27:07 +00:00
rubidium 7f0339748f (svn r9958) -Fix (r9892): upgrading old savegames made (road)bridges unuseable. 2007-05-27 14:42:40 +00:00
rubidium 2dd0ba36cb (svn r9957) -Change: replace cargo tram with freight tram for consistency. 2007-05-27 10:00:37 +00:00
peter1138 974aebcce5 (svn r9956) -Codechange: Add tram livery schemes 2007-05-27 09:33:41 +00:00
maedhros 21454957b5 (svn r9955) -Codechange: Make _roadveh_enter_depot_unk0 slightly less mysterious. 2007-05-27 09:17:30 +00:00
rubidium 53380fc047 (svn r9954) -Fix [FS#811]: trolley AI crashed when trying to determine what the roadbits are. 2007-05-27 08:53:21 +00:00
maedhros 1b33f19877 (svn r9953) -Fix: Only check whether trains are multiheaded when cloning. 2007-05-27 05:32:37 +00:00
glx 3db7a70057 (svn r9952) -Fix r9951: it was not possible to build a drive-through station over a road/tram 2007-05-27 01:59:07 +00:00
glx 8c9b4ee548 (svn r9951) -Fix: slope check was incomplete when building road over tram track (and vice-versa)
-Fix: you could build a drive-through station over a sloped road/tram track
2007-05-27 01:03:59 +00:00
rubidium 8602acc433 (svn r9950) -Feature(tte): allow terraforming under bridges. 2007-05-26 23:23:22 +00:00
rubidium c69458d894 (svn r9949) -Fix: (road) depots got deowned on bankrupts. 2007-05-26 23:18:42 +00:00
rubidium 35f1299d40 (svn r9948) -Fix (r9947): building illegal roads on slopes. Why do 'fixes' always have the tendancy to backfire? 2007-05-26 22:44:09 +00:00
rubidium 7088cedb7a (svn r9947) -Fix [FS#807]: don't check whether roadbits may be built when they are already built for another type. 2007-05-26 22:19:04 +00:00
rubidium 997901189f (svn r9946) -Fix: more places that weren't correctly marked dirty... 2007-05-26 22:01:49 +00:00
rubidium 54d7cb8f7c (svn r9945) -Fix: bridges were not properly marked dirty when adding/removing roadtypes. 2007-05-26 21:45:16 +00:00
rubidium ac4a26c705 (svn r9944) -Fix: tile selection drawn on the wrong height for some road bridges. 2007-05-26 21:34:38 +00:00
rubidium 0e07a938b7 (svn r9943) -Fix [FS#806]: building roads/trams did take notice of the foundation of the opposite roadtype. 2007-05-26 21:00:48 +00:00
rubidium 016e651ffd (svn r9942) -Fix [FS#804]: crash when upgrading both ends of a bridge. 2007-05-26 20:52:23 +00:00
bjarni c346cc430a (svn r9941) -Fix: trams could be cloned to appear in normal road depots and vice versa (spotted by Desolator) 2007-05-26 20:30:55 +00:00
rubidium e88ff7e96b (svn r9940) -Fix [FS#805]: upgrading a bridge removed roadtypes. 2007-05-26 20:30:40 +00:00
maedhros 3914f3c85c (svn r9939) -Fix (r3139): EngineHasArticPart(v) is only valid for trains. 2007-05-26 17:06:45 +00:00
bjarni fd2d6329f3 (svn r9938) -Fix [FS#799]: 100 wagons train + replace engine
Replacing a unit in a train will now remove the old unit before adding the new one. This will solve issues when max train length has been reached
2007-05-26 17:00:44 +00:00
truelight 35a1668bd4 (svn r9937) -Codechange: don't define a function that is never declared or used 2007-05-26 16:18:43 +00:00
truelight a856c160ef (svn r9936) -Fix: (Un)ScaleByZoom missed a minus sign in some cases 2007-05-26 15:20:13 +00:00
rubidium 9ca9d73eea (svn r9935) -Fix: could not build a drive through station when there when you own the tram bits and the town owns the road. 2007-05-26 14:24:19 +00:00
rubidium 04f9b1ab61 (svn r9934) -Fix (r9923): towns could remove 'half' tram tracks. 2007-05-26 13:00:52 +00:00
rubidium 1b2016a4b2 (svn r9933) -Fix (9925): unified a little too much. 2007-05-26 12:34:25 +00:00
truelight 79fe6c57cc (svn r9932) -Fix: can't assume a zoom-level with MarkAllViewportsDirty, causing segfaults when trying to load savegames in dedicated server via -g (reported by peter1138) 2007-05-26 12:19:54 +00:00
rubidium 78be11be40 (svn r9931) -Fix: some glitches with catenary and bridges. 2007-05-26 10:40:34 +00:00
rubidium 932a968af2 (svn r9930) -Fix (r9838): obiwan could cause vehicles to way a long time (2.5 years) at stations. 2007-05-26 09:13:59 +00:00
rubidium ceae5eaeba (svn r9929) -Fix [FS#803]: fix several drawing issues. 2007-05-26 07:58:49 +00:00
peter1138 0079e4952d (svn r9928) -Fix (r9805): Default display options were not set correctly. 2007-05-26 07:47:52 +00:00
rubidium afaa6062cb (svn r9927) -Fix: assert triggered when letting a tram run into the wrong side of a depot. 2007-05-25 23:45:36 +00:00
rubidium 8cd950e06a (svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn. 2007-05-25 23:32:30 +00:00
rubidium 71614fef81 (svn r9925) -Fix: wrong tooltips in station picker. 2007-05-25 23:21:32 +00:00
rubidium 56dc5c5938 (svn r9924) -Fix: update the road vehicle speeds when stopped and/or running just behind another vehicle. 2007-05-25 22:31:34 +00:00
rubidium 17390241e6 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 2007-05-25 22:07:40 +00:00
rubidium 9e7798c42e (svn r9922) -Fix (r9914): [YAPF] null pointer dereference. 2007-05-25 15:49:14 +00:00
rubidium 8484a9a2e5 (svn r9921) -Fix (r9892): ownership wasn't properly propagated on owner changes. 2007-05-25 15:37:12 +00:00
miham b194f38390 (svn r9920) -Update: WebTranslator2 update to 2007-05-25 14:56:27
catalan    - 34 fixed, 15 changed by arnaullv (49)
italian    - 2 fixed by lorenzodv (2)
romanian   - 12 fixed, 11 changed by CrystyB (23)
2007-05-25 12:56:41 +00:00
rubidium d234e97f8b (svn r9919) -Codechange: prepare some more places for more road types. 2007-05-25 11:01:44 +00:00
rubidium 9060ab4af1 (svn r9918) -Fix: the available roadtypes/railtypes were not updated on GRF updates. 2007-05-25 08:47:40 +00:00
rubidium 0819f3a9a0 (svn r9917) -Codechange: prepare some more areas for more road types. 2007-05-25 08:13:01 +00:00
peter1138 d5d94e230f (svn r9916) -Codechange: Free memory used by cargo translation tables 2007-05-25 06:39:12 +00:00
rubidium 440d723d84 (svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile. 2007-05-24 22:41:50 +00:00
rubidium 3d143446ee (svn r9912) -Fix: the AIs could build any road(station)s. 2007-05-24 21:45:54 +00:00
miham c5a3dcb3f0 (svn r9911) -Update: WebTranslator2 update to 2007-05-24 23:07:47
american   - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian  - 30 fixed by thetitan (30)
czech      - 34 fixed by Hadez (34)
dutch      - 2 fixed by habell (2)
french     - 2 fixed, 12 changed by glx (14)
hungarian  - 2 fixed by miham (2)
japanese   - 34 fixed, 8 changed by ickoonite (42)
russian    - 42 fixed by HMage (42)
slovak     - 9 fixed by lengyel (9)
turkish    - 25 fixed by jnmbk (25)
ukrainian  - 34 fixed by mad (34)
2007-05-24 21:08:08 +00:00
rubidium 04c07c9388 (svn r9910) -Codechange: prepare road building/removing commands for more road types. 2007-05-24 09:31:09 +00:00
maedhros 2832a95f25 (svn r9909) -Fix (r9897): Highlight road tunnels properly when building them. 2007-05-24 09:24:46 +00:00
rubidium 6b176e74c8 (svn r9908) -Codechange: prepare the station picker for more road types. 2007-05-24 08:52:28 +00:00
rubidium 930957d132 (svn r9907) -Codechange: prepare the road gui for more road types. 2007-05-24 08:36:11 +00:00
belugas f3cf7f6b2d (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs 2007-05-24 01:12:00 +00:00
maedhros 39016328cc (svn r9905) -Feature: Allow building new stations adjacent to existing stations by holding down control. Based on a patch by Wolf01. 2007-05-23 17:33:03 +00:00
maedhros b67d9e0a49 (svn r9903) -Fix (r9901): Make the demolish and level land tools work in the scenario editor again. 2007-05-23 14:43:47 +00:00
peter1138 c46ac94ce2 (svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group. 2007-05-23 14:02:10 +00:00
maedhros 35ce34d55a (svn r9901) -Codechange: Decide what to do with selected land areas based on the specific variable, not how it was highlighted. 2007-05-23 13:52:10 +00:00
maedhros ca5c578d0f (svn r9900) -Codechange: Separate the variables for how to highlight a land area and what to do with it afterwards. 2007-05-23 12:45:56 +00:00
miham 9f148789c8 (svn r9899) -Update: WebTranslator2 update to 2007-05-22 23:52:38
american   - 32 fixed by WhiteRabbit (32)
brazilian_portuguese - 25 fixed by tucalipe (25)
bulgarian  - 6 fixed by thetitan (6)
danish     - 32 fixed, 21 changed by ThomasA (53)
dutch      - 32 fixed, 3 changed by habell (35)
french     - 32 fixed by glx (32)
german     - 17 fixed by Neonox (17)
hungarian  - 32 fixed by miham (32)
italian    - 32 fixed by lorenzodv (32)
korean     - 29 fixed by darkttd (29)
slovak     - 35 fixed by lengyel (35)
slovenian  - 10 fixed by Necrolyte (10)
spanish    - 34 fixed by eusebio (34)
swedish    - 32 fixed by giddorah (32)
2007-05-22 21:55:37 +00:00
peter1138 2125b96387 (svn r9898) -Fix (r9874): Many...
- Group protection status wasn't changed via a command.
 - Group renaming didn't check group owner (and in fact changed the owner,
   just like renaming a sign...).
 - Added owner checks to other group commands.
 - Invalidate window data after the command has been completed instead of after
   the command has been sent. This fixes gui issues in network play.
2007-05-22 19:48:11 +00:00
rubidium b7748a686e (svn r9897) -Codechange: prepare the toolbar for more road types. 2007-05-21 21:58:31 +00:00
glx 0646d307bd (svn r9896) -Fix (r9874): when selling an entire train, decrease the number of vehicles in the group only once 2007-05-21 17:19:01 +00:00
rubidium d836b25606 (svn r9895) -Fix: assertion when removing roadstop. 2007-05-21 16:58:23 +00:00
rubidium 015c0dd9a4 (svn r9894) -Fix (r9892): catenary was drawn on road bridges ;) 2007-05-20 22:43:26 +00:00
rubidium 07535d857b (svn r9893) -Fix (r9892): various small bugs that only act up when using something different than plain roads. 2007-05-20 22:04:24 +00:00
rubidium d86b5e5e93 (svn r9892) -Codechange: lots of ground work for allowing multiple types of "road" with multiple owners on a single tile. 2007-05-20 19:14:08 +00:00
rubidium c685a7179f (svn r9891) -Fix [FS#787]: the manage list menu wasn't removed/updated when changing to another group making it able to perform "group" actions for "all vehicles", which would cause a crash. 2007-05-20 18:34:47 +00:00
peter1138 f1c0229b5d (svn r9890) -Codechange: Don't allocate space for 0 spriteset ranges 2007-05-20 16:17:03 +00:00
peter1138 546dfc2758 (svn r9889) -Codechange: Use cargo's freight status for choosing livery scheme. 2007-05-20 10:27:43 +00:00
peter1138 c28cffdf67 (svn r9888) -Codechange: [NewGRF] allow non-spec cargo action2s to work, and using the goods sprite if really nothing is returned. 2007-05-20 09:17:42 +00:00
peter1138 44fc08391d (svn r9887) -Fix (r9867): Industry production statistics messed up... 2007-05-20 05:53:19 +00:00
belugas 88042df6bb (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 2007-05-20 00:50:06 +00:00
truelight 49aa3bedfb (svn r9885) -Fix r9846: some last bitshifts with zoom-levels that were forgotten
-Fix r9846: initialize the zoom level for 'screen', as assuming 0 is not correct
2007-05-19 23:52:04 +00:00
truelight 6954045bb4 (svn r9884) -Feature: 2 new zoom-out levels: 8 times and 16 times
-Codechange: unified the blitter function so we have 1 function for all zoom-levels
-Codechange: make most of the label functions work with zoom-level instead of magic numbers and big switches per zoom-level
-Codechange: MakeXXXDirty() functions didn't take into account zoom-level, but just used the biggest possible value
-Codechange: simplified blitter functions to avoid code duplication
2007-05-19 22:48:04 +00:00
peter1138 1ce633b894 (svn r9883) -Fix (r4965): [NewGRF] Check for overflow and carry over when adding to the existing value. 2007-05-19 22:37:24 +00:00
rubidium 707bc97c03 (svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases. 2007-05-19 21:47:14 +00:00
rubidium 904619f631 (svn r9881) -Fix (FS#782, r9874): accidentally removed one condition too many causing asserts. 2007-05-19 20:15:50 +00:00
glx c9d72a900b (svn r9880) -Add: [NewGRF] Add action 7/9 condition 0B/0C (cargo type availability) 2007-05-19 19:13:12 +00:00
rubidium 1434c7746d (svn r9879) -Fix (r9874): global autoreplace was little broken ;) 2007-05-19 12:46:48 +00:00
rubidium 4570a8954a (svn r9878) -Fix (9874): some vehicle count's were not properly updated on delete or autoreplace of vehicles. 2007-05-19 12:29:09 +00:00
peter1138 a58bd26b74 (svn r9877) -Revert (r9876): one file too many... 2007-05-19 11:18:22 +00:00
peter1138 47d17bea9d (svn r9876) -Codechange: [NewHouses] Add support for callback 2E (cargo production) 2007-05-19 11:17:30 +00:00
peter1138 60a2c5280e (svn r9875) -Fix (r9828): Only set carriage capacity if the wagon has not been refitted. 2007-05-19 10:29:51 +00:00
rubidium 7d4be11516 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 2007-05-19 09:40:18 +00:00
peter1138 816d31f0aa (svn r9873) -Codechange: Add missing second callback parameter for houses 2007-05-19 09:13:08 +00:00
rubidium 5178911345 (svn r9872) -Codechange: more type strictness for vehicle types 2007-05-18 23:38:29 +00:00
peter1138 b8a82dcb05 (svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required. 2007-05-18 21:50:32 +00:00
belugas 49570edfe9 (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct 2007-05-18 17:55:07 +00:00
rubidium ba24c34f85 (svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness. 2007-05-18 17:31:41 +00:00
belugas 2196abd71d (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment 2007-05-18 14:34:15 +00:00
belugas 380d18fb69 (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. 2007-05-18 00:33:47 +00:00
rubidium 44ddf033ed (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. 2007-05-17 20:19:55 +00:00
glx 5b74a6ab2f (svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed for strgen 2007-05-17 20:00:45 +00:00
rubidium c8a84628f6 (svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's error(). 2007-05-17 13:36:00 +00:00
rubidium aea6ef94bc (svn r9861) -Fix: null pointer derefence under MorphOS and AmigaOS. 2007-05-17 12:06:47 +00:00
rubidium 042bcc0325 (svn r9857) -Fix: loading of TTDP savegames with features that OTTD has. 2007-05-16 21:28:23 +00:00
rubidium c53bd7404d (svn r9855) -Fix: [FS#779] do not perform any commands on MP_VOID tiles. 2007-05-16 08:20:37 +00:00
belugas 3fb4003534 (svn r9850) -Codechange: Introduction of the Override/Substitute manager. Currently only used for newhouses.
Basically, it is more a gathering of IDs from grf files and ingame data.
2007-05-15 21:36:58 +00:00
truelight d2776ccde9 (svn r9848) -Fix r9846: how every many times you check something, of course you always switch them at the last moment... UnScaleByZoom was ScaleByZoom and visa versa... (tnx to yeti_ for noticing) 2007-05-15 17:54:46 +00:00
miham 052ab1929d (svn r9847) -Update: WebTranslator2 update to 2007-05-15 19:41:41
estonian   - 10 fixed by kristjans (10)
japanese   - 9 fixed by ickoonite (9)
traditional_chinese - 21 changed by xbddc (21)
2007-05-15 17:41:50 +00:00
truelight 765c466b8d (svn r9846) -Codechange: introduced ZOOM_LVL_MIN and ZOOM_LVL_MAX for the obvious reasons
-Codechange: introduced ZOOM_LVL_DETAIL to show/remove details
-Codechange: changed << and >> operator with ZoomLevel to a simple wrapper (that in theory also allows zoom-in besides the current zoom-out)
-Fix r9845: missed some int -> ZoomLevel
2007-05-15 16:08:46 +00:00
truelight d3f375231f (svn r9844) -Codechange: replace zoomlevel with an enum
-Codechange: use predefined enums for viewport zoomlevels
2007-05-15 14:08:39 +00:00
rubidium 196ddae1db (svn r9843) -Fix (r9838): tell the newgrfs that we now support proper FIFO loading. 2007-05-15 13:38:43 +00:00
rubidium f9e0d3835b (svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is disabled. 2007-05-15 13:01:52 +00:00
rubidium 23492f1f34 (svn r9841) -Codechange: add a little more type strictness to the vehicle types. 2007-05-15 11:28:22 +00:00
rubidium a390db6941 (svn r9840) -Fix (r9838): MSVC is complaining about signedness again (Belugas). 2007-05-15 06:20:16 +00:00
rubidium 54de7d90f6 (svn r9839) -Fix: vehicles in old savegames could leave the station because the changed loading algorithm thought it was already finished. 2007-05-14 20:17:26 +00:00
rubidium 72662e15f9 (svn r9838) -Fix: make "improved loading" a proper improved loading instead of loading one (semi-)random vehicle at a time:
- Now it is really FIFO.
 - When there is enough cargo to fill the first vehicle in the queue, the next vehicle in the queue start loading (and the next when ....).
2007-05-14 20:12:32 +00:00
peter1138 b80e11c44c (svn r9837) -Fix: [NewGRF] Catch occurance of division-by-zero in varaction handling. 2007-05-14 17:37:34 +00:00
rubidium c7d57379fb (svn r9836) -Codechange: make non-improved loading happen FIFO-ish; generally loading/unloading will happen fifo, but there are no guarantees on the FIFO-ness. For (better) FIFO guarantees you still need to use improved loading. 2007-05-14 16:07:05 +00:00
truelight d7b4fb80d0 (svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible 2007-05-14 15:20:50 +00:00
glx 62fe9c2e42 (svn r9834) -Add: win9x check in win32 builds 2007-05-14 14:06:46 +00:00
rubidium 42f920964b (svn r9833) -Fix: also 'leave' the station when leaving for automatic servicing. 2007-05-14 08:07:20 +00:00
rubidium e72ab0fdf5 (svn r9832) -Fix: leave the station when manually skipping to the next order and we are currently (un)loading. 2007-05-13 22:10:04 +00:00
rubidium d78651f7b1 (svn r9831) -Codechange: more refactoring of the loading/unloading. 2007-05-13 21:24:58 +00:00
belugas 2ccc060b4a (svn r9830) -Fix(r9779) : Let the town expand and build new houses along the roads of the users, even in case of "No Road" layout (skiddl13) 2007-05-13 00:11:13 +00:00
rubidium c46a00aba7 (svn r9829) -Codechange: more refactoring of the unloading algorithm. 2007-05-12 09:09:10 +00:00
peter1138 1d5135830a (svn r9828) -Codechange: [NewGRF] Add support for changing cargo capacity with callback 36. This is set on construction for ships and roadvehicles, and whenever carriages are attached for trains. 2007-05-12 07:05:34 +00:00
peter1138 5e00e688f8 (svn r9827) -Codechange/Fix: [NewGRF] Text strings of 1 character are perfectly valid... (fixes dbsetxl refits again...) 2007-05-11 19:22:43 +00:00
peter1138 c9018d3e7c (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 2007-05-10 23:10:23 +00:00
maedhros 3cc31aae86 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 2007-05-10 16:03:06 +00:00
peter1138 9643fd7638 (svn r9819) -Codechange: Take account of AMED_HOLD in OTTD/TTDP state translation (bulb) 2007-05-10 09:21:22 +00:00
peter1138 dc2073b96e (svn r9818) -Codechange: Cache wagon override sprite set whenever consist is changed, instead of 'recalculating' it every time it is used or just tested. 2007-05-10 06:42:43 +00:00
rubidium f24f9d5a2e (svn r9817) -Fix [FS#772]: an assertion that was triggered by the AI building when its rating for the town was not high enough. 2007-05-09 20:50:11 +00:00
rubidium 2d86e87a3d (svn r9815) -Fix (r9761) [FS#769): transfers weren't accounted in the vehicle profits. 2007-05-08 16:42:48 +00:00
maedhros d098e88035 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 2007-05-08 14:28:55 +00:00
rubidium 5869384530 (svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p). 2007-05-08 08:41:16 +00:00
peter1138 e0a276c1a2 (svn r9812) -Fix (r9679): Obiwan prevented proper display of last transparency button. 2007-05-07 20:25:20 +00:00
miham e52a953e99 (svn r9811) -Update: WebTranslator2 update to 2007-05-07 19:59:41
american   - 11 fixed by WhiteRabbit (11)
danish     - 11 fixed by ThomasA (11)
dutch      - 9 fixed, 2 changed by Zr40 (11)
2007-05-07 17:59:50 +00:00
peter1138 e643aeaed2 (svn r9810) -Feature: Add drag and drop removal of station tiles (Wolf01) 2007-05-07 17:10:30 +00:00
peter1138 bc7d762196 (svn r9809) -Codechange: [NewGRF] Add callback 36 properties to purchase lists and add running cost changing for ships. 2007-05-07 16:38:21 +00:00
rubidium 2efecd34c4 (svn r9808) -Codechange: unify the Handle<VehicleType>Loading functions. 2007-05-07 16:21:34 +00:00
rubidium 161786e222 (svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station. 2007-05-07 15:58:05 +00:00
peter1138 4591fb5b0d (svn r9806) -Codechange: [NewGRF] Add callback 36 support for purchase cost, for all vehicle types. 2007-05-07 13:26:10 +00:00
peter1138 0de85b7eb0 (svn r9805) -Codechange: Use HASBIT() et al for display options bits. 2007-05-07 11:24:23 +00:00
peter1138 76ee6d1c82 (svn r9804) -Fix (r9761): Update aircraft cached information when its 'pos' changes, as well as 'state'. (Thanks to bulb) 2007-05-06 21:10:49 +00:00
rubidium b46e37774d (svn r9803) -Feature(tte): support for "curvature info", Action 2 for train, variable 45 (mart3p). 2007-05-06 20:05:10 +00:00
rubidium feadd86819 (svn r9802) -Fix: a vehicle without visual effects isn't per definition unpowered (mart3p). 2007-05-06 20:00:36 +00:00
rubidium 411985b13a (svn r9801) -Fix: do not assume that trains running on monorail/maglev cannot smoke/spark (mart3p). 2007-05-06 19:58:34 +00:00
rubidium 208e40a839 (svn r9800) -Codechange: play sound effects based on the engine class, not the rail type (mart3p). 2007-05-06 19:51:25 +00:00
rubidium fe1306ce65 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 2007-05-06 19:44:22 +00:00
peter1138 37a873e03c (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 2007-05-06 18:14:33 +00:00
miham b0e3c0d40a (svn r9796) -Update: WebTranslator2 update to 2007-05-06 19:05:33
brazilian_portuguese - 10 fixed by tucalipe (10)
bulgarian  - 5 fixed by thetitan (5)
catalan    - 9 fixed by arnaullv (9)
czech      - 9 fixed by Hadez (9)
esperanto  - 11 fixed by LaPingvino (11)
finnish    - 11 fixed by habazi (11)
french     - 9 fixed by belugas (9)
german     - 9 fixed by Neonox (9)
hungarian  - 9 fixed by miham (9)
italian    - 9 fixed by lorenzodv (9)
japanese   - 2 fixed by ickoonite (2)
korean     - 9 fixed by darkttd (9)
norwegian_nynorsk - 11 fixed by pollux (11)
polish     - 8 fixed by meush (8)
portuguese - 21 fixed, 6 changed by supra90 (27)
romanian   - 11 fixed by kneekoo (11)
spanish    - 2 fixed by eusebio (2)
swedish    - 11 fixed by giddorah (11)
traditional_chinese - 11 fixed, 2 changed by xbddc (13)
turkish    - 8 fixed by jnmbk (8)
ukrainian  - 11 fixed by mad (11)
2007-05-06 17:06:10 +00:00
rubidium 5c0a52149d (svn r9795) -Codechange: enumify the EngineClass. 2007-05-06 15:01:44 +00:00
rubidium abbaa1691e (svn r9794) -Codechange: refactor the question whether a vehicle can be loaded into LoadUnloadVehicle instead of duplicating it for each vehicle. 2007-05-06 14:59:01 +00:00
maedhros cf927a9792 (svn r9793) -Fix (r9701): Action D 'TTDPatch variable' 0x0B should be the starting year, not the current year. 2007-05-06 09:12:58 +00:00
maedhros b81a390d47 (svn r9792) -Fix (r9734): Pause on newgame should only apply to games, not the scenario editor. 2007-05-06 08:50:03 +00:00
glx 41bbc5c990 (svn r9791) -Fix (r9779, FS#766): add TownLayoutByte to correctly save town layout value 2007-05-05 23:21:49 +00:00
peter1138 74bf87dd82 (svn r9790) -Codechange: [NewGRF] Skip action 1 sprites in all stages except activation. This also cleans up some special-case handling of the sprites. Actions 1 and 2 are now not considered unsafe, as an Action 3 (which is unsafe) is required for them. 2007-05-05 10:47:35 +00:00
rubidium 438d55d576 (svn r9789) -Fix (r9770): vehicles didn't get unloaded when 'full load' was specified and the vehicle was already full when it entered. 2007-05-05 09:51:26 +00:00
glx 79637ef7b8 (svn r9785) -Fix (r942, FS#765): only non dedicated servers can't have 0 players 2007-05-04 22:45:37 +00:00
rubidium b76cc8c96b (svn r9784) -Codechange: remove unused variable. 2007-05-04 22:38:36 +00:00
peter1138 e81906c62d (svn r9780) -Codechange: [NewGRF] Add support for variable vehicle weight for trains (callback 36, property 16) 2007-05-04 19:24:01 +00:00
belugas aff49954bf (svn r9779) -Feature: Add the possiblity to choose different road patterns for towns to use.
Possible patterns are : 
No Road (not available in scenario editor)
Original (for the nostalgics)
Better Roads (same as original, but based on distance of 2 tiles instead of one)
2x2 grids
3x3 grids
Patch by skiddl13
2007-05-04 16:27:13 +00:00
peter1138 449e76c05a (svn r9775) -Fix: Remove arbitrary limit on length of NewGRF strings. 2007-05-04 07:08:35 +00:00
miham 574013a920 (svn r9774) -Update: WebTranslator2 update to 2007-05-03 22:30:56
brazilian_portuguese - 1 fixed by tucalipe (1)
bulgarian  - 2 fixed by thetitan (2)
catalan    - 2 fixed by arnaullv (2)
czech      - 2 fixed by Hadez (2)
dutch      - 2 fixed by habell (2)
estonian   - 1 fixed, 1 changed by kristjans (2)
french     - 2 fixed by belugas (2)
german     - 3 fixed by Neonox (3)
hungarian  - 2 fixed by miham (2)
italian    - 2 fixed by lorenzodv (2)
korean     - 2 fixed by leejaeuk5 (1), darkttd (1)
norwegian_nynorsk - 19 fixed, 3 changed by pollux (22)
russian    - 1 fixed, 33 changed by HMage (34)
slovak     - 1 fixed, 15 changed by lengyel (16)
slovenian  - 1 fixed by Necrolyte (1)
2007-05-03 20:31:25 +00:00
glx a7c39f7325 (svn r9773) -Fix r9772: MSVC warning 2007-05-03 17:07:51 +00:00
rubidium 9194d5ab9e (svn r9772) -Fix [r9770,FS#761]: under some circumstances loading/unloading didn't work (correctly). 2007-05-03 11:02:37 +00:00
peter1138 c584b7a401 (svn r9771) -Feature: (-tte) Add password protected status to 'players' (network server) console command. (mostly dihedral) 2007-05-02 19:00:59 +00:00
rubidium 981bf52bdd (svn r9770) -Codechange: perform the payment of cargo when loading/unloading, but when arriving at the station. 2007-05-02 18:29:11 +00:00
belugas e4dc1f460b (svn r9769) [newGRF] -Feature: Add translation support for Esperanto, Bulgarian, Japanese and Korean 2007-05-02 15:20:48 +00:00
rubidium 951c74806f (svn r9765) -Codechange: constify some class functions. 2007-05-02 09:39:11 +00:00
rubidium dce7dcb664 (svn r9764) -Codechange: replace some lookup tables by functions. 2007-05-02 09:29:41 +00:00
rubidium 1bea3b55a6 (svn r9763) -Codechange/Fix (r9760): don't read the variables that are calculated automatically either. 2007-05-01 18:17:52 +00:00
belugas 9b7a615887 (svn r9762) -Feature: Two new difficulty settings : Very low number of towns and very low number of industries
Based on FS#289, by pitt2
2007-05-01 17:16:51 +00:00
rubidium f25a168c98 (svn r9761) -Codechange: refactor cargo payment out of LoadUnloadVehicle. 2007-05-01 16:45:03 +00:00
rubidium a4e045a3fb (svn r9760) -Codechange: remove the need for saving some vehicle variables. 2007-05-01 16:35:14 +00:00
truelight 2ccee752fd (svn r9759) -Add: added threading code for MorphOS (tokai) 2007-05-01 15:25:00 +00:00
peter1138 7ce17c9577 (svn r9758) -Fix (FS#756): Ignore bit 1 (axis) of station tile layouts 2007-05-01 06:43:18 +00:00
rubidium 0aad91f43b (svn r9757) -Fix [FS#1244842]: when you have closed the "Load game"/"New game" windows accessible from the "New Server" window, any creation of new game/loading from the intro menu should not start a server. 2007-04-30 20:05:31 +00:00
rubidium cbd9a1bf0d (svn r9756) -Fix [FS#755]: LeaveStation wasn't always called when a station was left. 2007-04-29 22:51:12 +00:00
rubidium ec9ac99d01 (svn r9755) -Codechange: refactor some more of the begin loading stuff. 2007-04-29 22:33:51 +00:00
rubidium 202009522c (svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches. 2007-04-29 21:24:08 +00:00
bjarni 95e48eacac (svn r9753) -Fix [FS#732]: trains are lost after autorenewal/autoreplace
v->dest_tile is now copied when replacing the front engine
2007-04-29 20:16:58 +00:00
rubidium 6440440f12 (svn r9752) -Codechange: remove some duplication related to BeginLoading. 2007-04-29 18:21:24 +00:00
KUDr bf04c88eca (svn r9746) -Codechange [YAPF]: added DEBUGs level 0 if the current train order is OT_GOTO_WAYPOINT and waypoint is invalid or v->dest_tile is wrong 2007-04-29 10:14:42 +00:00
KUDr 027597f485 (svn r9745) -Codechange [YAPF}: if destination is a waypoint then YAPF gets destination tile from that waypoint->xy instead of from v->dest_tile 2007-04-29 09:55:32 +00:00
maedhros 469c04478a (svn r9743) -Fix [FS#598]: Stop flooded towns from building roads on water. 2007-04-29 09:18:52 +00:00
maedhros 02e770ff2c (svn r9742) -Fix (r9689) [FS#739]: Fix cloning with refit costs again, hopefully for good this time. 2007-04-29 08:43:00 +00:00
rubidium ccf4ddc06f (svn r9741) -Fix [FS#672]: station signs were not resized when the language changed, causing overflows in the coloured sign background. 2007-04-29 07:24:48 +00:00
truelight 347bfc7f9f (svn r9740) -Fix [FS#709]: removed wrong assert() that could be triggered by removing an order at the wrong moment 2007-04-28 22:23:10 +00:00
maedhros 6ebe60fc17 (svn r9734) -Feature: Add an option to automatically pause when starting a new game. 2007-04-28 15:06:32 +00:00
truelight 57ad2dd0fb (svn r9731) -Fix [FS#677]: in news history, newlines weren't replaced with spaces, making it look ugly from time to time 2007-04-28 10:41:00 +00:00
maedhros 889f2ab48c (svn r9730) -Feature: [NewGRF] Add support for miscellaneous grf feature bit 1 - paved roads on desert tiles. 2007-04-27 21:35:02 +00:00
rubidium e1057864d8 (svn r9729) -Documentation: add some documentation in various places 2007-04-27 21:29:36 +00:00
glx 75ba8f4489 (svn r9728) -Fix r9086: [win32] For some keyboard layout the 'console' key is a dead-key. It needs to be pressed twice to have an effect but the console is then opened and closed on the 'same' keypress (2 WM_CHAR events). So skip the first WM_CHAR generated to restore the 'console' key functionality. 2007-04-27 21:27:02 +00:00
peter1138 b02623901a (svn r9727) -Fix (r8546): Company password field in network player info was inverted. 2007-04-27 20:50:49 +00:00
rubidium 6b37ea7b47 (svn r9726) -Fix [FS#738]: crash when destroying bridge with train partially one it. 2007-04-27 20:01:25 +00:00
rubidium 49cd2374bb (svn r9725) -Fix [FS#743]: plane made a 270 degree turn instead of a 90 degree turn on take off from the southern runway. 2007-04-27 19:47:39 +00:00
miham 9c741dd325 (svn r9724) -Update: WebTranslator2 update to 2007-04-27 20:28:02
american   - 2 fixed by WhiteRabbit (2)
brazilian_portuguese - 2 fixed by fukumori (2)
russian    - 10 changed by HMage (10)
ukrainian  - 1 changed by mad (1)
2007-04-27 18:28:44 +00:00
belugas 436cb70988 (svn r9722) -Documentation: Document some functions of town_cmd.cpp. Loosely based on work from TheJosh
More to come.
2007-04-27 02:27:44 +00:00
belugas 5912b08890 (svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
All the tiny fonts industry names should be removed from language files soon.
2007-04-26 20:20:12 +00:00
peter1138 5577d5c86c (svn r9720) -Codechange: Remove global var and gotos from window autoplacement 2007-04-26 17:32:54 +00:00
rubidium b469c443e9 (svn r9719) -Fix: in-game private messages did not work for clients with a Client ID > 255. 2007-04-26 07:41:24 +00:00
peter1138 4d0483b650 (svn r9718) -Fix: Don't allow building of rail vehicles whose railtype isn't available yet. This also affects the rail purchase window. 2007-04-26 07:24:19 +00:00
peter1138 5b5598b2a6 (svn r9717) -Codechange: (NewGRF) Skip Action 5 & A sprites in all loading stages except activation. 2007-04-26 06:49:32 +00:00
glx c1b898392e (svn r9716) -Add: server_lang in [network] section of openttd.cfg, so dedicated servers can have the little lang flag. 2007-04-25 17:40:06 +00:00
miham 78e542a62e (svn r9715) -Update: WebTranslator2 update to 2007-04-24 21:45:15
italian    - 2 changed by lorenzodv (2)
portuguese - 9 fixed by izhirahider (9)
russian    - 3 fixed, 328 changed by HMage (331)
simplified_chinese - 7 fixed by Fishingsnow (7)
traditional_chinese - 1 changed by xbddc (1)
2007-04-24 19:45:59 +00:00
peter1138 1164c275af (svn r9714) -Fix (r8110): Remove invalid assertion triggered by overly long trains being reversed while loading. 2007-04-24 19:05:16 +00:00
peter1138 fa180a15cc (svn r9712) -Codechange: Implement accepted cargo types and cargo acceptance (there is a difference) callbacks for newhouses. 2007-04-21 20:23:20 +00:00
truelight a5b77fad87 (svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD 2007-04-21 13:20:20 +00:00
maedhros ac0c371d5a (svn r9709) -Fix (r9706): Larger towns use t->larger_towns, not the town index. 2007-04-21 08:51:42 +00:00
peter1138 e5a314399a (svn r9707) -Codechange: Add some support for NewGRF var 7D, temporary storage array. 2007-04-21 07:27:16 +00:00
peter1138 01ae38e3d7 (svn r9706) -Codechange: Support NewGRF town var 40 'largertowns' variable properly. 2007-04-21 07:17:14 +00:00
belugas 3a1e7679d8 (svn r9705) -Codechange: Merge some data arrays together, making a bit more logical units.
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
2007-04-21 02:47:33 +00:00
belugas 803b073c59 (svn r9704) -Documentation: Add comments on industry data macro 2007-04-21 02:42:51 +00:00
peter1138 1052b0e8f1 (svn r9703) -Codechange: support callback 36 in vehicle purchase lists 2007-04-20 21:42:06 +00:00
peter1138 15bfaba259 (svn r9702) -Codechange: Add livery support to newgrf vehicle var 43 2007-04-20 21:21:47 +00:00
peter1138 a4b3066433 (svn r9701) -Codechange: Add support for returning 'ttdpatch variables' - http://wiki.ttdpatch.net/tiki-index.php?page=ActionDSpecialVariables 2007-04-20 21:19:28 +00:00
KUDr d0de381c30 (svn r9697) -Fix [YAPF](r9694): 'unused variable' warning (glx) 2007-04-20 19:43:06 +00:00
KUDr 3df2656633 (svn r9694) -Fix [YAPF][FS#736]: the guessed path (when PF stopped on max. # of nodes passed) was ignored for ships (desolator) 2007-04-20 19:19:23 +00:00
KUDr 4728765870 (svn r9693) -Codechange [YAPF]: GetBestNode() now returns pointer to node instead of reference 2007-04-20 19:13:35 +00:00
rubidium 17dc1c6336 (svn r9692) -Fix (r9683): don't try to remove vehicles from the queue of a non-existing station. 2007-04-20 17:52:28 +00:00
peter1138 98fe82da66 (svn r9691) -Fix (r9683): Forgotten savegame bump... 2007-04-20 17:26:10 +00:00
peter1138 8e457248a7 (svn r9690) -Codechange: Update another couple of NewGRF TTDPatch flags 2007-04-20 17:23:33 +00:00
bjarni aa0e97e3ce (svn r9689) -Fix: Clone vehicles will no longer refit for free 2007-04-20 17:08:55 +00:00
bjarni 73875647b5 (svn r9688) -Codechange: Created a function to get default cargo type for a cargo type 2007-04-20 16:56:55 +00:00
miham afea22e013 (svn r9687) -Update: WebTranslator2 update to 2007-04-20 17:51:25
romanian   - 2 fixed by kneekoo (2)
simplified_chinese - 9 fixed by Fishingsnow (9)
slovak     - 2 fixed by lengyel (2)
slovenian  - 2 fixed by Necrolyte (2)
traditional_chinese - 2 changed by xbddc (2)
2007-04-20 15:52:07 +00:00
peter1138 67529d2e63 (svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags 2007-04-20 15:03:58 +00:00
maedhros 034f3591cf (svn r9685) -Fix (r9683): Call v->LeaveStation() when a vehicle in a station is sent to a depot. 2007-04-20 11:39:01 +00:00
maedhros 8b65349d86 (svn r9684) -Fix (r9683): Remove vehicles from the station loading list instead of adding
them again when they leave, and add a v->LeaveStation() call for aircraft.
2007-04-20 11:05:56 +00:00
rubidium fdf86bb4a2 (svn r9683) -Fix [FS#423]: improved loading does not use a huge amount of processing power anymore when having a lot of trains. 2007-04-20 08:00:30 +00:00
peter1138 a8350e5fdf (svn r9682) -Codechange: Add support for saving/loading std::lists containing object references (REF_*) 2007-04-20 07:51:20 +00:00
miham 20f22f021c (svn r9681) [Translations] -Fix: removed two unnecessary colons from the finnish translations (spotted by ln-) 2007-04-19 19:19:53 +00:00
miham 7e63ff86e1 (svn r9680) -Update: WebTranslator2 update to 2007-04-19 21:10:21
bulgarian  - 2 fixed by thetitan (1), kokobongo (1)
czech      - 2 fixed by joeprusa (2)
danish     - 2 fixed by ThomasA (2)
dutch      - 2 fixed, 1 changed by habell (3)
esperanto  - 2 fixed by LaPingvino (2)
estonian   - 2 fixed by vermon (2)
finnish    - 2 fixed by habazi (2)
german     - 3 fixed by Neonox (3)
italian    - 18 fixed, 2 changed by lorenzodv (20)
japanese   - 10 fixed by ickoonite (10)
norwegian_bokmal - 27 fixed by oletk (27)
polish     - 10 fixed by meush (10)
russian    - 2 fixed by HMage (2)
spanish    - 2 fixed by jfrank (2)
traditional_chinese - 2 fixed by xbddc (2)
turkish    - 11 fixed by jnmbk (11)
ukrainian  - 2 fixed, 5 changed by fevral13 (7)
2007-04-19 19:11:24 +00:00
belugas 15a2c71a01 (svn r9679) -Codechange: use enums to identify transparency widgets and add a bit of documentation (patch by Wolf01) 2007-04-19 18:51:40 +00:00
peter1138 a40d53d8d1 (svn r9678) -Codechange: Support changing of aircraft running cost via callback 36. 2007-04-19 18:49:40 +00:00
peter1138 0552b19225 (svn r9677) -Codechange: Make the 'transparent buildings' menu item toggle all transparency, to keep its old behaviour. 2007-04-19 17:54:45 +00:00
belugas 95ae29b470 (svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
This makes the code clearer.
2007-04-19 14:50:01 +00:00
rubidium 2dc5589290 (svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting tabs with spaces. 2007-04-18 22:41:53 +00:00
rubidium 80c259f64f (svn r9672) -Cleanup: lots of coding style fixes around operands. 2007-04-18 22:10:36 +00:00
peter1138 41cf2fa69b (svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable. 2007-04-18 18:37:40 +00:00
rubidium aa284fd531 (svn r9670) -Documentation: add documentation to some the _map files. 2007-04-18 18:20:31 +00:00
belugas 4eb87ac62b (svn r9669) -Documentation: some more doxygen fixes 2007-04-18 18:00:33 +00:00
miham 7789eef209 (svn r9668) -Update: WebTranslator2 update to 2007-04-18 19:27:38
catalan    - 2 fixed by arnaullv (2)
french     - 2 fixed, 2 changed by glx (4)
hungarian  - 2 fixed by miham (2)
korean     - 2 fixed by darkttd (2)
swedish    - 2 fixed, 1 changed by daishan (3)
2007-04-18 17:28:22 +00:00
maedhros 16a948a463 (svn r9667) -Feature: Add the concept of cities. A (configurable) proportion of towns can
start off larger, and will grow twice as quickly as other towns. They can also
be placed specifically in the scenario editor. Thanks to TheJosh for the
initial patch and the idea.
2007-04-18 14:23:30 +00:00
peter1138 4b7c59fce1 (svn r9666) -Fix (r9651): end of data / column flags were reversed 2007-04-18 07:22:53 +00:00
belugas d6651c1741 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 2007-04-18 00:41:09 +00:00
belugas addcae43fa (svn r9664) -Documentation: Doxygen corrections,errors and omissions 2007-04-17 21:09:38 +00:00
belugas 607a55f4ec (svn r9662) -Documentation: Doxygen corrections and @file omissions 2007-04-17 20:23:13 +00:00
belugas c39ab93daa (svn r9658) -Codechange: CT_FOOD is not part of temperate climate, place it accordingly in arctic.
It could be put in tropic too, but it can be placed in both, so first to catch it...
2007-04-17 19:08:00 +00:00
peter1138 2b2cfaeec1 (svn r9655) -Revert (r9094 partial): *Do* calculate refit masks for unavailable vehicle types... things like articulated engines can still build these parts... ... ... dot dot dot 2007-04-17 17:54:31 +00:00
maedhros 2a32b3b8db (svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files. 2007-04-17 10:08:17 +00:00
belugas 792339554f (svn r9653) -Codechange: Indicate the proper function names in the GRF messages 2007-04-16 20:56:19 +00:00
belugas 44143b8cdb (svn r9652) -Fix(r9651): "const" keyword forgotten. Spotted by glx.
I guess i'm a bit eager to have a writable array for newindustries ;)
2007-04-16 19:55:17 +00:00
belugas a5bd48b23d (svn r9651) -Codechange: make legend system of smallmap a little bit less magic with the help of a struct and not an array of bytes 2007-04-16 19:44:22 +00:00
belugas fc6cf587cd (svn r9650) -Documentation: Finalize doxygen comments for town_land.h 2007-04-16 19:26:01 +00:00