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