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