skidd13
6801cceda1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
c0a2c0c23e
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
skidd13
7a4d96f629
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
skidd13
26224adf78
(svn r11479) -Codechange: Move the BIGMUL functions to the file of their usage
...
-Codechange: Rename the BIGMUL functions to the fitting naming style
17 years ago
rubidium
2bfe2a01d5
(svn r11478) -Fix: two small layout issues with the vehicle grouping GUI.
17 years ago
rubidium
a36fd1db6e
(svn r11477) -Fix [FS#1451]: a road vehicle must not show that it is driving max speed when it is standing still waiting for the vehicle in from of it.
17 years ago
skidd13
f4a5c80d71
(svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define
17 years ago
skidd13
98f66552be
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
belugas
9e385d2427
(svn r11474) -Feature: Allow to resize on creation the smallmap gui in order to show all the types industry available.
...
-Feature: Allow to enable/disable individually or all at once, the industries shown on small map.
This will permit to easily find those that are of some interest for the player.
Heavily based on gule's patch
17 years ago
belugas
581032d94c
(svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values
17 years ago
belugas
64e4ecd958
(svn r11472) -Codechange: Give enuma for both the widget numbers and the used smallmap currently used type
17 years ago
smatz
32802f863b
(svn r11471) -Codechange: one more variable retyped to enum ViewportHighlightMode
17 years ago
rubidium
b166ca6bec
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
17 years ago
smatz
a4d63f5b5b
(svn r11466) -Fix (r11339): operator priority problem resulting in problematic autoroad placement in some cases
17 years ago
smatz
001179990d
(svn r11465) -Fix: more user-friedly placement in X and Y directions (most noticeable with autoroad)
17 years ago
rubidium
da6ee7c73b
(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.
17 years ago
rubidium
67bbd8f7ab
(svn r11463) -Fix: some OSes seem not to handle allocating 0 bytes in the same manner as others do.
17 years ago
rubidium
cea3cf2857
(svn r11461) -Fix [FS#1449] (r11449): a bus turning around in a station could case an assertion error. Patch by divide.
17 years ago
skidd13
e70e49394c
(svn r11459) -Fix: (r11457) The selection highlight color hasn't been reset
17 years ago
skidd13
be0da30572
(svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads option
...
-Change: Enable one way roads like the remove via a toolbar icon
17 years ago
smatz
d749fda9e4
(svn r11456) -Fix [FS#1412] (r10070): Viewport is bound to its top-left corner
17 years ago
rubidium
3c020cfd68
(svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' rail building all react the same on CTRL as autorail.
17 years ago
rubidium
ccf610e13c
(svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 chance was really a 32769 in 65536 chance.
17 years ago
glx
76d9c20f01
(svn r11453) -Fix (r11450): unrevert r11239, as we now need it
17 years ago
rubidium
09906e3de2
(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.
17 years ago
rubidium
004fe26a27
(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.
17 years ago
glx
4c4ea8cfdf
(svn r11450) -Fix [FS#1432](r8886): cargo translation table was loaded too early
17 years ago
rubidium
2245094822
(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.
17 years ago
belugas
3b9ad8d73f
(svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button
17 years ago
skidd13
67c371f3d9
(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
17 years ago
miham
af17b0b8a0
(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)
17 years ago
glx
bad3d28184
(svn r11443) -Fix: [NewGRF] Action 0 <id> is an extended byte
17 years ago
rubidium
fbd234d274
(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.
17 years ago
rubidium
72a59fade2
(svn r11441) -Fix [FS#1443]: manage list dropdown menu did not "disappear" when the all vehicles are removed from the "current" group.
17 years ago
rubidium
ecdb16de42
(svn r11440) -Codechange: replace magic numbers with enumified WindowHighlightMode constants. Patch by SmatZ.
17 years ago
rubidium
c5a9fd4559
(svn r11439) -Codechange: replace some magic numbers by a ViewportPlaceMethod enumified constant. Patch by SmatZ.
17 years ago
rubidium
f3c94c5830
(svn r11438) -Change: do not create shores in canyons. Based on a patch by LeviathNL.
17 years ago
rubidium
59afbb0344
(svn r11437) -Change: when sorting stations by cargo sum, only sum the cargos that are selected in the filter. Patch by divide.
17 years ago
rubidium
5bbb31a896
(svn r11436) -Fix [FS#1439]: Towns would not build roads on slopes. Patch by divide.
17 years ago
rubidium
a731bc5812
(svn r11435) -Codechange: show all players who have shares, not just the first two. Patch by SmatZ.
17 years ago
miham
18dacd34e5
(svn r11434) -Fix: fixed a string in finnish (suggested by ln-)
17 years ago
rubidium
af0616729a
(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.
17 years ago
glx
9fcf6e7a43
(svn r11431) -Codechange: [NewGRF] Add support for changing rail vehicle user-defined bit mask (prop 25) via callback 36
17 years ago
rubidium
a46f502d5f
(svn r11430) -Fix (r11421) [FS#1421]: there was still one case that would cause a crash...
17 years ago
glx
d4e8889d5f
(svn r11429) -Fix (r11129): some TextID to StringID 'translations' didn't follow our format
17 years ago
glx
dac5cf2c59
(svn r11428) -Fix: wrong string used for candy/sweets units_volume
17 years ago
belugas
fecdeda7b1
(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.
17 years ago
belugas
1ecb96b2c6
(svn r11426) -Codechange: Just one boolean inversion instead of two
17 years ago
glx
df71c4f289
(svn r11425) -Fix [FS#1424]: overriden industries were ignored when mapping newgrf industry type to 'real' industry type
17 years ago
glx
de7f58d5d4
(svn r11424) -Fix: an override can be set only once
17 years ago
glx
60ccc5bbce
(svn r11423) -Codechange: store grfid when adding an override
17 years ago
rubidium
49b4aa32bb
(svn r11422) -Fix [FS#1430]: properly support genders coming from newgrfs instead of crashing.
17 years ago
rubidium
14c092faad
(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.
17 years ago
rubidium
2c000f1546
(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.
17 years ago
rubidium
abbde80e53
(svn r11419) -Fix [FS#1388]: articulated vehicle breaking up when making a 90 degree turn immediately after a 180 degree turn.
17 years ago
glx
14fe7a9fed
(svn r11418) -Fix (r11416): forgot an instance
17 years ago
belugas
8e7111491c
(svn r11417) -Fix[FS#1421]: Let the main viewport stay where the vehicle was last seen while been center-followed
17 years ago
belugas
542697a28a
(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
17 years ago
rubidium
1e3e5bf2cf
(svn r11415) -Fix [FS#1428]: do not ignore the autorenew settings for new games when creating a new game.
17 years ago
rubidium
084ede9dca
(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.
17 years ago
glx
8844bd6cde
(svn r11413) -Fix [FS#1405]: don't use cached override spriteset for callbacks
17 years ago
rubidium
02a6debc11
(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.
17 years ago
rubidium
dcbd2fdfc7
(svn r11411) -Codechange: implement random triggers for houses.
17 years ago
rubidium
c1cf9f3396
(svn r11410) -Codechange: implement random triggers for industries.
17 years ago
truelight
dd6ef7ad49
(svn r11409) -Update: as of now, I am a retired Developer, so mark me as such
17 years ago
rubidium
75b7ca42ae
(svn r11408) -Fix [FS#1422]: do not do a 270 degree turn when 90 degrees is enough on a commuter airport.
17 years ago
truelight
58e5282e38
(svn r11407) -Fix: do not allow building of tram-tracks when they are not available (SmatZ)
17 years ago
rubidium
6e31698150
(svn r11406) -Fix: wrong triggers would be activated on callback 32 for vehicles.
17 years ago
truelight
8725f2b857
(svn r11405) -Fix: in rare cases OpenTTD could segfault when resizing and scroll the main window (Rafal Rzepecki)
17 years ago
belugas
7501144775
(svn r11404) -Codechange: remove 2 magical numbers
17 years ago
rubidium
e463f5687d
(svn r11403) -Fix: NewIndustries GRF assume that tiles are already animated during construction.
17 years ago
glx
df35372b9b
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
17 years ago
rubidium
0c3364e241
(svn r11401) -Fix [FS#1391]: make all min functions do exactly the same instead of branching on either < or <=.
17 years ago
rubidium
dd4720461b
(svn r11400) -Fix [FS#1409]: assign orders during cloning after refitting as it needs the cargo types to be the same.
17 years ago
belugas
f26a591e6c
(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.
17 years ago
glx
466193c574
(svn r11398) -Fix [FS#1414]: industry variables 67 and 68 return was incorrect
17 years ago
truelight
b02337bbe0
(svn r11397) -Fix r11395: some minor fixes for better town-bridge results (and better comments) (skidd13 / TrueLight)
17 years ago
truelight
42180a8f4e
(svn r11396) -Fix: GCC 3.3 doesn't like 'static bool inline', should of course be 'static inline bool' (SmatZ)
17 years ago
truelight
1ebfc21e7a
(svn r11395) -Fix: allow town-bridges to be build on slopes (Rafal Rzepecki)
17 years ago
glx
1502373441
(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
17 years ago
belugas
2edf7afa6c
(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.
17 years ago
rubidium
153cba2ef3
(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.
17 years ago
truelight
87295922cf
(svn r11390) -Fix r11387: AB() was wrong (spotted by Rafal Rzepecki, patch by skidd13)
17 years ago
egladil
4e518e3ceb
(svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5.
17 years ago
truelight
f5024f8c91
(svn r11388) -Fix: postfix ++ returned new value, should (ofcourse) be old value (SmatZ)
...
-Fix: prefix ++ didn't exist, added it
17 years ago
truelight
5d196f4ac6
(svn r11387) -Codechange: changed many macros.h #defines to static inline functions (patch by skidd13, with a big tnx to SmatZ for profiling!)
17 years ago
miham
cfe2fb6f0a
(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)
17 years ago
truelight
c3c4c894dc
(svn r11385) -Fix r11383: bool operation can be hard to translate for some people ;) (tnx fjb for noticing this bug ;))
17 years ago
glx
7131f6262d
(svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles
17 years ago
truelight
b935a74782
(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to Rubidium and skidd13)
17 years ago
truelight
f1df43ec21
(svn r11382) -Codechange: renamed COUNTBITS to CountBits, as it is no longer a macro (skidd13)
17 years ago
glx
74ee13aba8
(svn r11381) -Fix [FS#1227]: redo the fix in a less breaking way
17 years ago
glx
354fdbc0c9
(svn r11380) -Revert (r11191, r11196): it worked, but broke cargo loading
17 years ago
truelight
cd7310ce54
(svn r11379) -Fix r11378: KillFirstBit2x64 accepts and returns unsigned variables, not signed, so enforce that a bit
17 years ago
truelight
adc4ab5540
(svn r11378) -Codechange: optimize KillFirstBit2x64 (skidd13)
17 years ago
truelight
e983210f5e
(svn r11377) -Codechange: some more strictness in macros.h (skidd13)
17 years ago
rubidium
e3134d6e2b
(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.
17 years ago
rubidium
464ee0a02a
(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'.
17 years ago
belugas
e2c0f1faf7
(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)
17 years ago
rubidium
c871dc1dd5
(svn r11373) -Fix [FS#1398]: do not even think about building disabled industries.
17 years ago
glx
073290021b
(svn r11372) -Fix [FS#1394]: don't stop on first invalid cargo type when displaying industry acceptance
17 years ago
rubidium
0b7de36eb2
(svn r11371) -Fix [FS#1396]: the industry protection only kicked in when it should not kick in.
17 years ago
rubidium
5a9e2f8d82
(svn r11370) -Fix [FS1384]: manually replacing a vehicle with shared orders makes it lose it's order index and service interval. Patch by jthill.
17 years ago
truelight
19d13f90b3
(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)
17 years ago
miham
73e2785724
(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)
17 years ago
rubidium
f7cc8872f8
(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.
17 years ago
rubidium
f88f2dbdc0
(svn r11366) -Fix [FS#1258]: road vehicles must not drive through eachother on bridges/in tunnels.
17 years ago
rubidium
fd14bd68f7
(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.
17 years ago
glx
2bba7e860e
(svn r11364) -Fix (r11363): compilation broken
17 years ago
belugas
f24e92c175
(svn r11363) -Codechange: Remove some magical numbers
17 years ago
rubidium
f9079240bd
(svn r11362) -Fix [FS#1380]: cloning vehicles with non-standard sub-cargotypes (i.e. livery refits) failed.
17 years ago
miham
3c0356de17
(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)
17 years ago
rubidium
435bc80e71
(svn r11360) -Fix [FS#1375]: do not crash when trying to "draw" an invalid string, just draw a message saying it is invalid.
17 years ago
rubidium
909e292223
(svn r11359) -Fix [FS#1381]: shared timetables were not properly refreshed with autofill.
17 years ago
rubidium
50d51e83bb
(svn r11358) -Fix: condition types 0x0B and 0x0C are also valid for variable 0x88 in action 7/9.
17 years ago
truelight
9cf6fe8bca
(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 ;)
17 years ago
glx
3d150b6230
(svn r11356) -Fix (r11305): funding industries in MP game was causing desync
17 years ago
rubidium
3722b834ef
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
rubidium
840de103d1
(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.
17 years ago
glx
7e769d3286
(svn r11353) -Codechange: add support for newgrf callback 32
17 years ago
glx
6120d02751
(svn r11352) -Codechange: cache callback 2D result (vehicle color mapping) instead calling it every time the vehicle is drawn
17 years ago
bjarni
e6116d11b8
(svn r11351) -Fix (r11342): [OSX] killed a warning
17 years ago
rubidium
31141bd6bd
(svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13.
17 years ago
rubidium
4e822be109
(svn r11349) -Fix [FS#1372]: crash when moving "invalid" cargo to a station.
17 years ago
bjarni
5c3b19ec89
(svn r11348) -Fix (r11049): [OSX] killed a warning (don't ask why only OSX showed this one)
17 years ago
belugas
17df5bdf72
(svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come)
17 years ago
belugas
b604d40584
(svn r11346) -Codechange: Add marker has_newwater to the loaded grf features. Not in used yet.
17 years ago
belugas
7ebb45468f
(svn r11345) -Cleanup: a bit of comment style fixing
17 years ago
belugas
7c12871401
(svn r11344) -Codechange: Removes some magic numbers referring the highlighting mode in road_gui.cpp
...
Some typos fixed too.(FS#1371-skidd13)
17 years ago
belugas
c9858e35db
(svn r11343) -Fix[FS#1368]: Autoslope did not work correctly for single track on higher part of steep slopes. (frosch)
17 years ago
egladil
a1c3d51f7f
(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.
17 years ago
glx
08503f5ba5
(svn r11341) -Codechange: add missing callback ID enums, add stub for house property 20 and reorder unimplemented action 0 properties
17 years ago
belugas
5da0e87d9d
(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.
17 years ago
rubidium
3a785b000a
(svn r11339) -Add: autoroad; same as autorail, but for road and trams and only on X and Y direction. Patch by Octopussy and skidd13.
17 years ago
rubidium
00161bf9aa
(svn r11338) -Fix [FS#1359]: water tiles not at sealevel (i.e. canals) should not be owned by water as that signals normal water.
17 years ago
miham
75a9fbc72a
(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)
17 years ago
maedhros
5712da734f
(svn r11333) -Fix: Train engines still had a value of 0.
17 years ago
rubidium
b4e7203b0a
(svn r11332) -Fix: vehicles getting a value of 0 on construction.
...
-Fix: assertion when selling vehicles.
17 years ago
rubidium
9a0d2de5cf
(svn r11331) -Fix: do not misuse CommandCost for overflow safe stuff as Money supports that now too.
17 years ago
rubidium
fcce47172d
(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.
17 years ago
rubidium
f42cdbf4d0
(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.
17 years ago
bjarni
66135af94b
(svn r11326) -Cleanup: [OSX] removed now unneeded includes and unreached conditional defines from some OSX specific files
17 years ago
bjarni
d8fe1e3bb4
(svn r11325) -Fix (r11312)[FS#1357]: [OSX] fixed compilation on OSX
17 years ago
rubidium
305d383e99
(svn r11322) -Codechange: select an allowed station size when drag&drop is disabled. Patch by Wolf01.
17 years ago
rubidium
1d9542ce2d
(svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch.
17 years ago
rubidium
d1a51ebb36
(svn r11320) -Codechange: make lower halftiles at coast floodable. Patch by frosch.
17 years ago
rubidium
842e0697ec
(svn r11319) -Add: halftile- and anti-zig-zag-foundations. Patch by frosch.
17 years ago
rubidium
410b4fae00
(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.
17 years ago
rubidium
3fe8be47ff
(svn r11317) -Fix [FS#1355]: don't read a variable of a destroyed vehicle as the value will be reset to 0.
17 years ago
rubidium
fc9ebd257f
(svn r11316) -Codechange: add support for the half-tile (selection) graphics.
17 years ago
rubidium
9a32d5f44f
(svn r11315) -Fix [FS#1353]: towns are not growing beyond height differences. Patch by skidd13.
17 years ago
rubidium
29ebb28c65
(svn r11314) -Fix [FS#1356]: stop following a vehicle when you sell/destroyed it.
17 years ago
rubidium
99266a173c
(svn r11313) -Codechange: prepare several pieces of code so the can handle some new slopes. Patch by frosch.
17 years ago
rubidium
eadd6765e1
(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.
17 years ago
maedhros
3a361422fa
(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.
17 years ago
miham
1a6251937e
(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)
17 years ago
glx
f642c03d28
(svn r11305) -Codechange: randomise layout when building an industry ingame
17 years ago
belugas
202b4de279
(svn r11304) -Feature: Control-Clicking the Center Main View button on the vehicle window allows the main viewport to follow the chosen vehicle.(stevenh)
17 years ago
rubidium
8342c18fb5
(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.
17 years ago
glx
3b08339a10
(svn r11302) -Fix (r9520): typo
17 years ago
glx
b0e5a3be63
(svn r11301) -Fix: water check when building industries didn't work
17 years ago
glx
f6907db708
(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
17 years ago
rubidium
4ce24d8a40
(svn r11292) -Fix [FS#1350]: don't desync when generating random faces. Patch by SmatZ.
17 years ago
rubidium
f034036ef4
(svn r11291) -Fix [FS#1345]: changing the wagon_speed_limits patch option caused desyncs.
17 years ago
rubidium
6f75794b0f
(svn r11290) -Fix: obiwan in the assertion that checked for overflows when writing a packet, causing still correctly sized packets to cause assertions.
17 years ago
miham
5a27f5448b
(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)
17 years ago
rubidium
eaff35a821
(svn r11287) -Codechange: add support for pushing paramaters into NewIndustries' error messages. Patch by Csaboka.
17 years ago
rubidium
20ee708744
(svn r11286) -Fix (r11228): NewGRF industries assume that the order of animation always stays the same. Patch by Csaboka.
17 years ago
glx
34f8fd2d2b
(svn r11285) -Fix: 'site unsuitable' was always shown instead specified message when trying to build industry ingame (Csaboka)
17 years ago
glx
b9572bd083
(svn r11284) -Codechange: don't reset build industry cursor if it failed
17 years ago
belugas
5691c77494
(svn r11283) -Fix(r11282): a typo. Don't ask.
17 years ago
belugas
ebd7b63733
(svn r11282) -Fix[FS#1344]: Use the right pointer when evaluating the size of the layouts.
17 years ago
belugas
9804808fe4
(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 :)
17 years ago
rubidium
04c09b9bf2
(svn r11280) -Fix [FS#1343]: wrong money related values when loading old games. Inspired on a patch by SmatZ.
17 years ago
rubidium
406c22d7e3
(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.
17 years ago
glx
c0e5ca11dc
(svn r11278) -Fix [FS#1342] (r11269): modulo result can be negative for signed int
17 years ago
glx
389391f9ec
(svn r11277) -Fix (r8498): the check for ghost station (on water industries) always removed station for non-oilrig
17 years ago
rubidium
3bcfe14cd1
(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.
17 years ago
rubidium
8c33d938cb
(svn r11275) -Fix: oldloader crashing when referencing a vehicle that is not yet loaded.
17 years ago
belugas
cba9def0ba
(svn r11272) -Codechange: Truncate text describing the grf file in the NewGrf settings gui
17 years ago
rubidium
2cb0906c58
(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.
17 years ago
rubidium
d63262ddb9
(svn r11270) -Fix (r11269): black people only have one eye colour.
17 years ago
rubidium
5164e57416
(svn r11269) -Feature: user customisable faces. Patch by BigBB.
17 years ago
belugas
1280c7636d
(svn r11268) -Fix[FS#1336]: Call IsSlopeRefused whenever it is required. Looks like there was one spot missing. Thanks frosch
17 years ago
miham
506107ea9d
(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)
17 years ago
belugas
c5a8f4a857
(svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores
17 years ago
maedhros
ee4823857f
(svn r11265) -Feature: Make more advanced rail types more expensive to build.
17 years ago
rubidium
85b56a9c15
(svn r11264) -Codechange: replace a lot of magic numbers with enums for the rail and road GUIs. Patch by skidd13.
17 years ago
rubidium
7a20f662ac
(svn r11263) -Codechange: Reduce code duplication between DrawBridgePillars and HasFoundation{NW|NE}. Patch by frosch.
17 years ago
rubidium
633004402a
(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).
17 years ago
rubidium
8b5b748029
(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.
17 years ago
rubidium
ad128da526
(svn r11260) -Codechange: replace a magic number by a less magic enumified constant. Patch by ammler.
17 years ago
rubidium
198ea304ad
(svn r11259) -Fix [FS#1331]: the wrong song was played in the first intro game of a single OTTD session.
17 years ago
rubidium
3d4bc58dc4
(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.
17 years ago
glx
0cc8449101
(svn r11257) -Fix (r11145): wrong endian used when preparing text ref stack
17 years ago
belugas
5a64bb79d8
(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
17 years ago
glx
748d5141cd
(svn r11255) -Fix [FS#1332]: industry counter was not updated on TTD savegame loading
17 years ago
glx
21547b46ef
(svn r11253) -Fix (r9411): industries can still use cargo they define, even if these cargo are disabled by a grf loaded later
17 years ago
glx
73fcdf77e0
(svn r11252) -Revert r11239, Fix r9620: cargo translation was not done correctly
17 years ago
belugas
a8936b771b
(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 ;)
17 years ago
miham
838e379fcf
(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)
17 years ago
belugas
4fe401b7d6
(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
17 years ago
belugas
276aad47f9
(svn r11247) -Fix: The Industry's name to fund could be larger than the window itself. Now, it fits within the physical allowed space
17 years ago
belugas
91cf35f7cf
(svn r11246) -Codechange: beautify some conditions from "if else" into trinary operator
17 years ago
truelight
87cac26fc0
(svn r11245) -Fix r11228: the moreanimation feature made loading TTD(p) games impossible (Csaboka)
17 years ago
truelight
1eabb451ab
(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)
17 years ago
glx
94c9e65331
(svn r11243) -Fix: update waypoint signs when renaming a town
17 years ago
belugas
56ba73a714
(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)
17 years ago
belugas
22fd539413
(svn r11241) -Fix: Obiwan error on industry animated tiles. Spotted and fixed by Csaboka
17 years ago
glx
b398b6c718
(svn r11240) -Fix [FS#1323] (r11152): forgot to invert a test
17 years ago
glx
401048898e
(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
17 years ago
rubidium
e4c2b5f4d4
(svn r11238) -Fix [FS#1316]: the orders of trains going to a waypoint where not updated when the waypoint would be moved.
17 years ago
rubidium
f22c5ba602
(svn r11237) -Codechange: reduce code duplication between GetRailFoundation() and CheckRailSlope(). Patch by frosch.
17 years ago
rubidium
038c98bee3
(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.
17 years ago
miham
4624448187
(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)
17 years ago
rubidium
0a6ffecb86
(svn r11234) -Fix [FS#1312]: the explosion vehicles were placed too far to the south.
17 years ago
rubidium
ffba1cc208
(svn r11233) -Fix [FS#1303]: handle some wrong written station NewGRFs a little more gracefully than segfaulting.
17 years ago
glx
7810424862
(svn r11232) -Fix (r10495): industry tile override works like house override, so handle it in the same way
17 years ago
rubidium
646615307e
(svn r11231) -Fix [FS#1311] (r11128): Someone misplaced a "static". This results in wrong bounding boxes for tunnels in X direction. Patch by frosch.
17 years ago
rubidium
c8df832678
(svn r11230) -Fix [FS#1228]: one could construct trains out of crashed wagons and engines. Based on a patch by SmatZ.
17 years ago
rubidium
2e8f93a821
(svn r11229) -Fix [FS#1307]: one could sell vehicles that were crashed in a depot, which would still yield money.
17 years ago
rubidium
91ac131014
(svn r11228) -Codechange: implement the "moreanimation" feature of TTDP, so we can properly support newindustries.
17 years ago
miham
2313b7a144
(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)
17 years ago
miham
df8e0a19e1
(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)
17 years ago
rubidium
bcd2e7448b
(svn r11225) -Fix: if a sprite shares the bounding box of another sprite, the offset is unsigned instead of signed.
17 years ago
rubidium
1bf8d64eb8
(svn r11224) -Fix: GRM for cargos has registration entries for both cargo IDs and cargo bitmasks, not only cargo IDs.
17 years ago
belugas
69bb22b919
(svn r11223) -Fix[FS#1306]: Rename and refactor adequately a function that actually returns void and set bits (smatz).
17 years ago
belugas
6f7f7afba4
(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.
17 years ago
rubidium
df9392a737
(svn r11215) -Codechange: replace magic constants with less magic symbols. Patch by skidd13.
17 years ago
glx
342025d0e1
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
17 years ago
rubidium
af5399fa41
(svn r11213) -Fix [FS#1298]: confusing messages when trying to build a bridge.
17 years ago
rubidium
d92dbbb029
(svn r11212) -Codechange: add support for drawing parts of sprites. Patch by frosch.
17 years ago
rubidium
5ab0426680
(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized.
17 years ago
rubidium
c30544f8bc
(svn r11210) -Codechange: unify the way that selection sprites are drawn. Patch by frosch.
17 years ago
rubidium
c4edf5c6ce
(svn r11209) -Codechange: remove some magic numbers and bit magic with appropriate enums and functions. Patch by frosch.
17 years ago
rubidium
0827b314f9
(svn r11208) -Fix [FS#1300]: tunnel excavation could disown somebody elses owned land. Patch by frosch.
17 years ago
glx
d796519e49
(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
17 years ago
rubidium
ea433ffc64
(svn r11206) -Fix [FS#1299]: half tram bits could be removed in some cases. Based on patches by frosch and skidd13.
17 years ago
rubidium
d8c0298250
(svn r11205) -Codechange: remove some, now obsolete, checks.
17 years ago
belugas
151b50e13b
(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.
17 years ago
belugas
fa1322a740
(svn r11203) -Codechange: Raise the TTDPatch version a little higher, as some new features will be shortly exploitable
17 years ago
belugas
0606562897
(svn r11202) -Feature: [NewGRF] Add support for var 45 for Industries.
17 years ago
rubidium
f54a823129
(svn r11201) -Fix [FS#1283]: minor issue with building one way roads one tile long. Patch by SmatZ.
17 years ago
rubidium
ca46e547de
(svn r11200) -Fix [FS#1291]: road vehicles could not overtake on one way roads going to the east.
17 years ago
rubidium
bcebd8b8fa
(svn r11199) -Fix: variable 67 and 68 not working correctly.
...
-Refactor: some code so there is less code duplication.
17 years ago
belugas
cfb9cb8cec
(svn r11198) -Fix: When industry override is not possible because it is already been overridden, mark the new candidate as not being an override
17 years ago
belugas
23eed48a92
(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.
17 years ago
glx
a2ed316770
(svn r11196) -Fix (r11191): _cur_stage was incorrect for GLS_ACTIVATION stage
17 years ago
rubidium
54c7430e46
(svn r11195) -Fix: creation chances for industries during gameplay and during map generation were swapped.
17 years ago
rubidium
8c25b4575c
(svn r11194) -Fix: industries with not all tiles custom slope checked (but at least one) would be build on wrongly sloped tiles.
17 years ago