IRC logs for #openttd on OFTC at 2014-05-07
⏴ go to previous day
00:39:49 *** supermop has joined #openttd
01:27:03 *** Flygon_ has joined #openttd
01:30:11 *** Xaroth|Work has joined #openttd
02:26:25 *** Flygon_ has joined #openttd
02:56:24 *** bdavenport has joined #openttd
03:41:48 *** KWKdesign has joined #openttd
03:53:33 *** tokai|noir has joined #openttd
03:53:33 *** ChanServ sets mode: +v tokai|noir
04:06:11 *** Midnightmyth has joined #openttd
04:56:16 *** Eddi|zuHause has joined #openttd
06:35:11 *** DanMacK has joined #openttd
06:45:29 *** jjavaholic has joined #openttd
07:12:03 *** HerzogDeXtEr has joined #openttd
07:53:35 *** DanMacK has joined #openttd
08:25:38 *** pthagnar has joined #openttd
09:06:03 <Samu> where can i find r26540 again, wanted to retry save game load game
09:10:40 <planetmaker> download-trunk/r26540 ?
09:10:54 <planetmaker> but why do you delete it?
09:18:17 <Samu> the bug isn't happening on the newer versions, so I guess it's fixed
09:51:30 *** montalvo has joined #openttd
10:11:52 *** retro|cz has joined #openttd
10:44:36 *** sla_ro|master has joined #openttd
10:45:14 *** jjavaholic has joined #openttd
11:06:57 *** jjavaholic has joined #openttd
11:31:08 *** Supercheese has joined #openttd
11:56:24 <Samu> there is a problem with an AI from content download. It keeps saying there's an update to CPU AI
11:57:03 <Samu> i download it again and again, and it always says there's an update
12:03:24 *** rambo is now known as Guest9825
12:04:24 *** pthagnar has joined #openttd
12:28:52 *** mikegrb has joined #openttd
12:46:21 *** gelignite has joined #openttd
13:12:26 *** kais58__3 is now known as kais58|AFK
13:29:55 *** kais58|AFK is now known as kais58__3
13:45:20 <Eddi|zuHause> that doesn't work
13:45:58 <Eddi|zuHause> that's like saying "good jour"
13:46:24 <Eddi|zuHause> mixing two different languages
13:47:40 <__ln___> i think the word "two" is from norse, and "different" and "languages" are from french/latin.
13:48:44 <Eddi|zuHause> that may be true, but there are situations where loanwords or foreign words will not be (genrally) accepted
13:56:48 <Eddi|zuHause> the word "two" is most likely from anglian (danish) or saxon (low german) anyway, norse came into the english mix rather late, i presume people used numbers before that :p... in northern germany saying "zwo" instead of "zwei" is very common
13:57:41 <Eddi|zuHause> but numbers are difficult, because they are rather similar in most european languages
13:57:57 <Eddi|zuHause> it's hard to tell where it really came from
14:00:28 <__ln___> probably an ancient emperor told his scientists to invent mathematics, then waited for a few turns, and so numbers were invented.
14:05:06 <Eddi|zuHause> i haven't done that in quite a while
14:38:25 *** Midnightmyth has joined #openttd
14:51:12 *** Guest9685 is now known as Airwave
15:45:28 *** kais58__4 has joined #openttd
15:47:18 *** TheMask96 has joined #openttd
15:54:52 *** Progman has joined #openttd
16:37:41 *** Pensacola has joined #openttd
16:39:57 *** Alberth has joined #openttd
16:39:58 *** ChanServ sets mode: +o Alberth
17:00:23 *** oskari89 has joined #openttd
17:05:47 *** valhallasw has joined #openttd
17:16:26 *** frosch123 has joined #openttd
17:24:53 *** Midnightmyth has joined #openttd
17:37:33 <George> how to check in NML are houses drawn transperent or not?
17:39:00 <planetmaker> NewGRFs don't allow to check for that, generally
17:39:24 <planetmaker> Transparency means that the building sprite is palette-converted to transparent. Invisible means they're not drawn
17:40:28 <planetmaker> That's also a thing which cannot be added to checked for. Such check would destroy (desync) multiplayer immediately
17:43:49 <planetmaker> the sprite layout block knows also the property always_draw: 1 or 0. Those buildings sprites with always_draw: 1 will be drawn in invisible mode, too.
17:46:02 <DorpsGek> Commit by translators :: r26569 /trunk/src/lang (8 files) (2014-05-07 17:45:48 UTC)
17:46:03 <DorpsGek> -Update from WebTranslator v3.0:
17:46:04 <DorpsGek> english_AU - 1 changes by mrtux
17:46:05 <DorpsGek> english_US - 1 changes by Supercheese
17:46:06 <DorpsGek> french - 57 changes by glx
17:46:07 <DorpsGek> german - 5 changes by planetmaker
17:46:08 <DorpsGek> korean - 1 changes by telk5093
17:46:09 <DorpsGek> lithuanian - 3 changes by
17:46:10 <DorpsGek> luxembourgish - 51 changes by Phreeze
17:46:11 <DorpsGek> russian - 1 changes by KorneySan
17:49:01 <George> planetmaker: I want a sprite that is drawn only when a building is transparent
17:49:19 <planetmaker> you don't do that
17:49:28 <DorpsGek> Commit by rubidium :: r26570 trunk/src/lang/russian.txt (2014-05-07 17:49:22 UTC)
17:49:29 <DorpsGek> -Fix: WT3 validation issue
17:49:55 <planetmaker> Generally: do not worry *at all* about transparent mode - it's nothing for a NewGRF author to mind
17:49:56 <frosch123> George: you draw the sprite below another one
17:50:07 <frosch123> set the sprite to not be affected by transparancy
17:50:16 <frosch123> while the other remains affected
17:50:20 <planetmaker> What you should think a bit about is the invisible mode as you need to decide which ones should still be drawn
17:50:28 <planetmaker> Mind that it's used to avoid blocking views
17:51:17 <planetmaker> thus a skyscraper set to always_draw would be abusing the always_draw system, breaking the usability
17:52:02 <planetmaker> generally I draw the terrain ground sprite and the house outline ground sprite
17:52:10 <George> spritelayout Statue_of_Lenin_layout {
17:52:10 <George> sprite: (terrain_type == TILETYPE_SNOW ? Statue_of_Lenin_ground_snowed_sprite : Statue_of_Lenin_ground_sprite);
17:52:11 <George> sprite: ground_sign_tourists_sprite;
17:52:15 <George> sprite: (terrain_type == TILETYPE_SNOW ? Statue_of_Lenin_ground_snowed_sprite : Statue_of_Lenin_ground_sprite);
17:52:26 <George> Did I understand you right?
17:53:18 <George> the sign would be visible in transperent mode only
17:54:46 <planetmaker> though I'd do it different then
17:54:58 <planetmaker> first groundsprite is the groundsprite with the sign
17:55:15 <planetmaker> and then the building sprite including the ground (again), overdrawing the sign again
17:55:41 <planetmaker> thus declare it part of the building itself. But that's just semantics and personal preference
17:55:47 <planetmaker> not better, not worse
17:56:01 <George> the sign does not cover 100% of a ground area
17:57:01 <planetmaker> well, thus making the ground again part of the building, too
17:57:06 <planetmaker> but as said, doesn't matter
18:01:58 * planetmaker had none so far either
18:12:02 <George> planetmaker: this line forces nmlc error sprite: (terrain_type == TILETYPE_SNOW ? Statue_of_Lenin_ground_snowed_sprite : Statue_of_Lenin_ground_sprite);
18:12:19 <George> all parts should be integer
18:15:03 <George> how to make the right check in sprite layout?
18:15:03 <planetmaker> sprite: statue_snow.png
18:15:03 <planetmaker> hide_sprite: terrain == TILE_TYPE_SNOW
18:15:03 <planetmaker> } { ... (other conditions)
18:15:03 <planetmaker> mind that TILE_TYPE_SNOW is the same as desert
18:15:03 <planetmaker> so check for climate, too
18:16:45 <George> is there a variable for current climate?
18:16:46 <George> climate=CLIMATE_ARCTIC ?
18:30:37 <George> Do I understand you right
18:34:32 *** SkeedR is now known as Guest9852
18:35:28 *** Guest9852 is now known as SkeedR
18:46:46 *** HerzogDeXtEr has joined #openttd
19:40:58 *** Midnightmyth has joined #openttd
19:43:53 <George> how to get cargo_type if you know cargo_id (cargo classes) only?
19:44:16 <George> It's a house cargo_production CB. (cargo_type * 256) + amount
19:44:49 <George> can I write something like return (TOUR * 256) + 1 ?
19:49:56 <George> BTW, does 0x20FF in Called multiple times until 0x20FF is returned. have some name, like CB_RESULT_NOPRODUCTION or something like that?
20:09:22 *** lofejndif has joined #openttd
20:09:54 <frosch123> planetmaker: any suggestion for a name? CB_RESULT_HOUSE_NO_MORE_PRODUCTION or CB_RESULT_HOUSE_NO_MORE_CARGOS ?
20:27:23 *** HerzogDeXtEr1 has joined #openttd
20:31:46 *** Supercheese_ has joined #openttd
20:36:13 *** Myhorta has joined #openttd
21:33:58 *** Stimrol has joined #openttd
21:34:30 <planetmaker> frosch123, which CB / CB-result?
21:35:50 <frosch123> it should be similar to CB_RESULT_NO_MORE_ARTICULATED_PARTS
21:36:10 <frosch123> and similar to the industry cb results, which all go like CB_RESULT_IND_xxx
21:36:19 <planetmaker> ah, indeed that should get a value. CB_RESULT_HOUSE_NO_MORE_PRODUCTION sounds good
21:37:06 <planetmaker> but the other suggestion is just as fine... don't know. NO_PRODUCTION reflects better the callback name
21:37:30 <planetmaker> CB_RESULT_HOUSE_NO_CARGO_PRODUCTION?
21:37:56 <frosch123> yup, i am going for that
21:38:23 <frosch123> err, i mean: i am going for CB_RESULT_HOUSE_NO_MORE_PRODUCTION
21:38:42 <frosch123> it is not about no production, but like the artic callback about ending the loop
21:41:26 *** Flygon_ is now known as Flygon
21:54:34 *** DanMacK has joined #openttd
21:54:57 <DorpsGek> DanMacK: andythenorth was last seen in #openttd 1 day, 0 hours, 7 minutes, and 41 seconds ago: <andythenorth> bye
22:07:15 <Samu> i dont even know if this would work with the proper signals
22:18:44 *** strohalm has joined #openttd
22:52:54 *** Myhorta has joined #openttd
23:00:31 *** KWKdesign has joined #openttd
continue to next day ⏵