Config
Log for #openttd on 16th April 2006:
Times are UTC Toggle Colours
00:00:47  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has joined #openttd
00:01:53  <glx> izhirahider: because currently openttd can't write cyrillic alphabet
00:02:23  <izhirahider> I see
00:03:04  <norbert79> When can we expect UTF support?
00:03:07  <Eddi|zuHause2> ngah... the existance of >= 4 trains can and will screw any single track system...
00:03:17  <Eddi|zuHause2> *gnah
00:03:23  <valhallasw> not true Eddi|zuHause2 :p
00:03:45  <glx> depends of layout I think
00:04:03  <valhallasw> I can think of one very simple layout that cannot screw up
00:04:12  <valhallasw> a single line, no signals, only two stations
00:04:21  <Eddi|zuHause2> well... the basic design: single track - small doubletrack section - single track
00:04:42  <Eddi|zuHause2> i should use PBS there...
00:05:02  <valhallasw> !
00:05:09  <Eddi|zuHause2> so a train will only enter the single track section, if it can actually enter the next doubletrack section
00:05:38  <glx> can't be done using combos?
00:05:52  <valhallasw> pbs makes the whole task very simple indeed
00:06:23  <glx> I agree but we do not have PBS
00:06:35  <Eddi|zuHause2> no, combo's won't work
00:06:53  <Eddi|zuHause2> because you have two exits, one in each direction
00:07:10  <Eddi|zuHause2> a normal entrance signal will only check both exits
00:07:21  <Eddi|zuHause2> no matter, if it can actually go there
00:07:24  <glx> your double track section are usable in two directions?
00:07:31  *** Spoco [n=Spoco@dsl-083-102-071-182.lohjanpuhelin.fi] has quit []
00:07:52  <Eddi|zuHause2> no... but i have double section A - single track - double section B
00:08:27  <Eddi|zuHause2> the entrance signal from A to single must depend on the exit signal from single to B
00:08:40  <Eddi|zuHause2> and the entrance from B must depend on the exit to A
00:08:46  <valhallasw> where is my PBS signal? >:(
00:08:57  <Kjetil> In your backyard
00:09:10  <valhallasw> oh, right
00:09:12  <valhallasw> 0.4.7
00:09:32  <Kjetil> Changelog : Moved all PBS code to valhallasws backyard
00:10:32  <valhallasw> :p
00:12:05  <valhallasw> my system has some weird effects
00:12:29  <Eddi|zuHause2> *mental note... dont screw with PBS while there are trains anywhere near...
00:12:54  <valhallasw> well
00:13:13  <valhallasw> I forgot pbs also means trains wont depart if they do not have an exit path aka a green signal next
00:13:54  <valhallasw> but that itself will prevent the system from blocking
00:14:07  <valhallasw> ..partially
00:14:46  <valhallasw> it will just make it jam at 6 trains instead of 4
00:15:54  <Eddi|zuHause2> yes, that's the plan ;)
00:16:41  <Eddi|zuHause2> in a PBS rewrite, all signals should automatically be PBS
00:17:06  <Eddi|zuHause2> with proper presignalling when wanted
00:19:34  <valhallasw> I do not agree
00:21:40  <Eddi|zuHause2> well... better than having to click 20 times to get the right signal type
00:22:17  <valhallasw> yes
00:22:26  <Richk67> yabadabadoo!!!!!!   success :)  two different forest graphics on same screen :)
00:22:38  <glx> how did you do that?
00:22:55  <glx> loading artic sprites somewhere else?
00:23:00  <Richk67> i loaded the trgcr.grf graphics separately
00:23:25  <Richk67> then detected when it was trying to draw the specific sprite, and swapped it based on height
00:24:41  <glx> hmm that looks like a hack :)
00:25:10  <Eddi|zuHause2> that smells 20 miles against the wind :p
00:26:18  <Richk67> lol - yeah, but it works, and until "someone" allows true multiple climates on a map, it will do for me (and probably lots of others ;) )
00:27:14  <Richk67> anyway - what will true climates have to do... load all climate graphics, and then select what to use based on terrain... umm... didnt i just say that
00:28:00  *** Forexsmas [i=Forexs@x1-6-00-0f-b5-14-63-5f.k136.webspeed.dk] has joined #openttd
00:28:05  *** Forexs [i=Forexs@x1-6-00-0f-b5-14-63-5f.k136.webspeed.dk] has quit [Read error: 104 (Connection reset by peer)]
00:40:17  *** Morlark [n=Sean@host86-141-120-61.range86-141.btcentralplus.com] has joined #openttd
00:45:15  *** norbert79 [n=Norbi@3e44a3fc.adsl.enternet.hu] has quit ["Connection reset by beer"]
01:23:59  *** Eddi|zuHause2 [i=johekr@p54B76851.dip.t-dialin.net] has quit []
01:26:22  *** Eddi|zuHause [i=johekr@p54B76851.dip.t-dialin.net] has joined #openttd
01:35:23  *** Richk67 [n=RichK67@194.164.100.143] has quit []
01:38:40  *** KritiK [i=Maxim@ppp85-141-200-47.pppoe.mtu-net.ru] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"]
01:43:09  *** csuke331 [n=Red@81-86-117-11.dsl.pipex.com] has joined #openttd
01:43:09  *** csuke [n=Red@81-86-117-11.dsl.pipex.com] has quit [Read error: 104 (Connection reset by peer)]
01:43:12  *** csuke331 is now known as csuke
01:49:32  *** |Jeroen| [n=users@dD57729A7.access.telenet.be] has quit ["Leaving"]
02:36:24  *** glx [i=glx@bny93-6-82-245-156-124.fbx.proxad.net] has quit ["Bye!"]
02:58:06  *** Andrew67 [n=andrew67@206.248.80.224] has quit ["Leaving"]
03:01:55  *** Osai [n=Osai@p54B365E9.dip.t-dialin.net] has joined #openttd
03:35:54  *** jnmbk [n=jnmbk@88.240.23.102] has joined #openttd
03:39:50  *** ^Cartman^ [n=Eric_Car@ti100710a081-6310.bb.online.no] has quit ["Que?"]
03:43:54  *** AciD [n=gni@tehpwnz.org] has joined #openttd
04:17:14  *** Forexsmas [i=Forexs@x1-6-00-0f-b5-14-63-5f.k136.webspeed.dk] has quit [Read error: 104 (Connection reset by peer)]
04:47:43  *** tokai [n=tokai@p54B81778.dip0.t-ipconnect.de] has joined #openttd
04:54:31  *** AciD [n=gni@unaffiliated/acid] has quit [Connection timed out]
05:01:53  *** tokai|3 [n=tokai@p54B84E18.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
05:02:08  *** bp0 [i=pburt0@watertownDHCP-2.216-254-231.iw.net] has joined #openttd
05:13:00  *** bp0 [i=pburt0@watertownDHCP-2.216-254-231.iw.net] has left #openttd []
06:13:03  *** _kujeger [n=kujeger@194.0.66.156] has joined #openttd
06:14:36  *** kujeger [i=kujeger@kujeger64.e65-sw6.tg06.gathering.org] has quit [Read error: 110 (Connection timed out)]
06:23:40  *** thgergo [n=th_gergo@dsl51B7891A.pool.t-online.hu] has joined #openttd
06:24:30  *** mouse|home [n=mouse@ppp83-237-21-78.pppoe.mtu-net.ru] has joined #openttd
06:33:31  *** _kujeger [n=kujeger@194.0.66.156] has quit ["Konversation terminated!"]
06:43:21  <MiHaMiX> morning
06:49:26  *** kujeger [i=kujeger@kujeger64.e65-sw6.tg06.gathering.org] has joined #openttd
06:55:50  *** jnmbk [n=jnmbk@88.240.23.102] has quit [Read error: 110 (Connection timed out)]
07:09:55  *** Belugas_Gone [n=Jfranc@216.191.111.226] has quit ["On snow, everyone can follow your traces"]
07:13:15  *** Aankhen`` [n=pockled@203.101.1.7] has joined #openttd
07:14:16  *** coppercore [n=copperco@dpc691922180.direcpc.com] has quit [Read error: 104 (Connection reset by peer)]
07:18:24  *** coppercore [n=copperco@dpc691922180.direcpc.com] has joined #openttd
07:32:52  *** mouse|home [n=mouse@ppp83-237-21-78.pppoe.mtu-net.ru] has quit ["ðÏËÉÄÁÀ"]
07:59:45  *** kujeger [i=kujeger@kujeger64.e65-sw6.tg06.gathering.org] has quit [Read error: 104 (Connection reset by peer)]
08:06:46  *** TL|Away is now known as TrueLight
08:15:22  *** Cheery [i=Henri@a81-197-60-217.elisa-laajakaista.fi] has joined #openttd
08:22:01  <MiHaMiX> Hi TrueLight :)
08:23:08  <TrueLight> hi MiHaMiX
08:36:17  *** Xeryus|sleep is now known as XeryusTC
08:39:03  *** PAStheLoD [n=pas@catv-56656dbc.catv.broadband.hu] has joined #openttd
08:53:51  *** sw4y [n=sw4y@snat2.arachne.czfree.net] has joined #openttd
08:55:14  *** sw4y [n=sw4y@snat2.arachne.czfree.net] has quit [Remote closed the connection]
09:04:00  *** sw4y [n=sw4y@snat2.arachne.czfree.net] has joined #openttd
09:09:04  *** |VillageIdiot| [n=jurgen@d51A43FD0.access.telenet.be] has joined #openttd
09:09:43  *** CobraA1 [n=Jeremiah@cpe-024-088-000-194.sc.res.rr.com] has joined #openttd
09:11:32  *** jnmbk [n=jnmbk@85.106.138.179] has joined #openttd
09:14:10  *** Bjarni [n=Bjarni@0x50a41633.virnxx14.adsl-dhcp.tele.dk] has joined #openttd
09:14:12  *** mode/#openttd [+o Bjarni] by ChanServ
09:16:11  <MiHaMiX> ok
09:17:02  *** MiHaMiX changed the topic of #openttd to: 0.4.7 | WebTranslator2 public beta test begun! | Website: *.openttd.org (Translator: translator2, Gameservers: servers, Nightly-builds: nightly, WIKI: wiki, SVN mailinglist: maillist, Dev-docs: docs, Bug-reports: bugs)
09:17:31  <XeryusTC> MiHaMiX: gratz :)
09:17:35  <MiHaMiX> ok, so WebTranslator2 public beta test has begun! :)
09:17:40  <jnmbk> mihamix: can you open me a translator2 account?
09:18:14  <MiHaMiX> jnmbk: for turkish?
09:18:19  <jnmbk> yes
09:18:35  *** Zr40_ is now known as Zr40
09:18:44  <Zr40> MiHaMiX: me too? :)
09:19:09  <MiHaMiX> jnmbk, Zr40: use the link at translator2.openttd.org, and write me your desired login, password, realname and the language!
09:19:10  <Bjarni> do anybody know how I can run a command in bash, that pipes strout to /dev/null and stderr to stdout, so I only get strerr?
09:19:21  <Bjarni> I saw a page on how to do it once, but now I can't find it :(
09:19:29  <jnmbk> mihamix: ok
09:19:31  <MiHaMiX> Bjarni: command >>/dev/null 2>>&1
09:19:43  <Zr40> 2>&1
09:19:47  <Patrick`> >> is unnecesarry
09:19:57  <MiHaMiX> Patrick`: no.
09:19:59  <Patrick`> command > /dev/null 2>&1
09:20:03  <Patrick`> will work just as well
09:20:13  <MiHaMiX> Patrick`: ah, yes, that's true.
09:20:17  <Patrick`> it's not like /dev/null is going to get overwritten
09:20:18  *** ThePizzaKing [n=thepizza@c211-28-155-182.eburwd2.vic.optusnet.com.au] has quit ["And he disappears, like a fox, in the night."]
09:20:37  <MiHaMiX> Patrick`: i just want to append to /dev/null :D
09:20:45  <Bjarni> <Patrick`>	command > /dev/null 2>&1 <-- I already tried that one, and it forwarded stderr to stdout, which forwarded to /dev/null :(
09:21:01  <MiHaMiX> Bjarni: reverse order
09:21:09  <MiHaMiX> Bjarni: command 2>&1 >/dev/null
09:21:35  *** Rexxie [n=rexxars@rexxars.e43-sw5.tg06.gathering.org] has quit ["edgepro: Why are you staring at my shoes? They're perfectly normal."]
09:21:46  *** ThePizzaKing [n=thepizza@c211-28-155-182.eburwd2.vic.optusnet.com.au] has joined #openttd
09:22:10  <Bjarni> thanks, now it's working
09:23:16  <MiHaMiX> Bjarni: ok, I'm glad :)
09:24:38  *** tokai|noir [n=tokai@p54B81778.dip0.t-ipconnect.de] has joined #openttd
09:26:06  <MiHaMiX> jnmbk: account created.
09:26:27  <jnmbk> thanks, Mihamix.
09:26:50  <MiHaMiX> jnmbk: btw, use Mozilla Firefox version 1.5+
09:27:16  <jnmbk> I do use it since 1.0
09:27:25  <MiHaMiX> nice :)
09:28:07  <MiHaMiX> jnmbk: WT2 will refuse characters out of iso8859-15, but if Openttd will support utf-8, this limitation will be raised :)
09:30:13  <jnmbk> Bjarni, Danish town name generator has a bug, I hope you fix it soon: http://bugs.openttd.org/task/108
09:33:46  <jnmbk> mihamix: Login failed! Make sure you typed your login/password correctly, in a case sensitive way
09:34:10  <MiHaMiX> jnmbk: err.. sorry, forgot to encrypt your password
09:35:02  <MiHaMiX> jnmbk: ok, fixed.
09:36:20  *** MeusH [n=MeusH@host-ip18-138.crowley.pl] has joined #openttd
09:36:43  <MeusH> hello
09:36:50  <MiHaMiX> MeusH: hi
09:36:58  <MiHaMiX> MeusH: WT2 public beta has begun :)
09:37:03  <MeusH> #openttd.wt2
09:37:07  <MeusH> yeah I saw it
09:37:09  <MiHaMiX> ahh, yes.
09:37:13  <MeusH> that's terrific
09:46:01  *** DJ_Mirage [n=djmirage@biggetje.xs4all.nl] has joined #openttd
09:48:46  *** Jenkz [n=nobody@80-192-44-21.stb.ubr05.dund.blueyonder.co.uk] has joined #openttd
09:57:25  *** Sacro [n=Sacro@adsl-83-100-198-225.karoo.KCOM.COM] has joined #openttd
09:58:43  <MiHaMiX> ok, newsitem placed on www.openttd.org
09:58:54  <MiHaMiX> channel (#openttd.wt2) created
09:59:03  <MiHaMiX> feedback welcomed! :-D
09:59:05  <Sacro> morning all
09:59:10  <MiHaMiX> Sacro: hi
09:59:33  <ThePizzaKing> Hi Sacro
09:59:51  <Sacro> hi MiHaMiX, ThePizzaKing
10:00:10  <Sacro> MiHaMiX: i cant see what i presume to be a copywrite message in the bottom frame
10:00:52  <MiHaMiX> Sacro: I know, but thanks :) I'll fix it ASAP :)
10:01:23  <Sacro> MiHaMiX: looking nice though :) even though being an english speaker i'll probably not need to use it
10:01:54  <CIA-3> KUDr * r4443 /branch/yapf/settings.c: [YAPF] Savegames should be compatible with trunk now
10:02:03  <MiHaMiX> Sacro: thanks :)
10:02:10  <MiHaMiX> hmm
10:02:13  <MiHaMiX> 4444 aimed..
10:03:17  *** |Jeroen| [n=users@dD57729A7.access.telenet.be] has joined #openttd
10:03:19  <CIA-3> miham * r4444 /trunk/lang/ (dutch.txt polish.txt): [WebTranslator2 commir] Dutch, Polish affected
10:03:32  <MiHaMiX> ahh, typo :) nevermind, I hav 4444 :DD
10:03:33  <KUDr> heh
10:03:53  <KUDr> congrat
10:03:53  <MiHaMiX> sorry KUDr :-/
10:04:00  <MiHaMiX> KUDr: you want it?
10:04:08  <KUDr> ok, i have nothing to commit just now
10:04:18  <KUDr> no
10:04:20  <MeusH> MiHaMiX: there are 4 strings pending in Polish
10:04:22  <MeusH> or... 6?
10:04:25  <MeusH> commit them :D
10:04:41  <MiHaMiX> MeusH: already did.
10:05:07  <MiHaMiX> MeusH: polish:  2 bad strings, up-to-date
10:05:28  <MeusH> nice
10:05:53  <KUDr> MiHaMiX: i rather need an idea, where to get some testers
10:06:15  <MiHaMiX> KUDr: testing yapf?
10:06:19  <KUDr> yes
10:06:29  <KUDr> ships and RV
10:06:40  <KUDr> before i do it for trains
10:06:49  <MiHaMiX> ok, let me see
10:08:01  * ThePizzaKing updates his semaphores patch to r4444, just because it looks cool
10:08:01  <MiHaMiX> Checked out revision 4444.
10:08:20  <MiHaMiX> blathijs: 4444 achieved :)
10:08:47  <MiHaMiX> KUDr: compiling
10:09:29  <KUDr> thanks, i thought more about non-dev testers - i don't want to block your time too much
10:10:42  <KUDr> at Patches/Vehicles/Yapf type - one for ships, one for RV - set the PF type (zero=original)
10:11:04  <KUDr> MiHaMiX: what OS do you have?
10:11:16  <MiHaMiX> KUDr: kinux
10:11:21  <MiHaMiX> s/ki/Li/
10:11:26  <KUDr> heh
10:11:55  <KUDr> then please check how i did time measurement - on my linux it gives pseudo-random numbers
10:12:49  <MiHaMiX> currently unit_test is running..:)
10:13:01  <MiHaMiX> ALL 10 TESTS PASSED OK!
10:13:08  <KUDr> well
10:13:16  <KUDr> so it found path
10:13:24  <KUDr> on character map
10:14:13  <KUDr> yapf.hpp: 42..52 - time measurement
10:14:53  <blathijs> MiHaMiX: :-)
10:17:52  *** tokai|noir [n=tokai@p54B81778.dip0.t-ipconnect.de] has quit ["It's like, wah."]
10:18:47  *** tokai|noir [n=tokai@p54B81778.dip0.t-ipconnect.de] has joined #openttd
10:23:48  *** Scia [n=sciapode@AveloN.xs4all.nl] has joined #openttd
10:24:33  <MiHaMiX> KUDr: it would be perfect to have openttd an option to create roads between towns, since it's so time-consuming thing to build that roads :D
10:24:44  *** XeryusTC [n=irc@217.123.34.28] has quit ["So Long, and Thanks for All the Fish"]
10:24:53  <hylje> why not just make the rails automagically too
10:25:13  <MiHaMiX> hylje: I mean, for testing :D
10:25:38  <KUDr> MiHaMiX: yeah, ottd need so many such things, but there are not enough devs for that
10:26:07  <KUDr> i should follow the roadmap -> yapf -> PBS
10:26:17  <Sacro> simutrans has auto laying, but its a pain
10:26:19  <KUDr> then i can do anything else
10:26:51  <CIA-3> bjarni * r4445 /trunk/settings.c:
10:26:51  <CIA-3> -Fix: FS#108 Danish name generator bug
10:26:51  <CIA-3>  this was actually not a bug in the generator, but rather it saved/loaded the setting danish as swiss (the previous in the list)
10:29:31  *** XeryusTC [n=irc@217.123.34.28] has joined #openttd
10:30:55  *** AciD [n=gni@tehpwnz.org] has joined #openttd
10:31:27  <MiHaMiX> bbl, going to the enbankment to check the flood and help preventing the river to flood my city
10:35:05  <Sacro> which city?
10:36:04  <KUDr> Seged i guess
10:39:24  *** tokai|mdlx [n=tokai@p54B80C51.dip0.t-ipconnect.de] has joined #openttd
10:39:43  *** Spoco [i=Spoco@dsl-083-102-071-182.lohjanpuhelin.fi] has joined #openttd
10:45:13  *** BJH [n=chatzill@e176110103.adsl.alicedsl.de] has joined #openttd
10:45:13  <Patrick`> cool, I didn't know he was from around there
10:45:20  <Patrick`> notcool if there's lots of water
10:45:27  *** sw4y [n=sw4y@snat2.arachne.czfree.net] has quit ["Odletam do paralelniho vesmiru..."]
10:45:33  <KUDr> yes there is water
10:45:45  <KUDr> partially from us (CZ)
10:45:58  <KUDr> and from SK
10:46:11  *** MeusH is now known as MeusH[away]
10:46:19  *** Hallo [n=me@c094.fem.tu-ilmenau.de] has joined #openttd
10:46:45  *** ^Cartman^ [n=Eric_Car@ti100710a081-6310.bb.online.no] has joined #openttd
10:48:35  *** webfreakz [n=Ronald@195.73.147.226] has joined #openttd
10:51:20  *** StarLite [n=Star@StarLite.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)]
10:56:17  *** StarLite [n=Star@StarLite.xs4all.nl] has joined #openttd
10:56:23  *** webfreakz [n=Ronald@195.73.147.226] has left #openttd []
10:57:43  *** tokai [n=tokai@p54B81778.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
11:00:11  *** tokai|noir [n=tokai@p54B81778.dip0.t-ipconnect.de] has quit [Read error: 110 (Connection timed out)]
11:03:00  *** Brianetta [n=brian@82-39-48-88.cable.ubr03.benw.blueyonder.co.uk] has joined #openttd
11:03:28  <Brianetta> Happy Oestrogen!
11:04:10  <hylje> :o
11:05:19  <Brianetta> Fluffy bunnies and eggs of fertility a-plenty!
11:05:25  <Brianetta> Rabbit for dinner!
11:05:35  <hylje> omg ponies
11:06:00  <|Jeroen|> ponies for dinner
11:06:03  <Brianetta> yum
11:08:24  <MeusH[away]> cya
11:08:29  *** MeusH[away] is now known as MeusH[gone]
11:14:48  *** DarkSSH [n=tfarago@tin.liacs.nl] has joined #openttd
11:14:51  *** mode/#openttd [+o DarkSSH] by ChanServ
11:14:53  <DarkSSH> mroning
11:16:33  <KUDr> good mroning my lord
11:18:38  <DarkSSH> wow, I'm getting good at this :)
11:18:41  *** DarkSSH is now known as Darkvater
11:18:46  *** mode/#openttd [-o Darkvater] by Darkvater
11:20:00  <Darkvater> MiHaMiX: congrats with WT2 :)
11:20:23  <MiHaMiX> re
11:20:40  <MiHaMiX> just jumped home to get dressed again
11:20:42  <Darkvater> did you copy the logins?
11:20:52  <MiHaMiX> Darkvater: no, I will not copy
11:21:01  <MiHaMiX> Darkvater: there were a lot of retired translators
11:21:11  <Darkvater> ok
11:21:20  <MiHaMiX> Darkvater: please spellcheck the news on the mainpage of www.openttd.org
11:21:26  <MiHaMiX> Darkvater: and fix the possible errors
11:21:31  <MiHaMiX> Darkvater: and thanks :)
11:21:45  <MiHaMiX> Patrick`: yes, Szeged, in the southern part of Hungary
11:22:44  <Sacro> mmmmm, easter eggs
11:22:48  <MiHaMiX> KUDr: yapf went fine with 20 buses in a difficult path
11:22:54  <Patrick`> incidentally, does anyone know what tool was used to decompile ttd originally?
11:22:58  <Patrick`> I need to kinda do the same thing
11:23:01  <MiHaMiX> KUDr: shall I continue the test?
11:23:06  <KUDr> MiHaMiX: thanx
11:23:19  <KUDr> MiHaMiX: not you
11:23:25  <KUDr> better some non-dev
11:23:32  <Sacro> Patrick`: Interactive Dissassembler
11:23:39  <MiHaMiX> KUDr: what does it mean: -r- 0 us - 111 rouds - 21 open - 110 closed -- ?
11:23:46  <Patrick`> damn
11:23:52  <Patrick`> the fancypants one
11:23:57  <KUDr> 111 loops
11:24:09  <KUDr> 21/110 open/closed nodes
11:24:13  <KUDr> in A*
11:24:13  <MiHaMiX> KUDr: ah, pathfinder debug
11:24:17  <KUDr> yes
11:24:17  <MiHaMiX> KUDr: cool :)
11:24:23  <MiHaMiX> A* is a good algorithm ;)
11:24:32  <KUDr> the best I know
11:24:50  <KUDr> if i find better, can try it too
11:25:10  <peter1138> so we have 3 A* implementations? :p
11:25:21  <KUDr> looks so
11:26:03  <Patrick`> even the bloody limited demo is 17 meg
11:26:06  <KUDr> peter1138: do you know any better for me to try?
11:26:11  <peter1138> nope
11:26:26  <CIA-3> peter1138 * r4446 /trunk/ (spritecache.c spritecache.h): - Add function to determine if a Sprite ID exists.
11:26:41  <Darkvater> peter1138: so did I screw up too much with action 10?
11:26:51  <peter1138> only one compile warning ;p
11:27:03  <Darkvater> hmm, really?
11:27:04  <peter1138> (in GRFComment)
11:27:13  <peter1138> ttd_strlcpy
11:27:21  <Darkvater> huh? I didn't add that did I?
11:27:50  <peter1138> looks like it
11:28:35  <Darkvater> grr. didn't wnat to :(
11:29:11  <Brianetta> KUDr: Tried D*? http://www.frc.ri.cmu.edu/~axs/
11:29:15  <Darkvater> hmm how does it even work? ttd_strlcpy needs string.h
11:29:30  <Brianetta> D* = Dynamic A*, which has ways of coping with changing terrain
11:29:36  <Darkvater> see it wouldn't even link..
11:29:36  <Darkvater> bah
11:29:40  <KUDr> Brianetta: no, thankx, can look at it if i will understand it
11:30:08  <Brianetta> Hunt down the page for "Dynamic Planning"
11:31:31  <KUDr> ok
11:32:23  <Darkvater> peter1138: remove or leave in?
11:32:31  <MiHaMiX> KUDr: openttd: yapf/hashtable.hpp:226: void CHashTableT<Titem_, Thash_bits_>::Push(Titem_&) [with Titem_ = CYapfRoadNodeExitDir, int Thash_bits_ = 12]: Assertion `&slot.Find(new_item.GetKey()) == __null' failed.
11:32:38  <peter1138> might as well leave it
11:32:48  *** Qrrbrbirlbel [i=Q@p54A7EC91.dip.t-dialin.net] has joined #openttd
11:32:59  <Darkvater> ..
11:33:09  <peter1138> add the header heh
11:33:10  <KUDr> MiHaMiX: do you have savegame before it happened?
11:33:21  <MiHaMiX> KUDr: no :-(((
11:33:29  <CIA-3> Darkvater * r4447 /trunk/newgrf.c: - NewGRF: It seems I committed printing action NOP Action 0x0C which is mainly used for comments. So leave it in, but fix the created warning. Use proper action name for check_length() in Action 0x10
11:33:32  <MiHaMiX> KUDr: or maybe?
11:33:34  <Darkvater> peter1138: :)
11:34:08  <MiHaMiX> KUDr: I have autosave
11:34:30  <KUDr> ok, can you post it somewhere?
11:34:35  <KUDr> or dcc
11:35:07  <Darkvater> peter1138: about the params :). That grfset etc thingie seems like it's still a long way to go. Mind if I give parameters a shot? Although most likely it will be incompatible with the grfset changes
11:36:04  <peter1138> if you wish
11:37:36  <peter1138> bear in mind you'll need an initial list and a working list for each grf, if it will be eventually used for saveload stuff as well
11:37:37  <MiHaMiX> KUDr: i'll run it again with more frequent autosave, and if I got back home and it crashed again I'll send it to you
11:37:54  <KUDr> ok,
11:37:57  <peter1138> (grfs can change parameters, but you want to send/save the original parameters)
11:39:27  <Darkvater> peter1138: well if read they'll go into the _cur_grffile list thingie and saved from there as well
11:39:30  <Darkvater> hmm I see
11:39:40  <Darkvater> I think that's even easier
11:41:52  <peter1138> that list can get changed though
11:42:17  <peter1138> i think dbsetxl fiddles with its params
11:43:17  <Darkvater> my current idea is to keep the newgf_list[] thingies which will contain just the string-line with name = params.... Then when needed it can just be parsed out
11:43:22  <Darkvater> *big gray area*
11:43:25  <Darkvater> it's working
11:44:12  <peter1138> http://195.112.37.102/ottd/fontsize.diff
11:44:46  <peter1138> hmm, misc_gui.c is wrong
11:45:34  <Darkvater> more global variables? :)
11:45:45  <peter1138> no, just renamed
11:45:45  <Brianetta> Does anybody know of a web search engine that'll find non-alphanumeric characters?
11:45:53  <MiHaMiX> KUDr: it segfaults quite often
11:45:55  <peter1138> but i'm changing those in misc_gui.c to FS_NORMAL
11:45:58  <Brianetta> Searching for D* cmoes up with nothing useful
11:46:15  <KUDr> MiHaMiX: something must be wrong there
11:46:37  <KUDr> Brianetta: yes, same here
11:47:03  <MiHaMiX> KUDr: http://xenon.bibl.u-szeged.hu/~miham/tmp/yapf_sf.sav (used yapf settings 2)
11:47:04  <KUDr> D* looks to be same as A*
11:47:19  <KUDr> MiHaMiX: thanx
11:48:14  <Brianetta> http://www.red3d.com/breese/navigation.html#gamenavi <-- includes non A*
11:48:16  <MiHaMiX> okay folks, going back to the river enbankment, will be back at around evening
11:48:26  * peter1138 updates diff
11:48:40  *** AciD [n=gni@unaffiliated/acid] has quit [Read error: 110 (Connection timed out)]
11:49:58  <Darkvater> ah
11:50:13  <Darkvater> I was getting my hopes up of having bigger text in the console for the visually disabled :P
11:50:16  <KUDr> MiHaMiX: I have the assert, many thanks
11:50:32  <peter1138> Darkvater: if you really insist... ;p
11:50:52  <Brianetta> Ooo, KUDr, have you tried LPA*?
11:51:14  <KUDr> Brianetta: no, i don't know that
11:51:16  <Brianetta> http://csci.mrs.umn.edu/UMMCSciWiki/pub/CSci3903s03/KellysPaper/seminar.pdf
11:51:19  <Brianetta> PDF
11:51:40  <Brianetta> It is A*, but re-uses parts of previous (failed) route searches
11:51:52  <Brianetta> It has diagrams (:
11:52:10  <KUDr> saved, will look there later, thanks
11:52:21  <KUDr> aha
11:56:24  *** gigajum [i=LucY@dslb-084-056-139-117.pools.arcor-ip.net] has joined #openttd
11:56:24  <peter1138> hmm, how big is the unicode character space?
11:57:02  <KUDr> nearly 0x100000
11:57:32  <peter1138> nearly?
11:57:37  <KUDr> minus some reserved ranges
11:57:43  <peter1138> my charmap goes up to U+10FFF7
11:57:53  <KUDr> for UTF-16
11:58:00  <KUDr> aha
11:58:03  <KUDr> yes
11:58:08  <KUDr> 110000
12:02:15  *** Angst [n=Angst@p54946106.dip.t-dialin.net] has joined #openttd
12:24:19  *** KritiK [i=Maxim@ppp24-36.pppoe.mtu-net.ru] has joined #openttd
12:28:21  <Zr40> peter1138: there are 17 'realms' of 0x10000 size in unicode
12:28:44  *** stillunknown [n=unknown@82-168-177-167.dsl.ip.tiscali.nl] has joined #openttd
12:30:23  *** [1]Sacro [n=Sacro@adsl-83-100-141-60.karoo.KCOM.COM] has joined #openttd
12:32:43  *** AciD [n=gni@tehpwnz.org] has joined #openttd
12:37:30  *** [1]Sacro [n=Sacro@adsl-83-100-141-60.karoo.KCOM.COM] has quit [" Like VS.net's GUI?  Then try HydraIRC -> http://www.hydrairc.com <-"]
12:38:39  <Patrick`> realms, eh?
12:38:47  <Patrick`> unicode: the mmorpg
12:39:02  <Patrick`> I have myself a sweet level 35 EUR
12:41:57  *** Belugas_Gone [n=Jfranc@216.191.111.226] has joined #openttd
12:46:06  *** Sacro [n=Sacro@adsl-83-100-198-225.karoo.KCOM.COM] has quit [Read error: 110 (Connection timed out)]
12:46:56  *** Osai^2 [n=Osai@p54B379A7.dip.t-dialin.net] has joined #openttd
12:57:02  *** jnmbk [n=jnmbk@85.106.138.179] has quit [Read error: 110 (Connection timed out)]
12:58:27  <Darkvater> hmm fontrenew.grf makes my uparrow disappera
12:58:29  <Darkvater> ..
12:59:50  <Darkvater> damn how I hate the windows command prompt
13:00:13  <Darkvater> it's like programming in basic when you already have self-learning programming languages that continually improve themselves
13:02:44  *** Osai [n=Osai@p54B365E9.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
13:03:02  *** Singaporekid [n=notme@cm212.epsilon122.maxonline.com.sg] has joined #openttd
13:03:20  *** ThePizzaKing [n=thepizza@c211-28-155-182.eburwd2.vic.optusnet.com.au] has quit ["And he disappears, like a fox, in the night."]
13:03:28  <stillunknown> @Darkvater: there's always the option of mingw or cygwin
13:04:56  <Patrick`> cygwin still uses cmd.exe as a shell
13:04:58  <Patrick`> by default
13:05:07  <Patrick`> but there's a way round that, thanks to a miracle called puttycyg
13:05:21  <Patrick`> which is, using a hacked putty as a shell, no ssh or anything
13:05:36  <Darkvater> stillunknown: too slow :(
13:06:25  <Darkvater> bizarre, can't figure out why my UPARROW is gone, newfontsw.grf only does a simple sprite-replace on the trg1r alphabet
13:06:40  * peter1138 accidentally adds freetype support
13:07:44  *** jnmbk [n=jnmbk@85.103.84.164] has joined #openttd
13:11:46  *** CobraA1 [n=Jeremiah@cpe-024-088-000-194.sc.res.rr.com] has quit [Read error: 110 (Connection timed out)]
13:11:55  <Darkvater> that would be a big accident ;)
13:14:16  <peter1138> it's actually not that big
13:14:59  *** Richk67 [n=RichK67@194.164.100.143] has joined #openttd
13:15:54  <Richk67> hi all  - more snow success :)
13:16:05  <CIA-3> KUDr * r4448 /branch/yapf/yapf/ (nodelist.hpp yapf_base.hpp yapf_road.cpp): [YAPF] Fix: RV YAPF type 2 fails on simple road loop (thanks to MiHaMiX for reporting this bug and providing savegame)
13:16:14  <Darkvater> hmm, can't figure out why this uparrow disappears :(
13:16:21  <Darkvater> why are these sprites so complicated
13:17:59  <peter1138> hmm
13:18:09  <peter1138> hmm
13:18:15  <peter1138> monochrome bitmap works now
13:18:18  <Patrick`> hmm?
13:18:21  <peter1138> still looks odd those
13:18:31  <peter1138> *though
13:20:05  <Darkvater> Richk67: what happened? ;)
13:20:35  <Richk67> DV: to what??
13:22:00  <Darkvater> 15:15 < Richk67> hi all  - more snow success :)
13:22:11  <Richk67> ah - right - yes
13:22:26  <Richk67> i have got MBs green/snow tiles working
13:22:43  <Richk67> http://www.tt-forums.net/viewtopic.php?p=430667#430667
13:24:14  <Darkvater> sweet
13:25:13  * peter1138 gets shadows working correctly
13:25:20  <peter1138> hmm, spaces are too thin, heh
13:29:01  * stillunknown hates it when he breaks savegames, goes to fix it
13:30:44  <stillunknown> is oldloader just for original ttd savegames or also the place to deal with savegame changes?
13:31:55  *** scia2 [n=sciapode@AveloN.xs4all.nl] has joined #openttd
13:33:20  *** MeusH[gone] is now known as MeusH
13:34:19  <Darkvater> stillunknown: only ttdpatch
13:35:10  <stillunknown> i added a new price and wondering were i can convince it that it's not going to break anything
13:36:18  <stillunknown> (unknown tag error)
13:36:30  <peter1138> yay, much better
13:37:55  <Patrick`> speaking of the ability to load TTD savegames, I get crashes when I try
13:38:12  <Patrick`> let me find out more
13:38:24  <stillunknown> there were some fixes yesterday in oldloader
13:38:36  <stillunknown> are you using a recent version?
13:38:38  <Patrick`> in trunk?
13:38:41  <Patrick`> I'll update now
13:38:51  <stillunknown> yes, trunk
13:39:01  <peter1138> hmm, i need a list of 'special' glyphs
13:40:11  <peter1138> Darkvater: there's a bug with the mouse pointer hiding code
13:40:31  <peter1138> if you enter the window with a button pressed, the pointer doesn't appear
13:41:15  <peter1138> damn, where's tron's ftp
13:43:05  <Patrick`> ok, when I try to load my old savegame:
13:43:11  <Patrick`> pool.h line 51 assert
13:43:25  <Patrick`> time for a debug build?
13:44:18  *** Qrrbrbirlbel [i=Q@p54A7EC91.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
13:45:19  <peter1138> oof, this small font is horrid, heh
13:45:30  <Patrick`> do I need to make clean before making debug? it's not actually generating a new binary
13:47:19  <stillunknown> anyone here have experience with dealing with savegame changes?
13:48:09  <Patrick`> ok, someone care to tell me "now what" ?
13:48:11  *** Scia [n=sciapode@AveloN.xs4all.nl] has quit [Read error: 110 (Connection timed out)]
13:48:21  <Patrick`> I ran gdb, ran the program, caused the crash, now what
13:48:30  <Patrick`> in order to get information that'll help you
13:48:43  <peter1138> yes, you need to make clean
13:49:03  <Patrick`> ok, this is better
13:49:05  <Patrick`> segfault
13:49:13  <Patrick`> 51           assert(index < pool->total_items);
13:49:19  <peter1138> type bt
13:49:24  <peter1138> it'll give you the backtrace
13:49:33  <Patrick`> lemme put it in a pastebin
13:50:01  * stillunknown always get useless backtraces even with debug on
13:50:01  <Patrick`> http://pastebin.com/663067
13:51:00  <Patrick`> I'll also mirror the file if you promise not to laugh at how much my building patterns sucked when I was 15
13:51:48  <Patrick`> http://patrickthomson.ath.cx/trt00.sv1
13:53:23  <Zr40> stillunknown: which OS or linux distribution?
13:53:28  <stillunknown> gentoo
13:53:33  <Patrick`> ......
13:53:39  <Patrick`> well, there's your problem
13:53:46  <Zr40> put nostrip in FEATURES in make.conf and recompile everything ;)
13:54:00  <Zr40> or at least the libraries openttd uses
13:54:03  <Patrick`> I understand that some of the "standard" cflags in gentoo rape all the information that might be useful for debugging
13:54:11  <Patrick`> for the sake of a 1% speed boost
13:54:12  <Zr40> Patrick`: such as?
13:54:14  <Patrick`> or something like that
13:54:23  <Patrick`> fomit-frame-pointer, I think
13:54:31  <Zr40> that's not enabled by default
13:54:44  <Zr40> but stripping is
13:54:51  <Patrick`> exactly
13:55:19  <Zr40> but stripping is not a CFLAG :)
13:55:24  <Patrick`> Pfft
13:55:35  <Patrick`> like a well-formed opinion ever left my brain
13:55:55  <stillunknown> @Patrick: it is enabled on amd64 where it doesn't interfere with debugging, fomit-frame-pointer that is (iirc)
13:56:15  <Patrick`> fair enough then
13:56:22  <Zr40> it's enabled by -O2 and higher *by gcc* if it doesn't interfere
13:56:32  <Patrick`> you actually know what you're doings
13:56:51  <stillunknown> i didn't know about the stripping
13:57:12  <stillunknown> now it does make sense, since most packages have a debug flag
13:57:15  <Triffid_Hunter> some things won't compile without fomit-frame-pointer, for lack of the register that the frame pointer eats
13:57:25  <stillunknown> (which is off by default)
13:57:51  <Zr40> stillunknown: don't enable the debug USE flag if you just want to be able to gdb
13:58:12  <Patrick`> incidentally, this savegame loads fine in TTD so it's not corrupt
13:58:30  <Zr40> for basic stack traces you want 'nostrip' in FEATURES, and if you want to actually debug, add -g to CFLAGS
14:03:45  <stillunknown> @Patrick: i'm not a crazy cflagger, but i did look into what was possible and i went to -Os, LDFLAGS="-Wl,-O1" (similar to prelinking but safer and easier), ext3 with full journaling and ntpl threading
14:05:26  <stillunknown> anyone here know have experience with dealing with savegame changes or know who knows better?
14:05:58  <Patrick`> I'm just hoping my saves contribute to the code, assuming anyone's looking
14:06:19  <Zr40> stillunknown: prelinking is unsafe? had experience with that or just read about it?
14:07:05  <stillunknown> not unsafe neccesarily, but i know that ldflags get filtered were unwanted
14:07:05  <Patrick`> don't dismiss written information
14:07:18  <stillunknown> *when unwanted
14:07:23  <Patrick`> at the very worst it's just some guy's personal experiences and is therefore *exactly equivalent* to your own experience
14:07:53  <stillunknown> i just had the option to choose and that seemed like the better path to go
14:08:13  <Patrick`> anyway, if noone's bothered about this savegame I'll just kill off gdb and go back to my own build
14:08:42  <stillunknown> oldloader is not something everyone knows how to deal with probably
14:08:57  <Patrick`> anyone, you mean
14:09:07  <Patrick`> I had no expectations that you'd be able to help me, anyway
14:09:18  <Patrick`> I think it's the mustache
14:09:40  <stillunknown> i am a newbie, so don't expect much from me anyway :-)
14:09:46  <stillunknown> @Zr40: so forget about the unsafe and read it as less convient
14:09:49  <Patrick`> I'll just open a bug
14:10:11  <Patrick`> also, @ makes the line not be hilighted, what kind of crazy client is that?
14:10:33  <Zr40> stillunknown highlighted me just fine
14:10:56  <Patrick`> yeah, you probably have full line names on
14:11:00  <Patrick`> anyway
14:11:03  <Zr40> >Patrick`< CTCP VERSION
14:11:03  <Zr40> * [Patrick`] is away (z)
14:11:04  <Zr40> right
14:11:06  <Patrick`> I'm just procrastinating
14:11:22  <Patrick`> private messages from unregistered users are blocked
14:11:29  <Brianetta> 1boing
14:11:30  <Patrick`> I couldn't send you a reply, lemme register
14:11:43  <Patrick`> it's irssi, btw
14:11:48  <Zr40> ah
14:13:48  <peter1138> hmmhQ
14:14:02  <peter1138> o_O
14:14:10  <peter1138> adsl boomed :/
14:15:06  <Patrick`> peter, so i can stop moping about you not fixing my problem then ^_^
14:15:14  *** valhalla1w [n=valhalla@dsl68-30.fastxdsl.nl] has joined #openttd
14:17:06  *** Richk67 [n=RichK67@194.164.100.143] has quit []
14:25:18  <peter1138> bah, we need a scalable gui
14:27:47  *** valhallasw [n=valhalla@dsl68-30.fastxdsl.nl] has quit [Read error: 110 (Connection timed out)]
14:42:04  <peter1138> where's egladil these days?
14:42:27  <gigajum> searching for eastereggs :D
14:43:02  *** Sionide [n=sphinx@cpc4-hem12-0-0-cust246.lutn.cable.ntl.com] has quit ["/quit"]
14:43:21  <peter1138> it would be nice to have antialiased fonts in the 32bpp stuff
14:44:07  <Vornicus> at the size we're talking about, all but the biggest fonts would /lose/ readability with antialiasing.
14:45:10  <MiHaMiX> back
14:45:21  * MiHaMiX arrived back and pretty tired :)
14:45:37  <Patrick`> should I use flyspray or sourceforge for a bug repo
14:46:02  <Vornicus> flyspray
14:46:04  <MiHaMiX> Patrick`: flyspray
14:46:23  <Patrick`> 'k
14:50:44  <Patrick`> done
14:50:45  <Patrick`> I think
14:51:02  <MeusH> \o/   http://wiki.openttd.org/index.php/OpenTTDDevBlackBook/Window/Colours
14:52:20  <peter1138> 16 is black
14:56:34  *** tokai [n=tokai@p54B80C51.dip0.t-ipconnect.de] has joined #openttd
14:58:00  <MeusH> yes, MiHaMiX fixed that
14:58:04  <MeusH> I miss black colour
14:58:10  *** Sacro [n=Sacro@adsl-83-100-141-60.karoo.KCOM.COM] has joined #openttd
14:58:12  <MeusH> why was it removed?
15:00:31  <peter1138> who removed it?
15:01:11  <gigajum> who removed what?
15:01:14  <peter1138> quite
15:01:33  <guru3> how can you not know what friction formula you're using?
15:02:55  <MeusH> peter1138: maybye it was removed in TTD, but anyway, black was selectable as company colour in TT
15:02:56  <MeusH> original
15:03:25  <guru3> aye, that it 'twere
15:03:53  *** scia2 is now known as Scia
15:04:33  <peter1138> oh
15:04:35  <peter1138> it's not in ttd, so...
15:07:08  <peter1138> Frisian? hmm
15:11:00  <MiHaMiX> peter1138: what's the problem with frisian?
15:11:22  <peter1138> never seen it before :)
15:11:36  <peter1138> we're going to have a problem if we hit 32 languages...
15:11:42  <MiHaMiX> peter1138: but it's exists.. though, unfinished :/
15:11:47  <MiHaMiX> peter1138: why?
15:11:57  <MiHaMiX> peter1138: the capacity of the widget?
15:11:58  <peter1138> cos the dropdown gui only handles 32 items, heh
15:12:03  <MiHaMiX> lol :)
15:16:29  *** Sacro [n=Sacro@adsl-83-100-141-60.karoo.KCOM.COM] has quit [" HydraIRC -> http://www.hydrairc.com <- IRC has never been so good"]
15:37:07  *** Andrew67 [n=andrew67@206.248.80.224] has joined #openttd
15:43:26  *** Skiddles^ [n=notme@cm212.epsilon122.maxonline.com.sg] has joined #openttd
15:56:45  *** gigajum [i=LucY@dslb-084-056-139-117.pools.arcor-ip.net] has quit []
15:56:48  *** Singaporekid [n=notme@cm212.epsilon122.maxonline.com.sg] has quit [Read error: 110 (Connection timed out)]
15:59:30  *** sw4y [n=sw4y@snat2.arachne.czfree.net] has joined #openttd
16:05:28  *** CobraA1 [n=Jeremiah@cpe-024-088-000-194.sc.res.rr.com] has joined #openttd
16:05:43  *** CobraA1 [n=Jeremiah@cpe-024-088-000-194.sc.res.rr.com] has left #openttd []
16:08:07  *** ledow [n=ledow@jaimejwalker.plus.com] has left #openttd []
16:17:29  *** Andrew67 [n=andrew67@206.248.80.224] has quit ["Leaving"]
16:18:49  *** Skiddles^ [n=notme@cm212.epsilon122.maxonline.com.sg] has left #openttd ["Leaving"]
16:21:09  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has quit [Remote closed the connection]
16:22:39  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has joined #openttd
16:25:47  <MeusH> hour of silence...
16:26:39  <hylje> oh no
16:26:57  <hylje> actually hour and 15 minutes of silence
16:27:13  <Noldo> that's almost like fame
16:28:12  <MeusH> maybye a curse?
16:29:35  <Patrick`> reckon a corner shop would be open at 5:30pm on easter sunday?
16:29:37  <Patrick`> I need nibbles
16:29:55  <hylje> nipples?
16:29:56  <hylje> :o
16:31:23  *** Andrew67 [n=andrew67@206.248.80.224] has joined #openttd
16:33:59  <peter1138> they're easy to obtain
16:35:09  <MeusH> google nipples :X
16:35:27  <Patrick`> froggle
16:35:30  <Patrick`> *froogle
16:37:48  *** MeusH is now known as MeusH[away]
16:42:28  <Darkvater> peter1138: tron is on a holiday for a week. Won't be around till next week
16:45:33  *** jnmbk [n=jnmbk@85.103.84.164] has quit [Remote closed the connection]
16:45:54  <XeryusTC> has anyone been working on that fences problem in artic and desert maps?
16:46:31  <Darkvater> peter1138: can you post this bug on flyspray?
16:47:41  <Darkvater> peter1138: although I'm not sure if it is a bug
16:48:08  <peter1138> ?
16:48:16  <Darkvater> the mouse
16:48:23  <peter1138> oh
16:56:42  <Darkvater> take putty for example, I get the same behaviour
16:56:50  <Darkvater> :)
16:58:28  <peter1138> http://translator2.openttd.org/languages/GlobalStat < nice
16:58:56  <Patrick`> lol frisian
16:58:57  <Darkvater> brazilian-portugese doesn't fit ;)
16:59:04  <Patrick`> and who dropped the ball on russian
16:59:24  <Patrick`> also, american != english?
16:59:27  <Patrick`> hell, I can do that one
16:59:32  <Darkvater> russians use their own custom grf file so that's why I think it's so outdated
16:59:39  <peter1138> hee
16:59:40  <Patrick`> aah
16:59:42  *** glx [i=glx@bny93-6-82-245-156-124.fbx.proxad.net] has joined #openttd
16:59:46  <peter1138> remember that fontsize patch?
16:59:50  <Darkvater> yes?
16:59:53  <peter1138> after that, i've done freetype support
16:59:59  <Darkvater> yes?
17:00:02  <Patrick`> it's just some simple regexps to convert british to american
17:00:06  <peter1138> and after that, i'm fiddling with utf-8 support
17:00:08  <Patrick`> s/arse/ass/g
17:00:11  <Patrick`> &c
17:00:11  <Darkvater> yes?
17:00:18  <Darkvater> what's next? world domination?
17:00:23  <peter1138> yes
17:00:26  <Darkvater> sweet
17:00:30  <Darkvater> can I be pinky?
17:01:15  <peter1138> sure
17:05:48  <CIA-3> peter1138 * r4449 /trunk/rail_gui.c:
17:05:48  <CIA-3> - NewStations, remove parameter to use first custom station when building a railway station. The parameters will be
17:05:48  <CIA-3> changing.
17:09:19  *** stavrosg_ [n=stavrosg@athedsl-11048.otenet.gr] has joined #OpenTTD
17:09:27  *** Sacro [n=Sacro@adsl-83-100-141-60.karoo.KCOM.COM] has joined #openttd
17:10:55  *** x87 [n=x87@tor/session/external/x-737bfcd74b1bc3c1] has joined #openttd
17:14:43  *** Qrrbrbirlbel [i=Q@p54A7EC91.dip.t-dialin.net] has joined #openttd
17:16:38  *** Osai^2 [n=Osai@p54B379A7.dip.t-dialin.net] has quit []
17:17:05  *** Qrrbrbirlbel_ [i=Q@p54A7EC91.dip.t-dialin.net] has joined #openttd
17:20:03  <Darkvater> so when do we start? Will we manufacture a global hypnosis-machine?
17:20:42  <glx> you already have one : OpenTTD :)
17:20:56  <Darkvater> it doesn't seem to work though
17:21:06  <Darkvater> I have not gained control over a single person in the last two years
17:21:09  <hylje> why manufacture if its global
17:21:09  <Darkvater> well...
17:21:16  <Darkvater> except for KUDr and Belugas
17:21:25  <Darkvater> both of them worship me and call me 'master'
17:21:50  * Sacro makes note of Darkvater's powers
17:22:23  <KUDr> at your service, my lord
17:22:32  <Darkvater> see, see?
17:22:36  <Patrick`> code us a new engine
17:22:37  * Darkvater pats KUDr
17:22:46  <peter1138> heh
17:22:47  <KUDr> thanks, master
17:23:42  <Darkvater> amen
17:25:20  *** zen-- [n=zen@88-196-39-11-dsl.noe.estpak.ee] has joined #openttd
17:26:15  <|Jeroen|> can they do tricks to ?
17:26:42  <Darkvater> I am not that cruel to test them
17:26:52  <Darkvater> KUDr: slap |Jeroen| for me for being insolent
17:27:03  * KUDr slaps |Jeroen| around a bit with a large trout
17:27:20  <|Jeroen|> awie
17:28:19  *** stavrosg [n=stavrosg@athedsl-11048.otenet.gr] has quit [Read error: 110 (Connection timed out)]
17:29:02  <Sacro> this channel scares me
17:29:39  <CIA-3> peter1138 * r4450 /trunk/ (4 files in 2 dirs): - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics.
17:30:09  <stillunknown> peter1138?
17:30:20  <Darkvater> brb
17:31:29  <peter1138> yes?
17:33:24  <stillunknown> are you still considering putting those physics patches into trunk?
17:35:04  *** Sian [n=Devilen@cpe.atm2-0-74539.0x50c6d2c6.virnxx17.customer.tele.dk] has joined #openttd
17:35:54  *** Qrrbrbirlbel [i=Q@p54A7EC91.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
17:36:08  <peter1138> at some point
17:36:36  <Sian> how to register name?
17:36:58  <stillunknown> i still maintain my own branch (the seperate patches), so you need them at some point
17:37:49  *** valhalla1w [n=valhalla@dsl68-30.fastxdsl.nl] has quit [Read error: 110 (Connection timed out)]
17:44:06  <stillunknown> i'm having some problems(which i suspect to be related to the following), i add two variables to RailVehicleInfo in engine.h, i also change the RVI definition in table/engines.h but it seems to error over things that aren't really wrong
17:44:25  <stillunknown> have i missed something obvious?
17:48:42  <CIA-3> miham * r4451 /trunk/lang/ (dutch.txt polish.txt):
17:48:42  <CIA-3> WebTranslator2 daily commit
17:48:42  <CIA-3> [dutch] 49 strings fixed by Zr40
17:48:42  <CIA-3> [polish] 152 strings fixed by MeusH
17:49:10  <peter1138> woo
17:49:57  <Patrick`> Sian: /msg nickserv help
17:50:50  <stillunknown> is there someone who has a little spair time to have a look at a code snippet(it's not very short)?
17:52:49  *** Andrew67 [n=andrew67@206.248.80.224] has quit ["Leaving"]
17:54:19  <Zr40> :D
17:54:41  *** tokai|mdlx [n=tokai@p54B80C51.dip0.t-ipconnect.de] has quit ["It's like, wah."]
17:58:55  <Sacro> stillunknown: i can have a look
18:00:34  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has joined #openttd
18:05:14  <stillunknown> @Sacro: i had one more idea, if that fails i will poste a pastebin url
18:05:58  <Sacro> stillunknown: pastebin is fine for me
18:06:09  * Brianetta comes back from being in the bedroom with his fiancée
18:06:32  * Sacro looks for the torrent
18:07:17  *** |VillageIdiot| [n=jurgen@d51A43FD0.access.telenet.be] has quit ["Leaving"]
18:09:57  <stillunknown> http://pastebin.com/663446
18:10:09  <stillunknown> @sacro: it starts complaining at line 90
18:10:20  <stillunknown> about syntax error before >
18:10:27  <stillunknown> and does that many times after that
18:11:18  <stillunknown> i believe it to be related to the engines = and other declerations
18:11:22  <Zr40> stillunknown: you're missing a ) at line 89
18:11:32  <Zr40> hmm
18:11:38  <Zr40> nope
18:11:40  <Zr40> miscounted
18:12:24  * Sacro has a look
18:12:52  <stillunknown> the FOR_ALL_TRANSFORMERS is similar to the waypoint equivilant
18:13:06  <stillunknown> #define FOR_ALL_TRANSFORMERS_FROM(tr, start) for (tr = GetTransformer(start); tr != NULL; tr = (tr->index + 1 < GetTransformerPoolSize()) ? GetTransformer(tr->index + 1) : NULL)
18:13:06  <stillunknown> #define FOR_ALL_TRANSFORMERS(tr) FOR_ALL_TRANSFORMERS_FROM(tr, 0)
18:13:09  <Sacro> ah is it for elrails?
18:13:36  <stillunknown> FOR_ALL_TRANSFORMERS was used in a simpler system and worked
18:13:46  <stillunknown> i was expanding it for more realistic beheaviour
18:14:27  *** Sian is now known as Sian^
18:14:34  *** Sian^ is now known as Sian^_^
18:15:02  <Sacro> cool
18:15:42  <stillunknown> i have expanded RailVehicleInfo to contain more information and changed the default table and newgrf to add that info by default
18:16:27  <Sacro> cool
18:16:41  <stillunknown> but if it doesn't work it does me good :-(
18:17:25  *** e1ko [n=31k0@161.157.broadband2.iol.cz] has joined #openttd
18:18:46  <stillunknown> and often when the compiler isn't spot on about the flaw it's pointer related
18:19:06  <Sacro> anyone else haveing google trouble?
18:19:13  <Zr40> nope
18:19:25  <stillunknown> bo
18:19:27  <stillunknown> *no
18:22:18  <blathijs> wtf is a transformer?
18:22:26  <blathijs> apart from a cartoon figure..
18:22:42  <stillunknown> power transformer
18:22:50  <blathijs> hmm?
18:22:59  <Sacro> blathijs: used to raise/lower current by lowering/raising voltage
18:23:01  <blathijs> stillunknown: You added the FOR_ALL_TRANSFORMERS macro?
18:23:18  <stillunknown> it's in transformer.h which is in the include's
18:23:34  <blathijs> Sacro: I know what a transformer is, didn't know how it was used here
18:24:23  <Sacro> ah right
18:24:27  *** x87 [n=x87@tor/session/external/x-737bfcd74b1bc3c1] has left #openttd []
18:24:29  <Sacro> between power station and elrail
18:25:25  * blathijs doesn' know why the compiler would complain either
18:25:49  * blathijs is off again
18:26:15  <stillunknown> i may have found the problem
18:26:22  *** Eddi|zuHause2 [i=johekr@p54B75DD2.dip.t-dialin.net] has joined #openttd
18:27:01  <stillunknown> i used => instead of >= and mistook the line number for one with a > sign and pressumed  something else was the cause
18:29:08  <peter1138> mistook the line number?
18:29:13  <peter1138> but it tells you the line number...
18:29:57  <stillunknown> i thought the line number was actual linenumber-1 for some strange reason
18:30:23  <stillunknown> or i had a => in that at first too
18:30:44  <stillunknown> and didn't check again to see if the line number was precisely right
18:34:59  *** dp [n=dp@p54B2D622.dip.t-dialin.net] has joined #openttd
18:46:46  *** [1]Sacro [n=Sacro@adsl-213-249-223-183.karoo.KCOM.COM] has joined #openttd
18:47:00  * stillunknown hopes that peter1138 doesn't think i'm extremely stupid because of mistake
18:47:16  <Darkvater> hey, macros are a bitch
18:47:25  <[1]Sacro> hmm
18:47:25  *** Sacro [n=Sacro@adsl-83-100-141-60.karoo.KCOM.COM] has quit [Nick collision from services.]
18:47:30  *** dp-- [n=dp@p54B2EB6F.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
18:47:30  *** dp is now known as dp--
18:47:40  <stillunknown> it wasn't macro related
18:47:51  <stillunknown> it was me who is used to doing =>
18:48:15  *** [1]Sacro is now known as Saco
18:48:15  *** Saco is now known as Sacro
18:48:58  <Sacro> grr
18:49:01  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has quit ["It's like, wah."]
18:49:24  *** Eddi|zuHause [i=johekr@p54B76851.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
18:50:31  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has joined #openttd
18:51:25  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has quit [Client Quit]
18:51:43  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has joined #openttd
18:51:54  <Sacro> anyone home?
18:54:28  <MiHaMiX> Sacro: yes
18:54:46  <glx> hey MiHaMiX, you had r4444
18:55:04  <MiHaMiX> glx: yes, I got :)
18:55:06  *** KUDr_wrk [n=KUDr@pcsousek.fit.vutbr.cz] has quit [Read error: 110 (Connection timed out)]
18:55:25  <Sacro> phew, thought net was FUBAR again
18:56:36  *** Qrrbrbirlbel_ [i=Q@p54A7EC91.dip.t-dialin.net] has quit ["http://mir.ist-langweilig.de/oh_man.jpg/"]
18:57:09  <CIA-3> peter1138 * r4452 /trunk/ (newgrf.c newgrf_station.h): - NewGRF: switch to unsigned ints for array indices.
18:57:30  <TrueLight> Zr40: Schermprint <- why didn't you like that translation? ;) :p :p :p
18:58:17  <Zr40> TrueLight: Schermprint is less descriptive than screenshot, and I haven't heard anybody use a non-english word for screenshot (besides you, then ;))
18:59:12  <TrueLight> it was sarcasm
18:59:25  <XeryusTC> it would be more likely to call it "schermafdruk" or something like that :P still doesn't sound right though :P
19:00:12  <Zr40> yeah, I've read 'schermafdruk' in some older books where literally *every* technical term is translated
19:00:40  *** MeusH[away] is now known as MeusH
19:00:58  <Darkvater> in Hungarian 'help' in windows is translated as 'sugó' which means 'the whisperer'
19:01:01  <Darkvater> pretty funky
19:01:23  <Darkvater> hmm súgó of course
19:01:34  <MiHaMiX> Darkvater: whilest meaning the same time as the guy, who help actors quoting their text
19:01:36  <XeryusTC> but dutch translations are always weird
19:01:50  <Zr40> but 'schermafdruk' still means about the same as 'schermprint' ('screen printout' and 'screen print', resp.)
19:01:55  <Zr40> heh, indeed
19:02:04  <MiHaMiX> Darkvater: nem hallottal meg a szinhazi sugorol? :)
19:02:24  <peter1138> MiHaMiX: why is the language statistics page in WT2 *not* a table?
19:02:28  <MiHaMiX> Darkvater: elegge common term a sugo a help-re. megha picit faramuci is :)
19:02:49  <XeryusTC> Zr40: the key on the keyboard says "Prt Sc" (mine does), which means "Print schreen" which could be translated as "Druk scherm af"
19:03:02  *** valhallasw [n=valhalla@dsl68-30.fastxdsl.nl] has joined #openttd
19:03:07  <Zr40> XeryusTC: it originally did
19:03:21  <MiHaMiX> peter1138: since I think it's rather list of languagedatas then a table. actually, the semantic of the data is not suggests using <table>
19:03:26  <Zr40> in DOS, if you had a printer connected to LPT1, pressing print screen would print the screen
19:03:36  <peter1138> it's clearly a table ;p
19:03:50  <peter1138> font sizes are massive too. hmm.
19:04:01  <Darkvater> MiHaMiX: hanyszor gondolod hogy megyek szinhazba evente?
19:04:16  <MiHaMiX> peter1138: give me a screenshot which proves that a table would be better :)
19:04:27  <MiHaMiX> Darkvater: kulturember vagy? Evi minimum 5?
19:04:37  <Darkvater> MiHaMiX: brazilian-portugese overlaps the statistics
19:04:42  <Darkvater> MiHaMiX: forditv
19:04:43  <Darkvater> a
19:05:24  <MeusH> MiHaMiX: the bottom part with your name is working now, even with extra toolbars :)
19:05:27  <izhirahider> brazilian-portuguese
19:05:41  *** BJH_ [n=chatzill@e176111147.adsl.alicedsl.de] has joined #openttd
19:05:43  <MiHaMiX> MeusH: I know, I fixed that :)
19:05:48  <Zr40> Darkvater also speaks hungarian? :P
19:06:01  <MiHaMiX> Zr40: yes, I taught him :)
19:06:37  <Darkvater> lol
19:06:40  * Darkvater is Hungarian
19:06:48  *** Angst [n=Angst@p54946106.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)]
19:06:56  <Darkvater> well, half by now...
19:06:59  * Sacro is hungry
19:07:02  <Zr40> let me rephrase then
19:07:04  <XeryusTC> rofl
19:07:06  <MiHaMiX> from now on, the official language is hungarian :D
19:07:10  <Zr40> Darkvater also speaks dutch? :)
19:07:12  <MiHaMiX> Sacro: not the same :DDDDDD
19:07:18  * Darkvater is also Dutch
19:07:20  <MiHaMiX> Zr40: yes, TrueLight taught him :D
19:07:25  * Sacro is british
19:07:43  <XeryusTC> Darkvater doesn't know what his original nationality is?
19:08:08  <Zr40> Darkvater's from the Hungalands :)
19:08:09  <MiHaMiX> XeryusTC: WTF cares :D he can speak 3 languages now )
19:08:15  <Zr40> or Nethary
19:08:27  <XeryusTC> whats the third? frisian?
19:08:31  <peter1138> i can speak lots of languages
19:08:33  <Zr40> english...
19:08:36  <Darkvater> engrisch
19:08:38  <peter1138> as long as it's all openttd related...
19:08:51  <Zr40> peter1138: english, C, ...
19:08:52  <peter1138> a quick grep through langs...
19:09:04  <MiHaMiX> Zr40: :D
19:16:23  *** Richk67 [n=RichK67@194.164.100.143] has joined #openttd
19:17:31  <Richk67> hi all
19:18:02  <MeusH> hey Richk67
19:18:06  <Darkvater> hi
19:20:32  <Richk67> eek, OTTD isnt half moving fast... im really going to have to get the Mini IN webpage up to allow downloads of latest builds
19:21:28  *** BJH [n=chatzill@e176110103.adsl.alicedsl.de] has quit [Read error: 110 (Connection timed out)]
19:23:43  <Richk67> snow is looking good; im just trying to decide how to get number of sprites under control... atm im having to load extra full grf sets :(
19:24:17  <Darkvater> don't forget MB before you do any public or widescale testing of it
19:24:32  <Richk67> i know...
19:25:13  <Richk67> his stuff has been useful as a trial, but its not a long term solution, unless i can get a cut-down set with permission to distribute
19:26:05  <Richk67> i may end up creating my own set... heck, its only adding patches of white/blue-white to the standard green tiles
19:26:48  <Richk67> except, i want to add snow versions of several of the industries, or at least make the graphics part-transaparent (iron ore mine is a pain)
19:40:35  <MeusH> that .grf wouldn't be much legal
19:40:45  <MeusH> as it would use Foster's graphics
19:40:46  <MeusH> hmm
19:40:51  <MeusH> I don't care
19:40:55  <MeusH> I want snow :)
19:41:12  <izhirahider> Richk67: what doesn't look good is transmittors in the snow...
19:41:27  <izhirahider> Is there anything that can be done about it?
19:42:32  <Richk67> transmitters... possibly... i think the transmitter in the .grf doesnt have a ground, so i should be able to change it accordingly
19:43:09  <izhirahider> because in the snow, it's just a brown square and don't look appropriate will all white squares around
19:44:26  <Richk67> MeusH... if i just use the shape angles and ditch all the pixels/replace them with my own colours/patterns, then i think that classes as new graphics... ive just used the original as a shape guide (we're talking tile shapes here, not the industry graphics.... )
19:45:23  *** orudge [n=orudge@res05-ocr2.res.st-and.ac.uk] has quit [Connection timed out]
19:45:49  <MeusH> I'm not copyright expert
19:45:56  <MeusH> hopefully 32bpp will come soon
19:46:07  <MeusH> and there will be no more problems like that
19:46:20  <MeusH> since buildings, like transmitters, would have transparent base
19:46:39  <Richk67> yeah
19:46:54  <Darkvater> doesn't a transmitter already have a transparent base?
19:47:08  <XeryusTC> Darkvater: afaik not
19:47:09  <Darkvater> I think it does cause in branch/map it has a proper snow-base
19:47:17  <Richk67> yes, but the unmovable code insists on painting a brown base on snow
19:47:47  <Darkvater> well that's fixed in a heartbeat :)
19:48:21  <Richk67> lines 145,6 of unmovables.c
19:48:22  <Richk67>                     if (ti->tileh) DrawFoundation(ti, ti->tileh);
19:48:22  <Richk67>                     DrawClearLandTile(ti, 2);
19:49:06  <Darkvater> anyone up for a quick patch for that?
19:49:11  <Darkvater> who can test it and stuff
19:49:42  <Richk67> sure... i want to add to my snow patch
19:51:56  <Sacro> off to beach, back later
19:51:58  *** Sacro [n=Sacro@adsl-213-249-223-183.karoo.KCOM.COM] has quit [" HydraIRC -> http://www.hydrairc.com <- Leading Edge IRC"]
19:54:17  <MeusH> Darkvater: could you please take a look at http://tt-forums.net/viewtopic.php?t=24551&highlight= ?
19:54:38  <Richk67> gotta go
19:54:53  *** Richk67 is now known as RichK67|away
19:55:46  <Darkvater> MeusH: perhaps tomorrow okay? Got tennis tomorrow and be in bed very soon
19:56:10  <MeusH> allright
19:56:20  <MeusH> but it's just about optional parameters
19:56:50  <Darkvater> so what's the questin?
19:57:26  *** sw4y [n=sw4y@snat2.arachne.czfree.net] has quit [Remote closed the connection]
19:57:27  <MeusH> can I make optional parameters?
19:57:32  <MeusH> so they are not needed
19:57:39  <MeusH> what is developers' view on that?
19:57:43  <Darkvater> ?
19:58:04  <MeusH> I'd use tooltip code, but I wouldn't like to change each entry of GuiShowTooltips
19:58:11  *** Rexxie [n=rexxars@ti131310a080-5398.bb.online.no] has joined #openttd
19:58:23  *** init_ [n=init@c83-250-153-195.bredband.comhem.se] has joined #openttd
19:58:24  <Darkvater> yes?
19:58:55  <MeusH> so both GuiShowTooltips(mustparameter, optionalparameter); and GuiShowTooltips(mustparameters); work
19:59:27  <MeusH> is it possible?
19:59:43  <MeusH> and how to set parameter as optional?
19:59:54  <peter1138> hmm
19:59:58  <peter1138> see openttd.c:69
20:00:15  <peter1138> (and be scared :))
20:00:28  <Darkvater> :)
20:00:36  <Darkvater> oh yeah...
20:00:44  <peter1138> replace the vsprintf bit with your SetDParams
20:01:05  <peter1138> SetDParam(i, va); where i is a counter, i guess
20:01:49  *** Scia [n=sciapode@AveloN.xs4all.nl] has quit [Remote closed the connection]
20:01:52  <Darkvater> which you pass before ... so you know how many you have
20:02:05  <peter1138> no, the va list handles that
20:02:38  <peter1138> MeusH: also note that the "..." has to be the last parameter
20:03:05  <Darkvater> hmm it does?
20:03:13  <MeusH> so "const char* s" is optional?
20:03:19  *** Zr40 [n=Zirconiu@zr40.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)]
20:03:47  <peter1138> MeusH: no, it's just the first parameter
20:04:05  <peter1138> in your case it would be GuiShowTooltips(StringID string, ...)
20:04:06  <peter1138> or something
20:04:20  <MeusH> ohh
20:04:24  <peter1138> string_id
20:04:24  <peter1138> hmm
20:04:28  <MeusH> so if it may be a bool
20:04:40  <peter1138> why a bool?
20:04:41  <MeusH> it would be false if not given
20:04:45  <peter1138> no
20:04:55  <peter1138> if not given it wouldn't exist, heh
20:04:59  <MeusH> I need to check whether it is a standard tooltip (false, 0) or measurement (true, 1)
20:05:09  <MeusH> NULL?
20:05:13  <peter1138> does it matter?
20:05:27  <peter1138> if you make it so that any tooltip can have parameters, that would be more versatile
20:05:30  <Darkvater> peter1138: don't think it's handled internally. You have to handle it yourself
20:05:59  *** init_ [n=init@c83-250-153-195.bredband.comhem.se] has quit ["leaving"]
20:06:59  <Darkvater> but /me < bed :)
20:07:00  <Darkvater> gn all
20:07:04  <MeusH> cya
20:07:29  <MeusH> so, if I call function like   GuiShowTooltips(mystring, param);
20:07:31  <peter1138> oh, duh
20:07:37  <peter1138> you wouldn't call SetDParam there, hehe
20:07:53  <MeusH> may I do some things with "param" there?
20:08:02  <MeusH> no, I won't use SetDParam there now
20:08:07  *** Aankhen`` [n=pockled@203.101.1.7] has quit ["(A)bort (R)etry (F)ail (T)oss computer across room. [Time wasted online: 12hrs 55mins 5secs]"]
20:08:15  <MeusH> so, let it be GuiShowTooltips(foo, bar);
20:08:20  <MeusH> where foo is StringID and bar is ...
20:08:37  <MeusH> how does it know whether bar is uint32, byte or char?
20:09:16  <peter1138> it doens't matter
20:10:58  <peter1138> hmm
20:11:01  <peter1138> or does it ;p
20:11:58  <MeusH> you mean it is like in php?
20:12:03  <peter1138> no
20:12:07  <MeusH> that there is almost no need to declare..
20:12:08  <MeusH> .ohh
20:13:47  <MeusH> void GuiShowTooltips(StringID string_id, ...); maybye?
20:14:02  <peter1138> yes
20:14:22  <MeusH> great
20:15:28  <peter1138> oh, my example isn't quite right...
20:16:08  <MeusH> now how about...
20:16:09  <MeusH> GuiShowTooltips(0, 1);  ?
20:16:17  <MeusH> I don't need String_ID
20:16:20  <MeusH> so it will be 0
20:16:22  <peter1138> ...
20:16:29  <peter1138> you don't?
20:16:39  <peter1138> but it displays a string...
20:16:53  <peter1138> GuiShowTooltips(STR_MEASURE_X, x);
20:17:05  <peter1138> GuiShowTooltips(STR_MEASURE_AREA, x, y, x * y);
20:17:06  <MeusH> it will be created in GuiShowTooltips
20:17:19  <peter1138> that seems the sensiblist way
20:17:36  <MeusH> someone said strings made that way are not stable, and get erased when any other gets created
20:17:38  <peter1138> (assuming all values will be numeric)
20:17:47  <peter1138> MeusH: yes, that is true
20:17:47  <MeusH> hmm
20:17:59  <peter1138> but that's the whole point of passing it this way
20:18:05  <peter1138> so it knows what the params should be
20:18:12  <MeusH> allright, you way is also good
20:18:14  <MeusH> yes
20:18:16  <MeusH> perfect
20:18:20  <peter1138> however
20:18:23  <peter1138> i've alreayd written it ;p
20:18:36  <peter1138> http://195.112.37.102/ottd/toolparam.diff
20:18:42  <peter1138> it compiles, i've not tested it with params though
20:18:59  <MeusH> :)
20:19:25  <peter1138> (i think that's quite neat actually, heh)
20:20:26  <MeusH> that's sophisticated
20:20:26  <MeusH> but
20:20:29  <MeusH> that's great example
20:20:36  <MeusH> for beginners
20:20:44  <peter1138> tbh
20:20:45  <MeusH> and everyone trying to do that
20:20:49  *** Sian^_^ [n=Devilen@cpe.atm2-0-74539.0x50c6d2c6.virnxx17.customer.tele.dk] has quit []
20:20:53  <peter1138> it's the first time i've ever done va_list stuff
20:21:38  <peter1138> helps that i know my way around the code
20:21:58  *** Zr40 [n=Zirconiu@zr40.xs4all.nl] has joined #openttd
20:23:13  *** Mukke [n=Mukke@x1-6-00-13-8f-3d-00-a9.k146.webspeed.dk] has joined #openttd
20:24:14  <CIA-3> peter1138 * r4453 /trunk/newgrf.c: - NewGRF: fix two compile warnings.
20:25:38  <peter1138> MeusH: let me know if it works ;)
20:25:43  <MeusH> allright
20:25:49  <MeusH> I hope I'll be able to do that tonight
20:26:02  <MeusH> but you may be sure I will
20:28:29  <glx> peter1138: looked in your diff, WP(w,tooltips_d).params is always 5
20:28:41  <peter1138> is it? heh
20:29:04  *** orudge [n=orudge@res05-ocr2.res.st-and.ac.uk] has joined #openttd
20:31:11  <peter1138> MeusH: hehe, so it's totally wrong ;p
20:32:24  <MeusH> are you scaring me?
20:33:38  <peter1138> no :(
20:33:46  *** Torrasque [n=jerome@70.127.62.81.cust.bluewin.ch] has joined #openttd
20:34:13  <peter1138> glx: technically i suppose we could do it by looking in the string, heh...
20:34:34  <glx> yes like printf does
20:36:32  <peter1138> so, getstring, and count the number of 0x8Bs... perhaps
20:36:50  <MeusH> ehh? 0x8B? what's that?
20:36:56  <peter1138> {COMMA}
20:37:01  <peter1138> or 0x8E
20:37:03  <peter1138> {NUM}
20:37:04  <peter1138> hmm
20:37:21  <MeusH> it is also a good way
20:37:36  <MeusH> but... most coding languages support optional parameters
20:37:46  <glx> hmm GetString already fills the string using args
20:38:57  <glx> but GetStringPtr does the trick I think
20:39:21  <peter1138> hmm,
20:39:51  <MeusH> peter1138, please tell me what would be easier
20:39:55  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has quit [Remote closed the connection]
20:40:08  <MeusH> GuiShowTooltips(STR_MEASURE_AREA_HEIGHTDIFF, display_x, heightdiff, display_y);
20:40:09  <MeusH> or
20:40:16  <MeusH> GuiShowTooltips(STR_MEASURE_AREA_HEIGHTDIFF, display_x, display_y, heightdiff);
20:40:21  <MeusH> assuming I've got a lot of
20:40:31  <MeusH> GuiShowTooltips(STR_MEASURE_LENGTH_HEIGHTDIFF, display_x, heightdiff);
20:40:31  <peter1138> depends on your string, ehh
20:40:38  <glx> pass params in the correct order :)
20:40:42  <peter1138> eayh
20:40:47  <peter1138> unlike my typing
20:40:48  <MeusH> the second one has the correct order
20:40:55  <MeusH> but the first one is easier to do
20:41:09  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has quit [Read error: 104 (Connection reset by peer)]
20:41:20  *** tokai|noir [n=tokai@p54B80C51.dip0.t-ipconnect.de] has joined #openttd
20:43:36  <MeusH> ahh, I'll listen to glx and choose the second version
20:48:28  <peter1138> http://195.112.37.102/ottd/toolparam2.diff
20:48:30  <peter1138> might work
20:49:46  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has joined #openttd
20:51:15  <MeusH> 		case WE_MOUSELOOP:
20:51:15  <glx> yes it should work
20:51:15  <MeusH> 			if (there is one arg) {
20:51:15  <MeusH> 				if (!_right_button_down) DeleteWindow(w);
20:51:15  <MeusH> 			} else {
20:51:15  <MeusH> 				if (!_left_button_down) DeleteWindow(w);
20:51:16  <MeusH> 			}
20:51:56  <glx> peter1138: maybe a warning for GetStringPointer not declared
20:52:07  <peter1138> probably... check for null or somethin
20:52:09  <glx> GetStringPtr indeed
20:52:57  <MeusH> with only default argument, uint arg = 0 or 1?
20:53:00  *** Cheery [i=Henri@a81-197-60-217.elisa-laajakaista.fi] has quit ["Leaving"]
20:53:30  <peter1138> 0
20:53:46  <peter1138> if (WP(w,tooltips_d).params > 0) { ...
20:53:59  * peter1138 gets back to newstations
20:54:07  <MeusH> okay
20:55:03  *** Neonox [n=Daimos@ip-80-226-185-45.vodafone-net.de] has joined #openttd
21:02:33  *** DJ_Mirage [n=djmirage@biggetje.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)]
21:21:55  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has quit [Remote closed the connection]
21:23:27  *** Zr40 [n=Zirconiu@zr40.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)]
21:23:27  *** SchAmane [n=schamane@p5498D950.dip.t-dialin.net] has joined #openttd
21:25:23  <MeusH> hmm
21:25:34  <MeusH> it is flickering and sometimes it shows random values
21:26:21  <peter1138> hmm
21:26:48  <MeusH> it doesn't get refreshed
21:26:59  <MeusH> so with rails/roads I always see "length 1"
21:27:32  <MeusH> and it doesn't support many lines
21:27:41  <MeusH> I'll work on one-line issue
21:30:42  *** Mucht|zZz [n=Mucht@chello080109200215.3.sc-graz.chello.at] has quit ["I'll be back!"]
21:32:21  <peter1138> damn, this is now 15KB :(
21:33:08  <CIA-3> KUDr * r4454 /branch/yapf/yapf/yapf_road.cpp: [YAPF] Fix: more accurate distance calculation for RV (eliminates some asserts)
21:33:23  <glx> MeusH: did you used {} in the string for newline?
21:35:07  <MeusH> yes
21:38:06  <glx> hmm STR_0203_SHOW_LAST_MESSAGE_NEWS is displayed on 2 lines but it doesn't contain {}
21:39:24  <MeusH> if it's wider than 200 pixels, new line is being created
21:39:35<

Powered by YARRSTE version: svn-trunk