smatz
b48c5a3c92
(svn r11456) -Fix [FS#1412] (r10070): Viewport is bound to its top-left corner
2007-11-18 13:13:59 +00:00
rubidium
5b21a839a9
(svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' rail building all react the same on CTRL as autorail.
2007-11-18 08:03:48 +00:00
rubidium
80a7a91730
(svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 chance was really a 32769 in 65536 chance.
2007-11-17 23:16:41 +00:00
glx
32202be452
(svn r11453) -Fix (r11450): unrevert r11239, as we now need it
2007-11-17 22:33:53 +00:00
rubidium
7305a1f1fe
(svn r11452) -Change: do not allow configuration changes, that NewGRFs can directly use to change their behaviour, during network games as this can cause desyncs.
2007-11-17 22:25:16 +00:00
rubidium
2e8d37dcdf
(svn r11451) -Fix [FS#1287]: very fast aircraft would sometimes abruptly stop at the begin of the landing runway, turn a few times and then drive slowly to the end of the runway.
2007-11-17 15:04:38 +00:00
glx
f22ed6f85e
(svn r11450) -Fix [FS#1432](r8886): cargo translation table was loaded too early
2007-11-17 15:03:19 +00:00
rubidium
ef6c4c1cdf
(svn r11449) -Fix [FS#1160]: trams could deadlock themselves. As of now trams will turn as roadvehicles do when the player cannot build a tram track piece on the next tile without destroying anything. It will not turn when the player can build the before mentioned track piece on the 'next' tile.
2007-11-17 12:42:15 +00:00
belugas
8b86e9b14d
(svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button
2007-11-17 01:55:00 +00:00
skidd13
9b4252bd62
(svn r11446) -Codechange: change the naming of road related code parts to something more descriptive
...
-Change: invert the two single roads gui buttons, making it consistent with rails toolbar
Based on a patch by Octopussy
2007-11-17 01:10:06 +00:00
miham
6043f91760
(svn r11444) -Update: WebTranslator2 update to 2007-11-16 08:21:07
...
czech - 1 changed by Hadez (1)
estonian - 1 fixed by kristjans (1)
french - 10 changed by glx (10)
italian - 3 fixed, 1 changed by lorenzodv (4)
japanese - 1 fixed by ickoonite (1)
slovenian - 1 fixed by Necrolyte (1)
swedish - 4 fixed, 4 changed by daishan (8)
2007-11-16 07:21:44 +00:00
glx
0b4df07f27
(svn r11443) -Fix: [NewGRF] Action 0 <id> is an extended byte
2007-11-16 02:25:56 +00:00
rubidium
4dcd71038d
(svn r11442) -Feature: make news messages related to the industry (production) changes better configurable; you can now disable news messages popping up for industries you are not servicing. Patch by Alberth.
2007-11-15 22:20:33 +00:00
rubidium
70c7a44a4d
(svn r11441) -Fix [FS#1443]: manage list dropdown menu did not "disappear" when the all vehicles are removed from the "current" group.
2007-11-15 19:18:52 +00:00
rubidium
dace4686c0
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
2007-11-15 18:28:00 +00:00
rubidium
59a6e40ed2
(svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ.
2007-11-15 18:21:59 +00:00
rubidium
7faec2f54d
(svn r11438) -Change: do not create shores in canyons. Based on a patch by LeviathNL.
2007-11-15 18:07:30 +00:00
rubidium
7f780cbabf
(svn r11437) -Change: when sorting stations by cargo sum, only sum the cargos that are selected in the filter. Patch by divide.
2007-11-15 17:54:46 +00:00
rubidium
53e811ff29
(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
2007-11-15 17:51:36 +00:00
rubidium
56b1317e70
(svn r11435) -Codechange: show all players who have shares, not just the first two. Patch by SmatZ.
2007-11-15 17:49:50 +00:00
miham
72542b1bce
(svn r11434) -Fix: fixed a string in finnish (suggested by ln-)
2007-11-15 15:02:42 +00:00
rubidium
f546de602b
(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
...
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
2007-11-15 07:42:25 +00:00
glx
f28723830f
(svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36
2007-11-15 00:13:12 +00:00
rubidium
f0915957d4
(svn r11430) -Fix (r11421) [FS#1421]: there was still one case that would cause a crash...
2007-11-13 22:44:41 +00:00
glx
9c94aae30f
(svn r11429) -Fix (r11129): some TextID to StringID 'translations' didn't follow our format
2007-11-13 18:57:38 +00:00
glx
a6a7b905af
(svn r11428) -Fix: wrong string used for candy/sweets units_volume
2007-11-13 18:38:36 +00:00
belugas
a0d0dcb78d
(svn r11427) -Fix: Forgot to Truncate the string "Many Random Industries" in the funding industry window. In some languages, it gets drawn outside of the gui.
2007-11-13 15:41:09 +00:00
belugas
7d9d4e789b
(svn r11426) -Codechange: Just one boolean inversion instead of two
2007-11-13 03:34:24 +00:00
glx
de47054936
(svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping newgrf industry type to 'real' industry type
2007-11-12 20:57:03 +00:00
glx
9cee4e91cb
(svn r11424) -Fix: an override can be set only once
2007-11-12 20:42:35 +00:00
glx
de4e9cdc9c
(svn r11423) -Codechange: store grfid when adding an override
2007-11-12 20:40:58 +00:00
rubidium
eb47b106ac
(svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs instead of crashing.
2007-11-12 20:05:12 +00:00
rubidium
8752519896
(svn r11421) -Fix [FS#1431]: do not use a function that asserts when wrapping around the map's edge when you use the wrapping (and MP_VOID tiles) to determine whether the bridge can be build.
2007-11-12 19:21:33 +00:00
rubidium
9d85d9d41f
(svn r11420) -Fix [FS#1006]: industry closure news not properly shown when the news item pops up after the industry has been removed from the map.
2007-11-12 18:32:04 +00:00
rubidium
04925c3f12
(svn r11419) -Fix [FS#1388]: articulated vehicle breaking up when making a 90 degree turn immediately after a 180 degree turn.
2007-11-12 18:28:55 +00:00
glx
0660d2a3d6
(svn r11418) -Fix (r11416): forgot an instance
2007-11-12 01:38:32 +00:00
belugas
2571f02594
(svn r11417) -Fix[FS#1421]: Let the main viewport stay where the vehicle was last seen while been center-followed
2007-11-12 01:12:32 +00:00
belugas
3904640d02
(svn r11416) -Fix(r11411): For once, the warnings of MSVC are not useless. Inversion of the two parameters of DoTriggerHouse cause a complain which was legit, in this case
2007-11-12 01:05:35 +00:00
rubidium
bfcf48e168
(svn r11415) -Fix [FS#1428]: do not ignore the autorenew settings for new games when creating a new game.
2007-11-11 21:05:50 +00:00
rubidium
a11271e574
(svn r11414) -Fix [FS#1387]: when building a station, even though we already 'know' it in memory, it should still be unknown in the realm of callbacks.
2007-11-11 20:24:32 +00:00
glx
80b9e0bc5b
(svn r11413) -Fix [FS#1405]: don't use cached override spriteset for callbacks
2007-11-11 18:32:01 +00:00
rubidium
21c02fee87
(svn r11412) -Fix (r11403): animation was not turned on properly.
...
-Fix (r11410): wrong assumption about random reseeds made the whole thing reseed way too often, making the animation look very ugly.
2007-11-11 18:22:06 +00:00
rubidium
9758a76512
(svn r11411) -Codechange: implement random triggers for houses.
2007-11-11 17:58:05 +00:00
rubidium
af5c2a785f
(svn r11410) -Codechange: implement random triggers for industries.
2007-11-11 17:56:37 +00:00
truelight
f6dda29549
(svn r11409) -Update: as of now, I am a retired Developer, so mark me as such
2007-11-11 14:32:18 +00:00
rubidium
7c67950765
(svn r11408) -Fix [FS#1422]: do not do a 270 degree turn when 90 degrees is enough on a commuter airport.
2007-11-11 13:04:51 +00:00
truelight
8b3e278897
(svn r11407) -Fix: do not allow building of tram-tracks when they are not available (SmatZ)
2007-11-11 12:34:44 +00:00
rubidium
fe24593692
(svn r11406) -Fix: wrong triggers would be activated on callback 32 for vehicles.
2007-11-11 12:29:47 +00:00
truelight
d8d0babece
(svn r11405) -Fix: in rare cases OpenTTD could segfault when resizing and scroll the main window (Rafal Rzepecki)
2007-11-11 12:26:44 +00:00
belugas
592b0c4e51
(svn r11404) -Codechange: remove 2 magical numbers
2007-11-11 01:39:15 +00:00
rubidium
d32604d59e
(svn r11403) -Fix: NewIndustries GRF assume that tiles are already animated during construction.
2007-11-11 00:53:59 +00:00
glx
63b36d9330
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
2007-11-11 00:04:52 +00:00
rubidium
2e44d2aedb
(svn r11401) -Fix [FS#1391]: make all min functions do exactly the same instead of branching on either < or <=.
2007-11-10 23:22:32 +00:00
rubidium
3a8cdc37ce
(svn r11400) -Fix [FS#1409]: assign orders during cloning after refitting as it needs the cargo types to be the same.
2007-11-10 22:56:43 +00:00
belugas
f55fdfb7c4
(svn r11399) -Feature(ette): transparency settings can now be saved and thus remembered.
...
-Codechange: Wrap all transparency settings in accessors, hiding the implementation
-Change: Clicking "transparent building" menu will toggle Houses And Trees only. The other options can be used in the transparency gui.
Initial patch by Smatz (FS#1349), with some rework by BigBB and your humble servant.
2007-11-10 01:17:15 +00:00
glx
3a84801f55
(svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect
2007-11-10 00:42:25 +00:00
truelight
e4aec527e0
(svn r11397) -Fix r11395: some minor fixes for better town-bridge results (and better comments) (skidd13 / TrueLight)
2007-11-09 13:21:48 +00:00
truelight
2493626f21
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
2007-11-09 11:22:17 +00:00
truelight
71f443cbdc
(svn r11395) -Fix: allow town-bridges to be build on slopes (Rafal Rzepecki)
2007-11-09 11:20:36 +00:00
glx
3e8493c851
(svn r11394) -Fix: default value for input cargo multipliers is 256 even for invalid cargo. Exceptions are temperate banks and oil rigs, default value is 0 for them
2007-11-08 22:29:21 +00:00
belugas
dda3793eb9
(svn r11392) -Codechange: Remove some MSVC warnings by removing boolean typecast that can be avoided by using HASBIT instead.
...
Although the code is old (r2817), it is the recent changes made in macros.h that brough it up.
2007-11-08 16:09:04 +00:00
rubidium
32e5e8db72
(svn r11391) -Change: print all error messages related to missing/corrupted files in one message including the location where they can get said missing/corrupted files.
2007-11-07 23:29:43 +00:00
truelight
4bcca42762
(svn r11390) -Fix r11387: AB() was wrong (spotted by Rafal Rzepecki, patch by skidd13)
2007-11-07 22:41:50 +00:00
egladil
cd5597dddf
(svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5.
2007-11-07 21:35:33 +00:00
truelight
0154541982
(svn r11388) -Fix: postfix ++ returned new value, should (ofcourse) be old value (SmatZ)
...
-Fix: prefix ++ didn't exist, added it
2007-11-07 14:33:52 +00:00
truelight
6104d33ef1
(svn r11387) -Codechange: changed many macros.h #defines to static inline functions (patch by skidd13, with a big tnx to SmatZ for profiling!)
2007-11-06 23:21:08 +00:00
miham
71fa86dee7
(svn r11386) -Update: WebTranslator2 update to 2007-11-05 19:07:09
...
afrikaans - 24 changed by TrueTenacity (24)
brazilian_portuguese - 1 fixed by tucalipe (1)
czech - 1 fixed by Hadez (1)
dutch - 1 fixed by habell (1)
norwegian_bokmal - 4 fixed, 43 changed by jhsoby (47)
turkish - 28 fixed by jnmbk (28)
2007-11-05 18:07:49 +00:00
truelight
9f319318b4
(svn r11385) -Fix r11383: bool operation can be hard to translate for some people ;) (tnx fjb for noticing this bug ;))
2007-11-05 17:50:10 +00:00
glx
1626ff3948
(svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles
2007-11-05 01:38:49 +00:00
truelight
4b8aaa994c
(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
2007-11-04 23:06:39 +00:00
truelight
69b1d97c03
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
2007-11-04 22:47:34 +00:00
glx
3517ee6d54
(svn r11381) -Fix [FS#1227]: redo the fix in a less breaking way
2007-11-04 22:24:03 +00:00
glx
6c9617b4ae
(svn r11380) -Revert (r11191, r11196): it worked, but broke cargo loading
2007-11-04 22:21:46 +00:00
truelight
508c13d1f9
(svn r11379) -Fix r11378: KillFirstBit2x64 accepts and returns unsigned variables, not signed, so enforce that a bit
2007-11-04 18:32:51 +00:00
truelight
038817a708
(svn r11378) -Codechange: optimize KillFirstBit2x64 (skidd13)
2007-11-04 18:28:52 +00:00
truelight
525d239bc2
(svn r11377) -Codechange: some more strictness in macros.h (skidd13)
2007-11-04 17:43:53 +00:00
rubidium
6fe2b0b3b2
(svn r11376) -Fix: fill the town a oil rig is associated with before creating the name, otherwise every oil rig will become "<TOWN> Oilrig" which effectively means that there can be several oil rigs with exactly the same name.
2007-11-04 11:46:01 +00:00
rubidium
91af1d6bca
(svn r11375) -Fix [FS#1397]: the industry recolour map was always applied when recolouring was turned on, instead of only applying it when the colour translation is '0'.
2007-11-04 11:28:36 +00:00
belugas
56e6282f2f
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
...
Patch heavily based on BiBB's work (FS#1383)
2007-11-04 00:08:57 +00:00
rubidium
9e69fc8114
(svn r11373) -Fix [FS#1398]: do not even think about building disabled industries.
2007-11-03 23:34:12 +00:00
glx
e3dfdaa470
(svn r11372) -Fix [FS#1394]: don't stop on first invalid cargo type when displaying industry acceptance
2007-11-03 15:32:07 +00:00
rubidium
a416f540fa
(svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it should not kick in.
2007-11-03 15:21:26 +00:00
rubidium
c393a28028
(svn r11370) -Fix [FS1384]: manually replacing a vehicle with shared orders makes it lose it's order index and service interval. Patch by jthill.
2007-11-03 06:20:25 +00:00
truelight
71ba45cdfb
(svn r11369) -Codechange [FS#1390]: changes some int to int8 in macros.h, as they describe a bit-position, which fits perfectly in an int8 (max 64) (skidd13)
...
-Codechange [FS#1390]: added consts in macros.h functions, so compilers can optimise better (skidd13)
-Codechange [FS#1390]: remove HAS_SINGLE_BIT, as COUNTBITS does the same (skidd13)
2007-11-02 16:57:52 +00:00
miham
8932887524
(svn r11368) -Update: WebTranslator2 update to 2007-11-01 16:56:10
...
afrikaans - 9 fixed, 1 changed by TrueTenacity (10)
brazilian_portuguese - 1 fixed by fukumori (1)
catalan - 1 fixed by arnaullv (1)
croatian - 1 fixed by knovak (1)
french - 1 fixed by glx (1)
slovak - 1 fixed by lengyel (1)
ukrainian - 1 fixed by mad (1)
2007-11-01 15:56:44 +00:00
rubidium
6fe325ae7f
(svn r11367) -Fix [FS#1258]: non-articulated road vehicles should be able to overtake (not-too-long) articulated vehicles, i.e. overtaking of articulated vehicles that are several (3+) tiles long is not supported.
2007-10-31 22:15:19 +00:00
rubidium
3a7c8cc88d
(svn r11366) -Fix [FS#1258]: road vehicles must not drive through eachother on bridges/in tunnels.
2007-10-31 22:13:41 +00:00
rubidium
f486486dd8
(svn r11365) -Fix [FS#1288]: when stopping a ship or aircraft, set their speed to 0 so they won't continue at the speed where they were stopped at.
2007-10-31 22:09:23 +00:00
glx
2b4d1fff89
(svn r11364) -Fix (r11363): compilation broken
2007-10-31 18:53:49 +00:00
belugas
87fcd4b6d7
(svn r11363) -Codechange: Remove some magical numbers
2007-10-31 18:01:41 +00:00
rubidium
6cc287c669
(svn r11362) -Fix [FS#1380]: cloning vehicles with non-standard sub-cargotypes (i.e. livery refits) failed.
2007-10-30 20:31:35 +00:00
miham
b4f0837d3b
(svn r11361) -Update: WebTranslator2 update to 2007-10-30 19:53:53
...
afrikaans - 211 fixed, 22 changed by TrueTenacity (233)
brazilian_portuguese - 2 fixed by fukumori (2)
bulgarian - 3 fixed by thetitan (3)
catalan - 3 fixed, 1 changed by arnaullv (4)
croatian - 49 fixed by knovak (49)
czech - 51 fixed by Hadez (51)
danish - 55 fixed by ThomasA (55)
dutch - 2 fixed by habell (2)
estonian - 52 fixed by t2t2 (7), kristjans (45)
french - 2 fixed by Skiper (2)
german - 56 fixed by moewe2 (56)
italian - 3 fixed, 1 changed by lorenzodv (4)
japanese - 56 fixed by ickoonite (56)
latvian - 38 fixed by Gustavo (38)
norwegian_nynorsk - 56 fixed by pollux (56)
romanian - 55 fixed, 3 changed by CrystyB (16), kneekoo (42)
russian - 3 fixed by Smoky555 (3)
slovak - 2 fixed, 4 changed by lengyel (6)
slovenian - 3 fixed by Necrolyte (3)
spanish - 4 fixed by eusebio (4)
traditional_chinese - 55 fixed by xbddc (55)
ukrainian - 3 fixed, 10 changed by fevral13 (3), mad (10)
2007-10-30 18:56:06 +00:00
rubidium
74691a4218
(svn r11360) -Fix [FS#1375]: do not crash when trying to "draw" an invalid string, just draw a message saying it is invalid.
2007-10-30 18:32:26 +00:00
rubidium
554d7d924a
(svn r11359) -Fix [FS#1381]: shared timetables were not properly refreshed with autofill.
2007-10-30 17:57:51 +00:00
rubidium
b98b97cfb4
(svn r11358) -Fix: condition types 0x0B and 0x0C are also valid for variable 0x88 in action 7/9.
2007-10-30 17:24:04 +00:00
truelight
e288b2456f
(svn r11357) -Fix: NetworkUniqueID could be 80 chars, while the max size we generate is 32. So reduce the size a bit. Pointed out by dihedral, so give him a big hug ;)
2007-10-30 11:29:01 +00:00
glx
0204f501df
(svn r11356) -Fix (r11305): funding industries in MP game was causing desync
2007-10-29 23:29:06 +00:00
rubidium
b14c94867a
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
2007-10-29 23:02:31 +00:00
rubidium
24956ab71b
(svn r11354) -Codechange [FS#1379]: one variable wasn't freed whereas all others were. It's not causing any problems as it happens during the shutdown of OpenTTD. So basically it is only for consistency.
2007-10-29 22:30:54 +00:00
glx
1256cbade3
(svn r11353) -Codechange: add support for newgrf callback 32
2007-10-28 16:00:51 +00:00
glx
4041d8108a
(svn r11352) -Codechange: cache callback 2D result (vehicle color mapping) instead calling it every time the vehicle is drawn
2007-10-28 15:40:18 +00:00
bjarni
18096c4e3c
(svn r11351) -Fix (r11342): [OSX] killed a warning
2007-10-27 11:26:19 +00:00
rubidium
c0747d26f0
(svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13.
2007-10-27 11:23:13 +00:00
rubidium
21981fd8cb
(svn r11349) -Fix [FS#1372]: crash when moving "invalid" cargo to a station.
2007-10-27 11:20:47 +00:00
bjarni
27bf599ae2
(svn r11348) -Fix (r11049): [OSX] killed a warning (don't ask why only OSX showed this one)
2007-10-26 21:32:24 +00:00
belugas
bdb5b8ed87
(svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come)
2007-10-26 20:55:23 +00:00
belugas
b5973f12e6
(svn r11346) -Codechange: Add marker has_newwater to the loaded grf features. Not in used yet.
2007-10-26 20:48:15 +00:00
belugas
411b1ff9db
(svn r11345) -Cleanup: a bit of comment style fixing
2007-10-26 20:42:03 +00:00
belugas
f920686762
(svn r11344) -Codechange: Removes some magic numbers referring the highlighting mode in road_gui.cpp
...
Some typos fixed too.(FS#1371-skidd13)
2007-10-26 16:38:32 +00:00
belugas
a3c6034eb7
(svn r11343) -Fix[FS#1368]: Autoslope did not work correctly for single track on higher part of steep slopes. (frosch)
2007-10-26 16:26:50 +00:00
egladil
134227aa8c
(svn r11342) -Fix: [OSX] The cocoa driver incorrectly assumed that the blitter always was 8bpp. Now both 8bpp and 32bpp blitters can be used. The driver will check the blitter screen depth. In fullscreen it will select a proper video mode for this depth, and in windowed mode it will simply skip doing fake 8bpp.
2007-10-25 23:45:03 +00:00
glx
287a4a8049
(svn r11341) -Codechange: add missing callback ID enums, add stub for house property 20 and reorder unimplemented action 0 properties
2007-10-25 23:24:28 +00:00
belugas
2739ab082e
(svn r11340) -Fix[FS#1362]: Newindustries can provide no production at start. So the Modifying Production cheat was a bit puzzled on how to deal with it. This will help a bit.
2007-10-25 02:26:02 +00:00
rubidium
2c1bfe10ac
(svn r11339) -Add: autoroad; same as autorail, but for road and trams and only on X and Y direction. Patch by Octopussy and skidd13.
2007-10-22 19:11:50 +00:00
rubidium
f8293ec0c5
(svn r11338) -Fix [FS#1359]: water tiles not at sealevel (i.e. canals) should not be owned by water as that signals normal water.
2007-10-22 17:03:08 +00:00
miham
08dadf4942
(svn r11337) -Update: WebTranslator2 update to 2007-10-22 15:25:18
...
afrikaans - 128 fixed, 35 changed by TrueTenacity (163)
bulgarian - 2 fixed by thetitan (2)
dutch - 1 fixed by habell (1)
french - 1 fixed by glx (1)
italian - 1 fixed by lorenzodv (1)
slovak - 1 fixed by lengyel (1)
ukrainian - 39 fixed by mad (39)
2007-10-22 13:26:33 +00:00
maedhros
68a1fbd437
(svn r11333) -Fix: Train engines still had a value of 0.
2007-10-21 16:52:01 +00:00
rubidium
4bb210614b
(svn r11332) -Fix: vehicles getting a value of 0 on construction.
...
-Fix: assertion when selling vehicles.
2007-10-21 16:45:00 +00:00
rubidium
af9521ff14
(svn r11331) -Fix: do not misuse CommandCost for overflow safe stuff as Money supports that now too.
2007-10-21 16:44:19 +00:00
rubidium
f4775d06bb
(svn r11330) -Add: OTTD version checking for NewGRFs. This allows NewGRFs to do something different for different versions of OpenTTD, like disabling it for too low versions or loading different graphics.
2007-10-21 14:59:05 +00:00
rubidium
93303cffc4
(svn r11329) -Fix: if a NewGRF failed to load for some reason (like fatal errors), but it was a "compatible" NewGRF, it was shown with the compatible colour and not the not-loaded colour in the NewGRF list.
2007-10-21 12:45:43 +00:00
bjarni
d5874fb186
(svn r11326) -Cleanup: [OSX] removed now unneeded includes and unreached conditional defines from some OSX specific files
2007-10-21 11:05:39 +00:00
bjarni
04dd59df0e
(svn r11325) -Fix (r11312)[FS#1357]: [OSX] fixed compilation on OSX
2007-10-21 10:53:23 +00:00
rubidium
c5acd42ccc
(svn r11322) -Codechange: select an allowed station size when drag&drop is disabled. Patch by Wolf01.
2007-10-21 09:59:10 +00:00
rubidium
fce4c5e2c2
(svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch.
2007-10-20 21:39:50 +00:00
rubidium
2c67320bae
(svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch.
2007-10-20 21:05:18 +00:00
rubidium
ef9e037c2a
(svn r11319) -Add: halftile- and anti-zig-zag-foundations. Patch by frosch.
2007-10-20 21:04:14 +00:00
rubidium
0c845bdd27
(svn r11318) -Codechange: add the actual support for drawing selections on halftiles, r11316 just added the things needed to load the sprites. Patch by frosch.
2007-10-20 20:25:43 +00:00
rubidium
28bcf5bb46
(svn r11317) -Fix [FS#1355]: don't read a variable of a destroyed vehicle as the value will be reset to 0.
2007-10-20 20:15:34 +00:00
rubidium
5718567d1e
(svn r11316) -Codechange: add support for the half-tile (selection) graphics.
2007-10-20 20:06:55 +00:00
rubidium
4e32964c18
(svn r11315) -Fix [FS#1353]: towns are not growing beyond height differences. Patch by skidd13.
2007-10-20 17:38:23 +00:00
rubidium
79cee7e08f
(svn r11314) -Fix [FS#1356]: stop following a vehicle when you sell/destroyed it.
2007-10-20 17:11:02 +00:00
rubidium
5289aa2010
(svn r11313) -Codechange: prepare several pieces of code so the can handle some new slopes. Patch by frosch.
2007-10-20 16:50:48 +00:00
rubidium
8212088c03
(svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
2007-10-20 14:51:09 +00:00
maedhros
54369cba0f
(svn r11308) -Fix (r9315): Change the house id as well as the house spec when using an overridden town building, since the house id is the one that's used to actually build the house.
2007-10-20 10:19:23 +00:00
miham
dc6e3251c2
(svn r11306) -Update: WebTranslator2 update to 2007-10-20 08:17:35
...
american - 47 fixed by WhiteRabbit (47)
brazilian_portuguese - 46 fixed by fukumori (46)
catalan - 3 changed by arnaullv (3)
italian - 1 changed by lorenzodv (1)
norwegian_bokmal - 54 fixed, 1 changed by jhsoby (55)
portuguese - 5 fixed by Digitalfox (5)
swedish - 46 fixed by giddorah (46)
ukrainian - 9 fixed by mad (9)
2007-10-20 06:18:22 +00:00
glx
0215607d91
(svn r11305) -Codechange: randomise layout when building an industry ingame
2007-10-20 00:20:23 +00:00
belugas
705f0ae90c
(svn r11304) -Feature: Control-Clicking the Center Main View button on the vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
2007-10-20 00:09:39 +00:00
rubidium
95f2181a1d
(svn r11303) -Fix: EnsureNoVehicle and EnsureNoVehicleOnGround were both used to check whether there was no vehicle on the ground, except that the former didn't take care of aircraft shadows. So now we only use EnsureNoVehicleOnGround.
2007-10-19 22:46:55 +00:00
glx
9371ac1307
(svn r11302) -Fix (r9520): typo
2007-10-19 21:14:38 +00:00
glx
c706b31eb7
(svn r11301) -Fix: water check when building industries didn't work
2007-10-19 21:05:25 +00:00
glx
f3d79154eb
(svn r11293) -Fix: newgrf defined industry news messages use TTD format for args, which is not the same as our. So we must detect those strings and pass them the right params
2007-10-18 20:35:59 +00:00
rubidium
e0461fcd6a
(svn r11292) -Fix [FS#1350]: don't desync when generating random faces. Patch by SmatZ.
2007-10-18 20:34:09 +00:00
rubidium
1043cc5e1d
(svn r11291) -Fix [FS#1345]: changing the wagon_speed_limits patch option caused desyncs.
2007-10-18 20:32:36 +00:00
rubidium
8795050ff7
(svn r11290) -Fix: obiwan in the assertion that checked for overflows when writing a packet, causing still correctly sized packets to cause assertions.
2007-10-18 17:44:59 +00:00
miham
405489d06f
(svn r11288) -Update: WebTranslator2 update to 2007-10-17 23:47:06
...
bulgarian - 47 fixed by thetitan (47)
catalan - 46 fixed by arnaullv (46)
dutch - 46 fixed by habell (46)
french - 46 fixed by glx (46)
hungarian - 28 fixed by miham (28)
italian - 46 fixed, 1 changed by lorenzodv (47)
russian - 53 fixed by Smoky555 (53)
slovak - 46 fixed, 8 changed by lengyel (54)
slovenian - 46 fixed by Necrolyte (46)
spanish - 46 fixed by eusebio (46)
2007-10-17 21:47:44 +00:00
rubidium
e21b7634bf
(svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka.
2007-10-17 20:09:16 +00:00
rubidium
5e347f80e1
(svn r11286) -Fix (r11228): NewGRF industries assume that the order of animation always stays the same. Patch by Csaboka.
2007-10-17 16:09:04 +00:00
glx
ad0574c226
(svn r11285) -Fix: 'site unsuitable' was always shown instead specified message when trying to build industry ingame (Csaboka)
2007-10-17 15:47:49 +00:00
glx
0ab883c393
(svn r11284) -Codechange: don't reset build industry cursor if it failed
2007-10-17 14:54:18 +00:00
belugas
b0df73c7fd
(svn r11283) -Fix(r11282): a typo. Don't ask.
2007-10-17 02:50:18 +00:00
belugas
7938e6f793
(svn r11282) -Fix[FS#1344]: Use the right pointer when evaluating the size of the layouts.
2007-10-17 02:46:21 +00:00
belugas
2c330b2dff
(svn r11281) -Revert(r11259): the problem was not there. In fact, it made it so that no more music were allowed on intro.
...
-Fix[FS#1331]: Somehow, the notion that the first song must be the ttd theme has been lost while on the intro window.
When using shuffling setting (which was saved), the intro song at startup was shuffled too. No more :)
2007-10-17 01:33:21 +00:00
rubidium
feda05d67d
(svn r11280) -Fix [FS#1343]: wrong money related values when loading old games. Inspired on a patch by SmatZ.
2007-10-16 21:16:30 +00:00
rubidium
c393a28bf9
(svn r11279) -Codechange: use a typedeffed type for all magic with GameDifficulty instead on relying ints to always be 32 bits, which they are not.
2007-10-16 21:15:34 +00:00
glx
440fa08669
(svn r11278) -Fix [FS#1342] (r11269): modulo result can be negative for signed int
2007-10-16 20:59:53 +00:00
glx
28050e6e6d
(svn r11277) -Fix (r8498): the check for ghost station (on water industries) always removed station for non-oilrig
2007-10-16 20:44:59 +00:00
rubidium
ba7c595d84
(svn r11276) -Codechange: be more consistent with naming of some accessors.
...
-Fix: make sure canals are never owned by water. Based on a patch by boekabart.
2007-10-16 19:48:58 +00:00
rubidium
4f512a70c3
(svn r11275) -Fix: oldloader crashing when referencing a vehicle that is not yet loaded.
2007-10-16 19:27:24 +00:00
belugas
ebfc4b2842
(svn r11272) -Codechange: Truncate text describing the grf file in the NewGrf settings gui
2007-10-16 00:35:59 +00:00
rubidium
31bf6876d3
(svn r11271) -Fix [FS#1333]: some (very) old games (TTD original scenarios for example) would give a new vehicle spree, even though the vehicles were introduced decades ago.
2007-10-15 20:49:11 +00:00
rubidium
f4f47451ac
(svn r11270) -Fix (r11269): black people only have one eye colour.
2007-10-15 20:33:11 +00:00
rubidium
322746ee11
(svn r11269) -Feature: user customisable faces. Patch by BigBB.
2007-10-15 19:59:27 +00:00
belugas
a1e1d85361
(svn r11268) -Fix[FS#1336]: Call IsSlopeRefused whenever it is required. Looks like there was one spot missing. Thanks frosch
2007-10-15 18:36:20 +00:00
miham
4a7e446d35
(svn r11267) -Update: WebTranslator2 update to 2007-10-15 19:58:13
...
brazilian_portuguese - 1 fixed by fukumori (1)
bulgarian - 12 fixed by thetitan (12)
norwegian_bokmal - 118 fixed, 32 changed by jhsoby (150)
swedish - 1 fixed by ChrillDeVille (1)
ukrainian - 22 changed by mad (22)
2007-10-15 17:58:42 +00:00
belugas
e74e187006
(svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores
2007-10-15 00:06:59 +00:00
maedhros
675a826601
(svn r11265) -Feature: Make more advanced rail types more expensive to build.
2007-10-14 21:20:12 +00:00
rubidium
4276173922
(svn r11264) -Codechange: replace a lot of magic numbers with enums for the rail and road GUIs. Patch by skidd13.
2007-10-14 20:24:42 +00:00
rubidium
69605afdf2
(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch.
2007-10-14 20:16:44 +00:00
rubidium
64a6d3daad
(svn r11262) -Fix [FS#1330]: do not check for vehicles that are not on the ground when removing owned land, furthermore do not check for shadows (of aircraft).
2007-10-14 20:12:51 +00:00
rubidium
486e4bbca2
(svn r11261) -Codechange: Draw selection sprites (HT_RECT, HT_POINT, HT_RAIL) on foundations as ChildSprite of the foundation, not as single ParentSprite. Patch by frosch.
2007-10-14 19:57:15 +00:00
rubidium
41b3c86d8e
(svn r11260) -Codechange: replace a magic number by a less magic enumified constant. Patch by ammler.
2007-10-14 19:48:48 +00:00
rubidium
835a9670af
(svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session.
2007-10-14 19:46:00 +00:00
rubidium
edc2a62669
(svn r11258) -Fix [FS#1325]: if a Load Amount callback returns 0, it means (according to TTDP's source code, not "the" specs) that it should take the "default" one.
2007-10-14 19:13:38 +00:00
glx
f45b2e8d38
(svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack
2007-10-14 14:50:07 +00:00
belugas
c78c96a8ad
(svn r11256) -Codechange: Make opening a new toolbar not overlapping its parent one, by locating it under the parent, and aligned with the left side of it.
...
FS#1310, by BigBB
2007-10-14 00:26:24 +00:00
glx
d47e51c246
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
2007-10-13 16:56:29 +00:00
glx
f49a52c2ff
(svn r11253) -Fix (r9411): industries can still use cargo they define, even if these cargo are disabled by a grf loaded later
2007-10-13 02:49:05 +00:00
glx
ac9f287f20
(svn r11252) -Revert r11239, Fix r9620: cargo translation was not done correctly
2007-10-13 02:23:11 +00:00
belugas
63f54c43b3
(svn r11251) -Fix[FS#1318]: Newindustries must not rely on the old check placement functions. It is the the job of callbacks. Therefor, upon substitution, disable the said check.
...
Warning, plenty of industries are going to be generated ;)
2007-10-13 00:49:13 +00:00
miham
f79f3edb3f
(svn r11249) -Update: WebTranslator2 update to 2007-10-12 22:42:24
...
afrikaans - 110 fixed, 141 changed by TrueTenacity (251)
catalan - 1 fixed by arnaullv (1)
czech - 1 fixed by Hadez (1)
french - 1 fixed by glx (1)
slovak - 1 fixed by lengyel (1)
slovenian - 1 fixed by Necrolyte (1)
spanish - 1 fixed by eusebio (1)
turkish - 11 fixed by jnmbk (11)
ukrainian - 3 fixed by mad (3)
2007-10-12 20:43:01 +00:00
belugas
e4fdc7ce51
(svn r11248) -Fix[FS#1314]: The logic behind industry slot allocation was implying that the only condition an override could be placed in a slot is that there were no previous override.
...
That is not exact: the slot must not have been occupied by an industry coming from a grf.
So now, tourist center is available if more then one grf is used
2007-10-12 15:54:49 +00:00
belugas
9934cb8a1c
(svn r11247) -Fix: The Industry's name to fund could be larger than the window itself. Now, it fits within the physical allowed space
2007-10-12 00:43:18 +00:00
belugas
0bedd88870
(svn r11246) -Codechange: beautify some conditions from "if else" into trinary operator
2007-10-11 15:40:53 +00:00
truelight
8b7f864c2d
(svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) games impossible (Csaboka)
2007-10-11 11:32:43 +00:00
truelight
645e5b1fb0
(svn r11244) -Fix: trees can now be planted on bare land without making it grassy (Csaboka)
...
-Fix: planting tree in desert doesn't make it grassy for the first tile-cycle (Csaboka)
-Fix: when a tree dies in desert, it no longer becomes a snowy tile for the first tile-cycle (Csaboka)
2007-10-11 11:06:04 +00:00
glx
1ff0197ca4
(svn r11243) -Fix: update waypoint signs when renaming a town
2007-10-10 01:36:15 +00:00
belugas
81ed86477b
(svn r11242) -Codechange: When displaying the industry funding gui, present the industries in the same order as they are available.
...
Prior of this, they were separated in processing/organic and extractive.
Now, all are mixed, just filtered when required. This will allow easy comparison with TTDPatch's list. (glx and me)
2007-10-10 01:15:07 +00:00
belugas
c446c5ffb3
(svn r11241) -Fix: Obiwan error on industry animated tiles. Spotted and fixed by Csaboka
2007-10-10 00:42:52 +00:00
glx
129d5c6e8a
(svn r11240) -Fix [FS#1323] (r11152): forgot to invert a test
2007-10-10 00:01:41 +00:00
glx
ffbd818517
(svn r11239) -Fix (r10495): don't do cargo translation when loading grfs, but do it once all grfs are loaded. This ensure correct accept/produced cargo when a grf uses cargo defined in a grf loaded after itself
2007-10-09 21:40:15 +00:00
rubidium
77020e255b
(svn r11238) -Fix [FS#1316]: the orders of trains going to a waypoint where not updated when the waypoint would be moved.
2007-10-09 21:29:34 +00:00
rubidium
6cebf4aa53
(svn r11237) -Codechange: reduce code duplication between GetRailFoundation() and CheckRailSlope(). Patch by frosch.
2007-10-09 21:11:23 +00:00
rubidium
a71b7226c5
(svn r11236) -Fix [FS#1322]: DeleteVehicleChain can just work as good for all vehicles, instead of not allowing trains to use it (enforced by an assert), but actually using it for trains. Patch by SmatZ.
2007-10-09 20:53:25 +00:00
miham
7140c35cda
(svn r11235) -Update: WebTranslator2 update to 2007-10-09 19:28:02
...
croatian - 1 fixed by tperic (1)
dutch - 3 fixed by habell (3)
hungarian - 1 fixed by miham (1)
italian - 1 fixed by lorenzodv (1)
2007-10-09 17:28:37 +00:00
rubidium
84d93ec0e2
(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
2007-10-09 15:48:41 +00:00
rubidium
6b9bff7531
(svn r11233) -Fix [FS#1303]: handle some wrong written station NewGRFs a little more gracefully than segfaulting.
2007-10-09 15:28:40 +00:00
glx
5684e42ada
(svn r11232) -Fix (r10495): industry tile override works like house override, so handle it in the same way
2007-10-09 02:57:29 +00:00
rubidium
8c572c0ee5
(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
2007-10-08 20:42:33 +00:00
rubidium
cbfe23108c
(svn r11230) -Fix [FS#1228]: one could construct trains out of crashed wagons and engines. Based on a patch by SmatZ.
2007-10-08 20:16:25 +00:00
rubidium
b6c9bc80cf
(svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money.
2007-10-08 20:06:37 +00:00
rubidium
cb6cdf7978
(svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries.
2007-10-08 19:56:21 +00:00
miham
bbbfcb4360
(svn r11227) -Update: WebTranslator2 update to 2007-10-08 20:45:04
...
afrikaans - 3 fixed, 236 changed by TrueTenacity (239)
croatian - 5 fixed by knovak (5)
italian - 1 changed by lorenzodv (1)
slovak - 2 fixed by lengyel (2)
spanish - 2 fixed by eusebio (2)
2007-10-08 18:45:33 +00:00
miham
885bbc3985
(svn r11226) -Update: WebTranslator2 update to 2007-10-07 19:56:41
...
afrikaans - 48 fixed, 160 changed by TrueTenacity (208)
american - 5 fixed by WhiteRabbit (5)
brazilian_portuguese - 5 fixed by tucalipe (5)
bulgarian - 1 fixed by thetitan (1)
catalan - 5 fixed by arnaullv (5)
czech - 3 fixed, 1 changed by Hadez (4)
dutch - 3 fixed by habell (3)
estonian - 3 fixed, 23 changed by kristjans (26)
french - 5 fixed by glx (5)
hungarian - 4 fixed by miham (4)
italian - 5 fixed by lorenzodv (5)
slovak - 3 fixed by lengyel (3)
slovenian - 5 fixed by Necrolyte (5)
spanish - 3 fixed by eusebio (3)
swedish - 6 fixed, 12 changed by ChrillDeVille (18)
ukrainian - 3 fixed by mad (3)
2007-10-07 17:59:46 +00:00
rubidium
9d8c8c200e
(svn r11225) -Fix: if a sprite shares the bounding box of another sprite, the offset is unsigned instead of signed.
2007-10-07 15:26:20 +00:00
rubidium
b8bd791d76
(svn r11224) -Fix: GRM for cargos has registration entries for both cargo IDs and cargo bitmasks, not only cargo IDs.
2007-10-07 08:48:31 +00:00
belugas
c06a8c60ad
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
2007-10-07 01:37:06 +00:00
belugas
62ab367800
(svn r11216) -Codechange: Protect the callback who would access var 45 against a randomness that could eventually cause desynchs. Instead, use a controlled random value.
2007-10-06 00:23:30 +00:00
rubidium
39a8b5549e
(svn r11215) -Codechange: replace magic constants with less magic symbols. Patch by skidd13.
2007-10-05 22:39:15 +00:00
glx
8e5480aa16
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
2007-10-05 22:13:35 +00:00
rubidium
0fd7d6257b
(svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge.
2007-10-05 22:10:15 +00:00
rubidium
6e7402a1c5
(svn r11212) -Codechange: add support for drawing parts of sprites. Patch by frosch.
2007-10-05 21:49:15 +00:00
rubidium
bf35f3a21a
(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized.
2007-10-05 21:31:59 +00:00
rubidium
1e73368d48
(svn r11210) -Codechange: unify the way that selection sprites are drawn. Patch by frosch.
2007-10-05 19:57:20 +00:00
rubidium
f4721fed87
(svn r11209) -Codechange: remove some magic numbers and bit magic with appropriate enums and functions. Patch by frosch.
2007-10-05 19:36:13 +00:00
rubidium
e237ac3ff3
(svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses owned land. Patch by frosch.
2007-10-05 17:55:12 +00:00
glx
9a190237ca
(svn r11207) -Fix [FS#1301]: don't use smooth_economy for industries using production callbacks as they may have no production for more than a month
2007-10-05 17:53:45 +00:00
rubidium
a88d0a88b8
(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. Based on patches by frosch and skidd13.
2007-10-05 17:53:01 +00:00
rubidium
cd1af1c870
(svn r11205) -Codechange: remove some, now obsolete, checks.
2007-10-05 17:50:17 +00:00
belugas
38b7480bb0
(svn r11204) -Feature: [NewGRF] Add support for Action 00 for Industries and IndustryTiles.
...
Thanks to :Csaboka for original concept, specs & help. Dalestan for technical explanations.
Pikkabird & Georges for detailled comments on their grf works. The Alpha testers (You know who you are).
And finally (but not least) Maedhros (newhouses), peter1138(newgrf) Rubidium and glx (numerous and welcome patches)
Remember: it certainly can be buggy. But be sure that behaviour has been tested in TTDP (if you can) before raising a flag.
2007-10-05 02:21:40 +00:00
belugas
7c17d394f2
(svn r11203) -Codechange: Raise the TTDPatch version a little higher, as some new features will be shortly exploitable
2007-10-05 02:06:29 +00:00
belugas
95b32d58e7
(svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries.
2007-10-05 01:46:49 +00:00
rubidium
7788c04b78
(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ.
2007-10-04 20:20:23 +00:00
rubidium
07f8b91a18
(svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east.
2007-10-04 20:16:35 +00:00
rubidium
791d68325b
(svn r11199) -Fix: variable 67 and 68 not working correctly.
...
-Refactor: some code so there is less code duplication.
2007-10-04 07:09:05 +00:00
belugas
aae3ca07c4
(svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override
2007-10-04 00:59:52 +00:00
belugas
7525f791c7
(svn r11197) -Fix: It is not useful to reset the override of an entity every time a new grf file is been submitted.
...
Since newhouses showed the way to newindustries(meaning I copied/adapted a lot of code and processes from it), the behaviour was there for newhouses too.
2007-10-03 00:57:54 +00:00
glx
dca398e9a6
(svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage
2007-10-02 20:20:14 +00:00
rubidium
a5e8761325
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
2007-10-02 18:43:17 +00:00
rubidium
2b56d11276
(svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles.
2007-10-02 17:48:17 +00:00
rubidium
531fe3e070
(svn r11193) -Fix: be more compliant with the specifications of callback #2F (and undocumented side effects in TTDP in corner cases).
2007-10-02 16:56:45 +00:00
belugas
7979674717
(svn r11192) -Fix: Little typo with bigger consequences when trying to remove a newindustries aware grf
2007-10-02 01:12:06 +00:00
glx
729d121c50
(svn r11191) -Fix [FS#1227]: GLS_ACTIVATION stage must be done immediatly after GLS_RESERVE stage, before the GLS_RESERVE stage for the next newgrf.
2007-10-01 18:59:25 +00:00
rubidium
a2256f6b0f
(svn r11190) -Fix: make snowy roofs of (newgrf) houses also transparent.
2007-09-30 19:33:40 +00:00
rubidium
171374a8f0
(svn r11189) -Fix: if the location check callback results in something invalid (i.e. not a callback result), the industry should be allowed to be build as that's how TTDP does it.
2007-09-30 18:53:59 +00:00
rubidium
ff14665f6e
(svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic).
...
-Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
2007-09-30 17:38:42 +00:00
rubidium
c952f3d5ef
(svn r11187) -Fix: what holds for houses in r11149 also holds for industries.
2007-09-30 15:37:24 +00:00
rubidium
32c0c3a644
(svn r11186) -Fix: only fill the accepted cargo fields once, not multiple times.
2007-09-30 14:29:45 +00:00
rubidium
136d726b6f
(svn r11185) -Codechange: prepare some more code for the introduction of NewIndustries. Patch by Belugas.
2007-09-28 21:24:25 +00:00
rubidium
beeae81f60
(svn r11184) -Codechange: cleanup the code related to backup orders.
2007-09-28 21:15:45 +00:00
rubidium
e67b985bfa
(svn r11183) -Fix [FS#1249]: airports do not need to care about overflying aircraf when removing them, because if they were not in the "flying" state it can't be removed anyway.
2007-09-28 19:24:52 +00:00
rubidium
a4695c9022
(svn r11182) -Fix [FS#1261] (r11174): bounding boxes caused crashes when zoomed out. Patch by SmatZ.
2007-09-28 19:17:33 +00:00
glx
c07e91fd78
(svn r11181) -Codechange: add support for newgrf callback 14A (Belugas)
2007-09-28 17:09:50 +00:00
rubidium
08fd0030d2
(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;)
2007-09-28 17:04:52 +00:00
glx
9f552ae0b3
(svn r11179) -Fix [FS#1262] (r11175): compilation with MSVC was broken
2007-09-28 16:05:40 +00:00
glx
1f4889e38a
(svn r11178) -Fix: don't check newgrf callback 22 in scenario editor
2007-09-28 00:34:10 +00:00
glx
7cdbb50b5b
(svn r11177) -Codechange: add support for newgrf callbacks 14B and 14C
2007-09-27 21:47:38 +00:00
glx
5e45e73037
(svn r11176) -Revert (r9867): as it is needed for newgrf callbacks 14B and 14C
2007-09-27 21:39:13 +00:00
rubidium
02d23c2776
(svn r11175) -Codechange: sort the NewGRFs by name, making searching a specific NewGRF a lot easier.
2007-09-27 20:39:46 +00:00
rubidium
8564e12554
(svn r11174) -Codechange: add possibility to show the bounding boxes of sprites using CTRL-B so one can get a better understanding of the used bounding boxes to fix the glitches that still exist. Patch by frosch.
...
Note that this is not completely glitch free, bounding boxes sometimes aren't removed properly. This is due to the fact that the bounding boxes sometimes are larger than the sprite, which causes a smaller part than the bounding box to be redrawn. This is NOT a bug, but a known implementation limit as we do not want to slow down normal games so the debug graphics are always 100% correct.
2007-09-26 19:27:29 +00:00
rubidium
127c7c9b0f
(svn r11173) -Codechange: rename some callback enums so they are more uniform.
2007-09-26 17:33:32 +00:00
rubidium
01edaeec57
(svn r11172) -Codechange: rewrite of town road building and addition of the possibility to clean up unconnected road bits during the local road reconstructions. Based on a patch by skidd13.
2007-09-26 16:12:43 +00:00
rubidium
a85e18c922
(svn r11171) -Fix [FS#1257]: disable autoslope for automatically changed stuff (like towns and industries) and enable it in the scenario editor. Patch by frosch.
2007-09-26 14:32:06 +00:00
rubidium
7455676941
(svn r11170) -Fix (r11152): a variable's type was too small for the data that is going to put into it when NewIndustries are finally activated. For now it just removes a warning and doesn't really fix anything.
2007-09-26 14:21:23 +00:00
rubidium
2239809bdc
(svn r11169) -Fix [FS#1255]: obiwan in Blitter::Drawline(), which caused it to clip too much at screen/viewport borders. Patch by frosch.
2007-09-26 14:17:26 +00:00
rubidium
ca7cab0253
(svn r11168) -Fix [FS#1256]: assert on terraforming of industries. Patch by frosch.
2007-09-26 14:14:51 +00:00
rubidium
93459d1b43
(svn r11167) -Fix [FS#1260]: Electric trains were not shown as stopped in depots when converting it from elrail -> normal rail. Patch by smatz.
2007-09-26 14:05:09 +00:00
belugas
fa075ed7bc
(svn r11164) -Fix(r11161): a rogue space roaming in the night... removed
2007-09-26 02:20:58 +00:00
belugas
21cbc7009f
(svn r11163) -Codechange: Verify that the IndustryTileOverrideManager skip the magic value of 0xFF when assigning a new tileID. This is really important, since the value is reserved for water checking.
2007-09-26 02:15:00 +00:00
belugas
a6c6b355c2
(svn r11162) -Fix: Acceptance is not a cargo, but rather a level of... acceptance :) So don't need to get cargo name out of it (glx)
2007-09-26 02:11:30 +00:00
belugas
63b91ac88a
(svn r11161) -Fix: Allow to transform coordinates in negative ones when gfx of 0xFF allows it
2007-09-26 01:27:51 +00:00
belugas
ea2100e4e8
(svn r11160) -Fix: A gfx of 0xFF does not count when it's time to establish the size of the industry.
2007-09-26 01:24:12 +00:00
glx
94a710fa46
(svn r11159) -Fix (r11155): restore the ability to save in a non existing file
2007-09-25 14:15:38 +00:00
rubidium
e61f197dba
(svn r11158) -Codechange: reduce the amount of Random calls needed when we do not have NewGRF industries that actually need the random bits.
2007-09-24 20:56:33 +00:00
rubidium
db0e01bd7b
(svn r11157) -Fix: some random data was printed because printf "thought" that _current_player is 4 bytes instead of 1 byte, causing the random debug output to be useless.
2007-09-24 20:55:13 +00:00
glx
54fe17050b
(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)
2007-09-24 19:55:50 +00:00
rubidium
2408a68910
(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC ( http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606 ). Patch by boekabart.
2007-09-24 19:15:42 +00:00
rubidium
b12785cf7c
(svn r11154) -Fix [FS#1239]: MIDI failing to play under Windows 95, 98 and ME.
2007-09-24 19:11:26 +00:00
rubidium
fc371ad994
(svn r11152) -Fix: GetIndustryIDAtOffset crashed when translation of the GFX ID would be needed. Fix by Belugas.
...
-Fix: GetIndustryIDAtOffset crashed when the industry->xy tile was not an industry tile.
2007-09-23 19:55:42 +00:00
rubidium
4dca543135
(svn r11151) -Codechange: add (partial) support for randomizing industry triggers (part of the backend for it). Furthermore update the documentation of the map's bits wrt to industries.
2007-09-23 19:27:35 +00:00
rubidium
f4792f29cb
(svn r11150) -Fix [FS#1202]: NewGRF action 3 does not necessarily need an action 1 to be defined. Patch by frosch.
2007-09-23 11:05:11 +00:00
maedhros
df03734674
(svn r11149) -Fix [FS#1225]: Draw building stages for new house ground sprites.
2007-09-23 10:54:11 +00:00
rubidium
4d8f4bd1c0
(svn r11147) -Fix [FS#1247] (r11105): reallow bounding boxes with x/y/z-extent 0. Some NewGRFs need them. Patch by frosch.
2007-09-23 09:37:25 +00:00
rubidium
240285b8d8
(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F.
2007-09-22 23:55:34 +00:00
glx
aa020847af
(svn r11144) -Codechange: add support for newgrf callbacks 29 and 35
2007-09-22 23:40:35 +00:00
rubidium
c00db50edc
(svn r11143) -Fix: the random bits were not set for the production callback when the NewGRF asked for it.
2007-09-22 23:14:32 +00:00
glx
90602b356a
(svn r11142) -Codechange: prepare industry production change code for newgrf callbacks 29 and 35
2007-09-22 21:59:02 +00:00
rubidium
ed2b6f4f72
(svn r11141) -Codechange: add support for NewGRF's varaction2 operators 11, 12 and 13.
2007-09-22 20:29:17 +00:00
miham
726ea01d6c
(svn r11140) -Update: WebTranslator2 update to 2007-09-22 20:52:32
...
american - 21 fixed by WhiteRabbit (21)
brazilian_portuguese - 1 fixed by tucalipe (1)
catalan - 1 fixed by arnaullv (1)
croatian - 1 fixed by knovak (1)
czech - 7 fixed, 1 changed by Hadez (8)
danish - 1 fixed by ThomasA (1)
dutch - 1 fixed by habell (1)
estonian - 1 fixed, 33 changed by kristjans (34)
french - 1 fixed by glx (1)
romanian - 21 fixed by kneekoo (21)
spanish - 1 fixed by eusebio (1)
turkish - 16 fixed, 2 changed by jnmbk (18)
ukrainian - 1 fixed by mad (1)
2007-09-22 18:53:32 +00:00
rubidium
60f1eb21fa
(svn r11139) -Codechange: add support for persistent storage for NewGRFs.
2007-09-22 13:56:38 +00:00
rubidium
c68c83dffa
(svn r11138) -Codechange: prepare some subsystems for persistent storage for NewGRFs.
2007-09-22 12:59:43 +00:00
belugas
47dd4989a8
(svn r11137) -Feature: [NewGRF] Add support for bit 17 of property 1A for Industries. This bit enables the protection of the last instance of an industry type once raise.
2007-09-22 00:59:27 +00:00
rubidium
a6a8502ca3
(svn r11134) -Fix [FS#1238]: vehicles got removed twice from the group list when selling whole trains.
2007-09-21 17:56:55 +00:00
rubidium
2ce95b9fd0
(svn r11133) -Fix (r11102) [FS#1245]: in some cases vehicles would be drawn over houses when they should be drawn behind the houses. Patch by frosch.
2007-09-20 19:21:01 +00:00
rubidium
5fe04f2db7
(svn r11132) -Fix: NewGRFs seem to assume that STR_NULL is an empty string or so.
2007-09-19 18:55:26 +00:00
rubidium
42b629c78c
(svn r11131) -Fix (r11126): forgot to commit the changes that performed the actual fix.
2007-09-19 18:39:14 +00:00
rubidium
5d4311c07a
(svn r11130) -Fix [FS#1207]: towns build roads that weren't connected to any other road.
2007-09-19 18:15:59 +00:00
glx
fa628f0363
(svn r11129) -Fix: update some TextID to StringID 'translations' to reflect changes in language files
2007-09-19 17:37:44 +00:00
rubidium
7d325672eb
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-19 16:36:42 +00:00
rubidium
262836a24f
(svn r11127) -Fix: truncate the result of 8 bits callbacks.
2007-09-18 20:41:59 +00:00
rubidium
7f721d31c2
(svn r11126) -Fix: the algorithm to determine the closest water/land was flawed.
2007-09-18 18:55:25 +00:00
rubidium
87f62c7109
(svn r11125) -Documentation: add/update the documentation of news*. Based on a patch by Progman.
2007-09-17 17:07:24 +00:00
rubidium
c2dc4a4adb
(svn r11124) -Documentation: of tree_map.h and tree_cmd.cpp. Patch by Progman.
2007-09-17 16:56:15 +00:00
miham
a451c6f4b9
(svn r11123) -Update: WebTranslator2 update to 2007-09-17 12:45:29
...
afrikaans - 47 fixed, 52 changed by TrueTenacity (99)
brazilian_portuguese - 23 changed by fukumori (23)
bulgarian - 14 fixed by thetitan (14)
catalan - 3 changed by arnaullv (3)
croatian - 6 fixed, 12 changed by knovak (15), tperic (3)
danish - 20 fixed by ThomasA (20)
finnish - 20 fixed by habazi (20)
german - 10 fixed by Timwi (10)
hungarian - 1 fixed by miham (1)
italian - 1 fixed by lorenzodv (1)
japanese - 6 fixed by ickoonite (6)
norwegian_nynorsk - 6 fixed by pollux (6)
piglatin - 20 fixed by adammw (20)
russian - 20 fixed by Smoky555 (20)
slovak - 1 fixed by lengyel (1)
slovenian - 7 fixed by Necrolyte (7)
spanish - 1 changed by Cabu (1)
traditional_chinese - 21 fixed by xbddc (21)
2007-09-17 10:46:35 +00:00
rubidium
257fdb38e6
(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
2007-09-17 04:23:03 +00:00
rubidium
f3491cb062
(svn r11121) -Fix: clear the temporary NewGRF storage every time we perform a callback so it cannot cause desyncs.
2007-09-16 21:34:50 +00:00
rubidium
9da9e77641
(svn r11120) -Codechange: remove the arbitrary limit of 10 articulated parts for a vehicle.
2007-09-16 20:48:00 +00:00
truelight
631dc06212
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
...
-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
2007-09-16 18:10:52 +00:00
truelight
345a4a28d8
(svn r11118) -Fix: sample.cat can now be in a tar-file too, how nice!
2007-09-15 16:01:34 +00:00
truelight
6a8e5398a2
(svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format
2007-09-15 15:38:09 +00:00
glx
17870089d0
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
2007-09-15 15:21:17 +00:00
rubidium
070f7b7a27
(svn r11112) -Fix (r11107) [FS#1229]: in some cases one could destroy (parts of) buildings when building tunnels.
2007-09-15 09:39:23 +00:00
glx
1c998c6d92
(svn r11111) -Fix (r11106): missing const broke compilation with MSVC
2007-09-15 00:49:44 +00:00
truelight
f438dcdd67
(svn r11109) -Fix r11106: it is silly to use a std::list for something that is cleary a std::vector (less memory ;) WHOHO!)
2007-09-14 23:03:28 +00:00
rubidium
e8ff9ee982
(svn r11108) -Fix (r11107): somebody forgot to add some file ;) Spoils the fun of the previous cryptic message though.
2007-09-14 22:35:39 +00:00
rubidium
fef64185b8
(svn r11107) -Feature: some tool so one can still build tunnels under rails (and other structures) when the owner of the structure built it on foundations and if you have enough "empty" space ofcourse. One could use the tool for some other construction needs too. Patch by frosch.
2007-09-14 22:27:40 +00:00
truelight
5647bd5157
(svn r11106) -Add: added .tar support; you can pack all files in your data/ dir in how ever many .tar files you like, keeping the dir-structure equal to the unpacked version, and OpenTTD can handle them just like the files were unpacked
...
-Note: useful for GRF-packs and 32bpp PNGs. Don't forget to keep the dir-structure alive for 32bpp PNGs!
-Note: file-loading-order: search-paths, .tar-files in the order found on disk (can be anything at all, don't depend on it.. use 'openttd -d1' to see which order they are added)
2007-09-14 22:25:00 +00:00
rubidium
b25c661ce6
(svn r11105) -Codechange [FS#1223]: add some support for tuning of the bounding boxes for some special cases (like tunnels and bridges). Patch by frosch.
2007-09-14 21:54:57 +00:00
rubidium
6762862edc
(svn r11104) -Fix: bounding boxes also overlap when the min of a bounding box is equal to the max of another bounding box. Patch by frosch.
2007-09-14 21:36:59 +00:00
rubidium
faa183a060
(svn r11103) -Codechange: remove pointless comparison as it can never ever be true (unless you've got at least 3 bit errors and then you're screwed anyway). Patch by frosch.
2007-09-14 21:35:22 +00:00
rubidium
6f296b9870
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
2007-09-14 21:32:21 +00:00
truelight
d5171df2df
(svn r11101) -Fix r11099: the check: file_pos == 0, no longer works; adjust the check with file_slot. This solves the ? sprites with autorail (nice catch Progman)
2007-09-13 22:48:11 +00:00
truelight
7648df7fb5
(svn r11100) -Fix r11099: darn typos...
2007-09-13 18:50:42 +00:00
truelight
3d0ac92267
(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to request the size of the file, so we can keep that in mind
2007-09-13 18:46:29 +00:00
truelight
c0c12bca3d
(svn r11098) -Fix r11096: forgot spaces before comments
2007-09-13 18:35:29 +00:00
truelight
70772e9cc9
(svn r11097) -Codechange: for easy future extension of NewGRF Scanning, split up the functions a bit
2007-09-13 18:28:56 +00:00
truelight
bf17a96b63
(svn r11096) -Fix: when 2 different GRF-files had the same name (e.g.: ""), the double-entry checker didn't always work correctly, resulting in multiple entries of the same grf in the list
2007-09-13 18:26:18 +00:00
truelight
8cd9ab9b7e
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
2007-09-13 18:22:34 +00:00
belugas
1970e657a3
(svn r11094) -Documentation: Add comments on viewport structures and change an obscure variable name to something a little more meaningfull.
...
Heavily based of frosch's work (FS#1223)
2007-09-13 15:51:50 +00:00
truelight
b21093ea8f
(svn r11093) -Fix r11092: also add a DEBUG(driver, 1) if the blitter is loaded, to show which one really loaded
2007-09-13 14:44:49 +00:00
truelight
f1336fba68
(svn r11092) -Add: allow 'blitter=<value>' in openttd.cfg to set the blitter (so you don't have to keep on doing 'openttd -b 32bpp-optimized'..)
2007-09-13 12:28:53 +00:00
belugas
1e4f8d7a23
(svn r11091) -Codechange: Partial rewrite of the road management code of towns, in order to make it more readable and with improved performance. (FS#1161 by skidd13)
2007-09-12 23:56:21 +00:00
rubidium
9e7931f6ea
(svn r11089) -Codechange: add revision detection to MSVC.
2007-09-12 07:11:48 +00:00
glx
7b7c66fb6b
(svn r11088) -Fix (r11063, r11067): MSVC warning C4804: '>' : unsafe use of type 'bool' in operation
2007-09-11 17:42:46 +00:00
miham
22843caaf5
(svn r11087) -Update: WebTranslator2 update to 2007-09-10 22:36:01
...
brazilian_portuguese - 6 fixed by tucalipe (6)
catalan - 6 fixed by arnaullv (6)
dutch - 6 fixed by webfreakz (6)
estonian - 6 fixed by kristjans (6)
french - 6 fixed by glx (6)
hungarian - 6 fixed by miham (6)
italian - 6 fixed by lorenzodv (6)
slovak - 6 fixed by lengyel (6)
spanish - 6 fixed by eusebio (6)
swedish - 24 fixed by daishan (24)
ukrainian - 6 fixed by mad (6)
2007-09-10 20:36:37 +00:00
rubidium
74d0bf52b2
(svn r11086) -Fix/Revert (r11053, r10984): "fixing" r11053 made the acceleration code use the wrong speed, which can be fixed by reverting a small piece of r10984.
2007-09-10 17:13:37 +00:00
rubidium
160e719836
(svn r11085) -Fix-ish (r11084): some tabs that did not show up in the diff, which caused a mess of tab and non-tab usage.
2007-09-10 15:36:33 +00:00
rubidium
a2a3a00e17
(svn r11084) -Documentation [FS#1219]: of command.*. Patch by Progman.
2007-09-10 15:21:14 +00:00
truelight
1de38b4119
(svn r11083) -Fix r11078: don't clear the anim buffer when alpha = 0 (tnx to frosch)
2007-09-10 14:55:46 +00:00
truelight
8de52c089d
(svn r11082) -Fix r11081: save before commit (yeah, whitelines are important too!)
2007-09-10 00:05:27 +00:00
truelight
fc80e722cf
(svn r11081) -Fix r11080: now solved the problem in a pretty way: don't do animation if we are not drawing to the screen-pointer
2007-09-10 00:03:47 +00:00
truelight
ab880fdf07
(svn r11080) -Fix r11079: fix it, still dirty, correctly, as the last commit was ... wrong ;)
2007-09-09 23:57:47 +00:00
truelight
3c31722825
(svn r11079) -Fix: dirty fix to allow big-screenshots with 32bpp-anim
2007-09-09 23:47:55 +00:00
truelight
34e48f7886
(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as 32bpp-simple (based on the work of frosch)
...
-Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
2007-09-09 23:16:01 +00:00
truelight
89bdfaacd9
(svn r11076) -Fix: MakeTransparent of 32bpp blitter used 0..100; using 0..255 makes it much faster (frosch)
...
-Fix: ComposeColourXXX could work a tiny bit faster when using 256, not 255 as value to divide with; downside is that it can give alpha errors (frosch)
2007-09-09 21:56:52 +00:00
rubidium
38ff181ebf
(svn r11072) -Fix [FS#1045]: when a vehicle had a service order, the goto-depot button did not make it possible to stop the vehicle at that depot.
2007-09-09 17:42:59 +00:00
rubidium
384bfae293
(svn r11070) -Fix [FS#1217]: due to making an Action2 variable work properly, the NewGRF called other code too that wasn't prepared for non-train vehicles.
2007-09-09 15:32:46 +00:00
rubidium
30b3819870
(svn r11069) -Codechange: allow slopes under statues. Patch by kaan.
2007-09-09 11:30:44 +00:00
rubidium
40b871410b
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
2007-09-09 11:23:49 +00:00
rubidium
efea7622ac
(svn r11067) -Codechange: also make it possible to use the advanced vehicle list for other players. Patch by SmatZ.
2007-09-09 10:34:32 +00:00
rubidium
ed3b1d398a
(svn r11066) -Documentation [FS#1091]: of map.*. Patch by Progman.
2007-09-09 10:21:27 +00:00
rubidium
65f9a0f21a
(svn r11065) -Documentation [FS#1186]: of the dirty marking/repainting subsystem. Patch by Progman.
2007-09-09 10:13:17 +00:00
rubidium
ef4d248325
(svn r11064) -Fix [FS#553]: when autorenew is enabled and it cannot renew the vehicle anymore (because the player cannot build the engine), the aging warnings as if autorenew is not enabled are shown.
2007-09-08 22:53:10 +00:00
rubidium
3243b07542
(svn r11063) -Codechange: make it possible for people to view the loading indicators of everyone. Patch by SmatZ.
2007-09-08 22:04:49 +00:00
miham
814583f2a6
(svn r11062) -Update: WebTranslator2 update to 2007-09-08 22:37:00
...
croatian - 1 changed by knovak (1)
estonian - 4 fixed, 3 changed by kristjans (7)
french - 2 changed by glx (2)
hungarian - 4 fixed by miham (4)
japanese - 4 fixed by ickoonite (4)
norwegian_nynorsk - 14 fixed by pollux (14)
slovak - 4 fixed by lengyel (4)
slovenian - 4 fixed by Necrolyte (4)
spanish - 4 fixed by eusebio (4)
turkish - 27 fixed by jnmbk (27)
ukrainian - 2 fixed by mad (2)
2007-09-08 20:37:37 +00:00
glx
1713d89374
(svn r11061) -Fix [FS#1086]: [win32] some keys were handled twice
2007-09-08 14:59:58 +00:00
rubidium
82f6a90a56
(svn r11060) -Codechange: replace some magic numbers with the right enumified constants.
2007-09-08 10:10:31 +00:00
rubidium
91a49cee55
(svn r11059) -Fix [FS#1182]: inconsistency between Rail<->ElRail conversions of different kinds of rail containing tiles (normal rail, stations, depots, etc). Patch by SmatZ.
2007-09-08 09:52:02 +00:00
belugas
8141fe0898
(svn r11058) -Fix[FS#1216]: GetTerrainType was a bit too relax with snow line.
...
After double checking with ttdpatch, behaviour is now more alike (Eddi)
2007-09-08 00:37:37 +00:00
rubidium
4eef590b15
(svn r11057) -Fix [FS#1215]: loading TTD savegames went into an infinite loop due to not yet properly set next and previous pointers.
2007-09-07 22:06:52 +00:00
rubidium
c25655d4ae
(svn r11056) -Fix [FS#1213]: road/tram tiles would not always get marked dirty properly, causing glitches for non-local players. Patch by SmatZ.
2007-09-07 21:17:01 +00:00
rubidium
a208f83e8b
(svn r11055) -Fix [FS#1214]: loading indicators would sometimes glitch due to a bounding box that was too small. Patch by frosch.
2007-09-07 21:15:32 +00:00
rubidium
8daaea0398
(svn r11054) -Fix [FS#944]: mismatch between TTDP's and OTTD's placement of catenary, creating graphical glitches when loading a catenary replacement. Patch by frosch.
2007-09-07 21:11:12 +00:00
rubidium
1d5d9de628
(svn r11053) -Fix: train status bar flickering a lot when waiting at a signal.
2007-09-07 21:09:37 +00:00
glx
4a658a562b
(svn r11052) -Fix (r11017)[FS#1210]: vehicles always skip service order
2007-09-07 17:01:35 +00:00
belugas
518fd6aa4d
(svn r11050) -Codechange: Use the translated gfx, not the original one.
2007-09-06 03:02:38 +00:00
rubidium
8a161d1488
(svn r11049) -Codechange: unify a large part of the vehicle details window. Based on a patch by nycom.
2007-09-05 23:26:45 +00:00
rubidium
15ea3be986
(svn r11048) -Fix [FS#1206]: several cases where (re)moving eninges on a train would corrupt the vehicle counts for the groups.
2007-09-05 21:05:12 +00:00
rubidium
104300c9fa
(svn r11047) -Fix (r11011) [FS#1205]: desync due to wrong cached vehicle length on articulated vehicle construction.
2007-09-05 17:53:14 +00:00
bjarni
f7d1c125b1
(svn r11046) -Codechange: added function to get the next movable (non-articulated, non-read end of dualheaded engine) vehicle in a train
2007-09-05 10:33:42 +00:00
bjarni
7cdf6d1cbe
(svn r11045) -Codechange: added a function to tell if a vehicle is the rear part of a dualheaded train engine
2007-09-05 10:15:23 +00:00
bjarni
1028e2dc91
(svn r11044) -Fix (r11043): [autoreplace] a proper fix should cover all cases, not just the one mentioned in the bug report
...
Certain dualheaded/articulated consists could still trigger this issue
2007-09-05 09:31:15 +00:00
bjarni
75bc407c46
(svn r11043) -Fix (r10039) [FS#1185]: Autorenew/autoreplace fails silently with multiple multi-headed engines
2007-09-04 19:58:18 +00:00
rubidium
c5cfb281ad
(svn r11042) -Fix [FS#1196]: so newgrf callbacks returned slightly wrong heights (height of nothern corner instead of height of lowest corner). Patch by frosch.
2007-09-04 12:06:38 +00:00
rubidium
a0559dd89e
(svn r11041) -Fix (r10460) [FS#1195]: the industry's owner was saved twice instead of the owner and the founder. Patch by frosch.
2007-09-04 12:00:12 +00:00
rubidium
9706c32ed6
(svn r11040) -Fix [FS#1179]: removing CMD_AUTO from some commands could remotely trigger an assertion.
2007-09-04 11:58:27 +00:00
rubidium
b1effc466e
(svn r11039) -Fix [FS#1191]: underflow that caused overflows in the performance rating calculation.
2007-09-02 20:41:46 +00:00
miham
d396b0c556
(svn r11038) -Update: WebTranslator2 update to 2007-09-02 22:28:19
...
brazilian_portuguese - 4 fixed by tucalipe (4)
bulgarian - 1 fixed by thetitan (1)
catalan - 4 fixed by arnaullv (4)
croatian - 6 fixed, 563 changed by knovak (569)
czech - 4 fixed by Hadez (4)
dutch - 4 fixed by habell (4)
french - 4 fixed, 5 changed by Skiper (3), glx (6)
italian - 4 fixed, 2 changed by lorenzodv (6)
korean - 14 fixed, 22 changed by leejaeuk5 (36)
2007-09-02 20:28:53 +00:00
rubidium
52e1d03ec7
(svn r11033) -Fix [FS#1184] (r11011): building articulated vehicles failed. Based on a patch by SmatZ.
2007-09-01 20:09:26 +00:00
rubidium
05581edf59
(svn r11032) -Codechange: unmagicify some table sizes and removal of some unnecessary variables. Patch by frosch.
2007-09-01 09:12:46 +00:00
rubidium
56ab253307
(svn r11031) -Codechange: reduce the amount of duplication of bit counting functions. Based on patches by skidd13, SmatZ and Belugas.
2007-09-01 08:31:36 +00:00
rubidium
0df355bbda
(svn r11030) -Revert r11016, Fix [FS#1178]: the way to determine whether a station should get goods was not done properly.
2007-09-01 08:04:08 +00:00
glx
1f7f4f6f62
(svn r11029) -Fix [FS#1164]: win32 midi doesn't stop when closing openttd
2007-08-31 23:29:53 +00:00
rubidium
79fedd37be
(svn r11028) -Fix [FS#1177]: crash when having the Finance window opened of the player you are cheating to.
2007-08-31 23:02:16 +00:00
rubidium
57db6a8c20
(svn r11027) -Fix: do not unconditionally assume that a tile has a depot.
2007-08-31 20:52:38 +00:00
rubidium
10475e88c6
(svn r11026) -Fix: the name of a sign could sometimes be NULL causing crashes.
2007-08-31 20:50:59 +00:00
rubidium
c720d9d83a
(svn r11025) -Fix: safeguard StrEmpty from calls with NULL.
2007-08-31 20:50:18 +00:00
rubidium
8c85125fd9
(svn r11024) -Fix [FS#1173]: give a more correct error when building some things on tile 0; "Can't build on water" or "Too close to the edge" instead of "Vehicle in the way". Patch by SmatZ.
2007-08-31 20:03:50 +00:00
rubidium
a8033758e7
(svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on Big Endian machines.
2007-08-31 19:49:31 +00:00
rubidium
dd60e3b7dd
(svn r11022) -Fix: the canal border determination did not take oil rigs into consideration.
2007-08-31 19:46:45 +00:00
rubidium
9695727120
(svn r11021) -Fix [FS#1175]: do not display income/expenses when they do not belong to a "valid" tile, like the money cheat/giving money.
2007-08-31 17:43:29 +00:00
rubidium
3fa5559cfc
(svn r11020) -Fix [FS#1174]: One could not give money when (s)he had too much money or rather: when casting the amount of money to an int32 becomes negative.
2007-08-31 17:38:29 +00:00
rubidium
1b9ea5468e
(svn r11019) -Fix [FS#1176]: Vehicles in a group must always have the same type when adding new vehicles to a group. Patch by SmatZ.
2007-08-31 17:31:54 +00:00
rubidium
7f21de5ea9
(svn r11018) -Fix [FS#1169]: Disallow buying/selling shares in your own company or a bankrupted/non-existant company.
2007-08-31 17:15:46 +00:00
rubidium
2c8e50f20c
(svn r11017) -Codechange: unify determining whether a vehicle needs/can be service a little more.
2007-08-31 17:13:39 +00:00
rubidium
976ce8ad3f
(svn r11016) -Fix [FS#1172]: stations would also be given cargo when vehicles have only dropped cargo of that particular type.
2007-08-31 17:09:13 +00:00
rubidium
c81eafdaa0
(svn r11015) -Fix [FS#1166]: towns would build bridges through eachother.
2007-08-31 13:06:28 +00:00
rubidium
98a3b8abfa
(svn r11014) -Fix (r11011) [FS#1170]: crash when selling the first train of a consist.
2007-08-31 12:57:52 +00:00
rubidium
c19b8c72b7
(svn r11013) -Fix [FS#1171]: MoveGoodsToStation's search area is too small as it assumed a lower maximum catchment area than the real maximum catchment area. Based on a patch by PhilSophus.
2007-08-31 12:45:21 +00:00
rubidium
aba867d78d
(svn r11011) -Fix [FS#1129]: GetFirstVehicleInChain did change the game state while being marked const.
...
-Codechange: do not brute force determine the first vehicle in the chain or previous vehicle, but do it by properly accounting the previous and first pointers when updating the next pointer. This gives a performance increase of about 15% when there are a lot of vehicles in the game.
2007-08-30 21:11:12 +00:00
rubidium
8a6cc3aa10
(svn r11009) -Codechange: unvirtualise IsValid as that isn't needed with templates. This gives up to 10% performance increase in games with lots of vehicles.
2007-08-30 20:40:33 +00:00
rubidium
9833639b00
(svn r11006) -Fix: spectators are not allowed to issue commands. Issue spotted by SmatZ.
2007-08-30 19:20:15 +00:00
rubidium
b284b5fa92
(svn r11005) -Codechange: move the tiletype specific terraforming checks to the functions for those tile types.
...
-Codechange: barren the rail grounds on terraforming.
2007-08-30 17:17:04 +00:00
rubidium
9b65bc430c
(svn r11004) -Codechange: some reworks of the saveload mechanism to be able to save and load private and protected variables in the vehicle struct.
2007-08-30 13:09:44 +00:00
rubidium
cb7eaff353
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-30 13:03:56 +00:00
rubidium
ac5fde61fb
(svn r11002) -Codechange: unhackify the cargo packet list saving (a little).
2007-08-30 12:10:32 +00:00
rubidium
a407d53d1b
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
2007-08-29 21:49:08 +00:00
truelight
a28d33b5dc
(svn r11000) -Fix r10121: when introducing the new blitter system, smallmap regained an old bug: buffer-overflow when moving window to far bottom-right.
...
-Note: we no longer cheat on not drawing the last line in smallmap, this time we created a more elegant fix
2007-08-29 21:30:03 +00:00
rubidium
3f3b013b99
(svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom.
2007-08-29 21:27:16 +00:00
rubidium
99409d99d0
(svn r10998) -Codechange: refactor of the "core" of the terraforming code to make it possible to push the tile type specific terraforming requirements out of the generic part of the terraforming code. Patch by frosch. For more information take a look at FS#1147.
2007-08-29 21:08:35 +00:00
rubidium
5d628e6135
(svn r10997) -Codechange: unify the vehicle view window. Patch by PhilSophus.
2007-08-29 20:50:58 +00:00
bjarni
e10361a0eb
(svn r10996) -Feature: [OSX] added more options for right click emulation (controlled from the interface tab in the patch window)
...
This only works with the cocoa drivers (you will use the cocoa drivers unless you manually switched to SDL and compiled yourself)
Note: if control-click is selected, then the ingame control-click (like presignals and such) will be command-click
Requested and tested by ln- (so he should be blamed if this goes wrong :P )
2007-08-29 08:20:04 +00:00
rubidium
2179faf5c8
(svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom.
2007-08-28 06:46:33 +00:00
belugas
41a0bd2b74
(svn r10994) -Codechange: Change some function names to be more representative and more fitting of trunk's naming convention (skidd13)
2007-08-28 01:09:41 +00:00
belugas
6212b29b23
(svn r10993) -Codechange: A few less magical numbers (skidd13)
2007-08-27 23:50:56 +00:00
rubidium
ac838de385
(svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" group. Patch by frosch.
2007-08-27 21:33:26 +00:00
rubidium
5ce935c6eb
(svn r10991) -Codechange: add documentation, enumification and some code simplifications to the terraforming code. Patch by frosch.
2007-08-27 21:18:04 +00:00
rubidium
68d385b77c
(svn r10986) -Fix (r10985): inconsistency between documentation and actual code... thanks to glx for spotting it.
2007-08-26 21:53:11 +00:00
rubidium
3c919e36a7
(svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
2007-08-26 21:21:59 +00:00
rubidium
a5b32d8d72
(svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it.
2007-08-26 20:43:22 +00:00
rubidium
a83ccad6bd
(svn r10983) -Codechange: use vehstatus & VS_CRASHED instead of some other "methods" custom to each vehicle to determine whether the vehicle is crashed.
2007-08-26 20:16:02 +00:00
rubidium
cf1d74b41e
(svn r10982) -Fix [FS#1162]: some old savegames could be in a state that the current game logic does not like; in the list of vehicles loading at a station when the vehicle is not actually at the station.
2007-08-26 14:38:44 +00:00
rubidium
a0d37ea7b9
(svn r10981) -Fix [FS#1156] (r10970): stations gave ratings for accepted cargo too.
2007-08-26 13:55:36 +00:00
belugas
36c5b4e1ef
(svn r10980) -Fix [FS#1158] : This will hopefully fix the case of an assert that happens when an industry uses a special gfx index (tile spec 0xFF). This 0xFF is the sentinel of a special check done for oil rigs, where water need to be around, but no tile will be constructed on it.
...
Problem is that the upper limit of gfx tiles is currently at 175. So, of course the system will assert with 255 ;)
2007-08-26 00:23:32 +00:00
rubidium
ba69ac2632
(svn r10979) -Fix [FS#1157]: catenary on tunnel tiles was drawn non-transparant when the other catenary was drawn transparant. Patch by smatz.
2007-08-25 20:32:18 +00:00
rubidium
c6152e0cd4
(svn r10978) -Fix (r10974): only the first road stop (with correct roadtype) was considered when distributing vehicles.
2007-08-25 20:05:58 +00:00
miham
5d245dc861
(svn r10975) -Update: WebTranslator2 update to 2007-08-24 21:49:23
...
croatian - 1 fixed by knovak (1)
finnish - 4 changed by tonihele (4)
2007-08-24 19:49:40 +00:00
rubidium
8a86526d05
(svn r10974) -Fix [FS#1144, FS#1155]: road vehicles that could not (properly) use a road stop still tried to go to that road stop.
2007-08-24 19:19:18 +00:00
KUDr
6c061ecfb4
(svn r10973) -Fix [FS#1154]: update wp->xy when waypoint is moved (Catalan)
2007-08-24 17:49:42 +00:00
belugas
99158287fd
(svn r10972) -Codechange: Implement the counterpart(GetTranslatedIndustryTileID) of getindustileid of TTDPatch. This allows to ensure that the ID of a tile (taken out of the map or not) is still a valid one regarding the possible override it may have been flagged to.
...
It is not the strict same thing, but is what we need regarding the slightly different approach we took for newindustries.
2007-08-24 00:23:35 +00:00
belugas
604924542c
(svn r10971) -Codechange: One less magical number
2007-08-24 00:04:51 +00:00
belugas
a079834cfc
(svn r10968) -Codechange: Remove a tileloop performed in the AfterLoadCountBuildings function and use the main loop of CheckhouseIDs instead
2007-08-23 18:05:51 +00:00
truelight
da8d778622
(svn r10967) -Fix: in case of moving the window on create (because it doesn't fit in the screen), make sure to move the viewport too if we are an extra viewport (spotted by Maedhros)
2007-08-23 11:08:59 +00:00
miham
043e502d14
(svn r10964) -Update: WebTranslator2 update to 2007-08-22 22:57:00
...
croatian - 9 fixed, 13 changed by knovak (22)
italian - 10 fixed by lorenzodv (10)
japanese - 5 fixed by ickoonite (5)
polish - 10 fixed, 1 changed by meush (11)
slovak - 77 changed by lengyel (77)
spanish - 5 fixed by eusebio (5)
2007-08-22 20:57:28 +00:00
belugas
d921cf88a3
(svn r10963) -Revert(10700): Although the idea was good, it was more prone of errors than usefull.
...
So now, it will be better to jump to the overriden tile when it is been marked as an override
2007-08-22 01:16:08 +00:00
belugas
b5627afcea
(svn r10962) -Codechange: protect yourself against an illicit substitution
2007-08-22 00:59:46 +00:00
belugas
116de48fdf
(svn r10961) -Codechange: Flag default substitutes of industry/tiles with a value that cannot be legal.
...
This avoids the forest of coal mine error in the futur
2007-08-22 00:52:25 +00:00
belugas
a354a6af96
(svn r10955) -Fix: The substitute prop (0x08) of industry tiles does not behave as prop 0x08 of industry. Therefore, do not disable the old industry with value of 0xFF. Not a bug fix, just a spec compliance correction...
2007-08-21 00:29:10 +00:00
rubidium
8ef0cbbdf5
(svn r10953) -Fix [FS#1139, FS#1143]: stations would not get a rating when there were already two stations with a "more than default" rating as no cargo would be moved to the station to be picked up.
2007-08-20 20:29:22 +00:00
glx
ffdbaad8ec
(svn r10948) -Add: [win32] crash.dmp support for MSVC release builds
2007-08-19 21:51:36 +00:00
glx
a66008f04c
(svn r10946) -Fix (r10932): forgot one occurence
2007-08-19 17:55:24 +00:00
rubidium
e56e520673
(svn r10942) -Fix [FS#1133]: make the AI not crash when it has ships as the AI does not support them.
2007-08-19 16:51:15 +00:00
rubidium
0fed821efb
(svn r10932) -Codechange: replace "text" with "chat" for the chat related function and variables.
2007-08-19 09:38:30 +00:00
rubidium
fda1c9d34a
(svn r10931) -Fix [FS#1131]: when a station was destroyed and a vehicle was still loading, changing the current order of the loading vehicle caused a crash. This could happen with removing docks and oil rigs.
2007-08-18 22:56:58 +00:00
miham
b8fb514321
(svn r10927) -Update: WebTranslator2 update to 2007-08-17 17:54:48
...
brazilian_portuguese - 10 fixed by tucalipe (10)
bulgarian - 1 fixed by thetitan (1)
dutch - 99 changed by habell (99)
estonian - 10 fixed, 2 changed by kristjans (12)
finnish - 3 fixed by kerba (3)
german - 10 fixed, 2 changed by Timwi (2), Neonox (10)
slovak - 10 fixed by lengyel (10)
slovenian - 10 fixed by Necrolyte (10)
ukrainian - 10 fixed by mad (10)
2007-08-17 15:55:19 +00:00
belugas
5f78a404f6
(svn r10926) -Feature: [NewGRF] Add support for variable 67(for real this time) and 68 of Variational Action 2 for Industries
...
-Fix: a very few codestyle/comments-typo changes
2007-08-17 00:23:33 +00:00
maedhros
e4d318addc
(svn r10924) -Fix [FS#1120]: VS_STOPPED is only set for the front part of an articulated
...
road vehicle, so don't check any other parts when testing if the vehicle is
stopped inside a depot.
2007-08-16 18:01:27 +00:00
glx
6a13dd4aa6
(svn r10923) -Codechange: use 'real' exception handling in saveload code
2007-08-16 16:18:22 +00:00
maedhros
9c75e6d87b
(svn r10922) -Codechange: Allow building and removing tracks and signals when there is a
...
train on a parallel diagonal track that doesn't interact with this one. (frosch)
2007-08-16 13:13:07 +00:00
rubidium
ada36e7122
(svn r10921) -Fix [FS#1130] (r10323): the company related news messages still thought that companies were described by two parameters instead of one.
2007-08-16 10:10:59 +00:00
belugas
1b329b1bd9
(svn r10904) -Fix: When using a temporary industry, make sure you do not clear some unreachable tiles upon its destruction.
...
-Codechange: do not perform something that by all means will not change. A zero offset is really meaningless...
2007-08-15 01:50:13 +00:00
belugas
fafe33cdd2
(svn r10903) -Feature: [NewGRF] Add support for variable 44 of Variational Action 2 for Industries
2007-08-15 00:49:34 +00:00
miham
ba8c451485
(svn r10894) -Update: WebTranslator2 update to 2007-08-14 22:08:16
...
catalan - 5 fixed, 1 changed by arnaullv (6)
czech - 5 fixed, 1 changed by Hadez (6)
dutch - 5 fixed, 1 changed by habell (6)
french - 5 fixed, 1 changed by glx (6)
hungarian - 5 fixed, 1 changed by miham (6)
japanese - 1 changed by ickoonite (1)
portuguese - 1 changed by izhirahider (1)
spanish - 1 changed by eusebio (1)
2007-08-14 20:10:42 +00:00
rubidium
f38ea388dd
(svn r10892) -Fix [FS#1127]: trains would not get flooded when they are at the lower part of a tile that would become a coast tile after flooding. Patch by frosch.
2007-08-14 17:31:15 +00:00
rubidium
b169fceabc
(svn r10890) -Fix [FS#1125]: removing road with the road removal tool would also work with a negative bank account, making the bank account even more negative than it was.
2007-08-14 17:05:33 +00:00
rubidium
e474b58d2f
(svn r10888) -Fix (r10886): 64 bits alignment made a struct too big.
2007-08-14 12:13:12 +00:00
rubidium
1b25d447f1
(svn r10887) -Cleanup: remove the strings that were removed from english.txt in r10886.
2007-08-14 10:47:29 +00:00
rubidium
83f83685c0
(svn r10886) -Codechange: modify the "start network server" GUI so it can actually handle more than 10 clients/companies/spectators in a nice way, i.e. without making a combobox with 100 players and add 90 new strings to be able to do so.
2007-08-14 10:46:38 +00:00
truelight
114161bb7a
(svn r10878) -Add [FS#653]: added TileHeight to the Land Area Information tool (blove)
2007-08-13 18:59:34 +00:00
glx
35e8f64e9a
(svn r10877) -Fix: some isocodes were wrong
2007-08-13 13:12:19 +00:00
truelight
81810ad391
(svn r10857) -Fix: feeder-income was broken; substract the feeder-costs from the vehicle-income, not from the route-income (tnx to RichK for all the info)
2007-08-11 22:57:23 +00:00
bjarni
1a5a748973
(svn r10851) -Feature [OSX]: OpenTTD will now pick the same language as finder is set to if no config file is found (ln-)
2007-08-11 15:52:34 +00:00
truelight
04824abac6
(svn r10839) -Fix [FS#873]: bring up the assert window for OSX even when there isn't a video-driver loaded (PinguTux)
2007-08-10 13:33:04 +00:00
rubidium
210ba54ff5
(svn r10838) -Fix [FS#1119] (r10698): double negation where only single negation was needed. Patch by frosch.
2007-08-10 13:27:07 +00:00
truelight
6771f5ca20
(svn r10837) -Fix [FS#1102]: DrawLine didn't bound-check the first pixel that was drawn (frosch)
2007-08-10 13:11:53 +00:00
maedhros
61b21547e8
(svn r10836) -Fix [FS#1014]: Make sure the third cargo type accepted by houses is valid in
...
the current climate when copying properties from existing houses and using
action 0 property 0F.
2007-08-10 08:57:04 +00:00
glx
41e05382b8
(svn r10835) -Fix [FS#998] (r10399): don't try to minimise or restore the window when closing openttd
2007-08-09 20:59:36 +00:00
rubidium
5399a272e6
(svn r10834) -Revert (part of r10833): something too much was committed :(
2007-08-09 05:34:56 +00:00
rubidium
2bff32afb0
(svn r10833) -Fix [FS#1115]: assertion (different cost between test and execution) of overbuilding road tunnels with tram tracks (and vice versa) when the dragged area contains both ends of the tunnel.
2007-08-09 05:25:33 +00:00
miham
c4a3087723
(svn r10828) -Update: WebTranslator2 update to 2007-08-08 23:27:26
...
brazilian_portuguese - 3 changed by fukumori (3)
bulgarian - 24 fixed by kokobongo (7), thetitan (17)
estonian - 1 changed by kristjans (1)
german - 564 changed by Timwi (564)
polish - 11 fixed, 34 changed by meush (45)
russian - 1 changed by DarkFenX (1)
2007-08-08 21:28:03 +00:00
rubidium
807b833e4d
(svn r10827) -Fix [FS#1112]: out of bounds access in corner case of list allocations of vehicles.
2007-08-08 14:18:05 +00:00
bjarni
a973c893fb
(svn r10823) -Fix r8610 [FS#1097]: the autoreplace window vehicle count didn't always update correctly) (Matthias)
2007-08-07 23:07:10 +00:00
rubidium
5f920e91c7
(svn r10821) -Cleanup: remove the strings that are not needed anymore since r10820.
2007-08-07 15:22:58 +00:00
rubidium
c46e445e69
(svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
...
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-08-07 15:20:31 +00:00
rubidium
a7e37d8592
(svn r10814) -Fix [FS#1103]/Codechange: allow trams to be reverse manually, even though there is no track to do so.
2007-08-06 15:00:32 +00:00
rubidium
ab7e36dda7
(svn r10813) -Fix (r10799): some destructors were performing too much during the pool cleanups, which could cause crashes as already removed pool items could then be dereferenced by other destructors.
2007-08-06 14:08:25 +00:00
maedhros
e0e361c890
(svn r10812) -Fix (r10097) [FS#1093]: Make RoadVehicle::MarkDirty() mark all parts of articulated vehicles as dirty, not just the front.
2007-08-06 13:44:50 +00:00
maedhros
8c4a4baac1
(svn r10811) -Fix (r10097): Refit all the parts of an articulated road vehicle, not just the first part.
2007-08-06 13:05:45 +00:00
maedhros
a43370bf1c
(svn r10810) -Fix (r10097): Add a comma between different cargo types if an articulated vehicle carries more than one cargo.
2007-08-06 12:54:03 +00:00
maedhros
68abeed9b8
(svn r10809) -Fix (r10097): When reversing, articulated parts of road vehicles should not attempt to do their own pathfinding.
2007-08-06 12:46:49 +00:00
maedhros
537064d010
(svn r10808) -Fix (r10353): Make sure spectators can't open infrastructure building menus.
2007-08-06 11:58:15 +00:00
rubidium
51f773bd16
(svn r10807) -Fix [FS#1108]: keep_all_autosaves always got ".sav" as filename, which basically means that it only kept the last autosave.
2007-08-06 06:23:44 +00:00
rubidium
83e1fdcb01
(svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
2007-08-05 21:20:55 +00:00
rubidium
ab5fa3add2
(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.
2007-08-05 17:43:04 +00:00
rubidium
f6933e1870
(svn r10792) -Fix [FS#1104]: when determining the gender of a string, do not assume that the gender is in the front of the string when there can be case switching code at that location.
2007-08-05 14:08:38 +00:00
glx
8cea2059a5
(svn r10787) -Fix r10755: _total_towns was not increased when placing town manually in scenario editor
2007-08-04 23:35:27 +00:00
truelight
ce9cba5edb
(svn r10782) -Fix: wrongly places #endif a long time ago broke WinCE compiling for sure
2007-08-04 13:51:41 +00:00
truelight
424757c078
(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
...
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-08-04 12:53:41 +00:00
rubidium
cb9d0c69d1
(svn r10780) -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.
2007-08-04 01:25:44 +00:00
truelight
b3bed1eda1
(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
...
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-08-03 23:26:12 +00:00
truelight
c76c4bf6e9
(svn r10777) -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debug
2007-08-03 23:19:29 +00:00
rubidium
727cb6ae49
(svn r10776) -Fix [FS#1081]: you would not pay for some foundations of bridges whereas you would pay for others.
2007-08-03 23:18:56 +00:00
rubidium
2f2df29b7a
(svn r10774) -Fix (r10768): obiwan pleased us with a visit.
2007-08-03 20:46:59 +00:00
rubidium
2dd7a5d296
(svn r10773) -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
2007-08-03 20:18:38 +00:00
rubidium
9741094464
(svn r10772) -Codechange: also make use of the generic clean and destroy pool callback functions for vehicle.
2007-08-03 20:17:26 +00:00
rubidium
48df8b374c
(svn r10771) -Codechange: remove some code duplication from the old loader.
2007-08-03 20:07:43 +00:00
rubidium
836105864c
(svn r10770) -Codechange: use the pool item class as super class for the vehicle struct.
...
-Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
2007-08-03 19:36:00 +00:00
rubidium
aa9869e2de
(svn r10768) -Codechange: allow to specify from which index to search for a free pool item.
2007-08-03 18:34:47 +00:00
rubidium
93bedce286
(svn r10765) -Documentation [FS#1100]: of rail.h. Based on a patch by Progman.
2007-08-03 12:29:56 +00:00
rubidium
e9f9980e8f
(svn r10764) -Documentation: [FS#1099]: of road.h. Based on a patch by Progman.
2007-08-03 12:16:06 +00:00
rubidium
0f1992b932
(svn r10763) -Documentation [FS#1098]: document direction.h. Patch by Progman.
2007-08-03 12:10:07 +00:00
peter1138
616eb4134e
(svn r10762) -Codechange: Change enum StringIDEnum { to static const StringID = for
...
each STR_ entry. This avoids the need for a cast to StringID in some
places and thus better type-safety.
2007-08-03 09:08:49 +00:00
glx
d6c915e6a6
(svn r10761) -Fix (FS#1101, r10216): _pal_last_dirty changed to _pal_count_dirty without updating, so it was of by one
2007-08-03 02:21:10 +00:00
rubidium
d751ce56cb
(svn r10760) -Codechange: make the order struct use the pool item class as super class.
2007-08-02 23:40:19 +00:00
rubidium
e4149482ec
(svn r10759) -Codechange: make the industry struct use the pool item class as super class.
2007-08-02 23:21:52 +00:00
rubidium
549450d31a
(svn r10758) -Codechange: make the depot struct use the pool item class as super class.
2007-08-02 22:33:53 +00:00
rubidium
5016f5497c
(svn r10757) -Codechange: make the engine renew struct use the pool item class as super class.
2007-08-02 22:32:47 +00:00
rubidium
b15c0efaa9
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
2007-08-02 21:19:07 +00:00
rubidium
db374f600c
(svn r10755) -Codechange: make the town struct use the pool item class as super class.
2007-08-02 21:05:54 +00:00
rubidium
472749af66
(svn r10754) -Fix: MorphOS does not like sizeof in the templated pool item class, so use the item size that is set in the pool.
2007-08-02 21:02:57 +00:00