Log for #openttd on 10th March 2006:
Times are UTC Toggle Colours
00:00:09  *** eQualizer [] has quit [Read error: 110 (Connection timed out)]
00:00:45  *** DJ_Mirage [] has quit [Read error: 104 (Connection reset by peer)]
00:15:03  *** dp-- [] has quit [Read error: 110 (Connection timed out)]
00:15:03  *** dp is now known as dp--
00:23:51  *** tokai [] has quit [Read error: 104 (Connection reset by peer)]
00:24:27  *** tokai [] has joined #openttd
00:25:30  *** Dr_Jekyll [] has joined #openTTD
00:29:56  *** stavrosg [n=stavrosg@] has quit [Connection timed out]
00:35:37  *** Born_Acorn [] has quit []
00:43:57  *** glx [] has quit ["Bye"]
01:07:31  *** alastair [] has quit [Remote closed the connection]
01:16:44  *** Osai [] has quit []
01:19:18  *** dst_ [] has quit [Read error: 110 (Connection timed out)]
01:28:01  <CIA-5> belugas * r3806 /branch/tfc_newmap/openttd.dsp: [tfc_newmap] -Corrected and re-arranged MSV Workspace
01:28:11  <coppercore> sdsdfsadfsadfsadf
01:36:28  <CIA-5> belugas * r3807 /branch/tfc_newmap/openttd.dsp: [tfc_newmap] -Corrected MSV Workspace from last commit
01:37:23  <CIA-5> belugas * r3808 /branch/tfc_newmap/ (9 files in 2 dirs): [tfc_newmap] -Updated to trunk r3805
01:38:17  *** Forexs [] has quit ["Go on, get out. Last words are for fools who haven't said enough. - Karl Marx"]
01:57:46  *** alastair [] has joined #openttd
02:18:05  *** tokai [] has quit ["It's like, wah."]
02:19:45  *** alastair [] has quit []
02:20:51  *** tokai [] has joined #openttd
02:37:21  *** tokai [] has quit ["It's like, wah."]
02:49:42  *** BJH__ [] has quit ["ChatZilla 0.9.61 [Mozilla rv:1.7.12/20050915]"]
03:39:04  *** DjViper- [] has joined #Openttd
03:40:38  *** DjViper [] has quit [Read error: 104 (Connection reset by peer)]
03:40:38  *** DjViper- is now known as DjViper
03:44:16  *** Paul_Sackett [] has joined #openttd
03:44:42  <Paul_Sackett> hi all
03:44:48  *** Paul_Sackett is now known as Spacks
03:47:44  <Spacks> anyone know where I can get the TTD game files?
03:48:46  <coppercore> google?
03:48:55  <coppercore> actually
03:48:58  <coppercore> check abandonware sites
03:49:02  <coppercore> they have TTD
03:50:37  *** tokai|ni [] has joined #openttd
03:56:23  *** ThePizzaKing [] has joined #openttd
04:00:49  *** tokai|3 [] has quit [Read error: 110 (Connection timed out)]
04:01:20  *** Spacks [] has left #openttd []
04:47:48  *** tokai [] has joined #openttd
04:59:06  *** _Red [] has joined #openttd
04:59:06  *** Red [] has quit [Connection reset by peer]
04:59:09  *** eQualizer [] has joined #openttd
04:59:16  *** tokai|ni [] has quit [Read error: 110 (Connection timed out)]
05:06:35  *** Singaporekid [] has joined #openttd
05:27:31  *** Osai [] has joined #openttd
05:55:25  *** Alltaken [n=chatzill@blender/artist/allTaken] has joined #openttd
05:55:55  <Alltaken> hi guys
05:57:24  <ThePizzaKing> Alltaken!
05:57:43  <ThePizzaKing> how's your break going?
06:00:10  *** Tron_ [] has joined #openttd
06:00:14  *** Tron [] has quit [Nick collision from services.]
06:00:18  *** Tron_ is now known as Tron
06:03:40  <Alltaken> my break is over
06:03:45  <Alltaken> back into university
06:03:56  <Alltaken> got a full year of designing a fridge to go
06:04:14  <ThePizzaKing> that sounds fun
06:04:34  * BurtyB advises internal size thats a multiple of the size of a beer can
06:07:08  <Alltaken> BurtyB:  and wine bottles
06:07:10  <Alltaken> ;)
06:07:58  <BurtyB> indeed :)
06:19:50  *** Jezral [] has quit [Read error: 104 (Connection reset by peer)]
06:20:40  *** Jezral [] has joined #openttd
06:25:05  *** Alltaken [n=chatzill@blender/artist/allTaken] has quit [Connection timed out]
06:26:11  *** Alltaken [n=chatzill@blender/artist/allTaken] has joined #openttd
06:35:28  *** Osai [] has quit []
06:40:14  *** Fujitsu [] has joined #openttd
06:41:00  *** DjViper- [] has joined #Openttd
06:42:32  *** ThePizzaKing [] has quit ["Reason: My sister broke the router"]
06:42:40  *** DjViper [] has quit [Read error: 113 (No route to host)]
06:42:42  *** DjViper- is now known as DjViper
06:47:51  *** RoySmeding [] has joined #openttd
07:09:18  <peter1138> hmm
07:16:34  *** Cheery [] has joined #openttd
07:17:46  <Tron> ((6 - (_m[t].m5 >> 4 & 2) - (_m[t].m5 & 1)) % 4)
07:17:50  <Tron> what does this line do?
07:18:04  <Tron> hint: it operates on bridge ramp tiles
07:18:45  <BurtyB> causes headaches?
07:22:59  *** Aankhen`` [n=pockled@] has joined #openttd
07:27:15  *** Jenkz [] has joined #openttd
07:32:02  <Prof_Frink> custombridgeheads?
07:34:17  <Tron> no, not in any way related
07:36:27  <Prof_Frink> bleh.
07:36:34  <Prof_Frink> make custombridgeheads!
07:38:40  <peter1138> i'm guessing it gets which end it is, and the direction
07:39:56  <Tron> very close, it converts the N/S X/Y encoding of bridge ramps to a DiagDirection
07:40:39  <peter1138> ahh. obvious o_O
07:42:16  <Tron> is "obvious" a synonym for "totally uncomprehensible"?
07:42:29  <peter1138> yes
07:44:12  <Tron> +/**
07:44:12  <Tron> + * Get the direction pointing onto the bridge
07:44:12  <Tron> + */
07:44:12  <Tron> +static inline DiagDirection GetBridgeRampDirection(TileIndex t)
07:44:12  <Tron> +{
07:44:15  <Tron> +       /* Heavy wizardy to convert the X/Y (bit 0) + N/S (bit 5) encoding of bridges
07:44:17  <Tron> +        * to a DiagDirection
07:44:19  <Tron> +        */
07:44:21  <Tron> +       return (DiagDirection)((6 - (_m[t].m5 >> 4 & 2) - (_m[t].m5 & 1)) % 4);
07:44:23  <Tron> +}
07:44:57  <peter1138> *nod*
07:45:19  <SpComb> that looks very interesting
07:47:59  <Fujitsu> Ahem.
07:48:04  <Fujitsu> Spelling.
07:48:14  <Fujitsu> wizardy != wizardry.
07:50:30  <Tron> thanks, typo
07:52:55  <SpComb> _m looks like a interesting va
07:56:00  <peter1138> heehee
08:08:22  *** stefan [] has quit ["brb, trying new router"]
08:08:43  *** Alltaken [n=chatzill@blender/artist/allTaken] has quit ["Chatzilla 0.9.70 [Firefox]"]
08:12:04  *** AciD [] has joined #openttd
08:16:19  *** Jezral [] has quit [Read error: 104 (Connection reset by peer)]
08:16:27  *** Jezral [] has joined #openttd
08:18:42  *** stefan [] has joined #openttd
08:32:38  *** Jenkz [] has quit [Read error: 104 (Connection reset by peer)]
08:39:21  *** Bjarni [] has joined #openttd
08:39:24  *** mode/#openttd [+o Bjarni] by ChanServ
08:41:59  *** stefan [] has quit [Nick collision from services.]
08:42:13  *** stefan [] has joined #openttd
08:46:30  *** stefan [] has quit [Nick collision from services.]
08:46:44  *** stefan [] has joined #openttd
08:52:04  *** Xeryus|bed is now known as XeryusTC
08:57:57  *** Spoco [] has joined #openttd
08:59:35  *** dev|ant [] has joined #openttd
09:03:46  *** mouse [n=mouse@] has quit ["ðÏËÉÄÁÀ"]
09:04:05  *** stefan [] has quit [Nick collision from services.]
09:04:19  *** stefan [] has joined #openttd
09:20:33  <CIA-5> peter1138 * r3809 /trunk/openttd.vcproj: - Add map accessor files to MS VS 2003 project file
09:25:43  <CIA-5> rubidium * r3810 /branch/tfc_newmap/industry_cmd.c: [tfc_newmap] - Fix typo in rev 3808
09:30:44  *** XeryusTC is now known as Xeryus|school
09:42:42  <Noldo> Belugas: How are the accessors coming together?
09:47:00  *** tokai|noir [] has joined #openttd
09:54:53  *** uatec [] has quit [Remote closed the connection]
09:59:54  *** uatec [] has joined #openttd
10:01:58  <CIA-5> bjarni * r3811 /trunk/vehicle.c: -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length
10:02:14  <Kjetil> Bjarni: is busy...
10:03:07  *** Dr_Jekyll` [] has joined #openTTD
10:03:14  <Qball> I think he is facking commit messages
10:03:42  <Bjarni> huh
10:03:54  <Qball> that wakes him up :D
10:04:13  <Bjarni> I actually commit a fix for the bug report I got yesterday
10:07:40  <Kjetil> In soviet russia commit messages fackes Bjarni
10:08:27  <Bjarni> fucking bobingabout
10:08:39  <Bjarni> he made two feature requests in one task
10:08:40  <Eddi|zuHause> WARNING: "soviet russia" may be a NULL pointer.
10:08:53  <Bjarni> which means I can't close it even though I fixed one
10:08:55  <Bjarni> well
10:09:03  <Bjarni> one feature request and one bug report
10:09:27  <Bjarni> so I wrote 50% done :)
10:10:04  <Eddi|zuHause> the easier 50% ;)
10:11:29  <Kjetil> Bjarni: close it and write something liek "Facking features does not belong here
10:12:30  <Bjarni> Kjetil: actually I just came to the same conclusion ;)
10:12:39  <Kjetil> :)
10:20:28  *** Dr_Jekyll [] has quit [Read error: 110 (Connection timed out)]
10:21:26  *** Cheery_ [] has joined #openttd
10:22:26  *** coppert0p [] has joined #openttd
10:22:31  *** Cheery [] has quit [Read error: 104 (Connection reset by peer)]
10:22:44  *** tokai|noir [] has quit [Remote closed the connection]
10:22:48  *** tokai|noir [] has joined #openttd
10:22:48  *** coppertop [] has quit [Read error: 104 (Connection reset by peer)]
10:26:48  *** init [] has joined #openttd
10:51:54  *** alastair [] has joined #openttd
10:52:36  *** _Red is now known as Red
11:15:31  *** Diablo-D3 [] has quit ["do coders dream of sheep()?"]
11:23:26  *** Fujitsu [] has quit ["Bye all."]
11:27:58  <CIA-5> tron * r3812 /trunk/road_cmd.c: Remove a pointless goto
11:30:29  <Eddi|zuHause> you have gotos?
11:30:48  <Qball> they have ton's of goto's
11:31:16  <Eddi|zuHause> eew
11:37:40  *** Osai [] has joined #openttd
11:40:41  *** Zr40_ [] has joined #openttd
11:41:03  *** Zr40 [] has quit [Read error: 104 (Connection reset by peer)]
11:42:28  *** Dr_Jekyll` [] has quit ["In a world without walls and fences, who needs windows and gates?"]
11:43:36  <peter1138> eah
11:43:44  <peter1138> but we're running out of apostrophes
11:44:19  * peter1138 notes that switch labels look remarkably like goto labels...
11:50:12  *** dev|ant [] has quit []
11:51:41  *** mouse [n=mouse@] has joined #openttd
11:51:45  *** stefan [] has quit [Nick collision from services.]
11:51:59  *** stefan [] has joined #openttd
11:56:35  *** TL|Away is now known as TrueLight
12:16:15  *** DaleStan_ [] has joined #openttd
12:16:21  *** DaleStan [] has quit [Nick collision from services.]
12:17:36  <Celestar> Qball: well tons
12:17:42  <Celestar> we've reduced them quite a bit
12:17:48  <Celestar> Tron: ping
12:18:38  <Celestar> want me to dump elrails into trunk or use some branch
12:19:21  <Celestar> vici@galadriel:[/home/vici/openttd/trunk]> grep goto *.[ch] | wc -l
12:19:22  <Celestar> 183
12:19:23  <Celestar> :P
12:19:39  <ln-> trunk is fine
12:19:43  <MrRexxie> I dont suppose there is a command to generate a screenshot of the minimap?
12:19:45  <Celestar> 20 of which are the LZO library.
12:20:13  <Celestar> :P
12:20:28  <Prof_Frink> or poinjt a camra at your screen
12:20:42  <MrRexxie> dont have a large enough screen to cover the entire map ;)
12:20:48  <Celestar> oh
12:21:01  <MrRexxie> + I'm trying to create a server information tool to do this automaticly
12:21:06  <Prof_Frink> Take many, GIMP them together
12:21:43  <Celestar> I wish C had labelled breaks
12:23:24  <Prof_Frink> "Lunch Break" "Tea Break"...
12:25:49  <Qball> who rang?
12:26:34  *** tokai|noir [] has quit ["It's like, wah."]
12:26:34  <Celestar> me
12:26:38  <Celestar> about the "tons of"
12:26:48  <Qball> yes.. ton's of goto's
12:27:09  <Prof_Frink> s/'//g
12:27:51  *** tokai|noir [] has joined #openttd
12:30:01  <ln-> i bet the gotos are like they were in TTD, so you cannot remove them.
12:30:48  <hylje> someday someone should fork a nonlegacy branch
12:31:19  <Qball> why?
12:32:02  <hylje> rewrite
12:33:35  <Qball> why
12:35:11  <ln-> hylje: i agree, but such a project would hardly have anything to do with OpenTTD anymore then.
12:35:27  <ln-> it would be a completely different project.
12:49:32  <peter1138> "tons of gotos"
12:51:38  <peter1138>
12:51:41  <peter1138> "argh"
12:57:31  * Qball is listening to Little Willies, The - I Gotta Get Drunk
12:57:46  <CIA-5> tron * r3813 /trunk/water_cmd.c: Simplify strange control flow
13:04:54  <ln-> some divisions by two in the code are done like "expression / 2;". perhaps those should be changed?
13:05:18  *** tokai|noir [] has quit ["It's like, wah."]
13:05:48  *** BJH [] has joined #openttd
13:06:14  <Noldo> ln-: to what?
13:06:36  *** tokai|noir [] has joined #openttd
13:07:22  <ln-> Noldo: to ">> 1", which is also used in the code a lot.
13:07:40  <ln-> "expression >> 1;" that is
13:08:36  <Noldo> and why?
13:08:36  <Eddi|zuHause> any pseudo-intelligent compiler should do that automatically
13:09:15  <ln-> Noldo: why not?
13:09:28  <ln-> Eddi|zuHause: i know that. that was not my point.
13:09:31  <Eddi|zuHause> i find "/2" more comprehensible
13:09:43  <ln-> Eddi|zuHause: me too. that was not my point.
13:09:51  <Noldo> ln-: what is your point?
13:09:56  <Eddi|zuHause> so, what was your point?
13:10:35  <ln-> "expression >> 1;" is used a lot, why not be consistent.
13:10:48  <ln-> (and make those people happy who think that's a significant speed optimization)
13:11:01  <ln-> i.e. most of the devs.
13:12:19  <Noldo> blabla
13:12:49  *** mouse [n=mouse@] has quit ["ðÏËÉÄÁÀ"]
13:13:39  <ln-> "blabla" is not a valid argument.
13:13:56  <Eddi|zuHause> it surely is ;)
13:14:45  <ln-> perhaps someone would like to explain the reasons behind the amount of ">> 1" currently used?
13:15:41  <peter1138> there's no speed difference
13:15:46  <peter1138> however
13:15:54  <peter1138> "/ 2" clearly means divide by 2
13:16:00  <peter1138> and ">> 1" clearly means shift right 1 bit
13:16:17  <ln-> which happens to be the same as dividing by 2
13:16:22  <peter1138> so?
13:16:53  <peter1138> if you want bits 4-7 of a byte, >> 4 is better than / 16
13:17:04  <peter1138> (except we use GB(var, 4, 4) for that)
13:17:14  <ln-> so when you want to find the middle x coordinate of the screen, you just take the screen width and shift it 1 bit right. ok.
13:17:22  <ln-> that's what happens in the code.
13:17:46  <ln-> of course it's way more logical to shift the width than e.g. divide it by two.
13:17:59  <peter1138> see
13:18:10  <peter1138> it will probably be changed
13:18:17  <peter1138> but there's only so much time in the day
13:18:30  <peter1138> and there are other things to be done
13:18:31  <ln-> peter1138: i'm not arguing against using shifting when you are really operating with bits.
13:18:58  <peter1138> you know the origin of ottd, right?
13:19:05  <ln-> of course.
13:19:11  <peter1138> that's why
13:19:11  <Noldo> ln-: the blabla was aimed at your frustrating habbit of saying you support something completely different than you really support
13:19:36  <ln-> Noldo: that's called sarcasm.
13:20:37  <Noldo> ln-: what ever you call it, I see it only as a way to obfuscate your real goal, which I first have to decipher
13:20:37  <peter1138> hmm
13:20:39  <peter1138> -rw-r--r-- 1 peter peter 30054 2005-08-15 17:43 custombridgeheads12.diff
13:20:44  <peter1138> -rw-r--r-- 1 peter peter 13169 2006-03-10 13:22 custombridgeheads19.diff
13:20:46  <peter1138> bit smaller
13:20:54  <Noldo> ln-: oposed to being able to just start talking about the real issue
13:21:16  <ln-> Noldo: no anteeksi että lisäksi hämäsin puhumalla asiasta englanniksi.
13:21:49  <peter1138> yay, custom bridge heads :D
13:21:51  <ln-> Noldo: talking about the real issue doesn't catch anyone's attention.
13:27:44  *** sw4y [] has joined #openttd
13:29:50  <TrueLight> peter1138: you just compressed it
13:32:39  <peter1138> hehe
13:32:43  <peter1138> didn't :)
13:32:50  <peter1138>
13:33:20  <Qball> nice
13:33:34  <tokai|noir> looks dangerous:)
13:33:35  <SpComb> OpenTTD uses goto?
13:33:51  <Qball> SpComb: YES!
13:34:00  <peter1138> tokai|noir: brakes? who needs brakes? :)
13:34:37  <SpComb> WHEEE!!
13:34:56  <Qball> open roalercoaster tycoon?
13:35:00  <tokai|noir> if a goto is properly used it can be good solution for some stuff
13:35:12  <SpComb> *cough*
13:35:35  <tokai|noir> but more than on goto per function is ugly
13:35:45  <SpComb> more than 0 gotos is ugly!
13:36:08  <TrueLight> it has to do with the asm->C process
13:36:32  <tokai|noir> SpComb: i saw code there it seriously made sense to have a goto: for quickly bailing out of if-cascades
13:36:56  <SpComb> hrh, if cascades
13:36:59  <peter1138> better to rework the if-cascade...
13:37:02  <SpComb> in changed code it might be better
13:37:05  <SpComb> but not in new code
13:37:18  <TrueLight> goto should be avoid at all costs ;)
13:37:49  <peter1138> o_O
13:37:52  <peter1138> in pathfind.c
13:38:03  <peter1138> there's a goto that jumps to *inside* a do/while loop
13:38:09  <tokai|noir> i personlay never was in need for a goto, except back then when i started to code using basic:)
13:38:16  <TrueLight> peter1138: don't be supprised, there are much uglier gotos :)
13:38:52  <SpComb> a goto that jumps inside a function!
13:39:54  <tokai|noir> a goto which jumps outside of the program! :)
13:40:29  *** Xeryus|school is now known as XeryusTC
13:41:36  <SpComb> goto NULL;
13:42:58  <Eddi|zuHause> a goto that jumps to itself ;)
13:43:13  <TrueLight> Eddi|zuHause: rather use for (;;) { }
13:43:59  <tokai|noir> whats wrong with while(TRUE) { } ? :)
13:44:07  <TrueLight> a test
13:44:36  <tokai|noir> TrueLight: todays compiler should optimize it i think
13:44:40  <Eddi|zuHause> that's worth a contest... the most obscure do_nothing_loop ;)
13:44:58  <TrueLight> tokai: testing that right now
13:44:58  <tokai|noir> would need to compare the asm output
13:45:31  <TrueLight> tokai: okay, it is the same :)
13:46:25  <tokai|noir> thought so:)
13:46:37  <TrueLight> tokai|noir: always need to confirm something like that :)
13:46:41  <TrueLight> Eddi|zuHause: yeah, would be fun :)
13:46:45  <TrueLight> I will use the windows source
13:46:45  <TrueLight> :p
13:46:57  <Eddi|zuHause> yeah ;)
13:47:00  <TrueLight> 600 mb of binaries, and it still doesn't do anything
13:47:39  <Eddi|zuHause> you ever looked at the "secret windows <insert version here> source code" ;)
13:48:03  <TrueLight> yeah
13:48:23  <TrueLight>
13:48:45  <TrueLight> #include "billrulz.h"
13:48:45  <TrueLight> #include "monopoly.h"
13:48:45  <TrueLight> #include "backdoor.h"
13:48:48  <TrueLight> just lovely ;)
13:49:08  <TrueLight> Someone was really pissed at Windows, and was using OS2 before :p
13:49:10  <Eddi|zuHause> it is fun every time ;)
13:49:47  <TrueLight> :) Yup!
13:49:49  <tokai|noir> windows source doesnt compile:)
13:50:22  <Eddi|zuHause> make_futile_attempt_to_damage_Linux(); <- i never noticed that line before ;)
13:50:26  <SpComb> how many warnings does compiling the windows source make?
13:50:34  <TrueLight> Eddi|zuHause: this isn't the original, it is modified
13:50:37  <TrueLight> (I noticed that too)
13:51:02  <Eddi|zuHause> yeah, i saw several different versions of it before
13:51:15  <hylje> someone at MS said that compiling windows takes several days
13:51:27  <tokai|noir> adding chars to make a program look bigger (or rather get a certain binary size after linking) is fun actually:)
13:51:57  <TrueLight> hylje: on a 486, most likely
13:52:17  <TrueLight> hylje: it already takes several minutes to compile OpenTTD on a 100 MHz
13:52:40  <tokai|noir> compiling a proper linux distro on 1GHz takes almost a week too :)
13:53:01  <Prof_Frink> Silly Gentoo peoples
13:53:21  <tokai|noir> well.. in the end it didnt worked properly and was segfaulting all the time
13:53:26  <hylje> been installing a new gentoo from scratch
13:53:28  <hylje> :-)
13:53:45  <hylje> on a P3 933
13:53:47  <TrueLight> I do tha tlal the time :p Gentoo rulez ;)
13:53:49  * tokai|noir blames broken gcc
13:53:51  <TrueLight> Just KDE is a bitch
13:54:07  <hylje> actually
13:54:19  * Prof_Frink fires the ubuntu-ray
13:54:31  <hylje> i should go and fix the kernel for the raid controller
13:54:51  <hylje> i even have the exact details what i should do
13:54:53  <hylje> :X
14:00:04  *** Qrrbrbirlbel [] has joined #openttd
14:07:27  *** Zerot_ [] has quit [Read error: 104 (Connection reset by peer)]
14:07:34  *** DaleStan [] has joined #openttd
14:07:37  *** Zerot [] has joined #openttd
14:08:16  *** uatec [] has quit [Remote closed the connection]
14:08:46  *** glx [] has joined #openttd
14:10:55  *** tank [] has quit [Nick collision from services.]
14:10:59  *** tank__ [] has joined #openttd
14:13:17  *** uatec [] has joined #openttd
14:14:23  *** Singaporekid [] has quit [":o"]
14:27:26  *** DaleStan_ [] has quit [Read error: 110 (Connection timed out)]
14:36:19  *** tokai|mdlx [] has joined #openttd
14:37:03  *** tokai|ni [] has joined #openttd
14:40:11  *** mouse [n=mouse@] has joined #openttd
14:49:18  *** tokai|noir [] has quit [Read error: 110 (Connection timed out)]
14:49:29  *** tokai [] has quit [Read error: 110 (Connection timed out)]
14:50:25  *** ^Cartman^ [] has joined #openttd
14:55:08  *** Scia [] has joined #openttd
15:01:16  *** gass [n=any@] has joined #openttd
15:03:24  *** stavrosg [] has joined #OpenTTD
15:04:39  *** kujeger_work [] has quit ["Konversation terminated!"]
15:15:34  *** Born_Acorn [] has joined #openttd
15:20:58  <Celestar> what about >> 1?
15:21:11  <Celestar> I find that st00pid ..
15:21:35  <Qball> << 1
15:22:00  <Celestar> "<<" and ">>" are used for bitmapping operations
15:22:06  <Celestar> "/" and "*" for mathermatical operations
15:23:59  <Qball> \/*&\/
15:24:06  *** tokai|mdlx [] has quit ["It's like, wah."]
15:24:44  *** tokai [] has joined #openttd
15:27:17  *** Zerot_ [] has joined #openttd
15:27:51  *** Zerot [] has quit [Read error: 104 (Connection reset by peer)]
15:34:56  *** ^Cartman^ [] has quit ["Que?"]
15:45:25  <Eddi|zuHause> Qball: what kind of smilie is that supposed to be?
15:50:16  *** Forexs [] has joined #openttd
15:51:01  <Qball> Eddi|zuHause: who knows
15:55:27  *** Aankhen`` [n=pockled@] has quit ["Reboot [Time wasted online: 8hrs 32mins 37secs]"]
15:56:05  *** Koalabaerchen [n=koala@] has joined #openttd
16:15:31  *** Koalabaerchen [n=koala@] has quit ["When my brothers and I played Cowboys and Indians, I was always the Chinese Railroad Worker."]
16:21:52  *** Eddi|zuHause2 [] has joined #openttd
16:24:21  *** Torrasque_ [] has joined #openttd
16:40:14  *** Torrasque_ [] has quit [Read error: 104 (Connection reset by peer)]
16:42:17  *** Eddi|zuHause [] has quit [Read error: 110 (Connection timed out)]
16:48:49  *** Osai [] has quit []
16:52:57  *** XeryusTC is now known as Xeryus|food
17:01:55  <CIA-5> tron * r3814 /trunk/tunnelbridge_cmd.c: Remove another call to FindLandscapeHeight()
17:03:18  *** init [] has quit ["leaving"]
17:07:24  *** kujeger [] has joined #openttd
17:14:06  *** e1ko [] has joined #openttd
17:14:44  *** Cheery_ is now known as Cheery
17:15:42  *** BJH [] has quit ["ChatZilla 0.9.61 [Mozilla rv:1.7.12/20050915]"]
17:16:09  <Belugas> Tron ?
17:16:56  <Belugas> never mind
17:36:24  *** ^Cartman^ [] has joined #openttd
17:39:42  *** Xeryus|food is now known as XeryusTC
17:39:46  *** dp-- [] has quit [Read error: 104 (Connection reset by peer)]
17:40:30  *** Prof_Frink [] has quit ["Yorkshire"]
17:42:58  *** dp [] has joined #openttd
17:43:12  *** sw4y [] has quit [Remote closed the connection]
17:45:37  *** dp is now known as dp--
17:49:25  *** sw4y [] has joined #openttd
17:56:31  *** |Jeroen| [] has joined #openttd
17:57:01  *** sw4y [] has quit [Read error: 104 (Connection reset by peer)]
17:59:12  *** DJ_Mirage [] has joined #openttd
18:02:03  *** sw4y [] has joined #openttd
18:13:13  *** CobraA1 [] has joined #openttd
18:13:30  *** tokai [] has quit [Read error: 104 (Connection reset by peer)]
18:27:11  *** stavrosg [] has quit [Read error: 110 (Connection timed out)]
18:31:24  *** stavrosg [] has joined #OpenTTD
18:36:25  *** kujeger [] has quit ["Leaving"]
18:38:49  *** |Jeroen| [] has quit ["Leaving"]
18:49:31  *** Osai [] has joined #openttd
18:50:36  *** tokai [] has joined #openttd
18:55:07  *** CobraA1 [] has left #openttd []
18:59:46  *** TrueLight is now known as TL|Away
19:09:47  *** Scia [] has quit ["kwiet"]
19:18:50  <ln-> Bjarni: i have a question to you.
19:20:44  <ln-> regarding this bug:
19:22:51  <Eddi|zuHause2> sounds intresting ;)
19:23:29  *** tokai is now known as tk|tv
19:39:55  *** axadhus [] has joined #openttd
19:40:49  *** lc [] has quit [Remote closed the connection]
19:48:34  <Bjarni> ln-: funny, I was going to talk to you about that one
19:49:16  <Bjarni> I also searched for the docs where I read how Apple want the applications to talk when reading/writing filenames, but now I can't find it anymore :(
19:49:41  *** Andrew67 [n=andrew67@] has joined #openttd
19:49:54  <Bjarni> but the basic rule is that they use "wide utf-8" for some reason, which means if you write ñ, it translates it to ~n
19:50:08  <Bjarni> but then it's read as ~n, not ñ
19:50:18  <Bjarni> which means the input have to be aware of this
19:50:29  <ln-> i have a patch that fixes the whole issue, and it's been available since november 13th... (i didn't even remember that i had finished it when i commented about that bug yesterday)
19:51:15  <Bjarni> I researched a lot about this issue, but I never manage to get the wide utf-8 to work right
19:52:05  <Bjarni> damn, that bug report is one year old by now
19:52:15  <Bjarni> 1 year and 5 days
19:52:18  <ln-> i've never heard about wide utf-8, but still my patch works as expected.
19:53:22  <Bjarni> can you bring that patch up to date, so I can apply it to the newest trunk?
19:53:52  <Bjarni> odds are that nothing/very little changed regarding opening filenames ;)
19:53:53  <ln-> actually, i just made some final adjustments to it before pinging you.
19:54:46  <Tron> <ln-> which happens to be the same as dividing by 2 <-- this is not always true
19:54:51  <ln-> it fixes the same issue for Linux, too. non-utf-8 filenames on a utf-8 system cause problems in the openttd directory, e.g. "svn up" doesn't work if you have such files in the dir.
19:55:03  <Tron> <ln-> i.e. most of the devs. <-- any proofs for that claim?
19:56:26  <ln-> Tron: of course not, besides the fact that bitshifting is used a lot in the code, and it hasn't been removed during these years.
19:56:40  <Bjarni> ln-: it's dangerous to say what the developers want without asking them ;)
19:57:12  <ln-> Bjarni: check this out:
19:57:19  <Tron> as i just stated shifting is not always the same as dividing by a power of two
19:57:34  <Tron> so every shift has to be examined if it's safe to change it
19:57:41  <Tron> that's very tedious
19:57:50  <Tron> there are more important things to do
19:59:11  *** thgergo [] has joined #openttd
19:59:30  <ln-> such as applying the patch above... it adds a new dependency -- libiconv.
20:00:42  <ln-> if that's terribly bad, something can be commented out with #ifndef WIN32.
20:01:03  <Tron> WIN32? i thought it's a OSX issue
20:02:06  <ln-> #ifNOTdef WIN32. i meant commenting out iconv-related code in case it's never needed in windows.
20:02:31  <Tron> !OSX != WIN32
20:03:06  *** Qrrbrbirlbel [] has quit [Read error: 110 (Connection timed out)]
20:03:42  <Bjarni> +ifdef OSX
20:03:42  <Bjarni> +LIBS += -liconv
20:03:42  <Bjarni> +endif
20:03:49  <Bjarni> that's dynamic linking, right?
20:03:59  <Tron> not necessarily
20:04:20  <Tron> it just adds the library "iconv"
20:04:39  <Tron> that alone doesn't specify the linking method
20:04:57  <ln-> that's probably dynamic linking, but i'm quite sure libiconv is included in default OS X installation.
20:06:03  <ln-> Tron: my patch fixes the same utf-8 issue on linux, too.
20:06:11  <ln-> well, not same, but similar.
20:10:13  <ln-> the big question is, does visual c++ have iconv()?
20:13:58  *** MeusH [] has joined #openttd
20:14:00  <MeusH> hi
20:14:05  <Bjarni> hi MeusH
20:14:18  <Bjarni> ln-: you ended up with the same issue as I used to have
20:14:18  <MeusH> MiHaMiX: is something to do on the wiki?
20:14:22  <MeusH> hey Bjarni
20:15:28  <Bjarni> try to switch OTTD to German and start a new game (or reverse the order if you don't know German that well). FF to March (Mär) and save. It's saved aright, but then try to load it
20:15:35  <Bjarni> it will not say Mär anymore
20:17:49  <Bjarni> it says "Unbenannt, 5.Maì?r 1950"
20:18:00  <Bjarni> now that's not right
20:18:15  <Bjarni> clicking loads the right game though, so it's a display bug
20:18:42  <ln-> i know it shows the names wrong, but does that really matter so much?
20:18:54  <Bjarni> hmm
20:19:03  <Bjarni> not to me, but it sure did to Darkvater
20:19:23  <ln-> we are talking about moving from situation "cannot save a game nor screenshot at all" to "can save, but names show wrong".
20:19:47  <ln-> Bjarni: does Darkvater have a Macintosh?
20:20:01  <Bjarni> no
20:20:07  <Bjarni> I think he wants one though
20:20:31  <ln-> names showing wrong is a minor issue, in my opinion.
20:21:17  <Bjarni> given the time since the bug report was opened, it's not likely that anybody will show up with a fix for the display thing tomorrow
20:21:24  <ln-> i think it's a lot bigger problem that (on linux), if you save a screenshot with non-utf-8 filename, YOU CANNOT do "svn up" ANYMORE in that dir.
20:22:11  <ln-> Bjarni: so you prefer the situation of not being able to save a game at all?
20:24:18  <Bjarni> no
20:24:36  <Bjarni> I'm looking at convert_to_fs_charset
20:25:33  <Bjarni> well, there is a bit of a problem
20:25:42  <Bjarni> what will happen on windows
20:25:52  <ln-> the file dialog would need to do the reverse conversion, and still remember what is the physical filename that will really be opened. this may be easy or non-easy, i haven't looked at the file dialog code.
20:25:54  <Bjarni> or any other platform not reading unix.c
20:26:37  <Bjarni> they just see extern convert_to_fs_charset, but they don't get it in any other c file
20:26:49  <ln-> good question. probably the easiest thing to do would be to #define convert_to_fs_charset(x) x  on those platforms.
20:28:26  <Bjarni> hmm
20:28:42  <Bjarni> somebody talked about making internal unicode support
20:28:50  <Bjarni> who was that?
20:28:56  <Bjarni> and I don't mean Pipian
20:29:07  <Bjarni> peter1138: did you talk about unicode?
20:29:57  <ln-> considering the speed at which big changes are adapted to the code, do you think this internal unicode support would be ready during this decade?
20:31:19  *** Diablo-D3 [] has joined #openttd
20:32:22  <Bjarni> that's not what I want to hear (but yes, it will be done before 2010)
20:32:51  <Bjarni> I wanted to hear if it adds new files. Files that we could use now for that function
20:33:19  <Bjarni> on the other hand
20:33:22  <Bjarni> it's a small thing
20:33:41  <Bjarni> maybe one of the mess files (misc) should take care of this
20:42:09  *** AlexFili [] has joined #openttd
20:42:11  <AlexFili> hi folks
20:42:18  <guru3> hellloooooo
20:42:22  <AlexFili> hows it going?
20:42:32  <guru3> not too bad
20:42:47  <C-Otto> not good, trains are breaking down :>
20:43:01  <C-Otto> btw, i am going by train in real life in a few minutes
20:43:01  <AlexFili> not good here either, seems TTD for DS is impossible
20:43:01  <C-Otto> ...
20:43:09  <C-Otto> what is DS?
20:43:14  <C-Otto> that nintendo thing?
20:43:15  <AlexFili> double screen, nintendo console
20:43:24  <C-Otto> slow cpu i guess?
20:43:26  <AlexFili> no
20:43:29  <AlexFili> not enough ram :(
20:43:36  <C-Otto> well, compress the data
20:43:40  <guru3> how much is there on the ds?
20:43:40  <C-Otto> no problem with a fast cpu :>
20:43:44  <AlexFili> C-Otto thats just the problem
20:43:45  <AlexFili> i dont know how
20:43:49  <AlexFili> guru3 only 4mb
20:43:52  <guru3> hmm yes
20:43:52  <C-Otto> "unsigned long long compressed i"
20:43:55  <guru3> you can't use swap?
20:43:58  <MeusH> how about a swapfile for DS?
20:44:03  <AlexFili> i dont know :s
20:44:14  <AlexFili> no offence, but im a noob
20:44:29  <guru3> ottd on ds would be cool tho
20:44:33  <AlexFili> i figured out how to compile my source for windows, but thats about it
20:44:34  <AlexFili> guru3 i know :(
20:44:37  <MeusH> thing that can boost up the RAM somehow
20:44:48  <AlexFili> hmmm
20:44:50  <MeusH> part of the HDD is being changed into RAM
20:44:53  <AlexFili> MeusH im not sure that exists
20:44:59  <AlexFili> ds doesnt have HDD
20:45:02  <MeusH> my pagefile.sys in windows is 1GB
20:45:08  <Bjarni> 	<AlexFili>	no offence, but im a noob <-- oh, you learned some stuff since last time
20:45:14  <AlexFili> Bjarni well
20:45:16  <MeusH> AlexFili: everything can be tweaked :)
20:45:19  <AlexFili> i learned that TTD is impossible on DS
20:45:23  <AlexFili> supposedly
20:45:44  *** SchAmane [] has quit [Read error: 110 (Connection timed out)]
20:45:53  <Bjarni> actually that's not really what I meant when I told you that you needs to learn stuff to reach n00b level
20:46:02  <AlexFili> um lol
20:46:07  <AlexFili> well, i compiled the ttd source for windows
20:46:11  <AlexFili> if that makes me a n00b
20:46:43  <AlexFili> Bjarni, can i ask something?
20:46:48  <AlexFili> who decided to make it for psp and not ds?
20:46:58  <Qball> I don't know if you can
20:47:04  <Qball> sometimes I doubt it
20:47:05  <Bjarni> ...
20:47:23  *** SchAmane [] has joined #openttd
20:47:31  <BurtyB> well its "impossible" to do for DS so thats probably why :P
20:47:32  <Bjarni> <AlexFili>	who decided to make it for psp and not ds? <-- well, somebody with a PSP decided to try to port it
20:47:43  <AlexFili> :S
20:47:48  <AlexFili> but i thought openttd ported it
20:47:55  <Bjarni> not officially
20:48:11  <Bjarni> I didn't have anything to do with it
20:48:15  <AlexFili> oh ok
20:48:37  <Qball> Bjarni: you are now openttd?
20:48:46  <Bjarni> it appears so
20:48:55  <Qball> congratz
20:48:56  <Vornicus> No!  I am OpenTTD!  And so is my wife!
20:48:58  <Bjarni> that's what the n00b wannabe tells me
20:49:06  <AlexFili> :o
20:49:14  <AlexFili> well, i dont know anyone else in openttd
20:49:20  <AlexFili> and since your the only op whos speaking...
20:49:24  <Qball> poor Bjarni
20:49:44  <coppercore> so Vornicus plays his wife all the time?
20:49:53  <Qball> op's doesn't make somebody king (dictator in Bjarni's case, but that's not the point here)
20:49:58  <Bjarni> <AlexFili>	and since your the only op whos speaking... <-- everybody else were clever enough to hide
20:50:05  <AlexFili> :)
20:50:07  <AlexFili> i like u :p
20:50:26  <Bjarni> coppercore: good question.... Vornicus you better answer that one
20:50:33  <Qball> well in dutch we would say "Je hebt een plaat voor je kop"
20:50:41  <Qball> in your case titanium
20:51:03  *** mode/#openttd [+b *!n=AlexFili@*] by Bjarni
20:51:09  * Bjarni wonders if AlexFili still likes him
20:51:16  <coppercore> pwned
20:51:24  *** mode/#openttd [-b *!AlexFili@*] by Bjarni
20:51:48  *** KritiK [] has joined #openttd
20:52:48  *** mode/#openttd [-b *!n=AlexFili@*] by Bjarni
20:52:48  <AlexFili> thanks
20:53:02  *** stavrosg [] has quit [Read error: 110 (Connection timed out)]
20:53:06  <Bjarni> once again I managed to fuck up the unban command :p
20:53:08  <AlexFili> lol
20:53:09  * Vornicus actually has no wife.
20:53:18  <coppercore> girlfriend then?
20:53:27  <AlexFili> nearest girl? :P
20:53:44  <Qball> in Vornicus case it's an imaginary gf
20:53:45  <Bjarni> girl?
20:53:51  <Bjarni> that's a jpg thing, right?
20:53:58  <Bjarni> at least in Vornicus' world
20:53:58  <coppercore> Rosy Palm?
20:54:02  <Qball>
20:54:53  <AlexFili> oh well
20:54:59  <AlexFili> thats all i wanted to tell you guys
20:55:01  <AlexFili> see you on openttd
20:55:05  *** AlexFili [] has quit []
20:55:10  <Qball> lol.
20:55:13  <coppercore>
20:55:14  <coppercore> rofl
20:55:30  <Qball> that guy is realy funny
20:55:50  <Bjarni> yeah
20:56:06  <Bjarni> we all knew that he could not port to some hardware with
20:56:12  <Bjarni> 1: a way too small screen
20:56:15  <Bjarni> 2: 4 mb RAM
20:56:22  <Bjarni> 3: 67 MHz CPU
20:56:26  <Qball> he coudln't even port it to a pc if you asked him.
20:56:26  <Diablo-D3> what are we talking about?
20:56:51  <Bjarni> Diablo-D3: AlexFili wanted to port OpenTTD to a Nitendo DS
20:56:54  <Vornicus> how much space does ottd take up per tile?
20:56:58  <Bjarni> he finally gave up
20:57:06  <Diablo-D3> Bjarni: well duh
20:57:16  <Diablo-D3> Bjarni: thats fucking retarded out of pure obviousness
20:57:17  <Vornicus> --and, at that, how much does it take up for the images and so forth?
20:57:27  <Diablo-D3> Vornicus: atleast 16 megs for the images
20:57:29  <Diablo-D3> however
20:57:33  <Diablo-D3> thats static data
20:57:37  <Diablo-D3> and the DS mmaps the cart.
20:58:26  <Vornicus> yeah, I'm more concerned about the per-tile data.  the image stuff I know you can pull off as mmapping.
20:58:28  <Diablo-D3> thats the greatest part about carts
20:58:31  <Diablo-D3> you can mmap them
20:58:43  <Diablo-D3> Vornicus: who knows
20:58:53  <Diablo-D3> Vornicus: but 4 megs obviously isnt enough to do fucking squat
20:58:57  *** TL|Away is now known as TrueLight
20:59:02  <Vornicus> it sure isn't much, I know that.
20:59:04  <Diablo-D3> actually, no, you can do amazing shit in 4 megs
20:59:13  <Diablo-D3> wing commander 2!
20:59:16  <Diablo-D3> yar!
20:59:16  <Vornicus> but I don't know how much not much it is.
20:59:51  <Vornicus> so that's my question: how much space does one tile worth of data take up?
21:00:25  <Bjarni> ahh, now I refound the link
21:00:25  <Bjarni>
21:00:41  *** ^Cartman [n=Eric_Car@] has joined #openttd
21:01:12  <Bjarni> the guy got hold of SDL for DS (I wonder how) and after a few hours, he started to wonder about the include dir
21:01:20  *** ^Cartman^ [] has quit [Read error: 104 (Connection reset by peer)]
21:01:26  <Vornicus> madness
21:01:30  <Bjarni> he had ignored it so far, but all of a sudden he realised that he should use it
21:01:43  <Bjarni> he didn't realise how though
21:02:52  * Vornicus personally doesn't understand the organization of most stuff like that, just kinda has to go with it.
21:03:27  <Bjarni> a lot of people don't understand, but then again most people don't try to port stuff and crosscompile
21:03:47  <Bjarni> you should not try to port and crosscompile if you don't know what to do with an include dir
21:04:11  <Bjarni> if you are just a gamer, you don't have to care. Some people have already done it for you
21:04:58  * Vornicus is slowly learning this stuff.  needs to figure out how to talk to stuff in mac bundles from the application therein, but...
21:05:36  <Bjarni> heh
21:05:43  <Bjarni> that's not as hard as you might think
21:05:55  <Diablo-D3> Bjarni: what the fuck
21:06:22  <Vornicus> yeah, I just can't think lately, and I'm trying to do it without going through too many modifications to the actual source code.
21:06:28  <Diablo-D3> Bjarni: people piss me off
21:06:37  <Diablo-D3> I want to fucking beat them senseless
21:06:42  <Kjetil> So.. You piss yourself of ey ?
21:06:53  <Diablo-D3> Kjetil: dont make me hurt you.
21:06:59  <Kjetil> Bring it on
21:07:04  <Diablo-D3> Bjarni: I say we sue him
21:07:06  <Bjarni> Diablo-D3: yeah, you think you have seen the stupidest person ever and then the internet can always manage to find somebody even stupider
21:07:18  <Diablo-D3> Bjarni: for not releasing the source of his non-working DS port
21:07:29  <Bjarni> yeah
21:07:33  <Bjarni> that would be fun
21:07:56  * Kjetil doesn't think it a coinsidence that Internet and Idiot begin with the same letter
21:08:09  <Vornicus> and end with the same letter.
21:08:16  <Kjetil> Scary
21:08:22  <Vornicus> I thought so.
21:08:23  <Diablo-D3> Kjetil: idiot networking terminal ... something something something
21:08:23  <Kjetil> Ze polt thickens
21:08:27  <Bjarni> "you claimed to us that you ported our software and then you didn't tell us how you did it. We really want to know even though your result was that it's impossible"
21:08:31  * Diablo-D3 cant remember the whole thing
21:08:41  <Bjarni> for that we will have that you give us £500.000
21:08:54  <Diablo-D3> Bjarni: mwahahah, I'm evil =P
21:09:15  <Bjarni> we all know that
21:09:20  <Diablo-D3> Bjarni: have you ever seen a 14 year old shit his pants? you will now.
21:09:22  <Bjarni> Diablo is evil
21:09:58  <Bjarni> heck, even Blizzard knows that
21:10:08  <Kjetil> haha
21:10:21  <Bjarni> <Diablo-D3>	Bjarni: have you ever seen a 14 year old shit his pants? you will now. <-- I bet you want to see that, you sick freak
21:10:33  <Diablo-D3> Bjarni: I didnt mean literally.
21:10:39  <Bjarni> :p
21:11:08  <Diablo-D3> well, actually, if you scare him bad enough, it might be literally
21:11:13  <Diablo-D3> imagine when his parents find out
21:11:22  <Diablo-D3> they'll kill him
21:11:32  <Diablo-D3> he'll be grounded until hes old enough to collect social security
21:12:30  <Diablo-D3> Bjarni: btw, I want 10% of the proceeds because it was my idea =P
21:12:50  <Diablo-D3> the rest I "donate" to openttd =P
21:14:08  *** tank__ is now known as tank
21:16:49  *** Zr40 [] has joined #openttd
21:17:26  *** Zr40_ [] has quit [Read error: 54 (Connection reset by peer)]
21:18:27  <Bjarni> Eurostar drivers who operate trains between London, Paris and Brussels are trained to speak French and English so they can converse with controllers and other railway staff on both sides of the Channel Tunnel.  An English driver, speeding across northern France one day, spotted a large stag wandering dangerously close to the line.  Not knowing the French word for stag, he told the French control office, in his limited French, that
21:18:27  <Bjarni> what he had seen was "a cow with a pantograph".
21:18:42  <Bjarni> it's not the story I was looking for, but it's ok anyway :)
21:19:06  <coppercore>
21:19:07  <hylje> orly airport
21:19:12  <Bjarni> they are telling this story at the Eurostar repair facility
21:20:04  *** stefan [] has quit [Nick collision from services.]
21:20:18  *** stefan [] has joined #openttd
21:20:23  *** stefan is now known as stefan__
21:21:27  <ln-> "in his limited French, that" ... and?
21:22:15  <Bjarni> read the next line
21:22:34  <Bjarni> IRC changed it into two lines for some reason
21:22:39  <Bjarni> most likely overflow
21:22:48  <hylje> :-)
21:22:48  <Bjarni> you didn't get the 2nd part?
21:22:56  <Bjarni> <Bjarni>	what he had seen was "a cow with a pantograph".
21:23:01  <Bjarni> well, I did
21:23:06  <hylje> ircds dont like irc messages too long
21:23:17  <ln-> "that what" didn't sound like an obvious pattern so i thought something was missing in between
21:23:38  <Bjarni> hmm
21:23:40  <Bjarni> checking
21:24:05  <MeusH> KVIrc splitted it into 2 messages
21:24:25  <Bjarni> it is printed correctly
21:24:33  <Bjarni>
21:24:36  <Bjarni> that's another good one
21:24:37  <MeusH> cya
21:24:39  <Bjarni> people are crazy
21:24:51  *** MeusH [] has quit ["Cya layer"]
21:25:06  <hylje> oh really?
21:30:53  *** Cheery [] has quit [Read error: 104 (Connection reset by peer)]
21:31:34  *** StarLite [] has quit ["En KLAP.. de klaptop is dicht..."]
21:42:13  *** Zr40 [] has quit [Read error: 54 (Connection reset by peer)]
21:42:38  *** thgergo [] has quit [Read error: 113 (No route to host)]
21:43:27  *** DJ_Mirage [] has quit [Read error: 104 (Connection reset by peer)]
21:47:39  *** Belugas is now known as Belugas_Gone
21:48:27  <Belugas_Gone> Good weekend guys.
21:48:44  *** ThePizzaKing [] has joined #openttd
21:49:12  <hylje> no
21:50:22  <CIA-5> belugas * r3815 /branch/tfc_newmap/ (road_cmd.c tunnelbridge_cmd.c vehicle.c): [tfc_newmap] -synch to trunk r3811 to r3814
21:54:34  <coppercore> hey
21:59:42  *** sw4y [] has quit [Remote closed the connection]
22:01:15  *** SchAmane [] has quit ["Ciao"]
22:03:12  *** PAStheLoD [] has joined #openttd
22:04:46  *** Nubian [] has quit [Read error: 110 (Connection timed out)]
22:07:10  <Vornicus> Bjarni, stupid question that I can't seem to find the answer to.  What's the working directory for OSX app bundles?
22:07:22  <PAStheLoD> hi all
22:10:46  <egladil> Vornicus: /
22:11:07  <Vornicus> have to be joking, right?
22:11:22  <egladil> nope. not when launched from finder/dock
22:12:05  <Vornicus> ...then how on earth am I supposed to find things in the same directory as the app?
22:12:19  <hylje> ls
22:12:54  <Vornicus> or, god forbid, use libstdc file commands instead of the mac-specific stuff?
22:13:13  *** Mukke [] has joined #openttd
22:16:16  * Vornicus swears profusely.
22:18:21  *** SchAmane [] has joined #openttd
22:18:37  *** tk|tv is now known as tokai
22:21:41  <Bjarni>  	<Vornicus>	Bjarni, stupid question that I can't seem to find the answer to.  What's the working directory for OSX app bundles? <--- it's the dir you are in when you doubleclick the app
22:21:53  <Bjarni> which means the same dir as the bundle
22:22:00  <Bjarni> *bundle root
22:22:22  <Bjarni> so if you have file.a and in the same dir, file.a is in the working dir
22:22:45  <Vornicus> Okay, so if I've got /Applications/Games/OpenTTD/ ..., the working dir is /Applications/Games/OpenTTD/ ?
22:23:12  <Bjarni> yes
22:23:32  <Vornicus> okay.  That I can handle.  Thank you.
22:28:54  *** Spoco [] has quit []
22:31:07  *** tokai [] has quit [Read error: 104 (Connection reset by peer)]
22:31:09  *** tokai [] has joined #openttd
22:32:43  *** Mucht|zZz is now known as Mucht
22:33:57  *** Fujitsu [] has joined #openttd
22:39:58  *** Qrrbrbirlbel [] has joined #openttd
22:40:36  *** uatec_ [] has joined #openttd
22:41:21  *** uatec [] has quit [Remote closed the connection]
22:48:47  <egladil> [10 23:23 CET] Bjarni yes  <== no
22:50:34  <egladil>  <== take a look at the special code needed for os x
22:52:28  <Bjarni> egladil: err
22:52:33  <Bjarni> are you sure it's needed
22:52:35  <egladil> Vornicus: this is how you find the app dir:
22:52:38  <egladil> yes
22:52:46  <Bjarni> I mean it worked before it was added
22:52:53  <egladil> sdl did it then
22:52:59  <Bjarni> oh
22:54:18  <Bjarni> the question is if Vornicus is going to use SDL in his port
22:54:26  <Bjarni> somehow I think so
22:54:29  <Vornicus> It does use SDL, yes.
22:56:12  <Vornicus> The original is in SDL, and it works fine on mine once I work out the stupid path to openGL thing, and so forth, so I don't see any reason to change it.
22:58:22  <Bjarni> hehe
22:58:35  <Bjarni> I can see you haven't tried to make a static build yet
22:58:42  <Vornicus> What were theproblems that you guys had with it?
22:58:49  <Vornicus> Actually I got the static build just fine.
22:58:54  <Vornicus> I think anyway.
22:59:21  <Bjarni> well, it failed to link statically against anything newer than 1.2.7
22:59:27  <Vornicus> weird.
22:59:35  <Vornicus> Cuz this one worked fine.
22:59:43  <Bjarni> and it made a lazy pointer not found crash on exit
23:00:09  <Bjarni> it crashed the game is you switched to a resolution that would not fit on the screen in window mode
23:00:34  <Vornicus> Actually the Cocoa build does that on my machine.
23:00:45  <Bjarni> crash?
23:00:51  <Vornicus> yeah.
23:00:54  <Bjarni> o_O
23:00:59  *** PAStheLoD [] has quit ["( :: NoNameScript 4.01 :: )"]
23:01:03  <Bjarni> are you sure it's the cocoa build?
23:01:22  <Vornicus> I'm sure, yes.
23:01:40  <Bjarni> what do you do to crash it?
23:01:55  <Bjarni> it had a problem on x86, but it should be fixed
23:02:14  <Bjarni> "should be" because I have no way to test it
23:02:15  <Vornicus> Switching to a resolution big enough to hit the dock.
23:02:33  <Vornicus> I've got a dual G4 from like 2002.
23:02:42  <Bjarni> it appears everybody is too cheap to donate me an Intel based mac :(
23:02:47  <Vornicus> sowwy.
23:03:02  <Bjarni> ieowujtp9aw8e7gntehsjpramwerk
23:03:12  * Bjarni goes to get a new lightbulb
23:03:13  <Vornicus> really.
23:03:22  <Bjarni> it's kind of dark now
23:03:31  <TrueLight> pussy
23:05:07  * glx hope Bjarni has a spare lightbulb :)
23:05:35  <TrueLight> here, borrow mine!
23:07:28  <Bjarni> ahh, now I can see more than just the monitor again :)
23:07:39  <Vornicus> heh
23:09:39  <Bjarni> actually I started to wonder why the light flickered and wondered if I should see if the power supply were stable
23:09:42  <Bjarni> then it died
23:09:51  <Bjarni> and now the light is stable
23:10:01  <Bjarni> I guess I don't have to call the power company
23:10:31  <Bjarni> I did that once because I had the wrong voltage
23:10:47  <Bjarni> they changed voltage from 230V to 15V
23:15:56  <Eddi|zuHause2> wtf?
23:19:03  *** RoySmeding [] has quit [Read error: 110 (Connection timed out)]
23:23:16  *** tokai [] has quit ["It's like, wah."]
23:24:40  *** tokai [] has joined #openttd
23:25:04  <ShadowJK> wtf :)
23:25:07  *** TrueLight is now known as TL|Away
23:26:09  <Bjarni> yeah, they broke the transformer
23:26:28  <Bjarni> or rather, it broke itself
23:27:34  <Bjarni> so the whole street must have missed that phase, yet it appears that I was the one to report the wrong voltage on it
23:28:02  *** ThePizzaKing [] has quit ["Reason: My sister broke the router"]
23:28:12  *** StarLite [] has joined #openttd
23:28:23  <Bjarni> a voltage drop to 15V should be something everybody notic
23:28:24  <Bjarni> e
23:29:40  *** ThePizzaKing [] has joined #openttd
23:31:16  <Eddi|zuHause2> well... there's a difference between 'notice something is wrong', 'notice what is wrong' and 'know what to do against it'
23:32:08  *** e1ko [] has quit ["Chatzilla 0.9.67+ [SeaMonkey 1.0/2006013012]"]
23:32:24  <Eddi|zuHause2> like my neighbour recently...
23:32:38  <Eddi|zuHause2> she said "i have a problem sending emails"
23:32:56  <Eddi|zuHause2> i came around, noticed, she couldn't even log into the net
23:33:03  <Eddi|zuHause2> it said 'wrong password'
23:33:25  <Eddi|zuHause2> i said: call the ISP, they probably locked the account because the password was input too often
23:33:39  <Eddi|zuHause2> she said: "i would have never thought of that"
23:33:57  <Bjarni> heh
23:34:00  <Eddi|zuHause2> 2 minutes later, the problem was fixed ;)
23:34:21  <Eddi|zuHause2> there's a "wrong" missing in between
23:34:37  <Eddi|zuHause2> the wrong password
23:34:37  <Bjarni> well, I didn't mean people should call the power company and tell that they only got 15V, more like: it's not working
23:35:19  <Eddi|zuHause2> like i said: my neighbour never thought of calling the ISP either, so it's not a surprise that people don't call the power station
23:35:53  <Bjarni> most people can't even measure that there is a voltage, but it's way too low to make anything work, that expects 10 times as high voltage or even more
23:37:08  <Bjarni> I once saw that they were looking for more people to take care of their phonecalls. I thought it looked like easy money, but I didn't apply
23:37:15  <Bjarni> I can't remember why
23:37:25  <Eddi|zuHause2> when i have a power outage, i don't call anyone either, i expect that to be noticed and fixed by the people responsible
23:38:00  <Bjarni> you know, it could be the fuse between their cables and your house and they would never notice
23:38:00  <Eddi|zuHause2> it always worked that way...
23:38:31  <Eddi|zuHause2> well... i notice that by looking out of the window, and see that everyone else has power ;)
23:38:40  *** Qrrbrbirlbel [] has quit [""]
23:38:56  <Eddi|zuHause2> then i check the ... "sicherung" (english word?)
23:38:59  <Bjarni> <Eddi|zuHause2>	well... i notice that by looking out of the window, and see that everyone else has power ;) <-- I tried that. It sucked
23:39:12  <Bjarni> sicherung = fuse
23:39:15  <Bjarni> I think
23:39:20  <Bjarni> !whatis fuse
23:39:23  <jmp_ghli> >Bjarni> Fuse \Fuse\, v. i. 1. To be reduced from a solid to a fluid state by heat; to be melted; to melt. | 2. To be blended, as if melted together. | , the degree of temperature at which a substance melts; the point of fusion; the melting point.  Fuse \Fuse\, n.  (Gunnery, Mining, etc.) 1. A tube or casing filled with combustible matter, by means of which a charge of powder is ignited, as in blasting; -- called also . See . | , the hole
23:39:41  <Bjarni> hmm
23:39:47  <Bjarni> not that kind of fuse
23:39:50  <Eddi|zuHause2> that's not what i was looking for ;)
23:40:07  <Bjarni> I guess that word means more than one thing
23:41:02  <Bjarni>
23:41:05  <Bjarni> more like those
23:41:18  <Bjarni> except they aren't big enough for the power input to a building
23:42:07  <Bjarni>
23:42:09  <Bjarni> those
23:42:24  <Bjarni> except we use them to make our installations safe :p
23:42:24  *** tokai [] has quit [Read error: 104 (Connection reset by peer)]
23:44:29  <Eddi|zuHause2> well... we hat a power outage a few months ago
23:44:36  <Eddi|zuHause2> there was some pretty big storm
23:44:48  <Eddi|zuHause2> it got fixed automatically like 10 minutes later
23:45:07  <Eddi|zuHause2> i can't think of one that lasted much longer...
23:45:23  <Bjarni> I lost power for like a day or so
23:45:32  <Eddi|zuHause2> and i never called anyone
23:45:39  *** tokai|ni is now known as tokai|Zzz
23:45:47  <Eddi|zuHause2> besides, when the power is lost, the phone is dead anyway ;)
23:45:54  <Bjarni> a storm knocked over a whole lot of trees and a row of them took down the power lines
23:46:09  <Bjarni> they had to put up new ones and new poles to hold them
23:46:23  <Eddi|zuHause2> that sounds like lots of work ;)
23:46:34  * gass amulegui rula
23:46:35  <Eddi|zuHause2> you gotta love underground wires ;)
23:46:46  <Bjarni> <Eddi|zuHause2>	besides, when the power is lost, the phone is dead anyway ;) <-- that configuration is not particular safe
23:46:59  <Eddi|zuHause2> well... it's ISDN
23:47:04  <Bjarni> a fire breaks out, cuts the power and then you can't call 112
23:47:34  <Eddi|zuHause2> well... there's neighbours
23:47:42  <Eddi|zuHause2> and cell phones
23:47:43  <Bjarni> it's really common to lose power in case of a fire
23:48:12  <Eddi|zuHause2> i did not invent the system ;)
23:48:52  <Eddi|zuHause2> and if the power line is cut by the fire, chances are, the phone line which is right next to the power line is, too ;)
23:48:53  <Bjarni> if you call from your own house, they got a nice red dot on your house automatically and that is transmitted to the firefighters
23:49:11  <Bjarni> if you use a mobile phone, you risk that they go to the wrong place
23:49:15  <Bjarni> it have happened
23:49:30  <Eddi|zuHause2> well... if they go to the neighbours house, they are not that far off ;)
23:49:40  *** stefan [] has joined #openttd
23:49:45  <Eddi|zuHause2> it's not a huge city...
23:49:47  <Bjarni> not if the power dies because of a short circuit
23:49:53  <Eddi|zuHause2> it's a village of 1200 inhabitants
23:51:28  <Eddi|zuHause2> in case of fire, you can probably call the firefighters by voice ;)
23:55:20  <Fujitsu> Hhaa
23:55:35  *** stefan [] has quit [Nick collision from services.]
23:55:49  *** stefan [] has joined #openttd
23:57:08  *** dp [] has joined #openttd

Powered by YARRSTE version: svn-trunk