IRC logs for #openttd on OFTC at 2010-06-27
⏴ go to previous day
00:00:43 *** Chruker has joined #openttd
00:11:36 *** Xrufuian has joined #openttd
00:19:52 <CIA-9> OpenTTD: michi_cc * r20024 /trunk/ (5 files in 2 dirs): -Codechange: Remove the need to link with dxguid.lib for windows.
00:35:01 *** devilsadvocate has quit IRC
00:37:44 *** devilsadvocate has joined #openttd
02:20:30 *** fjb is now known as Guest1260
02:26:53 *** rhaeder1 has joined #openttd
02:52:09 *** lolman_ has joined #openttd
03:32:36 *** Dreamxtreme has joined #openttd
04:56:23 *** Eddi|zuHause has joined #openttd
05:34:34 *** HerzogDeXtEr1 has joined #openttd
05:57:32 *** Kurimus has joined #openttd
06:36:17 *** ^Spike^ has joined #openttd
07:12:06 *** olleman has joined #openttd
07:39:17 *** DJNekkid has joined #openttd
07:39:59 <DJNekkid> hi guys... looking at railtype varaction2 specs, variable 40, why isnt there a "arctic" tile there?
07:45:21 *** Alberth has joined #openttd
07:48:44 *** Progman has joined #openttd
07:51:04 <DJNekkid> i know it _can_ be done via action 7/9, but it would be much cleaner code if that exsisted
08:12:13 <planetmaker> DJNekkid: there's the tiletype which can return 'snow'
08:12:21 <planetmaker> look at swedishrails :-)
08:13:12 <planetmaker> arctic climate can have two ground tile types: 'normal' and 'snow'
08:16:20 <DJNekkid> planetmaker: i know, but then why are there deseret and rainforest? wouldnt the rainforest be "normal" as such?
08:17:11 <planetmaker> you're right there :-)
08:17:42 <planetmaker> but snow might be somewhat different: it can change by the snowline height
08:18:04 *** andythenorth has joined #openttd
08:18:05 <planetmaker> there's no 'desert height' or 'rainforest height'
08:18:18 <andythenorth> how do I apply a patch from a remote URL again?
08:18:40 <DJNekkid> i see why they have both desert and snow
08:18:44 <Ammler> curl <url> | patch -p1
08:18:56 <DJNekkid> but why the rainforest is there, and arctic isnt i dont see
08:19:00 *** Illegal_Alien has joined #openttd
08:19:56 <DJNekkid> its not consistant :)
08:19:57 <planetmaker> DJNekkid: both, desert and rainforest cannot change
08:20:11 <planetmaker> so only those constants are given there
08:20:19 <andythenorth> trying the transfer patch from planetmaker :)
08:21:03 <planetmaker> you have with that desire, andythenorth a VERY good point. It annoyed me multiple times already
08:21:12 <planetmaker> actually every time I use transfer orders
08:21:42 *** Illegal_Alien has joined #openttd
08:21:57 <planetmaker> Ammler: selecting transfer implies "no loading"
08:22:09 <planetmaker> automatically selected
08:22:13 <DJNekkid> i guess i'll just use an action7 then...
08:22:14 <planetmaker> you can revert it
08:22:34 <planetmaker> DJNekkid: why? you can query climate and tiletype in action2
08:22:47 <planetmaker> ccfreak2k: action9 maybe? ;-)
08:23:23 <DJNekkid> planetmaker: that is what i would like to do, but there is no "arctic tile" just "normal"
08:23:46 <planetmaker> DJNekkid: yes. But in arctic you only have to know "snow" or "no snow"
08:24:11 <planetmaker> hm... maybe NML made it too easy for me ;-)
08:24:26 <andythenorth> planetmaker: that patch is a win
08:24:41 <DJNekkid> its just that i do all tiletypes in one go...
08:24:59 <planetmaker> That's what railtypes do provide, yes
08:25:07 <planetmaker> you don't HAVE to worry about the climate
08:25:16 <planetmaker> just provide under and overlay. And only care about snow
08:25:17 <DJNekkid> for the subway tracks i do :)
08:25:21 <planetmaker> Nothing more required, no?
08:26:46 <planetmaker> DJNekkid: then I'd go for: design a custom parameter which holds "temperate", "desert", "rainforest", "arctic" and "snow"
08:26:54 <planetmaker> and then base the decision upon that parameter
08:27:11 <planetmaker> actually. Not snow in there
08:27:27 <planetmaker> snow has to follow
08:27:50 <DJNekkid> im more thinking action7/9 to check for arctic or temperate, and then var2-40 the rest
08:28:37 <planetmaker> it's surprising how easy it is to forget about varaction2 vs. action 7/9 vs. actionD when one just can use everything in a unified switch statement :-)
08:29:01 <DJNekkid> ive never used thoose action Ds
08:29:40 <planetmaker> reading grf parameters? Oh yes, you do ;-)
08:29:48 <planetmaker> writing base costs?
08:30:04 *** Illegal_Alien has joined #openttd
08:32:41 <planetmaker> [10:24] <andythenorth> planetmaker: that patch is a win <-- good to know that it works for you :-)
08:33:00 <planetmaker> then I assume I've won a lobbyist for that patch :-P
08:33:21 *** valhallasw has joined #openttd
08:38:17 <Ammler> now go on strike until it gets trunk :-P
08:39:13 <DJNekkid> what condition type do i use when checking climate?
08:43:17 <planetmaker> what do you mean with condition type, DJNekkid ?
08:43:50 <DJNekkid> the 4th byte of a action7/9
08:43:51 <planetmaker> you check the global var which stores the climate
08:45:07 <planetmaker> you read one byte from it
08:46:56 *** Chris_Booth has joined #openttd
08:47:20 <DJNekkid> supposed to be comment with "1 byte range" and not "4 byte range"
08:49:22 <asilv> condition type would be \7= (Parameter is equal to value), i guess
08:49:32 <DJNekkid> hmm, can use varaction2 variable 03 as well
08:51:02 <planetmaker> indeed. Sounds more reasonable
08:59:25 <DJNekkid> should be like that i think?
09:05:34 <CIA-9> OpenTTD: alberth * r20025 /trunk/src/ (5 files in 3 dirs): -Doc: Fix/add comments to let Doxygen know about the documentation.
09:12:52 <planetmaker> looks somewhat ok, DJNekkid
09:13:11 <planetmaker> but I still don't dream the varaction2 sequences ;-)
09:16:19 *** Chruker has joined #openttd
09:19:58 <DJNekkid> are there any updated renums around yet btw? (that properly support railtypes)
09:20:36 * andythenorth ponders more ships
09:22:24 <planetmaker> DJNekkid: there aren't to my knowledge; though Yexo somewhen created a patch; but I don't know about the whereabouts of binaries
09:22:43 * andythenorth is playing a UKRS game with very small industry production (18-50t at most primaries)
09:22:50 <andythenorth> small production is fun
09:24:08 <andythenorth> however the range of airports available in 1960 is....not fun
09:34:27 <Eddi|zuHause> so... how many more of these newgrf-projects is NekoMaster starting without having any clue what to do?
09:36:30 <andythenorth> he's enthusiastic though.
09:36:34 <andythenorth> and getting more articulate :)
09:36:42 <andythenorth> so mostly harmless
09:39:59 * andythenorth wants a helipad :(
09:40:26 * andythenorth wonders where the airport date code is
09:40:27 * DJNekkid DCC's andy a helipad
09:41:01 <andythenorth> airport.cpp looks like a good place to start
09:41:04 <Alberth> somewhere in src/table/ I suspect
09:41:58 <andythenorth> src/table/airport_defaults.h
09:42:04 <andythenorth> Alberth: thanks :)
09:42:52 <Alberth> technically, it is not code :D
09:43:53 <andythenorth> airport dates are currently....unsatisfactory :)
09:44:01 <andythenorth> I suspect it depends on start date though
10:02:16 *** einKarl has joined #openttd
10:28:35 * andythenorth three road stops per farm looks like a lot :P
10:28:48 <andythenorth> two pickup (one per cargo), one dropoff (supplies)
10:32:12 *** KenjiE20 has joined #openttd
10:42:36 *** asnoehu has joined #openttd
11:08:10 * andythenorth "make mine a 99"
11:08:15 <andythenorth> (in honour of Pikka)
11:10:26 <Eddi|zuHause> # football play we better than you
11:13:33 <DJNekkid> what exactly is concidered a rainforest tile?
11:14:07 <Eddi|zuHause> a grass tile in tropic
11:14:32 <Rubidium> DJNekkid: there where tropic trees grow (quickly)
11:14:32 <DJNekkid> that is what i would think as well
11:15:00 <DJNekkid> so, in other words, they dont really exsist? :)
11:15:48 <DJNekkid> but they arent as eddi say, the green tiles in tropical climate?
11:16:16 <Eddi|zuHause> have you used the query tool yet?
11:16:58 <DJNekkid> and ... rainforest on the ones with trees on them
11:17:42 <DJNekkid> guess you can just skip my last bugreport on flyspray then
11:17:52 <DJNekkid> or optionally make it into the "green" tiles as well
11:18:00 <Rubidium> not all green tiles are tropical tiles
11:18:13 <DJNekkid> shores seem to be desert :)
11:18:52 <Rubidium> could be... IIRC tropical is only above a specific level
11:20:38 *** ajmiles has joined #openttd
11:23:01 <DJNekkid> hmm, wierd, but okidoki :D
11:23:01 *** fonsinchen has joined #openttd
11:30:10 *** frosch123 has joined #openttd
11:42:56 *** Devroush has joined #openttd
11:51:03 *** devilsadvocate has quit IRC
11:51:25 *** devilsadvocate has joined #openttd
11:54:13 <Vasa> hi, I'm totally new to src code compiling, and patch applying in windows
11:54:35 <Vasa> I downloaded Tortoise SVN
11:55:44 <Vasa> But after I try to apply patch, I just get a blank TortoiseMerge window
11:56:15 <Rubidium> good chance you've got a patch that tortoise doesn't understand
11:57:13 <Vasa> I'd like to apply the automated timetables, and separation patch
12:00:02 <Rubidium> so before others go searching... that's definitely one of the patches that doesn't apply in tortoise
12:08:56 * Alberth is wondering whether it would be better to recommend hg to newbies. No svn:/ downloading, better chances with patch applying.
12:09:47 <Alberth> downside may larger download size due to the history.
12:12:15 <Alberth> hmm, difference is not that big
12:14:07 <andythenorth> somehow hg clicks better with my brain
12:14:10 <Rubidium> a working buildottd would still be superior
12:16:23 <Vasa> Hi, it's me again: my problem is: try to apply patch in windows with tortoiseSVN
12:16:36 <Vasa> But when I choose add patch, I only get a blank tortoiseMerge window
12:16:50 <Vasa> after I pick the patch file
12:16:58 <Rubidium> Vasa: the patch format you want to apply isn't "supported" by tortoisesvn
12:16:59 <Alberth> you already tried a compile without applying the patch?
12:17:24 <Rubidium> it is supported by all other tools I know to apply patches
12:17:44 <Rubidium> it's been, in my opinion, a very weak point of tortoisesvn
12:18:33 <Vasa> actually, that's going to my next question, how to comply?
12:19:54 <Alberth> better make the the first question :) if you apply the patch before compiling for the first time and it breaks, you don't know what to blame, the patch, or your compiler install
12:20:47 <Rubidium> Vasa: thing is that installing everything you need on Windows is several magnitudes harder than on (most) other operating systems
12:22:33 <Rubidium> there once was a tool that did most of the difficult stuff for you, i.e. you only needed to tell which version of OpenTTD and which patch to apply and then it would compile everything for you... but it has been broken for almost two years and nobody has resurrected it
12:23:29 *** Polygon has joined #openttd
12:41:46 *** Akebono has joined #openttd
12:50:53 * andythenorth needs a helistation with more landing pads :P
12:51:04 <andythenorth> "when will new airports be done" :P
12:52:52 <Alberth> when everything is committed to trunk
12:59:35 <Sacro> we should rewrite openttd in php
12:59:41 <Sacro> then we'd have none of these compiling issues
13:00:30 <andythenorth> php always wins :P
13:12:49 <Alberth> yeah, replacing a simple compiler issue with using a broken language sounds like a good plan indeed
13:16:00 *** Akebono has joined #openttd
13:16:13 *** Akebono was kicked by DorpsGek (Wrong channel. Retry in #openttdcoop.)
13:16:48 <DorpsGek> PeterT: Error: That operation cannot be done in a channel.
13:33:37 <CIA-9> OpenTTD: alberth * r20026 /trunk/src/gfx.cpp: -Codechange: No need to copy a formal parameter if the value is not needed further.
14:04:18 *** Coco-Banana-Man has joined #openttd
14:20:23 <frosch123> hmm, someone must have scored :p
14:31:52 *** Illegal_Alien has joined #openttd
14:39:11 <Ammler> hmm, it is still the tournament of refeeres
14:40:35 * andythenorth wants to bet some code against the outcome of this football match
14:40:46 <andythenorth> what pony do I get if we win?
14:40:55 <andythenorth> and what do I have to write if you lot win :P
14:41:24 <glx> Ammler: that's a good reason to refuse video ;)
14:43:21 <Ammler> andythenorth: who is "you lot"?
14:43:46 <Eoin> im glad theres no video refereeing
14:44:36 <andythenorth> Ammler: the one's who are playing England right now :D
14:44:43 <glx> but sometime the 4th referee checks the video
14:46:32 <Ammler> hehe, the "Wembley Goal" :-)
14:47:24 <Eoin> FIFA World Cup: Germany 2 - 1 England (Half Time)
14:49:40 *** valhallasw has joined #openttd
14:51:40 * andythenorth wonders about a day length patch
14:51:44 <andythenorth> time is passing too quickly
14:52:04 <Eddi|zuHause> Ammler: well, it's the balance for the one in '66 ;)
14:52:51 <Ammler> I think, the influence of the referees is already too high in Africa.
14:53:28 <Eddi|zuHause> well, something really extreme must happen before a system will be changed
14:59:40 <frosch123> yeah, just as expected, some fool already updated the wiki page about the wembley goal :p
15:00:39 <Eddi|zuHause> funnily, i stumbled upon that page just yesterday...
15:26:15 <frosch123> who needs a tv, if the window is opened :)
15:26:27 <frosch123> omg, they even have fireworks...
15:26:40 <Eddi|zuHause> hey... 4:1 is fireworks worthy ;)
15:27:00 <Rubidium> good luck inhaling me then :)
15:27:25 <Eddi|zuHause> wasn't Enschede the place where a fireworks factory blew up?
15:27:39 <Eddi|zuHause> were you involved in that? :p
15:28:16 <Rubidium> I didn't live in E'de back then
16:00:16 *** Dreamxtreme has joined #openttd
16:00:57 *** Chris_Booth has joined #openttd
16:11:44 *** Bluelight has joined #openttd
17:25:33 *** fonsinchen has joined #openttd
17:53:08 *** theholyduck has joined #openttd
18:06:28 *** rhaeder has joined #openttd
18:17:47 *** Devroush has joined #openttd
18:21:05 <CIA-9> OpenTTD: translators * r20027 /trunk/src/lang/ (brazilian_portuguese.txt irish.txt romanian.txt):
18:21:05 <CIA-9> OpenTTD: -Update from WebTranslator v3.0:
18:21:05 <CIA-9> OpenTTD: irish - 61 changes by tem
18:21:05 <CIA-9> OpenTTD: brazilian_portuguese - 1 changes by Tucalipe
18:21:06 <CIA-9> OpenTTD: romanian - 12 changes by kkmic
18:52:28 *** Phoenix_the_II has joined #openttd
19:07:56 *** Dreamxtreme has joined #openttd
19:22:32 *** ChanServ sets mode: +v tokai
19:37:05 *** Polygon has joined #openttd
19:38:35 *** devilsadvocate has quit IRC
19:46:55 *** devilsadvocate has joined #openttd
19:56:39 *** valhallasw has joined #openttd
20:20:57 *** devilsadvocate has quit IRC
20:32:25 *** devilsadvocate has joined #openttd
20:34:09 <planetmaker> is my assumption correct that it was moderately easy to give depots a build date as they exist already as a pool object, but the same would virtually be impossible for level crossings and tunnels as they're just ground tiles without special pool object on them?
20:34:40 *** rhaeder has joined #openttd
20:44:07 <Alberth> not very much at home with pools, but having an object to store the data in, seems an advantage to me :)
20:44:52 <planetmaker> and indeed those two don't have pools, right?
20:47:44 <peter1138> well, enginepool was a hugely anticipated feature...
20:48:36 <Rubidium> but that didn't need map bits
20:51:35 <Terkhen> New England Miniature Ball?
20:51:35 <Rubidium> "not enough map bits"
20:52:14 <planetmaker> I guess I should start playing with the two pseudo-random bits
21:31:30 <DJNekkid> planetmaker: i might be on the american steppes here, but if a "build date" is enabled for one track-part, i cant see why it shouldnt be enabled for the rest of them?
21:46:10 <planetmaker> DJNekkid: I don't see build dates on tracks. Only depots and stations
21:46:21 <Hirundo> planetmaker: randomized using NML or nfo?
21:46:38 <planetmaker> but as you're here... how does the probability work?
21:46:50 <planetmaker> what do the numbers I give there actually mean?
21:47:15 <Hirundo> they're relative probabilities
21:47:48 <planetmaker> relative... so it doesn't depend upon the random bits of that thing?
21:48:19 <Hirundo> The sum of all probabilities has to fit within the random data
21:48:27 <Hirundo> so for railtypes, it can be no more than 4
21:48:48 <planetmaker> and I read the feature for it.
21:48:59 <planetmaker> I don't get the dependent and independent part you talk about there
21:49:06 <planetmaker> obviously I don't need it, but...?
21:49:27 <Hirundo> you can say 'A uses the same bits as B' or 'A uses different bits than B'
21:49:55 <Hirundo> two different random blocks
21:50:43 <planetmaker> ah, so it only matters if I chain them?
21:52:14 <Hirundo> At least, if you use them for the same itesm
21:53:40 <planetmaker> ah... so it's like
21:53:48 <PeterT> NekoMaster's excuses for not being able to compile get less amusing as he goes along
21:53:53 <planetmaker> independent: name-of-other-random-block;
21:54:05 <planetmaker> dependent: name-of-other-random-block2
21:55:26 <planetmaker> Hirundo: I wonder though one thing: should it possibly be named random_switch instead of just random?
21:56:30 <PeterT> Hirundo: when you build new bundles, I'll ask to have the server put back up
21:56:39 <PeterT> Peter's IS2.1.1 Server
21:57:01 <Hirundo> does the current version work?
21:57:19 <PeterT> or the trunk patches you posted?
21:57:26 <Hirundo> the latest patches / hg repo
21:57:34 <PeterT> oh, didn't test those yet
21:57:57 <PeterT> the owner of the server also doesn't want to compile many times, him and I would rather use a release
21:58:30 <Terkhen> yeah, msys is kinda expensive
21:59:24 <Hirundo> I could fire up my MSVC to build a release binary
21:59:41 <PeterT> Hirundo: we're on ubuntu
21:59:59 <Hirundo> but your users are not, generally :)
22:00:29 <PeterT> are you saying that if we compile an hg build, it will become IS2.1.2?
22:01:01 <Hirundo> A few basic tests may be nice, to make sure that it doesn't crash right away
22:01:26 <Hirundo> I'll look at it tomorrow afternoon (=morning for you?)
22:01:28 *** fonsinchen has joined #openttd
22:02:13 <Hirundo> I don't really care about versioning, but it may be necessary for correct MP compatibility
22:02:42 <Hirundo> But 2.1.2 sounds logical
22:07:53 *** Brianetta has joined #openttd
22:21:39 *** Coco-Banana-Man has quit IRC
22:41:53 *** Dreamxtreme has joined #openttd
23:01:20 *** Phoenix_the_II has quit IRC
continue to next day ⏵