Config
Log for #openttd on 29th August 2009:
Times are UTC Toggle Colours
00:02:33  <welshdragon> hmm
00:02:58  <welshdragon> i've found a bug, but i don't know if i t relates to IS 2 Beta 3
00:03:01  <OwenS> Does takeoff/landing use special sprites?
00:03:21  <welshdragon> or to trunk...
00:03:24  <Eddi|zuHause> welshdragon: cool, we don't know either
00:03:27  <Yexo> OwenS: I think so, but I'm not sure about the default sprites
00:04:32  <Eddi|zuHause> OwenS: i believe newgrfs can use varaction2 for detecting wether an aircraft is in the takeoff phase
00:04:36  <welshdragon> Eddi|zuHause: i change the company colour in the new colour scheme window, but the individual vehicle (rail, road, air, sea) don't change to the global setting
00:05:00  <Eddi|zuHause> welshdragon: that might be a newgrf bug
00:05:04  *** ecke [~ecke@213.195.202.11] has quit [Ping timeout: 480 seconds]
00:05:36  <welshdragon> Eddi|zuHause: but it's worked fine before...
00:05:39  <Eddi|zuHause> or some kind of cache not being invalidated
00:05:49  * welshdragon suspects IS2 B3
00:06:06  <Eddi|zuHause> welshdragon: try to reproduce it in trunk
00:06:35  <Eddi|zuHause> i heard about some newgrfs having problems with incorrect company colours
00:06:57  <Eddi|zuHause> especially in vehicle chains, where the first vehicle changed, but the rest did not
00:07:21  <welshdragon>  Eddi|zuHause it's a trunk bug too in 0.7.1 (i don't have 0.7.2
00:07:23  <welshdragon> )
00:07:53  <Ammler> https://dev.openttdcoop.org/projects/worldairlineset/repository/changes/sprites/png/Airbus/A330/A330-300/Lufthansa.png <-- indeed, newgrfs have a lot more sprites.
00:08:16  <Eddi|zuHause> 0.7 is not trunk
00:08:26  <welshdragon> ...
00:08:43  <welshdragon> trunk as in a nightly?
00:08:59  <Ammler> trunk as not 0.7 branch :-)
00:09:26  <welshdragon> ok
00:09:31  <Eddi|zuHause> yes. a nightly that is not older than a few days will probably do
00:10:17  <Ammler> well, but I guess, also bugs for 0.7 can be reported.
00:10:19  <Yexo> Ammler: it looks like those planes already have NW<>SE land/takeoff sprites :)
00:10:40  <Ammler> yexo, indeed, :-)
00:10:51  <Yexo> also bugs for 0.7 can be reported. <- in that case use the latest stable, so 0.7.2
00:11:33  <welshdragon> yeah, it'll have to wait
00:11:40  <welshdragon> im on a 512kbps connection
00:11:58  <welshdragon> (supposedly broadband)
00:12:21  <Eddi|zuHause> thst's still better thsn mine
00:13:04  <OwenS> Thats about what I get during peak hours. When my ISP throttles me for using too much bandwidth ;p
00:13:16  <welshdragon> heh
00:13:38  <OwenS> Normally I get about 8mbit/s... which I ought to ring them up about since this is a 16mb/s plan
00:13:43  <OwenS> 20mb/s even... wtf brain?
00:20:18  <MyCatVerbs> OwenS: heehee, NARF.
00:20:50  *** Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has quit [Read error: Connection reset by peer]
00:25:12  *** PeterT [~PeterT@c-65-96-203-35.hsd1.ma.comcast.net] has joined #openttd
00:27:18  *** nicfer1 [~Usuario@168.226.105.86] has quit [Read error: Connection reset by peer]
00:50:16  *** roboboy [3aad2910@webchat.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
00:51:02  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
00:53:16  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
00:58:47  *** KenjiE20|LT [~Kenji@host86-141-253-254.range86-141.btcentralplus.com] has joined #openttd
00:58:58  *** KenjiE20 [~KenjiE20@92.20.10.98] has quit [Quit: WeeChat 0.3.0-rc3]
01:00:44  *** PeterT [~PeterT@c-65-96-203-35.hsd1.ma.comcast.net] has quit [Quit: Leaving]
01:02:11  *** KenjiE20|LT [~Kenji@host86-141-253-254.range86-141.btcentralplus.com] has quit []
01:03:23  *** KenjiE20|LT [~Kenji@host86-141-253-254.range86-141.btcentralplus.com] has joined #openttd
01:07:51  *** OwenS [~oshepherd@cpc1-stkn13-0-0-cust18.midd.cable.ntl.com] has quit [Remote host closed the connection]
01:10:02  *** fjb_ [~frank@p5485EAB5.dip.t-dialin.net] has joined #openttd
01:15:04  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
01:16:58  *** fjb [~frank@p5485CBA2.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
01:19:24  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
01:19:47  *** fjb_ is now known as fjb
01:21:58  *** AC6000 [~AC6000@51-103.186-72.tampabay.res.rr.com] has left #openttd []
01:34:53  *** fjb_ [~frank@p5485ECBE.dip.t-dialin.net] has joined #openttd
01:38:09  *** fjb [~frank@p5485EAB5.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
01:55:23  *** Azrael- [~azraeluk@cpc4-papw2-0-0-cust778.cmbg.cable.ntl.com] has quit [Read error: Connection reset by peer]
02:14:13  *** glx [glx@2a01:e35:2f59:c7c0:c900:e894:58f4:8312] has quit [Quit: bye]
02:14:38  *** KenjiE20|LT [~Kenji@host86-141-253-254.range86-141.btcentralplus.com] has quit [Quit: Leaving]
02:44:30  *** keoz [~keikoz@pha75-8-82-230-2-115.fbx.proxad.net] has quit [Quit: Leaving]
02:46:56  *** Lakie [~Lakie@91.84.251.149] has quit [Quit: Sleep.]
03:09:14  *** TinoDidriksen [~tino@port432.ds1-od.adsl.cybercity.dk] has quit [Ping timeout: 480 seconds]
03:13:35  *** TinoDidriksen [~tino@port432.ds1-od.adsl.cybercity.dk] has joined #openttd
03:39:49  *** TinoDidriksen [~tino@port432.ds1-od.adsl.cybercity.dk] has quit [Ping timeout: 480 seconds]
03:43:56  *** TinoDidriksen [~tino@port432.ds1-od.adsl.cybercity.dk] has joined #openttd
03:43:56  *** Rexxars [~rexxars@188.126.203.230] has quit [Read error: Connection reset by peer]
03:46:11  *** Rexxars [~rexxars@188.126.203.230] has joined #openttd
04:37:54  *** Phoenix_the_II [ralph@home.deboom.biz] has joined #openttd
04:38:00  *** PhoenixII [ralph@home.deboom.biz] has quit [Read error: Connection reset by peer]
05:16:30  *** thingwath [~thingie@88.83.164.57] has joined #openttd
05:25:41  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
05:59:38  *** roboboy [3aad2910@webchat.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
06:15:31  *** Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has joined #openttd
06:18:23  *** Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has joined #openttd
06:52:41  *** Terkhen [~Terkhen@53.68.220.87.dynamic.jazztel.es] has joined #openttd
06:52:46  <Terkhen> good morning
07:00:13  <Alberth> good morning
07:28:51  *** Progman [~progman@p57A1F2FE.dip.t-dialin.net] has joined #openttd
07:47:30  *** Mesolicious [~foo@122.162.167.218] has joined #openttd
07:47:35  *** Mesolicious is now known as Aankhen``
07:49:37  *** _ln [~lanurmi@dyn-xdsl-83-150-113-243.nebulazone.fi] has joined #openttd
07:50:40  <_ln> 'night
07:50:51  <_ln> did it drop yet?
07:52:24  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
07:55:08  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
07:57:51  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
08:00:10  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
08:03:32  *** Splex [~splex@121.165.245.76] has quit [Quit: Leaving]
08:04:08  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
08:06:11  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
08:14:29  *** tdev [~tdev@p508EA358.dip.t-dialin.net] has joined #openttd
08:17:48  *** thingwath [~thingie@88.83.164.57] has quit [Remote host closed the connection]
08:21:10  *** thingwath [~thingie@88.83.164.57] has joined #openttd
09:11:35  *** fonsinchen [~alve@BAE907e.bae.pppool.de] has joined #openttd
09:25:15  *** Splex [~splex@121.165.245.76] has joined #openttd
09:26:26  *** KritiK [~Maxim@78-106-229-239.broadband.corbina.ru] has joined #openttd
09:26:40  *** tdev_ [~tdev@p508EE22A.dip.t-dialin.net] has joined #openttd
09:28:12  *** fjb_ is now known as fjb
09:29:00  *** fonsinchen [~alve@BAE907e.bae.pppool.de] has quit [Remote host closed the connection]
09:31:03  <CIA-1> OpenTTD: rubidium * r17304 /trunk/src/rail_gui.cpp: -Codechange: move (more) drawing code out of the rail depot picker's OnPaint.
09:33:49  *** tdev [~tdev@p508EA358.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
09:38:03  *** [com]buster [~eternal@cust-03-55bf402e.adsl.scarlet.nl] has joined #openttd
09:44:43  <planetmaker> paste.openttd.org: Warning: mysql_pconnect() [function.mysql-pconnect]: Lost connection to MySQL server during query in /www/openttd.org/paste/lib/pastebin/db.mysql.class.php on line 49
09:44:45  <planetmaker> Unable to connect to database
09:46:51  <Rubidium> youpidou!
09:47:09  <Rubidium> (and it's the only service I can't boot)
09:47:30  <Rubidium> and TB isn't here (AFAIK)
09:48:11  <Rubidium> though I blame spammers
09:50:05  <planetmaker> :S
09:50:59  <Alberth> that is always a safe group to blame :p
09:51:04  <planetmaker> :-P
09:51:19  <planetmaker> nevertheless a good morning to you all :-)
09:53:03  *** keoz [~keikoz@pha75-8-82-230-2-115.fbx.proxad.net] has joined #openttd
09:53:04  <Alberth> that seems like a safe bet, not much can happen in those last 10 minutes :p
09:53:52  *** fonsinchen [~alve@BAE907e.bae.pppool.de] has joined #openttd
09:54:29  *** Exl [~myself@cp1224652-a.roemd1.lb.home.nl] has joined #openttd
09:55:37  *** oskari89 [oskari89@212-149-207-211.bb.dnainternet.fi] has joined #openttd
09:59:43  <planetmaker> hehe :-)
09:59:55  <planetmaker> depends on your time reference, though, Alberth ;-)
10:03:36  *** Chris_Booth [~Chris_Boo@client-86-26-254-11.brnt.adsl.virgin.net] has joined #openttd
10:12:30  *** DJ_Nekkid [~tmsmje@static217-26.adsl.no] has joined #openttd
10:17:53  *** DJNekkid [~tmsmje@static217-26.adsl.no] has quit [Ping timeout: 480 seconds]
10:20:34  *** DJ_Nekkid [~tmsmje@static217-26.adsl.no] has quit [Ping timeout: 480 seconds]
10:24:30  *** worldemar [~woldemar@188.122.246.176] has quit [Ping timeout: 480 seconds]
10:27:00  *** tux_mark_5 [~kvirc@lan-84-240-29-163.vln.skynet.lt] has joined #openttd
10:28:24  *** |Jeroen| [~jeroen@94-224-31-113.access.telenet.be] has joined #openttd
10:36:13  *** oskari89 [oskari89@212-149-207-211.bb.dnainternet.fi] has quit [Read error: Connection reset by peer]
10:39:10  *** Phoenix_the_II [ralph@home.deboom.biz] has quit [Read error: Connection reset by peer]
10:39:23  *** worldemar [~woldemar@188.122.227.219] has joined #openttd
10:40:02  *** Phoenix_the_II [ralph@home.deboom.biz] has joined #openttd
10:42:23  *** fonsinchen [~alve@BAE907e.bae.pppool.de] has quit [Remote host closed the connection]
10:44:58  *** Chris_Booth is now known as Guest675
10:45:05  *** Chris_Booth [~Chris_Boo@client-86-0-117-27.nrth.adsl.virgin.net] has joined #openttd
10:45:54  *** Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has joined #openttd
10:45:58  *** Mks [~mks@c83-176-234-98.cust.tele2.se] has quit []
10:46:14  *** oskari89 [oskari89@212-149-207-211.bb.dnainternet.fi] has joined #openttd
10:46:51  <planetmaker> Can the sprites used by an industry be made time dependent?
10:47:25  <planetmaker> Like, show sprite A for dates < 1920, sprite B for 1920 ... 2000 and sprite B for date > 2000 ?
10:47:36  <planetmaker> possibly via callback?
10:48:44  <Eddi|zuHause> why wouldn't it?
10:51:00  <planetmaker> for one and the same industry?
10:51:05  <planetmaker> not for two different ones
10:51:18  *** Guest675 [~Chris_Boo@client-86-26-254-11.brnt.adsl.virgin.net] has quit [Ping timeout: 480 seconds]
10:52:48  <planetmaker> I've never seen it.
10:52:55  <planetmaker> Doesn't need to mean much, but...
10:55:01  *** KenjiE20 [~KenjiE20@92.20.19.149] has joined #openttd
10:57:40  *** Terkhen [~Terkhen@53.68.220.87.dynamic.jazztel.es] has quit [Quit: ...]
11:00:47  *** Terkhen [~Terkhen@53.68.220.87.dynamic.jazztel.es] has joined #openttd
11:18:17  <CIA-1> OpenTTD: smatz * r17305 /branches/0.7/src/ai/api/ (6 files):
11:18:17  <CIA-1> OpenTTD: [0.7] -Backport from trunk:
11:18:17  <CIA-1> OpenTTD: -Fix: [NoAI] AITown::GetLastMonthTransported didn't work as documented at all, make it return what AITown::GetLastMonthProduction did
11:18:17  <CIA-1> OpenTTD: -Change: [NoAI] AITown::GetLastMonthProduction now returns the same value as AITown::GetMaxProduction
11:18:17  <CIA-1> OpenTTD: -Add: [NoAI] AITown::GetLastMonthTransportedPercentage and AIIndustry::GetLastMonthTransportedPercentage
11:19:40  *** asilv [~as@h-62-142-160-55.joensuunelli.fi] has joined #openttd
11:21:20  *** Terkhen [~Terkhen@53.68.220.87.dynamic.jazztel.es] has quit [Read error: No route to host]
11:39:51  *** keoz [~keikoz@pha75-8-82-230-2-115.fbx.proxad.net] has quit [Quit: Leaving]
11:41:17  *** keoz [~keikoz@pha75-8-82-230-2-115.fbx.proxad.net] has joined #openttd
11:44:23  <Eddi|zuHause> man, it's totally cold here...
11:47:04  <Alberth> Give your CPUs more work.
11:53:02  *** Azrael- [~azraeluk@cpc4-papw2-0-0-cust778.cmbg.cable.ntl.com] has joined #openttd
11:56:41  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
11:59:18  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
12:00:42  *** DJNekkid [~tmsmje@static128-249.adsl.no] has joined #openttd
12:03:49  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
12:04:43  *** Terkhen [~Terkhen@53.68.220.87.dynamic.jazztel.es] has joined #openttd
12:06:20  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
12:08:46  *** Singaporekid [~notme@cm72.psi140.maxonline.com.sg] has joined #openttd
12:10:14  *** R0b0t1 [~Enigma@64-136-216-213.dyn.everestkc.net] has quit [Remote host closed the connection]
12:11:01  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
12:12:31  *** Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has quit [Quit: Leaving]
12:13:04  *** glx [glx@2a01:e35:2f59:c7c0:388a:6832:2b18:a02e] has joined #openttd
12:13:07  *** mode/#openttd [+v glx] by ChanServ
12:13:22  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
12:19:43  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
12:27:16  *** dfox [~dfox@r11jn246.net.upc.cz] has quit [Quit: C-x C-c]
12:27:24  *** dfox [~dfox@r11jn246.net.upc.cz] has joined #openttd
12:47:01  *** fonsinchen [~alve@BAE907e.bae.pppool.de] has joined #openttd
12:52:07  *** fonsinchen [~alve@BAE907e.bae.pppool.de] has quit [Remote host closed the connection]
12:58:01  <Eddi|zuHause> Alberth: we had that topic already: http://qdb.us/79416
12:59:13  * Alberth is not surprised
13:00:02  * Alberth grabs some heat from the room, and sends it to Eddi|zuHause
13:00:16  * SirSquid1ess yoinks some of the heat
13:00:45  <Alberth> No fighting, there is enough for everybody
13:04:05  *** Lakie [~Lakie@91.84.251.149] has joined #openttd
13:04:05  *** SirSquid1ess is now known as SirSquidness
13:04:09  <SirSquidness> sweet. I could do with a bit.
13:21:11  *** HerzogDeXtEr1 [~Flex@89.246.197.105] has quit [Read error: Connection reset by peer]
13:25:22  *** HerzogDeXtEr [~Flex@89.246.197.105] has joined #openttd
13:37:44  *** KritiK_ [~Maxim@93-81-215-124.broadband.corbina.ru] has joined #openttd
13:40:28  *** KritiK [~Maxim@78-106-229-239.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
13:40:36  *** KritiK_ is now known as KritiK
13:44:45  *** HerzogDeXtEr1 [~Flex@89.246.196.88] has joined #openttd
13:51:26  *** HerzogDeXtEr [~Flex@89.246.197.105] has quit [Ping timeout: 480 seconds]
13:55:13  *** Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has joined #openttd
13:55:58  *** Grelouk [~Grelouk@177.104.200-77.rev.gaoland.net] has joined #openttd
14:08:33  *** KritiK_ [~Maxim@78-106-222-70.broadband.corbina.ru] has joined #openttd
14:14:03  *** KritiK [~Maxim@93-81-215-124.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
14:14:13  *** KritiK_ is now known as KritiK
14:22:10  *** Chris_Booth [~Chris_Boo@client-86-0-117-27.nrth.adsl.virgin.net] has quit [Remote host closed the connection]
14:26:02  *** glx [glx@2a01:e35:2f59:c7c0:388a:6832:2b18:a02e] has quit [Quit: bye]
14:26:30  *** Chris_Booth [~Chris_Boo@client-86-26-84-221.nrth.adsl.virgin.net] has joined #openttd
14:33:09  *** glx [glx@2a01:e35:2f59:c7c0:bc48:ff4a:2a03:18d2] has joined #openttd
14:33:12  *** mode/#openttd [+v glx] by ChanServ
14:37:38  *** ecke [~ecke@213.195.202.11] has joined #openttd
14:45:51  *** Chris_Booth is now known as Guest702
14:45:57  *** Chris_Booth [~Chris_Boo@client-82-26-72-235.bmly.adsl.virgin.net] has joined #openttd
14:46:25  *** glx_ [glx@2a01:e35:2f59:c7c0:65e3:4b12:3955:2d4b] has joined #openttd
14:46:28  *** mode/#openttd [+v glx_] by ChanServ
14:46:49  *** glx is now known as Guest703
14:46:50  *** glx_ is now known as glx
14:49:56  *** DJ_Nekkid [~tmsmje@static128-249.adsl.no] has joined #openttd
14:50:19  *** glx_ [glx@2a01:e35:2f59:c7c0:6850:4459:b87e:c78a] has joined #openttd
14:50:22  *** mode/#openttd [+v glx_] by ChanServ
14:51:13  *** Guest702 [~Chris_Boo@client-86-26-84-221.nrth.adsl.virgin.net] has quit [Ping timeout: 480 seconds]
14:51:49  *** glx is now known as Guest704
14:51:49  *** glx_ is now known as glx
14:52:38  *** DJNekkid [~tmsmje@static128-249.adsl.no] has quit [Ping timeout: 480 seconds]
14:53:52  *** Guest703 [glx@2a01:e35:2f59:c7c0:bc48:ff4a:2a03:18d2] has quit [Ping timeout: 480 seconds]
14:57:57  *** Guest704 [glx@2a01:e35:2f59:c7c0:65e3:4b12:3955:2d4b] has quit [Ping timeout: 480 seconds]
14:57:58  *** DJ_Nekkid [~tmsmje@static128-249.adsl.no] has quit [Ping timeout: 480 seconds]
15:06:50  *** Coco-Banana-Man [~Stephan.D@p5B2DCF61.dip.t-dialin.net] has joined #openttd
15:28:30  *** tdev_ [~tdev@p508EE22A.dip.t-dialin.net] has quit [Quit: Leaving]
15:31:10  *** tdev [~tdev@p508EE22A.dip.t-dialin.net] has joined #openttd
15:37:38  *** Progman [~progman@p57A1F2FE.dip.t-dialin.net] has quit [Remote host closed the connection]
15:50:17  *** KritiK_ [~Maxim@93-81-214-169.broadband.corbina.ru] has joined #openttd
15:53:03  *** KritiK [~Maxim@78-106-222-70.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
15:53:11  *** KritiK_ is now known as KritiK
16:11:10  *** bb10 [~nn@dhcp-077-248-075-030.chello.nl] has joined #openttd
16:22:57  <Aankhen``> Man, it would be nice to have a blueprints feature or something like that so that I could discover that my two billion tile station layout is one tile too far to the left before I start building it.
16:23:33  <MyCatVerbs> Aankhen``: No.
16:23:55  <MyCatVerbs> The whole point is that you do that, then you take a screenshot and post it here or on the wiki or something.
16:24:09  <MyCatVerbs> Then everybody laughs at you and you cry a lot and we all enjoy the schadenfreude.
16:24:27  <MyCatVerbs> But more seriously, just take a savegame before you embark on a big project like that?
16:24:29  <SpComb> Aankhen``: adapt!
16:24:51  <MyCatVerbs> The main issue is the amount of time it takes to build the layout in the editor, not the expenditure in game.
16:25:27  <Aankhen``> SpComb: I am.
16:25:44  <SpComb> you could write the templates/blueprints as a feature of some AI
16:25:49  <SpComb> and then just let that AI play on your behalf
16:26:04  <Aankhen``> MyCatVerbs: I really meant a general planning feature.  So for instance, in this ideal world, I'd select a bunch of tiles and shift them one tile to the right, rather than rebuilding the entire thing.
16:26:51  <MyCatVerbs> Aankhen``: ah, I see what you mean.
16:27:55  <Aankhen``> SpComb: Yeah, great idea-- no wait.
16:28:37  <SpComb> need to bring a bit of tension and excitement into the game
16:29:11  <Aankhen``> You get your kicks one way, I get them another...
16:31:00  <SpComb> there's been plenty of controversy re copy-paste features
16:31:31  <SpComb> many people are of the opinion that no such feature should exist
16:31:47  *** Entane [~asdf@195.204.143.175] has joined #openttd
16:31:58  <Aankhen``> Welp, I don't want to add to any controversy.  It was just an idle thought.
16:32:03  <Aankhen``> Er, idle wish.
16:32:07  <Aankhen``> Heya Entane.
16:32:13  <Entane> Hey Aankhen``
16:34:25  *** KritiK_ [~Maxim@78-106-208-221.broadband.corbina.ru] has joined #openttd
16:37:01  *** KritiK [~Maxim@93-81-214-169.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
16:37:05  *** KritiK_ is now known as KritiK
16:37:17  <SmatZ> planetmaker:
16:37:19  <SmatZ> +	if (OSErr err = Gestalt(gestaltSystemVersion, &systemVersion) != noErr) {
16:37:34  <SmatZ> interesting construct, OSErr is a bool?
16:37:36  <planetmaker> yes?
16:37:45  <planetmaker> no, it isn't.
16:37:50  <planetmaker> at least I don't think
16:38:07  <planetmaker> IIRC it's an uint or ulongint
16:38:19  <planetmaker> as it reports the type of error
16:38:20  <SmatZ> actually I wonder it's allowed to declare a variable inside if statement :)
16:38:29  <planetmaker> it compiles and works :-P
16:39:01  <planetmaker> I had it first outside, but then moved closest to its use :-)
16:39:02  <SmatZ> it's missing braces
16:39:14  <SmatZ> it's objc though...
16:39:20  <SmatZ> so maybe I am mistaken
16:39:35  <SmatZ> OSErr err = (Gestalt(gestaltSystemVersion, &systemVersion) != noErr)
16:39:41  <SmatZ> this is the behaviour it would have in C
16:40:04  <planetmaker> you mean braces like if ((OSErr err = Gestalt(gestaltSystemVersion, &systemVersion)) != noErr) {
16:40:06  <planetmaker> ?
16:40:50  <planetmaker> honestly, I didn't look up the type of OSErr. I copied it from the example in the quoted link
16:41:31  <planetmaker> but, of course, you're right... your last version of it looks more sane to me :-)
16:41:50  <planetmaker> let's see...
16:42:29  <SmatZ> :)
16:42:42  <SmatZ> I wonder what is the scope of 'err' in this case
16:42:46  *** PeterT [~PeterT@c-65-96-203-35.hsd1.ma.comcast.net] has joined #openttd
16:43:05  <planetmaker> local. Not used elsewhere
16:43:19  <SmatZ> why does it need to be used at all?
16:43:34  <planetmaker> ... it acutally doesn't :-)
16:43:35  <SmatZ> just "if (Gestalt(gestaltSystemVersion, &systemVersion) != noErr)" wouldn't work?
16:43:37  <SmatZ> hehe :)
16:44:02  *** Chris_Booth is now known as Guest719
16:44:09  *** Chris_Booth [~Chris_Boo@client-82-28-7-22.brhm.adsl.virgin.net] has joined #openttd
16:44:45  <planetmaker> let's see what compile tells me
16:44:58  <SmatZ> +			if ((err = Gestalt(gestaltSystemVersionMajor, &versionMajor)) != noErr) versionMajor = 0;
16:45:32  <SmatZ> I suppose err isn't needed here too
16:45:58  <SmatZ> (systemVersion & 0x000F); GB would be nicer :)
16:46:44  <planetmaker> GB instead of the masking?
16:47:06  <SmatZ> yeah
16:47:26  <SmatZ> (systemVersion & 0xF000) >> 12) ==> GB(systemVersion, 12, 4)
16:47:49  <SmatZ> hmm that file breaks coding style anyway...
16:48:22  <SmatZ> so no comments from me about camelCase or comment style :-x
16:48:33  <planetmaker> hm
16:49:13  *** Guest719 [~Chris_Boo@client-82-26-72-235.bmly.adsl.virgin.net] has quit [Ping timeout: 480 seconds]
16:51:29  <planetmaker> my patch actually doesn't change too much there, just the version part - and it moves a few var declarations, mainly as I stumbled upon them...
16:51:42  <SmatZ> yeah :)
16:51:57  <planetmaker> I agree that it needs major cleanup.
16:52:15  <planetmaker> also all those magic string lengths. They'd need unification and declaration in one place.
16:52:30  <planetmaker> else, if you change one, you're easily getting seg faults
16:52:31  *** Phoenix_the_II [ralph@home.deboom.biz] has quit [Read error: Connection reset by peer]
16:52:39  <planetmaker> been there, seen that :-P
16:52:41  <SmatZ> :)
16:52:41  *** Phoenix_the_II [ralph@home.deboom.biz] has joined #openttd
16:53:32  <planetmaker> I didn't want to do a complete overhaul right now.
16:53:39  <planetmaker> I rather do that piecewise :-)
16:53:54  <SmatZ> thanks :)
16:56:28  <SmatZ> planetmaker: what was broken in r8605?
16:56:54  <SmatZ> I think your svn blame doesn't work correctly ;)
16:57:02  <SmatZ> in r8605, the file was just moved
16:57:23  <planetmaker> oh, hm... it was the change which last affected that line
16:57:41  <planetmaker> talks about conversion away from objc to c++
16:58:01  *** Aankhen`` [~foo@122.162.167.218] has quit [Ping timeout: 480 seconds]
16:58:02  <planetmaker> so... maybe even earlier from a functional POV
16:58:17  *** Aankhen`` [~foo@122.162.167.218] has joined #openttd
16:58:25  *** PeterT [~PeterT@c-65-96-203-35.hsd1.ma.comcast.net] has quit [Quit: Leaving]
17:00:45  <CIA-1> OpenTTD: alberth * r17306 /trunk/src/gfx.cpp: -Fix: DrawStringMultiLine() computed available width and height wrongly.
17:01:03  <planetmaker> SmatZ: updated patch uploaded
17:01:52  <CIA-1> OpenTTD: yexo * r17307 /trunk/src/ai/api/ai_rail.cpp: -Fix [NoAI]: AIRail::RemoveRailTrack returned ERR_PRECONDITION_ERROR for road/rail-crossings
17:02:31  <planetmaker> actually, I *think* the version is checked in other places, too.
17:02:52  <planetmaker> So, a proper fix would be to move these version determination to separate functions...
17:03:02  <planetmaker> but that'll need more time...
17:04:47  *** nicfer [~Usuario@168.226.104.32] has joined #openttd
17:11:46  *** DR_Jekyll [DrJekyll@p57B0E533.dip.t-dialin.net] has joined #openttd
17:17:48  *** Wolle [DrJekyll@p57B0BC4A.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
17:23:31  *** AC6000 [~AC6000@72.186.103.51] has joined #openttd
17:23:59  *** |Jeroen| [~jeroen@94-224-31-113.access.telenet.be] has quit [Quit: oO]
17:24:04  * AC6000 materializes at 30,000 ft. ...
17:32:21  <planetmaker> within your own interest I hope that you either materialize within the pressurized compartement of a plane or with a propper jumpsuit and a working oxygen supply
17:32:32  *** Doorslammer [Doorslamme@PIPP-p-203-54-115-213.prem.tmns.net.au] has joined #openttd
17:35:50  *** Pikka [PikkaBird@58.173.248.50] has joined #openttd
17:36:52  *** roboboy [3aad2910@webchat.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
17:37:29  *** JFBelugas [~jfranc@ip-225.84.126.206.dsl-cust.ca.inter.net] has joined #openttd
17:39:16  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
17:39:23  <AC6000> wb :P
17:41:53  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
17:43:13  *** Chris_Booth [~Chris_Boo@client-82-28-7-22.brhm.adsl.virgin.net] has quit [Ping timeout: 480 seconds]
17:45:33  <CIA-1> OpenTTD: translators * r17308 /trunk/src/lang/ (french.txt german.txt indonesian.txt italian.txt russian.txt):
17:45:33  <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
17:45:33  <CIA-1> OpenTTD: french - 22 changes by glx
17:45:33  <CIA-1> OpenTTD: german - 28 changes by Roujin
17:45:33  <CIA-1> OpenTTD: indonesian - 7 changes by fanioz
17:45:34  <CIA-1> OpenTTD: italian - 44 changes by lorenzodv
17:45:34  <CIA-1> OpenTTD: russian - 7 changes by MajestiC
17:46:10  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
17:48:55  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
18:07:44  *** ecke [~ecke@213.195.202.11] has quit [Ping timeout: 480 seconds]
18:22:58  *** Exl [~myself@cp1224652-a.roemd1.lb.home.nl] has quit []
18:27:09  *** bb10 [~nn@dhcp-077-248-075-030.chello.nl] has quit [Ping timeout: 480 seconds]
18:27:27  *** Doorslammer [Doorslamme@PIPP-p-203-54-115-213.prem.tmns.net.au] has quit [Quit: I'll get you next episode, Inspector Gadget! NEXT EPISODE!]
18:34:51  *** PeterT [~PeterT@c-65-96-203-35.hsd1.ma.comcast.net] has joined #openttd
18:45:10  *** keoz [~keikoz@pha75-8-82-230-2-115.fbx.proxad.net] has quit [Quit: Leaving]
18:48:09  *** AC6000 [~AC6000@72.186.103.51] has quit [Ping timeout: 480 seconds]
18:48:51  *** AC6000 [~AC6000@72.186.103.51] has joined #openttd
18:52:35  *** Chris_Booth [~Chris_Boo@client-82-28-7-22.brhm.adsl.virgin.net] has joined #openttd
18:55:31  *** Chris_Booth [~Chris_Boo@client-82-28-7-22.brhm.adsl.virgin.net] has quit []
18:57:06  <Grelouk> any admin of ex's city mania ?
18:58:18  <PeterT> Grelouk: at his forum
18:58:50  *** Phoenix_the_II [ralph@home.deboom.biz] has quit [Read error: Connection reset by peer]
18:59:11  *** Phoenix_the_II [ralph@home.deboom.biz] has joined #openttd
19:01:53  <Grelouk> yeah, i could use one right now..
19:02:03  <Grelouk> a guy is blocking me everywhere
19:11:07  *** Kaas [~Stefan@88.159.121.35] has joined #openttd
19:11:08  *** Entane [~asdf@195.204.143.175] has quit [Ping timeout: 480 seconds]
19:15:47  *** PeterT [~PeterT@c-65-96-203-35.hsd1.ma.comcast.net] has quit [Quit: Leaving]
19:22:56  *** KritiK_ [~Maxim@78-106-147-161.broadband.corbina.ru] has joined #openttd
19:25:04  *** KritiK [~Maxim@78-106-208-221.broadband.corbina.ru] has quit [Ping timeout: 480 seconds]
19:25:07  *** KritiK_ is now known as KritiK
19:27:57  <asilv> question: if the callback 2E custom cargo generation for houses is used, does the normal cargo generation for passengers/mail happen too or just the callback?
19:29:35  <Yexo> just the callback
19:30:23  <asilv> thanks
19:30:57  *** Mks [~mks@c83-176-234-98.cust.tele2.se] has joined #openttd
19:39:48  *** oskari89 [oskari89@212-149-207-211.bb.dnainternet.fi] has quit [Quit: Utm Aœ - Aja 35]
19:46:29  *** Default_ [~quassel@ks32603.kimsufi.com] has quit [Ping timeout: 480 seconds]
19:46:49  *** HerzogDeXtEr1 [~Flex@89.246.196.88] has quit [Ping timeout: 480 seconds]
19:49:53  *** Default_ [~quassel@ks32603.kimsufi.com] has joined #openttd
19:52:06  *** Pikka [PikkaBird@58.173.248.50] has quit []
20:00:44  *** Default_ [~quassel@ks32603.kimsufi.com] has quit [Ping timeout: 480 seconds]
20:01:33  <CIA-1> OpenTTD: smatz * r17309 /trunk/src/misc_gui.cpp: -Fix: not all non-ASCII characters were entered with escapes in the About window
20:06:33  <planetmaker> hm... the version detection for macos can indeed be more unified.
20:06:44  <planetmaker> let's see how it works
20:07:18  *** Default_ [~quassel@ks32603.kimsufi.com] has joined #openttd
20:07:43  <SmatZ> :)
20:08:57  <SmatZ> planetmaker: about FS#3156, Gestalt sounds very germanish :) are you sure it's available in non-German OSX?
20:09:00  <z-matrica> hey-ho :)
20:09:24  <SmatZ> seems so, interesting :)
20:09:27  <planetmaker> SmatZ: I'm pretty sure. It seems to be part of the official API
20:09:28  <SmatZ> hello z-Matrix
20:09:32  <SmatZ> planetmaker: nice :)
20:09:48  <planetmaker> :-) But I agree that it sounds very German
20:10:14  <z-matrica> someone know of error correction layer for hdd-s below raid/filesystem level for linux?
20:11:01  *** z-matrica is now known as z-MaTRiX
20:11:26  <SmatZ> @seen Bjarni
20:11:26  <DorpsGek> SmatZ: Bjarni was last seen in #openttd 5 weeks, 4 days, 20 hours, 22 minutes, and 15 seconds ago: <Bjarni> as long as it doesn't happen every 5th minute
20:11:45  <SmatZ> z-MaTRiX: every HDD has its own error-recovery system
20:12:03  <SmatZ> data on disk are encoded with some ECC
20:12:19  <z-MaTRiX> sure, but they are likely to go to badsector land
20:12:47  <SmatZ> how do you mean?
20:12:50  <SmatZ> ah
20:12:51  <SmatZ> hmm
20:12:56  <z-MaTRiX> had some hdds that did it
20:13:01  <SmatZ> bad blocks are listed in the filesystem (afaik)
20:13:08  *** Singaporekid [~notme@cm72.psi140.maxonline.com.sg] has quit [Quit: D:]
20:13:13  <SmatZ> eg. you can add list of bad blocks to mkfs
20:13:17  <SmatZ> *add -> pass
20:13:24  <z-MaTRiX> well, you use a hdd, write data on it, then you cannot read back
20:13:28  <z-MaTRiX> read error
20:13:30  <SmatZ> bad
20:13:32  <z-MaTRiX> so you lose data
20:13:49  <SmatZ> try some utility from HDD manufaturer
20:13:54  <z-MaTRiX> no matter if it relocates it after
20:14:09  <SmatZ> it should be relocated before it becomes unreadable
20:14:19  <SmatZ>   5 Reallocated_Sector_Ct   0x0033   099   099   036    Pre-fail  Always       -       69
20:14:24  <SmatZ> and no files are broken
20:14:29  <z-MaTRiX> yes, that i think is not really possible
20:14:32  <SmatZ> 195 Hardware_ECC_Recovered  0x001a   024   024   000    Old_age   Always       -       89151901
20:14:35  <SmatZ> :)
20:14:37  <SmatZ> why?
20:15:04  <SmatZ> that ECC can have code distance, say, 4
20:15:29  <SmatZ> and if there are two or more fixed bits in given record, the sector may be reallocated
20:15:33  <z-MaTRiX> how about, you have a sector you wrote 2 years ago, and never read out, goes bad, and it is never discovered?
20:15:45  <SmatZ> that's bad
20:15:48  <SmatZ> happens sometimes
20:15:57  <SmatZ> but HDDs do some "offline" tests too
20:16:00  <SmatZ> when they are unused
20:16:18  <z-MaTRiX> sure, that's why was wondering to add 16% of error correction code in a transparent device layer
20:16:29  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
20:16:45  <SmatZ> who is adding "16% of error correction code" where?
20:16:57  <z-MaTRiX> they can do offline tests only offline, not 24/7, and not without being powered
20:17:11  <z-MaTRiX> id like to do it
20:17:31  <SmatZ> well, maybe the HDD does tests even when it's being used
20:17:32  <z-MaTRiX> on the hdd ofcourse
20:17:33  *** ecke [~ecke@213.195.202.11] has joined #openttd
20:17:37  <SmatZ> after longer timeout
20:17:47  <z-MaTRiX> /dev/sda
20:18:35  <z-MaTRiX> c1&c2 works nice on a DVD disc for example
20:18:37  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
20:19:35  <SmatZ> sorry, I don't know what c1 and c2 is
20:20:23  <SmatZ> but you get some c1 and c2 rates when reading the disc
20:20:52  <z-MaTRiX> http://en.wikipedia.org/wiki/Reed-Solomon_error_correction
20:20:55  *** Mucht [~Martin@chello080109200215.3.sc-graz.chello.at] has joined #openttd
20:21:13  *** tokai [~tokai@p5B2B2D0D.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
20:21:15  <SmatZ> hmm yeah I was taught that...
20:21:31  <z-MaTRiX> http://en.wikipedia.org/wiki/Error_detection_and_correction
20:21:58  <z-MaTRiX> http://www.cd-dvd-discs.com/cd-dvd-faq.html
20:22:37  *** Mucht [~Martin@chello080109200215.3.sc-graz.chello.at] has quit [Remote host closed the connection]
20:23:20  *** roboboy [3aad2910@webchat.mibbit.com] has joined #openttd
20:23:28  *** tokai [~tokai@p5B2B317E.dip0.t-ipconnect.de] has joined #openttd
20:23:30  *** mode/#openttd [+v tokai] by ChanServ
20:23:30  <SmatZ> I guess it has something to do with re-encoding already encoded data
20:23:51  <SmatZ> like, ECC on "byte" levevel and ECC on "sector" level
20:24:03  <SmatZ> so C1 is when it can be corrected on the byte level
20:24:11  <SmatZ> and C2 when it's corrected on the sector level
20:24:13  <SmatZ> right?
20:24:21  <SmatZ> or absolutely wrong?
20:25:39  *** roboboy [3aad2910@webchat.mibbit.com] has quit []
20:26:21  <z-MaTRiX> Cross Interleave Reed-Solomon Code is a method of error detection and correction employing Reed-Solomon parity bytes together with different interleaving, or delay, patterns that assists in error correction by distributing concentrated read errors over multiple frames that then form the input to a CIRC decoder. After the first deinterleave, CD discs correct small read errors at the C1 level, followed by a second deinterleave and correction of larg
20:26:21  <z-MaTRiX> e read errors at the C2 level.
20:26:43  <z-MaTRiX> brb
20:27:28  <SmatZ> bah
20:29:06  <z-MaTRiX> [222728] SmatZ bah
20:29:07  <z-MaTRiX> <;
20:29:13  *** Mucht [~Martin@chello080109200215.3.sc-graz.chello.at] has joined #openttd
20:29:49  <SmatZ> ;)
20:30:16  <SmatZ> I was wondering you are so alive and full of ideas that late in the night :)
20:30:37  <z-MaTRiX> btw time.nist.gov has accurate ntp
20:31:08  <Gold24> so does XX.pool.ntp.org
20:31:09  <Gold24> :P
20:31:15  <SmatZ> 29 Aug 22:31:06 ntpdate[29266]: step time server 192.43.244.18 offset -2.028262 sec
20:31:26  <Xaroth> pool.ntp.org will give a random anyhow :P
20:31:28  <Gold24> where XX is country code
20:31:47  <Gold24> yes it will
20:32:24  <Xaroth> and country code is irrelevant, if i connect to our datacenter 40km from here the connection will actually cross 7 borders.
20:32:31  <SmatZ> I have local ntpserver running though
20:32:50  <SmatZ> 29 Aug 22:32:20 ntpdate[29283]: adjust time server 192.168.0.5 offset -0.000625 sec
20:32:52  <SmatZ> ;)
20:44:51  *** |Terkhen| [~Terkhen@177.69.220.87.dynamic.jazztel.es] has joined #openttd
20:46:08  *** Terkhen [~Terkhen@53.68.220.87.dynamic.jazztel.es] has quit [Ping timeout: 480 seconds]
20:47:02  <planetmaker> why would I make a function static inline?
20:48:35  <SmatZ> so it is inlined
20:48:43  <SmatZ> faster code execution
20:51:10  <MyCatVerbs> SmatZ: please no.
20:51:49  <MyCatVerbs> If you make static functions then the compiler will pick whether or not to inline them for you. Modern compilers will usually do a better job of making this decision than you owuld've.
20:52:11  <SmatZ> no
20:52:13  <MyCatVerbs> *would've.
20:52:28  <MyCatVerbs> Yes. I can demonstrate gcc doing it if you like.
20:52:30  *** Mks [~mks@c83-176-234-98.cust.tele2.se] has quit []
20:52:36  <SmatZ> gcc isn't modern then
20:52:59  <MyCatVerbs> That's an interesting position to take.
20:53:25  * planetmaker wonders whether GetMacOSVersion is time critical, though
20:53:39  <planetmaker> rather GetMacOSVersionAtLeast
20:53:57  <planetmaker> doesn't matter I guess
20:54:11  <SmatZ> gcc doesn't take into account constant parameters
20:54:42  <SmatZ> it just guesses how many ops given function will generate
20:54:43  <CIA-1> OpenTTD: yexo * r17310 /trunk/src/misc_gui.cpp: -Codechange: about window uses nested widget tree
20:55:02  <SmatZ> in OTTD, there are quite often functions called with constant parameters
20:55:16  <SmatZ> or parameters/variables that would become constant after inlining
20:55:22  <SmatZ> gcc doesn't take that into account
20:55:32  <SmatZ> also, gcc stops inling after some point
20:55:49  <SmatZ> (some --param-*-growth or so)
20:55:50  <MyCatVerbs> Yeah, all compilers have to. Otherwise they go into infinite loops.
20:56:05  <SmatZ> so it doesn't compile even the smallest possible function
20:56:09  <MyCatVerbs> SmatZ: How come the constant-folding doesn't catch that?
20:56:14  <SmatZ> I don't know
20:56:18  <SmatZ> I am not gcc dev
20:56:34  <MyCatVerbs> These are functions with no side effects, right?
20:56:51  <SmatZ> some are, some not
20:57:25  *** Tefad [~tefad@c-98-249-11-38.hsd1.va.comcast.net] has quit [Ping timeout: 480 seconds]
20:58:14  <MyCatVerbs> Annotate all the side-effect-less ones with __attribute__((pure)) or (where the stronger condition holds) __attribute__((const)) and it should in theory get better
20:59:23  <SmatZ> I think this isn't the most common issue
20:59:58  <SmatZ> in OTTD code
21:00:51  <MyCatVerbs> SmatZ: hrmn. Oh well. I've never had to force gcc to inline short functions, but then I've not written anything nearly as large as OTTD in C.
21:01:54  <SmatZ> MyCatVerbs: one type of problems: there is a switch in "inline" functions that depends on value in map array
21:02:10  <SmatZ> when those functions are inlined, only one access to map array is needed
21:02:26  <SmatZ> when they are not, more accesses and more conditional jumps are needed
21:02:37  <SmatZ> this happens quite often
21:03:15  <SmatZ> other common problem is the above mentioned, gcc stops inlining even very small fuctnions after some point
21:03:32  <SmatZ> causing code grows and slwer execution
21:04:57  <SmatZ> other problem is non-inlining functions like
21:05:36  <SmatZ> CheckSubsidyDuplicate
21:05:40  <SmatZ> which has many parameters
21:05:49  <SmatZ> that have to be passed via stack
21:05:56  <SmatZ> when not inlined
21:07:16  <MyCatVerbs> *nodnod*
21:07:35  <MyCatVerbs> Wait, how'd TTD end up with functions of more than six-ish parameters?
21:08:29  <SmatZ> x86 linux ABI specifies 6 registers for passing parameters?
21:10:43  <SmatZ> well, if you are talking about x86_64...
21:11:51  *** Vikthor [~Vikthor@161-18-80-78.strcechy.adsl-llu.static.bluetone.cz] has joined #openttd
21:13:04  <MyCatVerbs> SmatZ: IIRC fastcall gets you at least four in registers?
21:13:33  <SmatZ> maybe... sounds windows-ish though :)
21:13:56  <SmatZ> gcc supports __attribute__((regparam=n)) or so too
21:13:59  <SmatZ> but...
21:14:00  <Vikthor> Hi
21:14:08  <Yexo> hello Vikthor
21:14:12  <SmatZ> adding attributes isn't the way to go (code niceness and such)
21:14:14  <SmatZ> hello Vikthor
21:14:55  <MyCatVerbs> SmatZ: dunno, I'm pretty fond of __attribute__((const)) and unused.
21:15:26  <Yexo> MyCatVerbs: the compiler should be able to figure that out on it's own
21:15:27  <Vikthor> SmatZ: Regarding the r17309, I think paskys second name is Baudi?
21:16:01  <SmatZ> Vikthor: :) I noticed that too late :(
21:16:17  <MyCatVerbs> Yexo: depends how involved the function is. The halting problem is still a real cow. :)
21:16:52  <planetmaker> hi Vikthor
21:17:00  <SmatZ> MyCatVerbs: OTTD uses just __attribute__((noreturn)) and __attribute__((format())) for functions...
21:17:14  <SmatZ> I prefer too add "inline" instead ;)
21:17:32  <SmatZ> FORCEINLINE should be transformed to "inline __attribute__((always_inline))" in future
21:18:03  <SmatZ> someone (tm) has to check its usage before that though
21:19:27  <SmatZ> thing I am thinking about is un-virtualizing functions
21:19:36  <SmatZ> I wonder why C++ doesn't specify that :-x
21:20:48  * MyCatVerbs hands SmatZ a (TM) symbol.
21:21:00  <MyCatVerbs> Specify what?
21:21:11  <SmatZ> way to un-virtualize functions
21:21:20  <MyCatVerbs> You're going to make a whole pile of currently polymorphically overloaded functions statically resolved instead?
21:21:33  <SmatZ> yes
21:21:42  <MyCatVerbs> Because Bjarne was smoking something heavy when he designed the language.
21:22:02  <SmatZ> doing t->Train::IsPrimaryVehicle() is ugly
21:22:04  <MyCatVerbs> Fifteen grams of crack cocaine, wrapped around a lead brick.
21:22:20  <SmatZ> when un-virtualizing IsPrimaryVehicle() in Train would do the same job
21:22:23  <SmatZ> hehe
21:23:18  <MyCatVerbs> Er, why's it virtual in the first place?
21:23:32  <SmatZ> umm
21:23:47  <SmatZ> so Vehicle *v; v->IsPrimaryVehicle() can be used?
21:23:54  <MyCatVerbs> You get the right behavoir either way, right? I presume that Train subclasses must never override IsPrimaryVehicle()?
21:24:08  <Yexo> MyCatVerbs: there are no train subclasses
21:24:08  <MyCatVerbs> Oh, I see.
21:24:24  <MyCatVerbs> You're leaving it virtual in the root but not in the leaves.
21:24:42  <SmatZ> I really do hope the LTO branch will solve all these problems
21:24:57  <planetmaker> new version of the version detection out
21:25:00  <SmatZ> yeah, but its virtuality is inherited
21:25:23  <Rubidium> ghehe... let them first compile OpenTTD without crashing and then wonder about the result of the compilation :)
21:25:45  <SmatZ> hehe
21:25:51  <planetmaker> uhm?
21:26:07  <SmatZ> planetmaker: gcc-lto :)
21:26:19  * planetmaker has no knowledge of it.
21:26:41  <planetmaker> ah
21:26:44  <MyCatVerbs> Link Time Optimization.
21:26:47  <MyCatVerbs> Neat.
21:27:04  <planetmaker> sounds... neat and dodgy at the same time
21:27:09  <MyCatVerbs> Have you ever tried concatenating OpenTTD's entire sources? :D
21:27:19  <SmatZ> yes
21:27:22  <planetmaker> no need, is there?
21:27:27  <SmatZ> it was pain
21:27:32  <planetmaker> :-O
21:27:34  <SmatZ> and failed, of course :)
21:27:39  <planetmaker> why do you do that, SmatZ?
21:27:40  <MyCatVerbs> Then compile with -fwhole-program. :)
21:27:55  *** Tefad [~tefad@c-98-249-11-38.hsd1.va.comcast.net] has joined #openttd
21:28:02  <MyCatVerbs> planetmaker: Because otherwise you only get optimization up to the boundaries of .o files, so to speak.
21:28:14  <SmatZ> MyCatVerbs: somehow it failed
21:28:19  <MyCatVerbs> Any optimization that would require analysis of more than one module simultaneously can't be done.
21:28:38  <planetmaker> hm, yes
21:28:43  *** Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has quit [Quit: Leaving]
21:28:44  *** Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has left #openttd []
21:28:49  <CIA-1> OpenTTD: yexo * r17311 /trunk/src/ (55 files in 3 dirs): -Change: rename STR_WHITE_STRINGN to STR_WHITE_STRING
21:29:02  <MyCatVerbs> Like inlining functions defined in module A which are used in module B. AFAIK that's the most common issue?
21:29:26  <planetmaker> writing this version-fix patch, btw, was good :-)
21:29:30  <SmatZ> I don't remember why, I tried it quite long time ago
21:29:46  <planetmaker> I learnt something about passing parameters by reference vs. by value ;-)
21:30:02  <MyCatVerbs> SmatZ: Pity, but not surprising. Most projects with interesting build systems can't easily be just catted together. :/
21:30:03  <SmatZ> :)
21:32:06  <glx> MyCatVerbs: just use MSVC, it does LTO :)
21:32:22  * MyCatVerbs grimaces.
21:32:29  <MyCatVerbs> glx: but that's good to know. ^^
21:33:02  *** Brianetta [~brian@client-81-109-185-122.hers.adsl.virgin.net] has joined #openttd
21:33:28  <planetmaker> that's interesting to know :-)
21:34:01  <CIA-1> OpenTTD: rubidium * r17312 /trunk/src/road_gui.cpp: -Codechange: make the road toolbars and depot picker nested
21:44:41  *** Grelouk [~Grelouk@177.104.200-77.rev.gaoland.net] has quit [Quit: Quitte]
21:45:55  *** Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has quit [Remote host closed the connection]
21:46:40  *** Nite_Owl [~Nite_Owl@c-76-109-50-97.hsd1.fl.comcast.net] has joined #openttd
21:47:01  <Nite_Owl> Hello all
21:47:23  *** [com]buster is now known as Combuster
22:12:52  *** Vikthor [~Vikthor@161-18-80-78.strcechy.adsl-llu.static.bluetone.cz] has left #openttd []
22:13:15  *** asilv [~as@h-62-142-160-55.joensuunelli.fi] has quit []
22:18:05  <Eddi|zuHause> # da simmer dabei
22:18:11  *** |Terkhen| [~Terkhen@177.69.220.87.dynamic.jazztel.es] has quit [Quit: ...]
22:18:14  <Eddi|zuHause> # das ist priiiima
22:18:47  <Eddi|zuHause> # viva volognia
22:19:02  <Eddi|zuHause> s/vo/co/
22:22:56  <Eddi|zuHause> why must it be that whenever you come from a place where people are, you smell like you smoked?
22:23:27  <Aankhen``> Erm, because you did?
22:23:56  *** Combuster [~eternal@cust-03-55bf402e.adsl.scarlet.nl] has quit [Remote host closed the connection]
22:24:19  <SmatZ> hehe
22:24:24  <Eddi|zuHause> i would be a militant non-smoker, if i wasn't so lazy
22:24:38  *** Progman [~progman@p57A1F2FE.dip.t-dialin.net] has joined #openttd
22:24:44  <CIA-1> OpenTTD: rubidium * r17313 /trunk/src/road_gui.cpp: -Codechange: make the road station picker nested
22:25:05  <Aankhen``> Eddi|zuHause: So you just laze around on a hammock and smoke all day instead? :-P
22:25:31  <SmatZ> I used to be tolerant to smell of cigarets in pubs... but recently, I am having feelings of vomit when I smell that :-x
22:25:33  <Eddi|zuHause> someone should forbid smoking in all public places
22:25:44  <SmatZ> still I am tolerant, I just don't go to pubs...
22:26:16  <Aankhen``> It's illegal where I live, but laws here are more like guidelines.
22:26:29  <Eddi|zuHause> someone showed me a photo of a "smoking cabin"
22:26:30  <SmatZ> I am against laws of this kind
22:26:49  <SmatZ> the owner of pub should decide if, or when, people can smoke
22:27:19  <Aankhen``> Why?  They don't exist in a vacuum.
22:27:35  <Aankhen``> That would make sense if they had their own private atmosphere.
22:27:49  <Rubidium> SmatZ: so the owner of a pub should decide if, or when, people can spit eachother in the face?
22:28:17  * Rubidium is happy smoking is generally banned now
22:28:41  <SmatZ> Rubidium: spitting in face degrades people... when you go in box ring, you can expect being hit
22:28:53  <SmatZ> that's what you expect when you go to pub where smoking is allowed
22:28:54  <Eddi|zuHause> it is not banned in "open" places here, which sadly includes beer tents...
22:29:03  <Aankhen``> Uh, smoking *kills* people.  I think that's a little more serious, don't you?
22:29:18  <SmatZ> when you don't want to be hit/smell smoke, you got o pub/restaurant where smoking is forbidden
22:29:28  <SmatZ> Aankhen``: we are born to die
22:29:41  <Aankhen``> Wonder why everyone makes such a fuss about murder then.
22:29:44  <SmatZ> life without any dangers and risks would be boring
22:30:06  <Rubidium> SmatZ: how often are you to actually choose which restaurant to go to? Most of the time I get invited, as such I have no way to choose restaurants
22:30:10  <Eddi|zuHause> SmatZ: we had this siutation for decades... if there is no law against smoking, there are no pubs that forbid smoking
22:30:33  <Eddi|zuHause> no sane pub owner would do that, and push out a large part of his customer base
22:30:56  <SmatZ> many pubs have non-smoking and smoking areas
22:31:03  <Rubidium> on the other hand, the lots of smoking stuff made me not go to pubs/restaurants/whatever
22:31:10  <SmatZ> also, you can sit outside
22:31:12  <Eddi|zuHause> and if you know smokers, you are forced to go to a smoking area then
22:31:16  <SmatZ> no problem in summer
22:31:21  <Rubidium> SmatZ: sit outside where people are smoking :(
22:31:23  <SmatZ> Eddi|zuHause: yeah :(
22:31:42  <Eddi|zuHause> instead if smoking is generally forbidden, you can sit with the smokers, and when they "feel the urge", they go outside
22:31:47  <SmatZ> Rubidium: you have to hope in good wind direction then :(
22:31:57  <Rubidium> it's annoying enough that the person 3/4 houses down the road occasionally smokes outside
22:32:25  <Eddi|zuHause> what's a 3/4 house? :p
22:32:38  <Rubidium> 3 to 4
22:32:41  <Eddi|zuHause> you have quadruple-houses? :p
22:32:55  <Aankhen``> It's where they forgot to put in one wall.
22:33:37  <SmatZ> well... I am occasional-smoker... I haven't smoked for almost a year though
22:33:38  <Eddi|zuHause> i'm going to shower...
22:33:41  <Rubidium> it only results in me coughing like hell, which in effect means that I better not open my windows in summer to cool the house
22:33:43  <SmatZ> I dislike the smell now :-p
22:34:33  <SmatZ> though I sometimes smoke a cigar
22:34:51  <glx> not good for the others :)
22:34:55  <SmatZ> and hookah
22:34:56  <SmatZ> hehe
22:35:02  <SmatZ> true :)
22:35:11  <SmatZ> we go outside because of that though
22:36:02  <glx> here we have to go outside too
22:36:23  <SmatZ> I can't imagine such laws in France
22:36:44  <glx> it's to protect employees
22:37:09  *** helb [~helb@84.244.90.36] has quit [Ping timeout: 480 seconds]
22:38:45  *** Progman [~progman@p57A1F2FE.dip.t-dialin.net] has quit [Remote host closed the connection]
22:48:26  <Eddi|zuHause> the "protection" is of not much use, when you have to walk through a (now much higher concentrated) cloud of smoke when you walk through the door
22:57:13  <Yexo> Rubidium / DaleStan: I'm compiling nforenum and it looks like Makefile overwrites the CFLAGS from Makefile.local
22:57:36  <Yexo> shouldn't the "-include ${MAKEFILELOCAL}" be moved a few lines down?
23:01:17  *** KritiK [~Maxim@78-106-147-161.broadband.corbina.ru] has quit [Quit: Leaving]
23:02:31  *** Phoenix_the_II [ralph@home.deboom.biz] has quit [Read error: Connection reset by peer]
23:02:39  *** Phoenix_the_II [ralph@home.deboom.biz] has joined #openttd
23:03:34  *** Aankhen`` [~foo@122.162.167.218] has quit []
23:04:56  <Nite_Owl> is it possible in terms of NFO coding for a tram to have one speed when its tracks are off road and another speed when its tracks are on road ?
23:05:21  <Yexo> Nite_Owl: I don't think that's currently possible
23:05:53  <Eddi|zuHause> that should rather be a feature of the road types
23:05:59  <Nite_Owl> I did not think so but it cannot hurt to ask
23:07:09  <Eddi|zuHause> like a town would generally build roads that have a speed limit of 50km/h
23:07:25  <Eddi|zuHause> and faster roads cannot be used to grow houses next to them
23:08:03  <Eddi|zuHause> naybe the town could "downgrade" existing roads
23:09:04  <Nite_Owl> need to feed - later all
23:09:11  *** Nite_Owl [~Nite_Owl@c-76-109-50-97.hsd1.fl.comcast.net] has quit [Quit: Read You Soon]
23:10:01  <MyCatVerbs> Eddi|zuHause: that would make me want to bulldoze every town off the map.
23:10:23  <MyCatVerbs> I mean sure you could implement that, but not unless you're going to implement anonymous tactical nukes too.
23:11:55  <Eddi|zuHause> i'm not sure what your problem is. that is exactly how every town in the world works
23:13:13  <Eddi|zuHause> if a town grows along an existing road, it limits that road to town speed limit
23:13:43  <MyCatVerbs> My problem is that my road networks would spontaneously become mind-bendingly slow and useless - at exactly the same time as the towns get large enough for it to be profitable to make use of them.
23:14:31  <MyCatVerbs> Fun over realism and all that jazz.
23:15:19  <MyCatVerbs> Oh and also it'd muck the game balance up quite violently - making road vehicles really embarrassingly unprofitable. It'd have to be balanced out some other way.
23:16:38  <Eddi|zuHause> the balance would be "you can't bulldoze half the town to build a train station"
23:17:26  <Eddi|zuHause> and there could be a way to have expressways through a town
23:17:39  <Eddi|zuHause> but the town won't grow along these
23:18:59  <MyCatVerbs> Meh, town councils are annoying.
23:19:21  <MyCatVerbs> I'm telling you, tactical nuclear warhead left anonymously in a suitcase somewhere.
23:22:07  <Eddi|zuHause> i really don't understand you... you say "X must be balanced" and then you say "but that balance is annoying"
23:22:20  <Yexo> it'd muck the game balance up <- what balance?
23:22:27  <MyCatVerbs> Yexo: point. :/
23:22:45  <Eddi|zuHause> if you want a nuclear warhead, go play command and conquer...
23:23:08  <MyCatVerbs> Eddi|zuHause: I should be clearer. I mean town councils are annoying. Making them more annoying would probably warrant adding a tac-nuke option.
23:23:52  <Eddi|zuHause> and there exists such an option, it's called "magic bulldozer"
23:25:11  <MyCatVerbs> You're right, I should play Command & Conquer. :/
23:28:21  *** tdev [~tdev@p508EE22A.dip.t-dialin.net] has quit [Quit: Leaving]
23:32:56  *** Eddi|zuHause [~johekr@p54B764FA.dip.t-dialin.net] has quit []
23:33:18  *** Eddi|zuHause [~johekr@p54B7620B.dip.t-dialin.net] has joined #openttd
23:34:25  *** Nicholas [~Nicholas@124-170-47-160.dyn.iinet.net.au] has joined #openttd
23:35:19  <Nicholas> It seems that OpenTTD is broken in fullscreen only on Mac OSX Snow Leopard
23:36:48  <Nicholas> Works fine in windowed though
23:37:31  <Eddi|zuHause> because macos is shit
23:38:05  *** Nicholas [~Nicholas@124-170-47-160.dyn.iinet.net.au] has quit []
23:38:28  <Eddi|zuHause> i read that as a "yes, i agree."
23:38:49  <MyCatVerbs> That could be construed as a little bit hostile.
23:39:47  <Eddi|zuHause> i'm the least hostile person in this entire channel
23:40:15  <MyCatVerbs> ...I could start hugging everybody who comse in, and then that wouldn't be true any more.
23:40:20  *** Coco-Banana-Man [~Stephan.D@p5B2DCF61.dip.t-dialin.net] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
23:40:24  <MyCatVerbs> s/comse/comes/
23:41:39  <Eddi|zuHause> if an unprovoked hug can not be considered an act of hostility by a person unfamiliar with the culture
23:42:11  <MyCatVerbs> You raise a good point. Hrmn.
23:42:31  <MyCatVerbs> How about we dose them with MDMA first so they'll get all cuddly and appreciate it?
23:43:18  <Eddi|zuHause> i have no idea what that is, but it sounds not very comforting
23:45:22  <MyCatVerbs> Disco biscuits.
23:46:28  <Eddi|zuHause> is that how you meet your "girlfriends"?
23:47:16  *** TinoDidriksen [~tino@port432.ds1-od.adsl.cybercity.dk] has quit [Ping timeout: 480 seconds]
23:49:41  <MyCatVerbs> Eddi|zuHause: you seem to assume some really alarming things about me. oO
23:51:24  <glx> we didn't had enough time to suggest the usual solutions
23:53:14  <glx> [01:35:30] <Nicholas> It seems that OpenTTD is broken in fullscreen only on Mac OSX Snow Leopard <-- though it's a new version so it's not surprising they break our stuff again ;)
23:53:34  <Eddi|zuHause> MyCatVerbs: you mean that from your presence in this channel i derive that you are probably male, are into women, and have trouble approaching them?
23:54:43  <MyCatVerbs> Eddi|zuHause: that much was obvious. The alarming bit was where you semi-accused me of date-raping strangers. oO
23:55:21  <Eddi|zuHause> well _i_ was not the person coming up with the idea of party drugs...
23:55:21  <glx> I understood the same thing
23:55:47  *** TinoDidriksen [~tino@port432.ds1-od.adsl.cybercity.dk] has joined #openttd
23:56:34  <MyCatVerbs> Eddi|zuHause: what's wrong with giving out free drugs on IRC?
23:57:22  <Eddi|zuHause> probably as much as free viruses or free spam
23:58:12  *** Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has joined #openttd

Powered by YARRSTE version: svn-trunk