Log for #openttd on 15th February 2009:
Times are UTC Toggle Colours
00:00:14  *** Progman [] has quit [Remote host closed the connection]
00:03:21  *** roboboy [] has joined #openttd
00:11:06  *** Phoenix_the_II [] has quit [Read error: Connection reset by peer]
00:13:32  *** smeding [] has quit [Read error: Connection reset by peer]
00:13:59  *** dfox [] has joined #openttd
00:21:18  <kingj> Why would a city be slowly killing off it's population?
00:22:18  <Rubidium> cause you killed the center
00:22:42  <Elukka> what is the center?
00:23:17  <Rubidium> just south of the town 'flag'
00:23:27  *** tokai|ni [] has quit [Ping timeout: 480 seconds]
00:23:54  <kingj> I've got a HQ to the left of the town flag, and the end of a large station a few squares south
00:24:14  <Elukka> curiously, i've never known that cities have some sort of functional center
00:25:07  *** tokai|ni [] has joined #openttd
00:25:36  <kingj>
00:25:40  <Rubidium> the tile just south of the town flag should always be a road tile and it should be connected to the rest of the town otherwise it will not (re)grow
00:26:46  <kingj> Is that the one with the left hand one way signal? (See pic)
00:26:58  <Rubidium> yes
00:27:09  <kingj> Hmm
00:29:29  <kingj> Ok, I shifted the bridges one unit to the right, as soon as I did that the town built a bit of road there
00:29:43  <kingj> Now I just need to move my HQ to reconnect that road to the city
00:30:09  <el_en> wtf, if what Rubidium just said is true, that's like tip of the decade.
00:30:39  <kingj> And seems to be working - already increased by 1000 pop
00:30:54  <kingj> (Slow growth, 1 in 1 city, 10x multiplyer)
00:31:14  *** Frostregen [] has joined #openttd
00:32:48  *** Eddi|zuHause [] has quit []
00:33:12  *** Eddi|zuHause [] has joined #openttd
00:34:17  <db48x> yea
00:34:23  <db48x> it shouldn't let you delete that road
00:34:33  <db48x> or it should move the city center
00:35:32  <db48x> that would actually be pretty cool to see
00:35:47  <db48x> you could herd the cities to where you need them
00:37:09  <kingj> Yep, town is growing rather explosively. I'm sure my transport network will fall apart shortly
00:37:11  <kingj> ;)
00:39:28  * db48x sighs
00:39:52  <db48x> path-based signals take some getting used to
00:40:34  <kingj> I remember them ages ago from when TTDPatch breifly had them, but their use escapes me now
00:40:52  <db48x> crashed some trains and clogged my roundabout
00:40:58  <kingj> Haha, of all the chances - I have both runways of an intercontinental airport blocked by crashed aircraft
00:41:06  <db48x> heh
00:41:40  <kingj> However, it dosen't seem to stop planes from landing on one of the runways!
00:42:20  *** lhrios [] has quit [Remote host closed the connection]
00:42:23  *** Vikthor [] has quit [Read error: Connection reset by peer]
00:46:41  <db48x> nothing like a slightly short runway to get the blood flowing
00:48:15  <kingj> It seems the pilot would rather fly through the wreck
00:52:57  *** Phoenix_the_II [] has joined #openttd
00:53:12  <kingj> Hmm, PBS isn't actually that complicated
00:53:55  <kingj> Replace one way entry signals with a one-way PBS, replace two way station platform signals with a regular PBS facing towards the incoming train
00:54:00  <Elukka> in my experience, PBS is easier
00:54:47  <Elukka> if you're all used to normal and pre-signals, it might take a while to get used to pbs
00:55:00  <Elukka> but in the end i find it simpler and easier
00:55:03  <Elukka> besides working better
00:57:13  *** Fuco [] has quit [Quit: Quit]
01:00:00  *** KritiK [] has quit [Quit: Leaving]
01:00:50  *** davis- [] has quit [Ping timeout: 480 seconds]
01:03:30  *** stillunknown [] has quit [Ping timeout: 480 seconds]
01:17:15  <kingj> Converting my network to PBS is going to take a while
01:18:13  <Aali> why would you convert your network to PBS?
01:18:26  <Aali> only use PBS where it's actually better
01:19:07  <kingj> Conversion has also just caused 728 deaths. Oops
01:19:13  <Elukka> where isnt it better or at least equal?
01:19:44  <Nite_Owl> lots of PBS also increases CPU load
01:19:53  <kingj> I like using it on non-roro terminus stations, so in some cases you can have trains entering and leaving
01:20:20  <Elukka> havent thought of that... i've never had a network big enough to cause any slowdown
01:23:26  <kingj> Where do you use them?
01:23:48  *** Brianetta [] has quit [Quit: TschÌß]
01:24:25  <kingj> Ok, this isn't right, it seems to reserve a path to a full platform?
01:24:36  <Aali> I use PBS where it increases performance :)
01:25:10  <Aali> the pathfinder decides which platform to use
01:25:37  <Aali> if the penalty isn't high enough for the occupied platform, it will try to reserve it
01:25:49  <kingj> I had all 4 platforms, each one with a two-way PBS at the front full. A train entered the one way PBS into the points to the 4 platforms and just went straight ahead
01:26:15  <Nite_Owl> it is best to wait until your junction is clear before converting it to PBS
01:27:15  <Aali> kingj: err, you have two-ways in front of the platforms?
01:27:21  <Aali> pointing which way?
01:27:48  <kingj> As you are coming into the platform, you can see the light
01:27:57  <Aali> thats bad
01:28:35  <kingj> They should be facing the other way?
01:28:37  <Aali> a PBS signal facing towards you is a safe waiting position
01:28:45  <Aali> do you want trains to wait there?
01:28:49  <kingj> Ah, no
01:30:23  <kingj> Seems to work ok now
01:30:32  <kingj> Do I need a one-way PBS on the entry to the points?
01:30:44  <kingj> Or will a regular signal (presignal?) suffice?
01:30:47  <Aali> the what?
01:31:34  <Aali> if you want PBS functionality, you should use a PBS signal
01:31:47  <Aali> presignals dont really combine well with PBS
01:32:12  <Aali> but you dont really need them in a PBS construct anyway
01:33:37  <kingj> Ok, in the entry to a non-roro station (just a terminus) do I need a one-way PBS signal for the line coming into the points that go to platforms, or should I just use a regular signal?
01:38:53  <Aali> you only need one PBS signal, on the tile before trains choose a platform
01:40:13  <kingj> A single PBS signal on the entry path to the points then, thanks
01:40:40  <kingj> Seems to work just as well with a normal signal on the entry path though
01:41:20  <Aali> also note that you don't really need the two-way PBS signals unless you really want trains to leave the platform without having to reserve a path all the way to the exit
01:44:20  <kingj>
01:45:28  <Aali> you should make it PBS
01:45:30  <thingwath> this is the one which really should be one-way PBS :)
01:46:19  <Aali> not sure if you have to with other PBS signals in the segment (the whole signal block gets "promoted" to a PBS block that way)
01:47:22  <Aali> but if you ever remove the other signals (you shouldn't in this case, they help efficiency with those accel tracks), it wont work, so just make it PBS :)
01:48:50  <kingj> Okay, i'll make it a one way PBS in the red circle
01:49:23  <kingj> I wish there was a nice wiki example for terminus PBS signaling, plenty of junction and two-way station examples
01:49:56  <Aali> PBS is easy once you get the hang of it though
01:50:15  <Aali> just remember, a signal pointing towards you is a safe waiting spot
01:50:19  <kingj> Yeah, but I think a lot of people would appreciate that example especially when 0.7.0 goes live
01:51:11  <Aali> then why don't you write it? :)
01:51:33  <thingwath> hm, I always thought that PBS is more intuitive, at least because it works much more like a real railway signals
01:52:04  <kingj> I won't write it because i'll most likely get it wrong ;)
01:52:07  <Aali> thingwath: most people dont know how real railway signals work :P
01:52:24  <kingj> And while it is more like real railway signals, i'm used to OTTD signals
01:53:21  *** Splex [~splex@] has quit [Quit: Leaving]
01:53:28  *** Splex [~splex@] has joined #openttd
02:06:23  *** TinoM| [] has quit [Quit: Verlassend]
02:11:09  *** ecke [~ecke@] has joined #openttd
02:21:13  *** Elukka [] has quit []
02:24:46  *** fjb_ [] has joined #openttd
02:25:37  *** Phoenix_the_II [] has quit [Read error: Connection reset by peer]
02:28:31  *** Phoenix_the_II [] has joined #openttd
02:28:32  *** fjb [] has quit [Ping timeout: 480 seconds]
02:47:19  *** Zahl [] has quit [Quit: Rhabarberbarbarabarbarbarenbartbarbierbierbar]
02:56:45  *** Lakie [~Lakie@] has quit [Quit: Sleep.]
02:57:40  *** BFKeil [] has left #openttd []
03:01:52  *** SHRIKEE [] has quit [Quit: SHRIKEE]
03:03:07  *** fjb_ [] has quit [Remote host closed the connection]
03:08:32  *** TinoDidriksen [] has quit [Ping timeout: 480 seconds]
03:12:20  *** TinoDidriksen [] has joined #openttd
03:22:52  *** NukeBuster [~wouter@] has quit [Remote host closed the connection]
03:23:49  *** Cachanilla [] has joined #openttd
03:37:32  <db48x> path-based signaling is pretty nice
03:38:04  <db48x> although it'd be nice if a broken-down train would relenquish it's reservation and reacquire it once it's started up again
03:38:40  *** TinoDidriksen [] has quit [Ping timeout: 480 seconds]
03:39:04  *** roboboy [] has quit [Quit: ajax IRC Client]
03:42:39  *** TinoDidriksen [] has joined #openttd
03:48:58  *** Cachanilla [] has left #openttd []
03:49:47  *** Sacro [~ben@adsl-87-102-39-137.karoo.KCOM.COM] has quit [Quit: Sacro]
03:50:31  *** Phoenix_the_II [] has quit [Remote host closed the connection]
04:02:04  *** Phoenix_the_II [] has joined #openttd
04:02:41  *** Nite_Owl [] has quit [Quit: Read You Soon]
04:20:24  *** Dummstein [fractal@] has joined #openttd
04:21:28  *** Dummstein [fractal@] has quit []
04:34:32  *** michi_cc [] has quit [Ping timeout: 480 seconds]
04:38:49  *** roboboy [] has joined #openttd
04:40:28  *** glx [] has quit [Quit: bye]
05:02:38  *** ecke_ [~ecke@] has joined #openttd
05:02:38  *** ecke [~ecke@] has quit [Read error: Connection reset by peer]
05:05:48  *** Frostregen [] has quit [Quit: und weg]
05:07:09  *** Phoenix_the_II [] has quit [Remote host closed the connection]
05:18:13  *** Phoenix_the_II [] has joined #openttd
05:30:09  *** DaleStan [] has quit [Ping timeout: 480 seconds]
05:37:47  *** DaleStan [] has joined #openttd
06:21:05  *** DaleStan [] has quit [Ping timeout: 480 seconds]
06:22:55  *** DaleStan [] has joined #openttd
06:56:54  *** DaleStan [] has quit [Ping timeout: 480 seconds]
06:57:16  *** DaleStan [] has joined #openttd
07:03:02  *** roboboy [] has quit [Quit: ajax IRC Client]
07:08:52  *** Alberth [] has joined #openttd
07:27:27  *** roboboy [] has joined #openttd
08:31:26  *** roboboy [] has quit [Quit: ajax IRC Client]
09:01:47  *** Sacro [~ben@adsl-87-102-39-137.karoo.KCOM.COM] has joined #openttd
09:02:01  *** Wolf01 [] has joined #openttd
09:02:40  <Wolf01> hello
09:04:34  *** OsteHovel^EEE [] has joined #openttd
09:08:10  <OsteHovel^EEE> Hi all! Im awake.
09:09:46  <Wolf01> OMG he left Matrix
09:12:17  <Gekz> ,
09:13:49  <OsteHovel^EEE> "Make sure AIs can't call functions they shouldn't call." AI's gone more intelligent than humans?
09:16:16  <Gekz> lol
09:16:18  *** OsteHovel^EEE [] has quit [Remote host closed the connection]
09:18:03  *** OsteHovel^EEE [] has joined #openttd
09:20:18  *** OsteHovel_EEE [] has joined #openttd
09:21:20  *** Progman [] has joined #openttd
09:26:53  *** OsteHovel^EEE [] has quit [Ping timeout: 484 seconds]
09:28:05  *** OsteHovel^EEE [] has joined #openttd
09:29:28  *** Roest [] has joined #openttd
09:29:49  <Roest> morning
09:30:27  <db48x> hello
09:30:37  *** OsteHovel_EEE [] has quit [Ping timeout: 480 seconds]
09:32:37  *** Mortomes [] has quit [Quit: Ex-Chat]
09:34:14  *** sigmund_ [] has joined #openttd
09:36:04  *** sigmund [] has quit [Ping timeout: 480 seconds]
09:36:47  *** OsteHovel^EEE [] has quit [Ping timeout: 480 seconds]
09:39:24  *** davis- [] has joined #openttd
09:44:27  *** TinoM [] has joined #openttd
09:47:42  *** michi_cc [] has joined #openttd
09:47:46  *** mode/#openttd [+v michi_cc] by ChanServ
09:51:46  <Alberth> good morning all
09:52:01  <TrueBrain> morning Alberth
09:53:56  *** Zuu [] has joined #openttd
09:55:28  <Zuu> Hello is there some .bat hero here? Anyone know why the date string isn't inserted into the commands?
09:56:33  <Zuu> Or somone knowing how to execute commands like xcopy etc. from within a vbs script.. :s
10:07:57  <TrueBrain> a deep silence hits Zuu :)
10:08:03  <Zuu> Hehe :)
10:08:37  <TrueBrain> ins't str reserved somehow?
10:08:40  <TrueBrain> dunno, wild guess
10:08:58  <Zuu> don't think so, have failed with other variable names too :)
10:09:16  <Roest> my knowledge about that stuff is in deep freeze for like 15 years now
10:10:29  <Zuu> Might just make small delphi application if I can't get it to work :-)
10:13:21  <Zuu> And I am not sure yet if I can make windows-based copy tools to preverse the unix file attributes on an ext2 drive. (using the ext2 driver). Made an ext2 partion on an USB drive just to find out that Windows don't support mounting anything else than the first partion on USB-drives. (and my first partition is reiserfs, which of course don't work with ext2 driver)
10:13:51  <planetmaker> :P
10:14:03  <planetmaker> morning all :)
10:14:25  <Roest> lol reiserfs may kill your wife
10:14:27  <Alberth> good morning planetmaker
10:14:46  <Zuu> Roest: :p Good I don't have a wife then :)
10:14:56  <planetmaker> hello Alberth
10:15:47  <Roest> that was a wikipedia entry on a table comparing file systems, after reiser was convicted for killing his wife
10:16:15  <planetmaker> lol
10:16:59  <Eddi|zuHause> i once tried a reiserfs driver for windows, but it crashed and rebooted each time i tried to access the drive
10:17:23  <Zuu> I think I also tried with raiserfs on Windows with the same results.
10:17:36  <Zuu> Big blue screen if I recall correctly
10:24:26  *** bleepy [] has quit [Ping timeout: 480 seconds]
10:24:37  *** bleepy [] has joined #openttd
10:29:25  *** Eddi|zuHause [] has quit [Remote host closed the connection]
10:29:43  *** Swallow [] has joined #openttd
10:30:25  *** Eddi|zuHause [] has joined #openttd
10:40:00  *** Eddi|zuHause [] has quit [Remote host closed the connection]
10:41:30  *** Sacro [~ben@adsl-87-102-39-137.karoo.KCOM.COM] has quit [Quit: Sacro]
10:41:48  *** OsteHovel^EEE [] has joined #openttd
10:52:47  *** Roujin [] has joined #openttd
10:57:00  <OsteHovel^EEE> Is there a way to play on the map that is the title screen?
10:58:10  <Roujin> yes
10:58:44  <Roujin> you'll see that the stuff you see on the title screen is pretty much faked though :P
10:59:00  <OsteHovel^EEE> i know it just going around
10:59:41  <Roujin> look for opntitle.dat and rename it to [something].sav (or rather copy it)
10:59:49  <OsteHovel^EEE> ok
11:00:14  <Roujin> the other way around, you can make yourself a new title screen ;)
11:00:17  <OsteHovel^EEE> cool
11:00:18  <OsteHovel^EEE> it worked
11:00:20  *** Eddi|zuHause [] has joined #openttd
11:01:09  <OsteHovel^EEE> lol the title screen is a game that has been cheated on
11:03:50  *** Eddi|zuHause2 [] has joined #openttd
11:04:19  <Roujin> well of course..
11:04:26  *** Eddi|zuHause2 [] has quit [Remote host closed the connection]
11:04:29  <Roujin> everything there is faked..
11:04:51  <planetmaker> basic c/c++ question. How do I obtain the length of a string?
11:05:09  <planetmaker> I have a const char *string
11:05:21  *** Eddi|zuHause2 [] has joined #openttd
11:05:31  <Roujin> count until you hit a zero?
11:05:38  <Rubidium> strlen
11:05:46  <planetmaker> there's no size_of() or something?
11:05:52  <planetmaker> thx, Rubidium :)
11:06:34  <Rubidium> sizeof(const char *string) == sizeof(pointer), which is usually 4 for 32 bits CPUs and 8 for 64 bits CPUs
11:06:50  <planetmaker> he :) I guess that's not what I want:)
11:07:21  <Roujin> strlen basically counts until it hits a zero, doesn't it?
11:08:42  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
11:08:46  <OsteHovel^EEE> i changed by title screen
11:08:53  <planetmaker> that'd be fine for me, Roujin :)
11:09:28  <Roujin> yup, just wanted to check..
11:14:24  <Roujin> Rubidium: I'm making a small patch to readd "space" to toggle content items in the content download list (since we now have the widget focus in trunk); should I keep RETURN (only used that as a substitute for space, before we had widget focus), or scrap it?
11:15:18  <OsteHovel^EEE> Keep Return
11:15:26  <OsteHovel^EEE> Keep Return and add Space,...
11:16:51  <Zuu> Roujin: What you can do is to remove the code I added that focuses the edit box by default, and then when one press some key, give the edit box focus.
11:17:20  <Zuu> Then you can use space for selecting items in the list without conflicting with editing the contents of the edit box.
11:17:36  *** bleepy [] has quit [Ping timeout: 480 seconds]
11:18:04  <Zuu> For the filter sign list patch, I use that approach. Edit box is non-focused by default, and when one press the f-key the edit box get focused.
11:18:59  <Roujin> hmm, you have to click somewhere into the list anyway to get something selected
11:19:23  <Roujin> and then the box isn't focused anymore
11:19:37  <Zuu> Then I miss understood, though you would use the arrow keys to select things in the list and then space to select?
11:19:59  <planetmaker> Zuu: apropos filter signs: is there an update to that patch available?
11:20:17  <Zuu> planetmaker: Nope, not untill I get around to do it :)
11:20:25  <planetmaker> hehe :)
11:20:43  <Roujin> yes, but you have to click somewhere in the first place to get you started
11:20:59  <Roujin> when opening the window, nothing is selected
11:21:17  <Zuu> Using space in addition to enter I guess is for convinience as the space bar is usually better placed than enter on *most* keyboards (except mine and a few other who has both space and enter placed on a good location)
11:21:19  <planetmaker> It's just that I'm starting to miss it :)
11:21:22  <Roujin> well actually you can just scroll with arrow keys without clicking on anything before..
11:22:03  <Roujin> Zuu: it's also common for space to select something like checkboxes
11:22:18  <Zuu> Roujin: hmm, yes
11:22:32  <Roujin> while enter usually means "close the window with the ok button"
11:23:36  <planetmaker> Roujin: well, but I think in this case space is better used for selecting an item.
11:23:50  <planetmaker> The text box there - if you want to search, use clicking on it :)
11:24:06  <planetmaker> Tab could activate the textbox :P
11:24:19  <Zuu> If fastforward is moved to ctrl+Tab or something
11:24:42  <planetmaker> he, yeah. Forgot about that.
11:24:51  *** bleepy [] has joined #openttd
11:24:56  *** smeding [] has joined #openttd
11:25:43  <Zuu> Though moving it to ctrl+tab seams fine to me.
11:25:58  <Zuu> But there will be a storm of users claming otherwise :-p
11:26:15  <Roujin> okay I'll now do the following:
11:26:35  <Roujin> textbox not focussed by default;
11:26:58  <Roujin> so one can scroll through the list and press space without clicking somewhere before
11:27:31  <Roujin> and, pressing any other key than the scrolling and selecting ones will focus the textbox.
11:27:56  <Roujin> what do you think?
11:28:57  <planetmaker> good choice imo
11:29:10  <planetmaker> you anyway don't search for things starting with space, do you?
11:29:11  <Zuu> Sounds good, the only thing I am wondering about is making *any* other key focus the edit box. Could do for now. But at some point I guess it would be good if OpenTTD settle for a standard key for that.
11:29:13  *** Vikthor [] has joined #openttd
11:29:25  <Roest> i'm getting the feeling the more passenger i move the more it creates, i had such high hopes in the 747
11:29:38  <Zuu> Ctrl+L (like in a file/web browser) or f (for filter)
11:30:37  *** goodger [] has quit [Ping timeout: 480 seconds]
11:31:11  *** goodger [] has joined #openttd
11:31:35  <Zuu> Adding something like tab on window level, so that not individual windows need to implement it would of course be the best, but would need a definition of which widgets to cycle through.
11:31:57  <Zuu> But for now and Roujins work making any key focus the edit box I guess is sufficent.
11:32:39  *** fjb [] has joined #openttd
11:32:51  <fjb> Hello
11:35:14  <Alberth> Roest: one of the disadvantages of providing a good service :)
11:36:43  <Roest> well i'm playing with cargodest, it seems like it always adjusts to what i'm doing and it's alway several thousand passengers waiting
11:39:12  *** Mortomes [] has joined #openttd
11:40:06  *** |Jeroen| [] has joined #openttd
11:42:18  *** Gekz_ [] has joined #openttd
11:44:10  <Eddi|zuHause2> something is wrong... whenever i hit "submit" in the forum, my browser hangs
11:44:12  *** Eddi|zuHause2 is now known as Eddi|zuHause
11:44:58  <planetmaker> hey fjb
11:44:59  <TrueBrain> Eddi|zuHause: don't hit submit
11:45:10  <Ammler> what is the advantage of having squirrel outside of trunk?
11:45:11  *** roboboy [] has joined #openttd
11:45:26  <Eddi|zuHause> yes, that is a wonderful solution ;)
11:46:02  *** Roujin [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]]
11:46:06  <TrueBrain> Ammler: it might have to do that it has an other copyright owner .. dunno .. just an idea
11:47:22  <Ammler> TrueBrain: thanks, I am in trouble with pulling a hg repo :-)
11:48:04  <TrueBrain> create a patch for Mercurial to support externals
11:48:09  *** Gekz [] has quit [Ping timeout: 480 seconds]
11:48:31  *** Mucht [] has quit [Ping timeout: 480 seconds]
11:52:32  <Ammler> checkout/pull with make?
11:52:59  <Alberth> Ammler: I have a local hg trunk copy, and have manually added the /3rdparty/squirrel files in it (ie that part is a SVN working-copy). 'hg pull' works, except it doesn't update src/3rdparty/squirrel. To compensate, I manually run svn up src/3rdparty/squirrel just before the hg commit. It works, except that after a pull, I have to merge+commit
11:53:06  <Ammler> (or is that too late?)
11:54:03  <Alberth> Ammler: from that trunk copy, I make new clones for patch development
11:54:44  <Alberth> Ammler: with every build?
11:56:30  <Darkvater> TrueBrain: I just realised about the visualisation. I can do the video automatically, probably the text as well through embedded subtitles and some script
11:56:49  *** Swallow [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]]
11:57:01  <TrueBrain> Darkvater: go for it! :p
11:57:08  <Darkvater> but music and the pre/post stuff will be really hard unless there is some text-line videoeditor out there which can render in alpha-mode and overlay different kinds of videos to encode
11:57:17  *** stillunknown [] has joined #openttd
11:57:27  <Darkvater> hi all btw
11:57:42  <TrueBrain> Darkvater: overlaying music is really easy: ffmpeg
11:57:44  <Eddi|zuHause> mencodeR?
11:57:45  *** Swallow [] has joined #openttd
11:57:54  <Darkvater> TrueBrain: eh..the video gets longer and longer :P
11:58:00  <TrueBrain> and concatting movies can most likely be done by ffmpeg too :)
11:58:13  <TrueBrain> Darkvater: so take a music file which is MUCH longer, or put it on a repeat
11:58:15  <Darkvater> Zuu: you need some way of showing the active window for shortcuts that are active in
11:58:25  <Darkvater> TrueBrain: not concatting; overlaying :)
11:58:54  <TrueBrain> well, ffmpeg (or mencoder, the latter uses ffmpeg) allows a lot :)
11:59:10  <Darkvater> I wonder :)
11:59:17  <Darkvater> I used adobe premiere last time
11:59:25  <Zuu> Darkvater: Yes, if one wants to expand the focus stuff more, then more visual feedback is needed.
11:59:43  <Darkvater> most likely only ffdshow people will be able to play the movie now though...
12:00:09  <Darkvater> Zuu: yep..I was thinking windows style :) some slightly differently hued caption bar on the inactive windows
12:00:23  <Darkvater> Zuu: with that your patch would be complete
12:00:36  <Darkvater> and I can bug someone else about implementing user-defined keyboard shortcts
12:01:16  <Zuu> Well, there is still the issue that if you close a window no other window overtake the global focus.
12:01:19  <planetmaker> There exists even some patch to do that... in a fashion; not sure about its quality
12:01:32  <Zuu> st256 made a patch for configurable hotkeys
12:01:43  <Zuu> it is in the development section of the forums.
12:01:48  <Darkvater> Zuu: are you sure? cause windows are "stacked" on top of eachother so the one on top is active
12:02:16  <Darkvater> Zuu: if I'm not mistaken it still works taht way. the keygrabber just iterates over your windows stack selecting the first window that handles that key
12:02:24  <Darkvater> fucking hell, what's up with this lag....
12:02:47  <Darkvater> oh, it's me :P
12:03:04  <Zuu> The reasons I have heard for why there is no way to close the topmost window is that OpenTTD don't keep the windows stored in complete up-to-down structure. But I could be wrong.
12:03:30  <Darkvater> unless it's been completely changed it was a Window*[] array
12:03:46  <Darkvater> the hotkey patch was something wrong ith
12:04:16  <Zuu> Iterating over windows is a pre-defined order if I recall correctly. That is why OSK behves slightly different when opened from the chat message window compared to opened from any other edit box window.
12:04:39  *** OsteHovel^EEE [] has quit [Quit: Leaving]
12:04:41  <Zuu> But I need to go now and have a battle against Excel :)
12:04:46  <Darkvater> Zuu: pre-defined: top-down starting with most recenly opened, or activated one
12:04:50  <Darkvater> I think :P
12:07:37  <Alberth> Darkvater, Zuu: Source code suggests first the focussed window, then front-back for key handling
12:07:50  <Darkvater> isn't that what I said?
12:08:04  <Zuu> focused window is _focused_window pointer though
12:08:20  <Zuu> And is not always the top-most window.
12:08:29  <Darkvater> but that is, or then was top-most
12:09:05  <Alberth> Darkvater: As for Window*[], it is gone :) , we now have 2 lists, one from front to back, and one from back to front
12:09:12  <Darkvater> though I read some changelog that window handling was changed to allowmore than some fixed number
12:09:25  <Zuu> I'm gone now for a few hours...
12:09:30  <Darkvater> Alberth: array or linked list?
12:09:46  <Darkvater> seems wasteful ;)
12:09:48  <Darkvater> by Zuu
12:10:17  <Alberth> Darkvater: two lists:
12:10:54  <planetmaker> bye, Zuu
12:11:05  * Darkvater doesn't say anything
12:11:20  <Alberth> we probably need to back-to-front for removing 'old' ones
12:11:29  <Darkvater> (but he cannot see the advantages of double-bookkeeping whilc you can just iterate the other way)
12:12:10  <Eddi|zuHause> what speaks against using "std"-types like a queue for windows?
12:12:29  *** ecke [~ecke@] has joined #openttd
12:13:31  <Alberth> Eddi|zuHause: I once made a patch for that, but it was refused. One of the devs wanted to keep Window* for iterating iirc
12:13:37  *** ecke_ [~ecke@] has quit [Read error: Connection reset by peer]
12:14:01  <Darkvater> TrueBrain: I'll see if it's possible to add moving watermarks to a video through ffmpeg..or at least a different png every frame
12:14:09  <planetmaker> Eddi|zuHause: I *think* it was refused due to memory overhead. But not sure
12:14:38  <TrueBrain> Darkvater: if you like :) I mean, it might be nice and cool to have, but not really something we should have ;)
12:14:45  <Eddi|zuHause> what kind of significant memory overhead can one queue have over two lists?
12:15:08  <planetmaker> I've no idea :)
12:15:41  <Darkvater> TrueBrain: it's pretty useless withouth; any non-dev won't be able to tell tail from head of the video
12:16:02  <TrueBrain> Darkvater: I meant the movie in general :)
12:16:14  <TrueBrain> hmm .. forgetting a 'break' in a switch can have nasty side-effects  ...
12:16:53  <Alberth> To quote the reasons: "... this change does NOT: simplify code, make faster ot smaller binary, improve readability"
12:17:14  <Alberth> TrueBrain: yeah, like reaching the 'default: NOT_REACHED();' :)
12:18:21  <Darkvater> we should use BOOST_FOREACH ;)
12:18:33  <TrueBrain> Darkvater: I rather die :p
12:18:55  <Darkvater> haha
12:19:12  <Darkvater> I looked at the preprocessed output of the BOOST_FOREACH macro and it was 3000 lines of code
12:19:24  <Darkvater> eh, I mean a single line of code but 3000 characters long
12:19:27  <TrueBrain> it is insane to want to use that in C++ ....
12:20:06  <Eddi|zuHause> wtf?
12:20:13  <Darkvater> I'd much rather use BOOST_FOREACH(mylist::reference, list) than for(mylist::iterator i = list.begin(); i != list.end(); i++) {element &el = *i)
12:20:37  * Darkvater can't wait till C0x
12:21:03  * el_en wonders if it'll be C++0x or C++1x
12:21:16  <TrueBrain> Darkvater: if that was all it does ... you could write your own macro for that to ;)
12:21:33  <Darkvater> TrueBrain: but it's smarter :)
12:21:36  <TrueBrain> Darkvater: the BOOST framework is nice .. but their templates are WAY too deep .......
12:21:47  <Darkvater> it can handle fixed arrays, etc.
12:21:56  <Darkvater> TrueBrain: defintely agree
12:22:00  <TrueBrain> so one function to rule them all ;)
12:22:13  <Darkvater> some idiot at work decided to boost the whole application while I was porting it to the GPU
12:22:14  <TrueBrain> I rather have 10 functions to rule a few of them :p
12:22:17  *** Zahl [] has joined #openttd
12:22:30  <Darkvater> had to transcode all 'em fcking boost functions to get it to work
12:22:48  <Darkvater> I hate, but admire boost :)
12:23:06  <TrueBrain> the idea is nice
12:23:16  <Darkvater> eey
12:23:20  <Darkvater> [alton]cnicol1: ./ffmpeg -i ~/groupjast/secondlife/SL8/SL8/SL8.mpg
12:23:20  <Darkvater> > -vhook 'vhook/ -f
12:23:20  <Darkvater> > ~/groupjast/secondlife/SL8/SL8/SL8.eyetest.mpg' -an SL8.merged.mpg
12:23:29  <Darkvater> it seems it's possible :)
12:23:36  <TrueBrain> so go for it :)
12:23:41  <Darkvater> I think
12:23:59  <Darkvater> no time atm
12:24:05  <Darkvater> todo.push_back(video);
12:24:13  <TrueBrain> you use a fifo for that?
12:24:21  <TrueBrain> sounds like terrible way of doing things. ...
12:25:00  <Darkvater> this way I only see the first task and not get depressed by everything that's behind
12:25:07  <Darkvater> my .size() function is private :P
12:25:16  <TrueBrain> other queues have a top() and peek() too you know ;)
12:25:25  <Darkvater> 'tis a custom fifo
12:25:33  <TrueBrain> without priorities? :)
12:25:38  <TrueBrain> so random orderning :p
12:25:38  <Darkvater> yes
12:25:53  <TrueBrain> oh well, I guess we can use an other Bjarni in this project :p
12:25:57  <TrueBrain> (oh, that is nasty :p)
12:26:04  * TrueBrain hugs Darkvater :p
12:26:11  <Darkvater> *g*
12:26:44  <Darkvater> << we should make a movie of this :)
12:27:03  *** frosch123 [] has joined #openttd
12:27:12  <TrueBrain> Darkvater: yup, we could :)
12:27:26  <TrueBrain> start collecting the pngs :p
12:28:08  *** Mucht [] has joined #openttd
12:28:18  * Darkvater assigns Mucht to the task
12:28:29  <Darkvater> fear my @
12:28:34  <Darkvater> ^_^'
12:29:16  <Darkvater> kkies, be back soon :)
12:37:39  <TrueBrain> how do you call a collection of encoders and decoders?
12:38:14  *** tkjacobsen [] has joined #openttd
12:38:19  *** davis_ [] has joined #openttd
12:39:40  *** GoneWacko [] has quit [Remote host closed the connection]
12:39:56  <Alberth> codecs?
12:40:12  <TrueBrain> I guess .. just calling bzip a codec sounds weird
12:40:25  <TrueBrain> well .. not really an encoder too I guess
12:45:46  *** davis- [] has quit [Ping timeout: 480 seconds]
12:46:13  <Eddi|zuHause> in my experience, making movies of simple graphs as these is difficult, because if the graphs are created independently, the nodes tend to jump all around the place
12:47:00  <Eddi|zuHause> if you want to make the movie more smoothly, you need a way to have the nodes have an affinity to their position in the previous graph
12:52:29  *** Elukka [] has joined #openttd
13:00:33  <Elukka> strange
13:00:36  <Elukka> the game actually crashed
13:02:38  <Gekz_> TrueBrain: compressor/decompresso
13:04:46  * Darkvater conjures Celestar
13:04:51  <Darkvater> finish cargodest dammit
13:08:49  <planetmaker> I'm for swedish cargodest :P
13:10:07  <Aali> swedish cargodest? shitty railway on a map thats so small a bus can scale it in a day? :P
13:10:10  <Rubidium> bork?
13:10:25  <Rubidium> or rather borked?
13:10:42  <kingj> Cargodest is mental on huge maps
13:11:13  <planetmaker> hehe :)
13:12:37  <Elukka> cargodest is a beautiful thing
13:13:03  <Rubidium> with a beautifully long list of issues and bugs
13:13:22  <planetmaker> :P
13:14:31  <Elukka> meh, i havent ran into anything gamebreaking
13:24:14  <kingj> I've not run into any bugs, but I can't figure out how some things make a Cost
13:24:39  <kingj> It really does make parts of the network crumble though, 15k passengers at a single station, hmm
13:24:56  <Elukka> heh, you really have to make sure all your connections work
13:25:44  <kingj> Yeah
13:26:03  <kingj> It makes the game a lot more fun, since you actually have an incentive to connect every town, and not just make some huge A to B line
13:26:55  <Aali> whats the incentive to connect every town?
13:27:11  <Aali> the huge A to B line will still work just as well
13:27:13  <kingj> Maximun passengers
13:27:16  <Aali> no
13:27:25  <Aali> you still get the same amount of passengers
13:27:52  <kingj> Well, cargopax seems to give me more of an incentive to connect everything rather than just have a few huge A-B lines
13:28:10  <Elukka> do you actually get the same amount of passengers?
13:28:16  <Aali> yes
13:28:27  <Aali> cargodest does not affect cargo generation at all
13:29:07  <Aali> if there's only one possible destination, you'll get a billion passengers wanting to go there, no matter how small or far away it may be
13:30:21  <Eddi|zuHause> <planetmaker> I'm for swedish cargodest :P <- "some assembly required"?
13:30:26  <Elukka> A-B is boring, though :P
13:30:27  *** SHRIKEE [] has joined #openttd
13:31:00  *** Zahl_ [] has joined #openttd
13:31:00  *** Zahl [] has quit [Read error: Connection reset by peer]
13:31:00  *** Zahl_ is now known as Zahl
13:32:00  *** glx [] has joined #openttd
13:32:03  *** mode/#openttd [+v glx] by ChanServ
13:46:29  *** Mortal [] has joined #openttd
13:57:37  *** Rexxie [~rexxars@] has joined #openttd
13:58:04  *** nfc [] has quit [Read error: Connection reset by peer]
14:08:30  *** |Jeroen| [] has quit [Quit: oO]
14:09:07  *** SHRIKEE [] has quit [Quit: SHRIKEE]
14:21:35  *** Sacro [~ben@adsl-213-249-223-5.karoo.KCOM.COM] has joined #openttd
14:22:54  *** KritiK [] has joined #openttd
14:31:33  *** davis_ [] has quit [Read error: Connection reset by peer]
14:34:04  *** Dred_furst [] has joined #openttd
14:34:11  <kingj> Is there something in Cargopax (or the build it's based off) that makes towns adverse to building level crossings?
14:35:00  <Rubidium> signals? diagonal rail?
14:40:58  *** OsteHovel^EEE [] has joined #openttd
14:47:00  *** Timitry [] has joined #openttd
14:50:46  *** HerzogDeXtEr1 [~Flex@] has joined #openttd
14:53:48  *** frosch123 [] has quit [Remote host closed the connection]
14:56:30  <Elukka> you could build them yourself if the town doesnt wanr ro
14:56:33  <Elukka> want to*
14:57:42  *** HerzogDeXtEr [~Flex@] has quit [Ping timeout: 480 seconds]
14:59:48  <kingj> In the entire map, there is not a single town built level crossing
15:00:06  <Elukka> well, that's weird
15:00:18  <kingj> I'm not complaining however, it means I can build safe track crossings rather than watch my road vehicles get murdered by town civil engineering excellence
15:00:21  <Elukka> i remember there was a level crossings on diagonal tracks patch once.. it was handy
15:02:44  *** Timitry [] has quit [Read error: Connection reset by peer]
15:04:40  *** Timitry [] has joined #openttd
15:06:02  *** Mortal [] has quit [Remote host closed the connection]
15:06:24  *** Mortal [] has joined #openttd
15:09:42  *** OsteHovel^EEE [] has quit [Ping timeout: 480 seconds]
15:17:01  *** NukeBuster [~wouter@] has joined #openttd
15:25:11  *** OsteHovel^EEE [] has joined #openttd
15:25:21  *** Mist [] has left #openttd []
15:36:16  *** StarLionIsaac [] has joined #openttd
15:37:32  *** welterde [] has quit [Ping timeout: 480 seconds]
15:42:55  *** Brianetta [] has joined #openttd
15:45:07  *** goodger [] has quit [Ping timeout: 480 seconds]
15:45:48  *** goodger [] has joined #openttd
15:45:52  *** OsteHovel^EEE [] has quit [Quit: Leaving]
15:46:31  *** Mortal [] has quit [Read error: Connection reset by peer]
15:47:53  *** Mortal [] has joined #openttd
15:49:13  *** NukeBuster [~wouter@] has quit [Quit: using sirc version 2.211+KSIRC/1.3.12]
15:49:48  *** StarLionIsaac [] has quit [Quit: Gone for an insanity break]
15:51:32  *** Mortal [] has quit [Read error: Connection reset by peer]
15:52:18  *** Mortal [] has joined #openttd
15:52:26  *** GoneWacko [] has joined #openttd
15:53:16  *** Mortal [] has quit [Read error: Connection reset by peer]
15:55:05  *** darth [] has quit [Quit: I'll be back]
15:55:28  <Roest> hmm does anyone understand michi's advanced pbs signals?
15:55:40  <Aali> advance signals
15:55:50  <Roest> yes those
15:55:56  <Elukka> no, but i like how that sounds :P
15:55:58  <Elukka> what are they?
15:56:20  <Aali> basically, for every advance signal, the train will try to reserve one additional PBS segment
15:56:49  <Elukka> ah
15:57:03  <Elukka> ...what's the point?
15:57:16  <glx> it's similar to yellow signal IRL IIRC
15:57:24  <Aali> you can build priorities and stuff
15:57:33  <Elukka> right
15:58:15  <Eddi|zuHause> in the long term, trains should slow down when such a reservation fails
15:58:29  <Eddi|zuHause> in order to avoid stopping at every red signal, when the train ahead is slower
15:58:31  *** goodger [] has quit [Ping timeout: 480 seconds]
15:59:56  *** goodger [] has joined #openttd
16:05:53  *** frosch123 [] has joined #openttd
16:06:56  *** bleepy [] has quit [Ping timeout: 480 seconds]
16:07:02  *** const86 [] has joined #openttd
16:07:31  *** bleepy [] has joined #openttd
16:08:20  *** Fuco [~dota.keys@] has joined #openttd
16:14:53  <Roest> ok the this new the signals show up in the signal menu but on the track i get red question marks
16:15:05  <Roest> and yes i have the adv_signals.grf
16:17:04  <Elukka> is it just me, or did planes use to slow down a lot more near airports?
16:20:12  *** Forked [] has quit [Remote host closed the connection]
16:25:46  *** yerich [] has joined #openttd
16:25:58  *** yerich [] has quit []
16:27:27  *** nfc [] has joined #openttd
16:28:58  *** Zahl_ [] has joined #openttd
16:28:58  *** Zahl [] has quit [Read error: Connection reset by peer]
16:28:58  *** Zahl_ is now known as Zahl
16:31:06  *** goodger [] has quit [Ping timeout: 480 seconds]
16:32:20  *** goodger [] has joined #openttd
16:44:22  *** OsteHovel^EEE [] has joined #openttd
16:44:40  <OsteHovel^EEE> i got the nightly to crash widout meaning it...
16:45:14  <OsteHovel^EEE> *svn
16:45:29  *** Zr40 [] has joined #openttd
16:45:59  *** Mortomes [] has quit [Remote host closed the connection]
16:46:26  *** Zr40 [] has quit []
16:46:36  <OsteHovel^EEE> i have a server at home that running dedicated server(svn dl'ed 3 houres ago, and compiled myself with SDL, Allegro, Network, everything) and runned it with openttd -D, then i have my laptop connected to internet via my PDA at EDGE speed(256kbit/s) and i connected to the server and it crashed with this messaage:
16:46:37  <OsteHovel^EEE> i have a server at home that running dedicated server(builded with
16:46:39  <OsteHovel^EEE> *ops
16:46:50  <OsteHovel^EEE> Error: [net] Trying to execute a packet in the past!
16:46:50  <OsteHovel^EEE> openttd: /home/ostehovel/openttd/trunk/src/openttd.cpp:115: void error(const char*, ...): Assertion `0' failed.
16:46:50  <OsteHovel^EEE> Aborted
16:47:28  <OsteHovel^EEE> trying to recreate
16:48:41  <OsteHovel^EEE> I cant recreate it...
16:56:24  <OsteHovel^EEE> hmm
16:57:47  <Zuu> Hello, thats indeed strange :)
16:58:09  <OsteHovel^EEE> feature that dosent work(bug?) if i go into patches settings and go to: Interfaces -> Interaction -> Function of scrollwheel and if i set that to "Scroll Map", and try to scroll the map with the mousewheel it dosent work...
16:58:33  <OsteHovel^EEE> but the zoom-mousewheel works if i set the settings to zoom insted of scroll map
17:01:02  *** Timitry [] has quit [Read error: Connection reset by peer]
17:01:10  <Zuu> No idea, since I can't zoom in with my keyboard I always use the zoom functionality of the scroolwheel.
17:04:33  <OsteHovel^EEE> i got a eee 901 that has support for Two-Finger on the mousepad is the same as scrollwheel
17:04:57  <OsteHovel^EEE> but hold right-click  + move the mouse works fine too...
17:10:08  <planetmaker> [17:57]	<Roest>	[17:15:05] and yes i have the adv_signals.grf <-- you have to activate it via newgrf menu
17:10:48  <planetmaker> and they make even more sense with the slow-down patch hack
17:15:13  *** SHRIKEE [] has joined #openttd
17:23:13  *** Alberth [] has left #openttd []
17:23:26  <Elukka> hmm
17:23:39  <Elukka> does PBI have limited amounts of stuff in mines?
17:24:16  <Sacro> yes
17:27:11  <Elukka> aww, and no parameter to disable it either
17:27:21  <Elukka> the wiki page says they are an "unmodified ttd industry"
17:29:06  <Elukka> well, guess i could go back to the old grf
17:29:45  <Elukka> it doesnt have some pretty graphics though
17:30:22  <Ammler> old grf?
17:31:04  <Elukka> uk renewal industries
17:31:44  <Elukka> i just cant be bothered to build elaborate track systems to service industries that are guaranteed to close
17:35:57  <Elukka> hmm... apparently this feature isnt in older versions of pbi, i wonder if i can find one somewhere
17:38:35  <Elukka> i wonder if i'm going to lose a ton of other features by going back to an old version /:
17:39:02  *** OsteHovel^EEE [] has quit [Ping timeout: 480 seconds]
17:40:55  <Rubidium> hmm, isn't scrollwheel scrolling mightymouse only?
17:42:12  <Rubidium> or is that something else altogether?
17:42:47  <Elukka> meh, i'll just use UKRSI
17:44:01  *** Eddi|zuHause2 [] has joined #openttd
17:46:05  *** Forked [] has joined #openttd
17:47:54  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
17:48:23  *** Mortal [] has joined #openttd
18:00:06  *** OsteHovel^EEE [] has joined #openttd
18:01:20  *** tokai|ni [] has quit [Quit: icebears... take care of them!]
18:02:57  *** StarLionIsaac [] has joined #openttd
18:10:22  *** davis- [] has joined #openttd
18:10:43  *** TrueBrain [] has left #openttd [So long and tnx for all the fish]
18:12:49  * davis- hi
18:15:27  *** tokai [] has joined #openttd
18:15:30  *** mode/#openttd [+v tokai] by ChanServ
18:16:09  *** kd5pbo [~kd5pbo@] has joined #openttd
18:19:48  *** StarLionIsaac [] has quit [Quit: Gone for an insanity break]
18:26:42  *** kd5pbo [~kd5pbo@] has quit [Remote host closed the connection]
18:31:14  *** tokai [] has quit [Ping timeout: 480 seconds]
18:33:17  *** tokai [] has joined #openttd
18:33:20  *** mode/#openttd [+v tokai] by ChanServ
18:49:38  *** lanaiya [] has joined #openttd
18:51:18  <lanaiya> hi, kann mir jemand mal schnell erklÀren was die bedingungen fÃŒr das anbauen eines bahnhofes an einen flughafen sind. im online game sehe ich immer welche die mit bushaltestellen vom flughafen weg und dann dicke bahnhöfe dran bauen. das geht bei mir aber nicht. ich bekomme als die meldung bahnhof zu groß??
18:52:10  <glx> english only please
18:52:51  *** Eddi|zuHause2 is now known as Eddi|zuHause
18:52:53  *** Mortomes [] has joined #openttd
18:53:14  <frosch123> increase "station spread" in advanced settings
18:53:16  <Eddi|zuHause> lanaiya: you want to increase the station spread setting in the advanced settings
18:55:28  *** fjb [] has quit []
18:55:41  <lanaiya> ok thank you
19:01:31  *** stillunknown [] has quit [Ping timeout: 480 seconds]
19:03:33  *** Elukka [] has quit []
19:04:33  *** Mortal [] has quit [Quit: from __future__ import antigravity]
19:04:52  *** sigmund [] has joined #openttd
19:06:40  *** sigmund_ [] has quit [Ping timeout: 480 seconds]
19:16:06  *** vumoryhis [~vumoryhis@] has quit [Read error: Connection reset by peer]
19:25:20  *** wycah [~wycah@] has joined #openttd
19:26:06  *** wycah [~wycah@] has quit [Remote host closed the connection]
19:26:43  *** lanaiya [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]]
19:33:42  *** cyqu [~cyqu@] has joined #openttd
19:48:22  *** Eddi|zuHause2 [] has joined #openttd
19:49:46  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
19:54:08  *** davis- [] has quit [Quit: ( :: NoNameScript 4.2 :: )]
19:54:39  *** Eddi|zuHause [] has joined #openttd
19:55:04  *** welshdragon [~welshdrag@] has quit [Quit: Caught signal 15, Terminated]
19:55:12  *** welshdragon [~welshdrag@] has joined #openttd
19:57:39  <Roest> hey dihedral
19:58:32  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
20:00:55  *** Eddi|zuHause2 [] has joined #openttd
20:02:51  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
20:09:05  <dihedral> sup roboboy
20:09:07  <dihedral> ops
20:09:10  <dihedral> Roest :-P
20:16:36  *** lhrios [] has joined #openttd
20:17:11  *** Sacro [~ben@adsl-213-249-223-5.karoo.KCOM.COM] has quit [Quit: Sacro]
20:20:21  <Roest>  last post :)
20:21:11  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
20:22:56  <dihedral> post before last "Evern my g/f likes it"
20:23:17  <dihedral> cute
20:23:19  <dihedral> oh my
20:23:39  <dihedral> i'd kick him from my server if he joins and starts talking about it :-P
20:23:58  *** Yexo [] has quit [Quit: bye]
20:24:14  *** Yexo [] has joined #openttd
20:24:58  <dihedral> <- where is he?
20:25:04  <dihedral> @seen Bjarni
20:25:04  <DorpsGek> dihedral: Bjarni was last seen in #openttd 5 weeks, 2 days, 0 hours, 55 minutes, and 59 seconds ago: <Bjarni> hi Wolf01
20:25:06  <dihedral> ....
20:25:12  <dihedral> that is cheating
20:26:40  <Rubidium> g/f = gayfriend?
20:30:04  *** roboboy [] has quit [Quit: ajax IRC Client]
20:32:13  <dihedral> g/f = x ; g = f*x; g/x = f; x = f*g...........
20:32:35  <dihedral> something went wrong
20:32:37  <dihedral> :-P
20:37:03  *** Eddi|zuHause [] has joined #openttd
20:40:51  *** Dred_furst [] has quit [Read error: Connection reset by peer]
20:46:30  *** SHRIKEE [] has quit [Quit: SHRIKEE]
20:50:02  *** Sacro [~ben@adsl-87-102-39-137.karoo.KCOM.COM] has joined #openttd
20:56:01  *** const86 [] has quit [Quit: I'll be back]
20:56:51  *** frosch123 [] has quit [Remote host closed the connection]
20:56:59  *** TinoM [] has quit [Quit: Verlassend]
20:57:52  *** const86 [] has joined #openttd
21:00:11  *** lewymati [] has joined #openttd
21:02:36  *** OsteHovel^EEE [] has quit [Remote host closed the connection]
21:11:18  <el_en> @seen MeusH
21:11:18  <DorpsGek> el_en: MeusH was last seen in #openttd 10 weeks, 4 days, 20 hours, 17 minutes, and 24 seconds ago: <meush> but that would be called by TV  "bringing peace"
21:13:43  <Roest> advance signals are pretty cool
21:17:11  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
21:18:41  *** Swallow [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.6/2009011913]]
21:19:12  *** Eddi|zuHause [] has joined #openttd
21:20:43  *** kd5pbo|work [~kd5pbo@] has joined #openttd
21:22:05  <Zuu> Hmm, copying 10 GB from one partion to another on the same USB1 connected disk takes time... :-)
21:22:28  <Eddi|zuHause> why the hell would you connect a disk with USB1?
21:22:40  <Zuu> Because my laptop don't has USB2
21:22:50  *** kd5pbo|work [~kd5pbo@] has quit []
21:22:59  <Eddi|zuHause> i can has usb3?
21:23:57  <Zuu> Sure, but I havn't used external disks very much before, so I haven't seen much reason to buy a USB2 PCMCIA card.
21:25:12  *** kd5pbo|work [~kd5pbo@] has joined #openttd
21:26:01  <dihedral> Zuu, then you should use firewire ;-)
21:26:14  <Rubidium> firewire is no more
21:27:10  <Zuu> dihedral: I would love to use that if it wasn't that expanisve.. .)
21:29:55  *** Jack [] has joined #openttd
21:30:48  *** Jack [] has quit []
21:30:55  *** Jack [] has joined #openttd
21:37:04  *** lewymati [] has quit []
21:37:27  *** Jack [] has quit [Quit: Bye for now!]
21:49:35  *** pleeby [] has joined #openttd
21:49:35  *** bleepy is now known as Guest179
21:49:35  *** pleeby is now known as bleepy
21:49:49  <db48x> flyspray is odd
21:50:12  <Wolf01> 'night
21:50:21  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
21:51:34  *** Guest179 [] has quit [Ping timeout: 480 seconds]
21:52:14  *** Eddi|zuHause [] has quit [Remote host closed the connection]
21:52:59  <db48x> not necessarily more odd than other bug trackers I've used, but odd
21:53:09  <Yexo> db48x: in newgrf_industries.cpp there already is a function GetClosestWaterDistance, maybe you can use that one instead of copying it
21:53:34  <Yexo> openttd uses tabs, not spaces to indent lines
21:53:51  <db48x> mmm
21:54:04  <Yexo> if (a) { <- the { should be on the same line after an if/for/while, on the next line for a function/class
21:54:25  <Yexo> when using multiline comment, prepend each line with '*', not just the first one
21:54:41  <Zuu> and there should be a space between if and (, which I always forget :-p
21:55:02  <Yexo> and when using an else, always use { and }
21:55:13  <db48x> heh, GetClosestWaterDistance doesn't reuse CircularTileSearch
21:55:18  <db48x> though perhaps the latter is the newer function
21:55:27  <db48x> yea, tabs :(
21:55:41  <db48x> do you guys mind if I add emacs mode lines to the files I edit?
21:55:49  <db48x> that way I can turn on tabs just for these files
21:56:05  <Yexo> as long as you remove them again before uploading your patch nobody cares
21:56:33  <Yexo> just add those lines, create a patch of them, so after editing you can remove them with patch -R
21:56:44  <db48x> that's even worse
21:56:54  <Roest> life sucks
21:57:13  <db48x> I guess I can hack my .emacs to have different defaults when the file is in this directory

21:59:35  <Yexo> heh, GetClosestWaterDistance doesn't reuse CircularTileSearch <- Right, maybe GetClosestWaterDistance should be rewritten
22:00:02  <Yexo> dunno really
22:00:32  <db48x> also, it's not in the header, so

22:00:38  <db48x> is there a good place to move it?
22:00:46  <db48x> it's not like the function is specific to either industries or towns
22:00:50  <Yexo> map.cpp/map.h
22:00:53  <db48x> ok
22:01:01  <Yexo> map_func.h to be precise
22:03:20  <Yexo> SmatZ: any particular reason GetClosestWaterDistance is not already using CircularTileSearch?
22:04:16  <Yexo> db48x: please set reported version to trunk next time
22:04:39  <db48x> Yexo: yea
22:06:04  *** Mortal [] has joined #openttd
22:07:19  <Rubidium> Yexo: because the former predates the latter?
22:07:30  *** Eddi|zuHause [] has joined #openttd
22:09:21  <Yexo> Rubidium: CircularTileSearch was updated in r13632, while SmatZ has rewritten GetClosestWaterDistance in r14417
22:10:52  *** Ailure [] has joined #openttd
22:11:52  <Rubidium> ah...
22:12:05  <Rubidium> CircularTileSearch searches [], GetClosestWaterDistance <>
22:13:10  <petern> technical description
22:14:27  <Rubidium> the latter searches with increasing DistanceManhattan, which is useful when you're searching for the closest manhattan distance wise
22:18:09  <Eddi|zuHause> so call them CircularSearchManhattan and CircularSearchMax?
22:20:16  <Yexo> that explains it, thanks Rubidium
22:21:12  *** Zahl_ [] has joined #openttd
22:23:02  <SmatZ> [23:03:24] <Yexo> SmatZ: any particular reason GetClosestWaterDistance is not already using CircularTileSearch? <== performance
22:23:29  <SmatZ> searching 512x512 tiles isn't desired
22:25:37  <db48x> CircularTileSearch does take a max "radius"
22:25:57  <db48x> which is really the length of the side of the box it searches, not the radius
22:26:48  <SmatZ> ok, I had a look at CircularTileSearch :)
22:26:59  <SmatZ> ... and back to the bed ...
22:27:17  <db48x> we could replace the guts of CircularTileSearch with most of GetClosestWaterDistance, and make the latter call the former
22:27:30  <db48x> the callers of CircularTileSearch wouldn't know the difference
22:28:11  <db48x> but I'll let someone else do that
22:28:17  <SmatZ> sorry, to sleepy to think :-x
22:28:46  *** Zahl [] has quit [Ping timeout: 480 seconds]
22:28:46  *** Zahl_ is now known as Zahl
22:29:06  *** Brianetta [] has quit [Quit: TschÌß]
22:29:09  <Rubidium> db48x: actually, people will find the difference
22:29:46  <Rubidium> cause subsidies will then only work in about half the area it does now
22:31:03  *** Gekz_ [] has quit [Read error: Operation timed out]
22:31:37  <db48x> heh
22:32:54  <db48x> oops, forgot a semicolon
22:33:10  <db48x> at the very end of a header too
22:33:42  *** Eoin [] has joined #openttd
22:33:49  <Eoin> ANyone here used ECS vectors?
22:35:08  <el_en> No, but interestingly IMDb says that Christopher Lee speaks fluent German and good French.
22:35:16  <dihedral> Eoin, if you say what's on your mind we are more able to help you
22:35:31  <Eoin> well
22:35:35  <Eoin> what makes money
22:35:41  <Rubidium> I think George might've used ECS vectors at least once ;)
22:35:47  *** Gekz [] has joined #openttd
22:35:47  <Eoin> har har Rubidium :P
22:35:49  <dihedral> Rubidium, lol
22:36:07  <Eoin> ive done Sand+Lime > Cement works, Cement > Construction industry
22:36:13  <Eoin> but i didnt earn anything for any of the stages
22:36:34  <Yexo> Eoin: are you using a nighlty between r14383 and 15494 (included)? If so, please update
22:36:42  <Eoin> 15480
22:36:55  <dihedral> update :-P
22:36:57  <dihedral> just in case
22:37:00  <Yexo> that bug was fixed in 15495
22:37:17  <Eoin> oh lol
22:37:24  <db48x> heh
22:37:26  <Eoin> i got the nightly today, obviously before 95
22:37:30  <Yexo> why does that bug go unnoticed for more than a week, and suddenly 3 reports within 24 hours?
22:37:58  <Eoin> lol
22:38:07  <Rubidium> Yexo: standard user behaviour
22:39:08  <Eoin> ive never tried the vectors till now
22:39:13  <Eoin> dont shoot the messenger :)
22:39:37  <Yexo> Eoin: nothing against you, it's good that you report it :)
22:39:42  <Eoin> lo
22:39:46  *** tkjacobsen [] has quit [Read error: Connection reset by peer]
22:40:16  <Roest> hmm 12k passengers waiting in a town of 16k, guess they don't like it there very much
22:42:14  <Ammler> Roest: or they like the town very much, many villages have around double tourists then habbitants
22:44:17  <kd5pbo|work> When's the next stable release coming out?
22:44:30  *** lhrios [] has quit [Remote host closed the connection]
22:44:38  <Yexo> kd5pbo|work: most likely this year
22:44:40  <el_en>  (1:20 ->)
22:44:55  *** lhrios [] has joined #openttd
22:45:00  <Rubidium> together with the next stable of Debian?
22:45:12  <Roest> ^^
22:46:21  <Roest> the institute i work for has a very conservative IT boss, we still use debian 3.5 there :(
22:46:42  <petern> really
22:46:47  <petern> as there's no such thing...
22:46:49  <dihedral> Yexo, love you answer
22:47:18  <Roest> petern ?
22:47:24  <petern> "this year" is far too specific
22:47:42  <Yexo> petern: that's why I added "most likely" :p
22:47:47  <dihedral> petern, "not in the near future" ?
22:48:00  <Prof_Frink> petern: What about our old friend "When it's done"?
22:48:23  <petern> Roest: "3.5"
22:48:35  <petern> Prof_Frink: that's highly unlikely
22:48:41  <welshdragon> where can i find r15480?
22:48:42  <Roest> isnt etch 3.5?
22:48:46  <petern> no
22:48:55  <kd5pbo|work> Reason I ask is servers online seem to be using the latest stable version.
22:49:14  <Prof_Frink> petern: How about "When we can be bothered"?
22:49:35  <Roest> umm
22:49:49  <petern> possibly
22:49:58  * welshdragon feels ignored
22:50:14  <welshdragon> where can i find r15480?
22:50:18  <dihedral> kd5pbo|work, and you expect all of them to run 0.7 once it's out?
22:50:21  <Roest> on the svn
22:50:28  <dihedral> welshdragon,
22:50:36  <welshdragon> thank you dihedral
22:50:57  <kd5pbo|work> Well, I'd expect some of them would change.
22:51:42  *** Progman [] has quit [Remote host closed the connection]
22:51:46  <Roest> petern ok my bad :) though it's still really effing old
22:52:03  <petern> anyway
22:52:12  <petern> it's that current stable release
22:52:16  <petern> that's why people use it
22:52:32  <petern> well
22:52:41  <petern> parse that as something that parses
22:52:56  <dihedral> kd5pbo|work, you could just as well play some nightly
22:53:09  <kd5pbo|work> I could.
22:53:14  <kd5pbo|work> Then I'd have to update every day.
22:53:33  <Roest> well stable...
22:54:14  <dihedral> kd5pbo|work, you would not have to update every day
22:54:22  <dihedral> you dont have to play the latest nightly everyday
22:54:34  <kd5pbo|work> Well, what do servers typically run?
22:54:41  <dihedral> in fact - i personally would welcome you not playing the latest nightly online every day
22:54:47  *** stillunknown [] has joined #openttd
22:55:09  * Roest plays the latest nightly every day and night
22:55:19  <dihedral> kd5pbo|work,
22:55:19  <dihedral> Roest, just not online ;-)
22:56:29  <kd5pbo|work> Mixed bag.
22:56:36  <kd5pbo|work> h3b244a8f <-- What's this version?
22:56:49  <Yexo> kd5pbo|work: looks like an hg version
22:56:53  <Yexo> using cargodest?
22:57:27  <kd5pbo|work> What's an hg version?
22:57:44  <Roest> btw dihedral one of your arguments against copy&paste is wrong, my crossings and station entries went through some evolution this game
22:57:45  <Yexo> hg=mercurial, a version control system, just like svn/cvs/git
22:57:51  <dihedral> http://letmegooglethatforyou/?q=hg+version
22:58:05  <dihedral> ops
22:58:08  <dihedral> + .com :-P
22:58:19  <Yexo> dihedral: your link works here
22:58:30  <dihedral> HAHA
22:59:00  <dihedral> awesome
22:59:10  <Yexo> it redirects to for some reason
22:59:12  <dihedral> Roest, and how often does that happen
23:02:01  <Roest> well whenever i feel the need to improve them, but then i can use them everywhere fast
23:02:20  *** kd5pbo|work [~kd5pbo@] has quit [Quit: kd5pbo|work]
23:03:06  <Rubidium> oh, you mean you start a game, then build 4 2x4x64 size stations with entrances using copy-paste? and start running a few trains between them?
23:03:12  <dihedral> thank you - you just underlined at least one of the arguments Roest
23:03:42  <dihedral> Rubidium, define 'build'
23:04:06  <Rubidium> click, click, click, click?
23:04:22  <Roest> rubidium not exactly but if i would have fun that way why would you mind?
23:04:31  <db48x>,%201st%20Jan%201950%233.png
23:04:31  <Rubidium> or click, click, click, drag
23:04:36  <db48x>,%201st%20Jan%201950%235.png
23:04:39  <db48x> turns out pretty well
23:04:40  *** Eddi|zuHause2 [] has joined #openttd
23:04:58  <dihedral> Rubidium, let me be more specific: "paste"
23:05:19  <Roest> so you say only if i build everything with single clicks that would be the RIGHT way to play the game?
23:05:43  <dihedral> no
23:05:56  <db48x> building track is so much more fun that way
23:06:02  <dihedral> i say you dont improve if you only ever paste
23:07:06  <Roest> and why do i need to improve? if i enjoy the game, i mean isn't that what games should be for?
23:07:08  <dihedral> i say your networks always look the same
23:07:12  <db48x> perhaps you should instead say that if a player only ever pastes stuff other people have copied, he will never be fored to reason out why a feature was built a certain way, and thus will not be forced to grow intellectually and spiritually
23:07:35  <dihedral> .....
23:07:43  <Eddi|zuHause2> have i mentioned that no two stations of me look the same?#
23:07:53  <dihedral> same here
23:08:02  <Rubidium> ah well, the patch is pretty self explanatory as to why that incarnation won't get into trunk
23:08:02  <Roest> so what, let them look the same, it's my game
23:08:04  *** Yeggstry is now known as Yeggzzz
23:08:46  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
23:09:13  *** Nite_Owl [] has joined #openttd
23:09:14  <Roest> and nobody really forces you to use it anyway
23:09:42  <Nite_Owl> Hello all
23:10:12  *** OwenS [] has joined #openttd
23:10:15  <dihedral> Roest, i never said that i was gonna hinder you using it, did i?
23:10:42  <dihedral> i only ever pointed out what the consequences are
23:13:01  <welshdragon> where does the nightly save grf files?
23:13:38  <dihedral> ....
23:13:49  <dihedral> did you look?
23:14:00  <welshdragon> no :P
23:14:06  <dihedral> then have a look
23:14:08  <Sacro> 'tard
23:14:14  <dihedral> ^^
23:14:14  <Roest> i guess if c&p is such a bad thing already you'd like the scenario i play, it's totally flat ^^
23:14:26  <Eoin> C:\My Documents\OpenTTD\content_download\data
23:14:31  <Eoin> wrong channel :(
23:14:52  *** Eddi|zuHause [] has joined #openttd
23:17:34  *** Forked [] has quit [Ping timeout: 480 seconds]
23:17:47  *** Zuu [] has quit [Quit: Leaving]
23:18:05  <dihedral> night
23:18:11  <Roest> night
23:19:46  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
23:24:02  *** thingwath [] has quit [Read error: Connection reset by peer]
23:24:53  *** thingwath [] has joined #openttd
23:26:19  *** cyqu [~cyqu@] has quit [Ping timeout: 480 seconds]
23:26:34  <db48x> Yexo: I uploaded a new patch. Can you think of there anything else I should do?
23:26:41  *** Mortal [] has quit [Remote host closed the connection]
23:27:02  *** Mortal [] has joined #openttd
23:27:13  <Yexo> db48x: remove the CmdPlaceSign usage in town_cmd.cpp
23:27:28  <Yexo> ie debug things are fine, but remove them before submitting a patch
23:27:47  <Yexo> struct spot_data { TileIndex tile; uint max; uint radius; };
23:27:47  <Yexo>  <- that should be on multiple lines
23:28:36  *** KritiK [] has quit [Quit: Leaving]
23:29:04  <Yexo> db48x: if you continue an if statement on a second line, use two tabs extra indenting
23:29:30  <db48x> oops, forgot about debug
23:30:09  <Yexo> +           the nearest likely-looking spot */
23:30:09  <Yexo>  <- you forgot the * prefix there
23:30:22  <Yexo> and on those lines you're still using spaces insetad of tabs
23:30:37  <SmatZ> that patch fails to conform the coding style almost at every line it adds
23:30:46  <Yexo>  <- Why do you move that comment?
23:30:50  *** cyqu [~cyqu@] has joined #openttd
23:30:53  <Yexo>  /* Get a unique name for the town. */
23:30:53  <Yexo>  <- that one
23:32:03  <Yexo> FindNearestFlatLand <- the implementation of that function is obviously wrong
23:32:13  <db48x> oh?
23:32:45  <Yexo> return IsTileType(tile, MP_CLEAR); <- Did you seriously think that was a correct implementation?
23:33:06  <db48x> yep
23:33:10  <db48x> what did I misunderstand?
23:33:42  <Yexo> sorry, my mistake
23:33:54  <db48x> ok
23:33:56  <Yexo> I suggest to change the function name though
23:33:59  <Yexo> it's a bit confusing now
23:34:07  <db48x> how so?
23:34:43  <Yexo> if you don't know it's a callback for CircularTileSearch the implementation looks wrong
23:34:49  <db48x> maybe Flat -> Empty
23:34:52  <db48x> oh
23:35:01  <Yexo> comments for function generally go in the cpp file, not in the header file
23:35:18  <db48x> callback_FindFlatLand?
23:35:44  <db48x> predicate_FlatLand?
23:35:50  <Yexo> as long as it isn't used in other functions I'd move it to town_cmd.cpp, near where it's used
23:35:59  <db48x> ok
23:36:03  <Yexo> so just above FindNearestGoodCoastalTownSpot
23:37:17  *** cyril [] has joined #openttd
23:38:42  <db48x> as for moving that comment, I don't recall why I did
23:38:45  <db48x> I guess it looked better there
23:38:55  *** cyril [] has left #openttd []
23:39:20  <db48x> that's one of my bad habits I try to supress
23:41:10  <db48x>
23:41:11  <db48x> good?
23:41:24  <db48x> better, but still horribly wrong? ;)
23:41:29  <Yexo> +	uint max;
23:41:29  <Yexo>  <- max what?\
23:41:37  <Yexo> give your variables clear names
23:41:46  <Yexo> max_distance would be more clear, but I'm not sure that's what you mean
23:42:02  <SmatZ> Yexo: there should be comments for that ;)
23:42:12  <Yexo> SmatZ: true, but "max"?
23:42:32  <Yexo> as local variable I can undertand that, but in a script it's too vague for me
23:42:38  <Yexo> s/script/struct/
23:42:53  <db48x> fair enough
23:43:01  <db48x> max_dist_found_so_far good?
23:43:04  <SmatZ> actually, I am a friend of short variable names when they are properly commented, but I don't enforce anyone to that :)
23:44:06  <SmatZ> what I find more disturbing is still broken whitespaces, ignoring comment style, struct naming / declaration style
23:44:21  <SmatZ> db48x you might find this useful
23:45:12  <db48x> I don't find things like the type of whitespace or comments disturbing
23:45:18  <Yexo> db48x: the two tabs after the if were for the other lines, so if (a && (newline, two tabs) b) { (newline, one tab) something;
23:45:26  <db48x> though if you're using doxygen, the comment style can be important
23:45:36  <db48x> lol
23:45:50  <Yexo> db48x: then fortunatly it's not up to you which patches get included and which don't
23:46:03  <Yexo> without a consistent style the code gets messy real quick
23:46:16  <welshdragon> how can a server adnin delete a company?
23:46:56  <db48x> I dunno about that, but I can adjust
23:47:10  *** Roest [] has quit []
23:48:26  <db48x> or at least I can adjust my .emacs
23:48:56  <Yexo> welshdragon: did you try "reset_company <company_id>" from the console?
23:50:58  <Eoin> he needed it for me
23:51:03  <Eoin> and i figured it out from list_cmds
23:51:17  <Yexo> good :)
23:51:31  *** TinoDid [] has joined #openttd
23:52:11  *** TinoDidriksen [] has quit [Read error: Connection reset by peer]
23:56:32  <db48x> Yexo: is there anything else that needs remediation?
23:56:56  <Yexo> db48x: did you read the link SmatZ gave you about coding style?
23:57:36  <db48x> about half of it
23:57:41  *** lhrios [] has quit [Remote host closed the connection]
23:57:47  <db48x> I'll get back to the bit about enums later
23:57:48  <Yexo> read that, fix the issues you can find and then post a new patch
23:58:28  <Yexo> FindNearestFlatLand <- can you rename that to FindNearestLand? it doesn't look for flat land

Powered by YARRSTE version: svn-trunk