IRC logs for #openttd on OFTC at 2009-12-13
            
00:00:54 *** Hirundo has quit IRC
00:01:06 *** Hirundo has joined #openttd
00:02:05 *** Guest1479 has quit IRC
00:02:32 *** Ammler has quit IRC
00:02:40 *** Ammller has joined #openttd
00:03:06 *** Ammller is now known as Ammler
00:03:27 <Eddi|zuHause> and apparently the section Reichenbach-Plauen[-Hof] is necessary for the regional trains Leipzig-Plauen, because in order to use the new "City Tunnel" in Leipzig they may not use diesel engines
00:07:05 <thingwath> We all love electrifications. :)
00:07:38 *** FooBar has quit IRC
00:08:06 *** FooBar has joined #openttd
00:10:15 *** Grelouk_ has quit IRC
00:11:03 <Eddi|zuHause> well, it actually looks cute without electrification :) http://www.fotos-hochladen.net/img2702smallpa1xo2v6.jpg
00:11:59 <thingwath> will this bridge survive it?
00:12:52 <Eddi|zuHause> probably not, the article above says many bridges must be rebuilt to fit the catenary
00:12:59 <Eddi|zuHause> and this is one of the candidates
00:13:31 <CIA-4> OpenTTD: rubidium * r18476 /branches/0.7/ (11 files in 5 dirs):
00:13:31 <CIA-4> OpenTTD: [0.7] -Backport from trunk:
00:13:31 <CIA-4> OpenTTD: - Fix: (Invalid) GRFs could trigger invalid reads (r18391)
00:13:31 <CIA-4> OpenTTD: - Fix: One could not share orders between buses carrying different cargos (r18380)
00:13:31 <CIA-4> OpenTTD: - Fix: Off-by-one in the preconfigured music lists [FS#3339] (r18369)
00:13:32 <CIA-4> OpenTTD: - Change [FS#3349]: Recolour the bubble generator just like any other industry (r18409)
00:13:34 <CIA-4> OpenTTD: - Add: Some missing latin-ish characters from the OpenGFX set (r18431)
00:13:50 <Eddi|zuHause> they'll be starting with this one, though :) http://de.wikipedia.org/w/index.php?title=Datei:Netzschkau_-_Göltzschtalbrücke_2009_1_(aka).jpg&filetimestamp=20090907205613
00:14:52 <thingwath> I hope they are not going to build hundred of kilometers of noise barriers there.
00:15:54 *** fjb has quit IRC
00:17:21 <Eddi|zuHause> hm, i haven't heard about that...
00:18:18 <Eddi|zuHause> it's not actually crossing particularly heavily inhabitated areas
00:21:48 <Eddi|zuHause> some people are suggesting it should get an alternative route for freight trains
00:23:01 <Eddi|zuHause> and some people are dreaming about ICEs taking the route München-Nürnberg-Plauen-Chemnitz-Dresden-Berlin [instead of the route München-Nürnberg-Erfurt-Leipzig/Halle-Berlin]
00:24:08 <thingwath> I guess that noise barriers are specific perversion of czech railway engineering. :)
00:24:34 <Eddi|zuHause> well, they are putting up noise barriers here, but not along the whole track
00:24:38 *** tokai has quit IRC
00:24:42 <Eddi|zuHause> only in/near cities
00:25:06 <CIA-4> OpenTTD: rubidium * r18477 /branches/0.7/src/ (pbs.cpp station_cmd.cpp town_cmd.cpp tunnelbridge_cmd.cpp):
00:25:06 <CIA-4> OpenTTD: [0.7] -Backport from trunk:
00:25:06 <CIA-4> OpenTTD: - Fix: On slopes the original and better road layouts did not check their minimum distance requirements [FS#3332] (r18415)
00:25:06 <CIA-4> OpenTTD: - Fix: Aqueducts were not influenced by the "long bridges" setting [FS#3338] (r18407)
00:25:06 <CIA-4> OpenTTD: - Fix: Drive through road stops did not get flooded (r18401)
00:25:08 <CIA-4> OpenTTD: - Fix: [YAPP] Trains on bridges were not found, when searching for the origin of a reservation [FS#3345] (r18392)
00:25:27 <Eddi|zuHause> i smell a new release[-candidate]
00:26:58 *** tokai has joined #openttd
00:26:58 *** ChanServ sets mode: +v tokai
00:29:26 *** PeterT has joined #openttd
00:29:55 *** fjb has joined #openttd
00:32:52 *** Eddi|zuHause has quit IRC
00:33:12 <CIA-4> OpenTTD: rubidium * r18478 /branches/0.7/src/ (7 files in 2 dirs):
00:33:12 <CIA-4> OpenTTD: [0.7] -Backport from trunk:
00:33:12 <CIA-4> OpenTTD: - Fix: When moving a wagon and only the last part of a dual headed engine you could split the dual headed engine over two vehicles (r18462)
00:33:12 <CIA-4> OpenTTD: - Fix: [Windows] Forgot to load the symbol from SDL.dll (r18439)
00:33:13 <CIA-4> OpenTTD: - Fix: Do not run the 'jam protection' for vehicles in a depot [FS#3360] (r18428)
00:33:14 *** Eddi|zuHause has joined #openttd
00:33:14 <CIA-4> OpenTTD: - Fix: [Windows] the help window would be too large in some cases [FS#3327] (r18424)
00:33:14 <CIA-4> OpenTTD: - Fix: Under some circumstances a pointer could be left untouched and then freed. Make sure this does not happen by ensuring it starts out as NULL instead of 'garbage' [FS#3298] (r18418)
00:34:06 <PeterT> What is a backport? Why does it only backport some features?
00:34:21 <Eddi|zuHause> it does not backport any features at all!
00:34:53 <PeterT> What is backport?
00:35:18 <Eddi|zuHause> a commit that was copied from a previous commit to another branch
00:35:32 <Eddi|zuHause> so it was ported from one branch to another
00:36:09 <PeterT> Ah
00:36:16 <PeterT> So in this case, from trunk to 0.7?
00:36:16 <Eddi|zuHause> and porting from 0.8-alpha [trunk] to 0.7 is "backwards", so it's a "backport"
00:36:44 <PeterT> I would consider a bug fix as a feature
00:36:52 <PeterT> The feature of "less crashes"
00:37:06 <Eddi|zuHause> that's a very difficile semantics ;)
00:37:53 <Eddi|zuHause> because if you say "bug" == "feature", then a "bugfix" == "removal of a feature"
00:38:41 <Zuu> Though, while I don't agree with PeterT, he said "bug fix" == "feature"
00:38:42 <PeterT> No, I said "bugfix: == "feature"
00:39:06 <PeterT> Yes ^\
00:39:40 *** Cybertinus has quit IRC
00:39:45 <Eddi|zuHause> yes, it was meant as a general "you", as in a different interpretation
00:39:53 <Eddi|zuHause> not a specific "you"
00:41:17 <PeterT> Does a backport usually mean that a new stable is coming?
00:42:24 <Eddi|zuHause> often
00:42:30 <Eddi|zuHause> not always
00:42:39 *** Plimmer has joined #openttd
00:44:02 <PeterT> This is probably an annoying question, but...
00:44:09 <PeterT> Will there be a 1.0 or 0.10?
00:44:22 <Eddi|zuHause> no, there will be a 0.A
00:44:41 <Rubidium> http://www.tt-forums.net/download/file.php?id=112851 <- hahah :) completely filled the map with path signals, except where they matter
00:44:42 <Eddi|zuHause> or a 0.9.99
00:45:02 <Plimmer> If I want to merge 3 tracks out into 7 with an even spread, how would I go about and doing that? I cant seem to get my signalling done right.
00:45:17 <PeterT> Look at Rubidium's example :-P
00:45:34 <Plimmer> Heh
00:45:36 <PeterT> or a 0.9.99 <-- Wouldn't you need a 0.9.1 for that?
00:45:43 <Plimmer> Nah, dont like path signals that much. :)
00:46:20 <Eddi|zuHause> Rubidium: of course, they are PATH signals, you only can use them along a single path!
00:46:39 <Eddi|zuHause> Rubidium: if you should use them at junctions, they would be called JUNCTION signals
00:47:14 <Rubidium> luckily we have block signals that can be used everywhere because the map is full of blocks
00:47:45 *** welshdragon has quit IRC
00:48:29 <Eddi|zuHause> there was a guy a few days ago like "blocks? i thought that meant 'tile'!"
00:49:32 <PeterT> http://www.tt-forums.net/viewtopic.php?p=839428#p839428 <-- this is what you're talking about?
00:49:54 <Eddi|zuHause> i guess so
00:49:55 *** Leif_ has joined #openttd
00:50:18 <Eddi|zuHause> is that guy playing extra-zoom?
00:51:51 <PeterT> Yeah
00:52:11 <PeterT> That was extra-zoom? I thought it was just 32bpp graphics on a nightly
00:53:10 <Eddi|zuHause> it's at least double zoom, and no nightly had that feature for at least a year
00:53:45 <Rubidium> more in the order of 3 years
00:53:52 <Rubidium> @openttd commit 10001
00:53:52 <DorpsGek> Rubidium: Commit by belugas :: r10001 /trunk/src (3 files in 2 dirs) (2007-05-31 15:40:36 UTC)
00:53:53 <DorpsGek> Rubidium: -Codechange: Add support for removing dynamically allocated newgrf data
00:54:02 <Rubidium> okay, 2.5 years :)
00:54:42 <Eddi|zuHause> that was definitely not the commit that removed double zoom :p
00:54:54 <Eddi|zuHause> i totally miss that feature :(
00:55:27 <Eddi|zuHause> i should play miniin :p
00:55:36 <Rubidium> true, but... that was around the time of the r10000 party at which 32bpp was discussed which lead to the implementation of 32bpp which lead to the removal of double zoom for Windows
00:56:30 <frosch123> night
00:56:35 *** frosch123 has quit IRC
00:56:37 *** Zuu is now known as Guest1485
00:56:37 *** Leif_ is now known as Zuu
00:56:46 <Eddi|zuHause> i think it was early 2008-ish
00:57:08 <PeterT> Double zoom?
00:57:10 *** Guest1485 has quit IRC
00:57:23 <PeterT> What's the difference between that and 32bpp extra zoom?
00:58:56 <Eddi|zuHause> extra zoom has more detailed sprites, while double zoom only doubled the pixels of the existing images
01:00:27 <Eddi|zuHause> and the forum does IT again...
01:00:38 <Eddi|zuHause> why always me?
01:00:40 <PeterT> I was just going to say
01:00:45 <PeterT> Damn back ups
01:00:53 <Rubidium> @openttd commit 10121
01:00:53 <DorpsGek> Rubidium: Commit by truelight :: r10121 /trunk (32 files in 6 dirs) (2007-06-12 20:24:12 UTC)
01:00:54 <DorpsGek> Rubidium: -Codechange: split renderer from rest of code; no longer any code directly accesses the video-buffer
01:00:55 <PeterT> Why can't they be at 3AM, when nobody is on the forum?
01:00:56 <DorpsGek> Rubidium: -Add: added NULL blitter and renderer, which are always used for -vnull
01:00:57 <DorpsGek> Rubidium: -Add: dedicated driver doesn't blit nor render by default. Can be overruled by user. (-D -b 8bpp-optimized)
01:00:58 <DorpsGek> Rubidium: -Remove: removed CTRL+D from win32, which is incompatible with above
01:00:59 <DorpsGek> Rubidium: (...)
01:01:20 <Eddi|zuHause> PeterT: it's 3AM during the summer, but that doesn't actually help :p
01:01:21 <Rubidium> so I was 120 revisions/14 days off with r10001
01:01:41 <Eddi|zuHause> hm... alright... my memory is wrong then ;)
01:02:52 <PeterT> Eddi|zuHause, Is there any advantages to HG, SVN, or GIT? Or does OpenTTD just use all three so that anybody can check out the source?
01:02:56 <Eddi|zuHause> what's the statistics nowadays, do the commits/day still increase?
01:03:00 <Rubidium> although the 2.5 years is 'only' like 6 hours off
01:03:37 <Rubidium> no idea; I guess you have to plot that
01:03:56 <Eddi|zuHause> who did the previous plots about code size etc.?
01:04:23 <Eddi|zuHause> was that Darkvater?
01:04:29 <Rubidium> SmatZ?
01:04:40 <Eddi|zuHause> it's a while ago
01:04:44 <Rubidium> DV only made a nice movie
01:04:53 <Eddi|zuHause> i think it was before that
01:10:20 *** Zuu has quit IRC
01:10:49 <Rubidium> oh... almost 5 million bananas downloads :)
01:12:50 <Rubidium> it'll probably reach 5 million monday morning
01:13:24 <Eddi|zuHause> hm... i can't find these graphs in the log :(
01:15:10 *** DaleStan has quit IRC
01:19:57 <Eddi|zuHause> hm... i should stop reading news... i can't decide whether to laugh or cry...
01:20:43 <Eddi|zuHause> "german customs stop 16Mio€ deliveries of compressors from siemens to iran, which can be used for rockets"
01:21:17 <Eddi|zuHause> "also a ship was stopped that contains computers for running a nuclear power station"
01:21:36 <Eddi|zuHause> "siemens says 'but it's for civilian use only'"
01:23:29 <fjb> More civilian nuclear plants exploded than nuclear bombs.
01:23:59 <Eddi|zuHause> i only know of two exploded nuclear plants...
01:24:40 <fjb> Ok, may be exploded, but more nuclear plants leaked radioactive stuff.
01:24:44 <Eddi|zuHause> and two bombs in enemy territory [plus a few tests]
01:25:33 <Eddi|zuHause> wait, you don't believe when the news says "but there was honestly no radioactivity leaked and no danger for civilians"
01:27:09 <Rubidium> yes I believe that
01:27:42 <Eddi|zuHause> it's so funny, because they said that in east german tv during the tschernobyl incident
01:27:46 <fjb> Not always...
01:28:02 <Rubidium> (given the state of civil rights around the world... there are no civilians anymore, thus no danger to them either)
01:28:14 <Eddi|zuHause> all surrounding countries announced an increase in radiation
01:28:55 <fjb> Hm, yes, no civilians, like in ancient times.
01:29:37 <Eddi|zuHause> Rubidium: well, actually, they recently admitted that there were civilians near the two fuel trucks that were bombed in afghanistan earlier this year
01:29:59 <Eddi|zuHause> so apparently the last 130 civilians on this planet were killed back then :p
01:30:28 <Rubidium> I reckon civil rights haven't been tampered with in Afghanistan yet
01:31:05 <fjb> No, they have a new term in German: "Unbeteiligte" What is that in English?
01:31:15 <Eddi|zuHause> fjb: non-combatants?
01:31:21 <Rubidium> http://news.bbc.co.uk/olmedia/460000/images/_461931_japan_nuke_fctbx.gif <- hmm... can that be linearly extrapolated?
01:31:23 <FauxFaux> Canadians.
01:33:00 <fjb> Rubidium: I would say yes.
01:34:24 *** KritiK has quit IRC
01:36:47 *** Fast2 has quit IRC
01:41:01 *** xopek has quit IRC
01:55:55 *** Progman has quit IRC
02:09:48 *** KenjiE20|LT has joined #openttd
02:10:44 *** ecke has joined #openttd
02:16:37 *** lskdfj has joined #openttd
02:17:01 *** KenjiE20 has quit IRC
02:21:01 *** DaleStan has joined #openttd
02:22:30 *** LadyHawk has quit IRC
02:22:30 *** lskdfj is now known as LadyHawk
02:31:29 *** Danio has quit IRC
02:33:00 *** Peter_ has joined #openttd
02:33:16 *** Peter_ has quit IRC
02:35:03 *** DaleStan_ has joined #openttd
02:35:03 *** DaleStan is now known as Guest1493
02:35:03 *** DaleStan_ is now known as DaleStan
02:40:37 *** PeterT has quit IRC
02:40:44 *** PeterT has joined #openttd
02:40:45 *** Guest1493 has quit IRC
02:42:29 *** PeterT has quit IRC
02:42:35 *** PeterT has joined #openttd
02:52:21 <Eddi|zuHause> hm, at the current rate it takes 3600 years to rid Laos of mines/scatter bombs. laos has about 7 Mio inhabitants and an estimated 75 Mio unexploded bombs
02:55:23 <fjb> Happy new year.
03:09:00 *** Rubix`` has quit IRC
03:16:13 *** DaleStan_ has joined #openttd
03:16:13 *** DaleStan is now known as Guest1495
03:16:13 *** DaleStan_ is now known as DaleStan
03:18:42 *** DaleStan is now known as Guest1497
03:18:42 *** DaleStan has joined #openttd
03:20:44 <Eddi|zuHause> those are the wrong kind of firecrackers :p
03:23:08 *** Guest1495 has quit IRC
03:25:43 *** Guest1497 has quit IRC
03:26:14 *** worldemar has quit IRC
03:26:25 *** worldemar has joined #openttd
03:27:03 *** Rubix`` has joined #openttd
03:30:48 *** ecke has quit IRC
03:31:24 *** lugo has quit IRC
03:35:57 <fjb> Oh, really? But the kids play with them.
03:52:31 *** DaleStan is now known as Guest1500
03:52:33 *** DaleStan has joined #openttd
03:56:43 *** Guest1500 has quit IRC
04:04:01 *** KenjiE20|LT has quit IRC
04:05:50 *** DaleStan has quit IRC
04:12:46 *** Rubix`` has quit IRC
04:25:20 *** glx has quit IRC
04:33:22 *** Fuco has quit IRC
04:42:57 *** pw- has quit IRC
04:43:19 *** pw- has joined #openttd
04:52:13 *** DaleStan has joined #openttd
05:00:54 *** DaleStan is now known as Guest1503
05:00:55 *** DaleStan has joined #openttd
05:07:53 *** Guest1503 has quit IRC
05:26:57 <PeterT> Night
05:27:04 *** PeterT has quit IRC
05:33:41 *** Singaporekid has joined #openttd
05:33:50 *** xopek has joined #openttd
05:35:06 *** xopek has quit IRC
05:47:26 *** teeone is now known as _teeone
07:14:26 *** DaleStan is now known as Guest1511
07:14:26 *** DaleStan has joined #openttd
07:21:47 *** Guest1511 has quit IRC
07:35:00 *** Plimmer has quit IRC
07:37:45 *** LordAzamath has joined #openttd
07:53:19 *** LordAzamath has quit IRC
07:54:39 *** Mark has joined #openttd
08:07:03 *** Wheatbix has joined #openttd
08:07:15 *** phalax has quit IRC
08:07:16 *** Wheatbix has quit IRC
08:07:16 *** LordAzamath has joined #openttd
08:07:29 *** Wheatbix has joined #openttd
08:08:54 *** DaleStan is now known as Guest1514
08:08:54 *** DaleStan_ has joined #openttd
08:08:54 *** DaleStan_ is now known as DaleStan
08:11:48 *** DaleStan is now known as Guest1515
08:11:48 *** DaleStan has joined #openttd
08:15:48 *** Guest1514 has quit IRC
08:16:12 *** phalax has joined #openttd
08:18:05 *** Guest1515 has quit IRC
08:34:57 *** welshdragon has joined #openttd
08:36:43 *** zachanima has quit IRC
08:41:52 *** Alberth has joined #openttd
08:46:20 <CIA-4> OpenTTD: peter1138 * r18479 /trunk/src/vehicle.cpp: -Fix (r6532): Direction is accounted for long before motion counter is updated
08:50:04 *** Wheatbix has quit IRC
09:17:33 *** Rhamphoryncus has quit IRC
09:26:33 *** andythenorth has joined #openttd
09:32:50 *** DaleStan is now known as Guest1519
09:32:51 *** DaleStan_ has joined #openttd
09:32:51 *** DaleStan_ is now known as DaleStan
09:40:08 *** Guest1519 has quit IRC
09:45:12 *** phalax has quit IRC
09:52:13 *** Cybertinus has joined #openttd
09:54:06 *** phalax has joined #openttd
09:59:17 *** xi23 has joined #openttd
10:05:37 *** jeroen_ has joined #openttd
10:06:47 *** jeroen_ has quit IRC
10:07:07 *** |Jeroen| has joined #openttd
10:19:50 *** andythenorth has quit IRC
10:24:00 *** Cybertinus has quit IRC
10:24:04 *** Cybertinus has joined #openttd
10:24:07 *** DaleStan is now known as Guest1524
10:24:07 *** DaleStan_ has joined #openttd
10:24:08 *** DaleStan_ is now known as DaleStan
10:25:49 <CIA-4> OpenTTD: alberth * r18480 /trunk/src/smallmap_gui.cpp: -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments.
10:30:17 *** xi23 has quit IRC
10:30:52 *** Guest1524 has quit IRC
10:32:47 *** DaleStan has quit IRC
10:35:09 *** DaleStan has joined #openttd
10:36:49 *** andythenorth has joined #openttd
10:37:43 *** Progman has joined #openttd
10:42:47 *** lugo has joined #openttd
10:44:10 *** DaleStan has quit IRC
10:48:52 *** DaleStan_ has joined #openttd
10:48:52 *** DaleStan_ is now known as DaleStan
10:48:56 <CIA-4> OpenTTD: rubidium * r18481 /trunk/src/ (11 files in 6 dirs):
10:48:56 <CIA-4> OpenTTD: -Codechange: unify the curve pathfinder penalty defaults; 0.01 tile won't make a dent, 3 tiles might be a bit too much
10:48:56 <CIA-4> OpenTTD: -Feature-ish: make maximum pathfinder penalties for finding depots customisable, also increase it slightly to 20 tiles worth of penalties.
10:49:21 *** Zuu has joined #openttd
10:52:53 *** DaleStan is now known as Guest1526
10:52:53 *** DaleStan_ has joined #openttd
10:52:53 *** DaleStan_ is now known as DaleStan
10:54:49 *** JVassie^ has joined #openttd
10:57:42 *** Guest1526 has quit IRC
11:00:35 *** frosch123 has joined #openttd
11:01:50 *** JVassie has quit IRC
11:02:00 *** _ln has joined #openttd
11:09:48 *** DJNekkid has joined #openttd
11:10:41 *** DaleStan is now known as Guest1530
11:10:41 *** DaleStan_ has joined #openttd
11:10:41 *** DaleStan_ is now known as DaleStan
11:14:45 *** Coco-Banana-Man has joined #openttd
11:17:53 *** Guest1530 has quit IRC
11:20:52 *** Progman has quit IRC
11:26:38 *** DaleStan_ has joined #openttd
11:26:38 *** DaleStan is now known as Guest1531
11:26:39 *** DaleStan_ is now known as DaleStan
11:27:00 *** oskari89 has joined #openttd
11:32:07 *** Guest1531 has quit IRC
11:42:34 *** Fast2 has joined #openttd
11:47:05 *** Yexo_ is now known as Yexo
11:47:51 *** Zahl has joined #openttd
11:53:25 *** Lakie` has joined #openttd
11:55:02 *** JVassie^ has quit IRC
11:55:15 *** welshdragon has quit IRC
12:03:27 *** Terkhen has joined #openttd
12:07:55 *** Lakie` has quit IRC
12:09:04 *** KenjiE20 has joined #openttd
12:19:16 *** DarkED has joined #openttd
12:20:02 *** DaleStan_ has joined #openttd
12:20:03 *** DaleStan is now known as Guest1538
12:20:03 *** DaleStan_ is now known as DaleStan
12:21:35 *** xi23 has joined #openttd
12:22:00 *** welshdragon has joined #openttd
12:23:13 *** welshdragon has quit IRC
12:23:47 *** Guest1538 has quit IRC
12:28:45 *** KritiK has joined #openttd
12:30:04 <peter1138> hmm, when does FISH start?
12:34:38 <planetmaker> "usual" times
12:34:44 <peter1138> ...
12:35:04 <peter1138> oh dear
12:35:20 <peter1138> my 4-2-2 spinner had to stop, going up hill
12:35:23 <peter1138> now it can't start again :S
12:36:03 <peter1138> it's only carrying 120 tonnes of coal
12:36:07 <peter1138> oh... *5
12:36:23 *** |Jeroen| has quit IRC
12:37:26 <Singaporekid> peter1138: host a pj1k server D:
12:38:11 <peter1138> that would be grand wouldn't it
12:39:14 <Singaporekid> mebe
12:46:13 *** Phoenix_the_II has quit IRC
12:46:13 *** pw-- has joined #openttd
12:52:30 *** pw- has quit IRC
12:53:05 *** JVassie has joined #openttd
12:55:32 *** phalax has quit IRC
12:56:14 *** Phoenix_the_II has joined #openttd
13:04:14 *** phalax has joined #openttd
13:06:56 *** LadyHawk has quit IRC
13:14:32 *** fonsinchen has joined #openttd
13:14:59 *** phalax has quit IRC
13:16:59 *** oskari89 has quit IRC
13:17:57 *** phalax has joined #openttd
13:19:39 *** glx has joined #openttd
13:19:39 *** ChanServ sets mode: +v glx
13:20:59 <andythenorth> peter1138: FISH starts around 1900
13:21:29 <andythenorth> I'm all about learning about earlier ships right now though
13:22:01 <Eddi|zuHause> 14th century sailing ships!
13:22:44 <andythenorth> meh
13:22:49 *** LadyHawk has joined #openttd
13:23:03 <Eddi|zuHause> (a 14th century game should probably have reduced daylength or something)
13:23:19 <Alberth> so we can sail to another server, and discover new land
13:23:45 <Eddi|zuHause> Alberth: no, that was the late 15th and 16th century ;)
13:23:50 <blathijs> Yeah, let's add fog of war to openttd :-)
13:25:33 <Eddi|zuHause> 14th century was the height of the "Hanse" in northern germany and around the baltic sea
13:28:00 <Eddi|zuHause> basically all places they could reach with their "Cogs" (the relatively mild seas around the baltic sea, and the shipable rivers in central europe
13:29:03 <Eddi|zuHause> (Rhein, Elbe/Saale, Oder, Weichsel, Memel, and a few others)
13:29:25 <CIA-4> OpenTTD: alberth * r18482 /trunk/src/widget.cpp: -Cleanup (r18092): Conversion to widget array is not done any more.
13:30:00 *** egladil_ibook is now known as egladil
13:30:05 <Eddi|zuHause> Werra/Weser i forgot...
13:31:01 *** xopek has joined #openttd
13:31:28 <Alberth> we need a river generator first :p
13:32:04 <Eddi|zuHause> yes, we do
13:32:15 <Alberth> and a naming mechanism for rivers
13:32:18 <peter1138> i'd like to say "i have a patch for that"
13:32:20 <peter1138> but sadly i don't
13:34:11 <Rubidium> is that the exception that proves the rule?
13:35:21 *** TheMask96 has quit IRC
13:42:45 *** TheMask96 has joined #openttd
13:55:54 <peter1138> errr
13:55:55 <peter1138> hmm
13:56:04 <peter1138> 3mph steam bus... not fun
13:58:49 <fjb> They are fun at really short distances. Only few tiles between stations.
14:01:34 <frosch123> 3mph? you can easily walk that
14:02:03 <frosch123> do we need a "granny" cargotype?
14:02:08 <Eddi|zuHause> :)
14:09:28 <Alberth> isn't that the 'tourist sight seeing' class.
14:11:33 <Alberth> Technically not entirely correct though. Steam cars are pretty fast, it just takes several hours to get them up to pressure so the bus driver would need to get up at 2am or so.
14:13:45 <Eddi|zuHause> hm. in tgp.cpp:835 MakeClear(tile, CLEAR_GRASS, 3); <-- how should that line look if i wanted to make a river tile?
14:14:02 <Rubidium> check water_map.h
14:14:05 *** Brianetta has joined #openttd
14:14:28 <Rubidium> probably something trivial like MakeRiver(tile) or so
14:14:30 *** fonsinchen has quit IRC
14:14:45 <Eddi|zuHause> static inline void MakeRiver(TileIndex t, uint8 random_bits)
14:21:01 *** LordAzamath has quit IRC
14:22:13 <Eddi|zuHause> compiling takes fricking forever...
14:23:01 <peter1138> we should take out that line at the end of the makefile...
14:23:16 <peter1138> if [ $user eq Eddi|zuHause ]; goto 10
14:23:57 <CIA-4> OpenTTD: rubidium * r18483 /trunk/ (readme.txt src/gfxinit.cpp src/openttd.cpp): -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where to find them. Also refer to the readme in some error messages.
14:27:51 <Eddi|zuHause> "cool" would be a startup dialog that shows a bananas download dialog if no base set was found
14:28:04 *** LordAzamath has joined #openttd
14:29:49 <frosch123> it's called installer
14:29:53 <Eddi|zuHause> using a system font, you shouldn't need any base graphics to display a window
14:30:12 <Eddi|zuHause> frosch123: but linux-generic doesn't have an installer
14:30:25 <Rubidium> Eddi|zuHause: and what for those gentoo maniac that fear fontconfig?
14:31:06 <frosch123> [15:30] <Eddi|zuHause> using a system font, you shouldn't need any base graphics to display a window <- except recolourmaps, mouse pointer, icons, ...
14:31:07 <Eddi|zuHause> Rubidium: i'd have said show them the "?", but that's unfortunately part of the base graphics :p
14:31:47 <De_Ghosty> http://www.youtube.com/watch?v=o4nwe7cW_og
14:32:07 <Eddi|zuHause> well, ok, scratch the download idea
14:32:27 <Eddi|zuHause> but then offer "complete" downloads on openttd.org
14:35:34 *** xopek has quit IRC
14:35:49 *** xopek has joined #openttd
14:38:36 <Rubidium> oh, you're saying something compile-farm-ish has to be done (at least for the debian packages then)
14:39:03 <Rubidium> and for the windows installer, although the windows installer can download it so maybe not for that
14:39:16 <Rubidium> but doing it in the compile farm is going to cause a big mess anyway
14:39:44 <Zuu> I'd say only do it for stables, but that might be messy enough.
14:40:11 <Rubidium> so that would become some post-compile-farm repackaging script that is run for the .tar.bz, .tar.gz and .zip packages, excluding the source and documentation packages
14:40:16 *** DaleStan is now known as Guest1552
14:40:16 *** DaleStan has joined #openttd
14:41:46 <Rubidium> but then we might need to package OpenGFX and NoSound because I'm not sure how well packaging GPLv2 with non-GPL goes
14:41:48 *** phalax has quit IRC
14:44:00 <Rubidium> which means people still need to download OpenSFX if they want sound
14:44:27 <Zuu> Which they can do via BaNaNaS unless they have some wierd network problems.
14:45:51 <Zuu> At the same time they can also checkout for OpenGFX updates, which they should be recommended to do.
14:47:17 *** xopek has quit IRC
14:47:18 *** Guest1552 has quit IRC
14:50:53 *** phalax has joined #openttd
14:53:27 <Eddi|zuHause> codestyle question: "inline height_t &height(uint x, uint y)" <-- shouldn't that rather be "height_t& height"?
14:54:43 <Zuu> Nope, not in OpenTTD.
14:54:48 <Alberth> nope, int &x, y; defines a normal y, not a reference.
14:55:47 <Alberth> s/y/int for y/
14:55:49 <frosch123> or in other words: "&" is right associative
14:57:24 <Alberth> hmm, associativy for unary operators. That's a new one :)
14:58:44 <frosch123> hmm, true, maybe the wrong word, but anyway it applies to "height" not "height_t"
15:02:27 <Eddi|zuHause> hm, free(NULL) is not dangerous, is it? so why does FreeHeightMap check for it?
15:02:42 <glx> it should not :)
15:03:12 <glx> but IIRC some implementations fails to free NULL
15:03:24 <Eddi|zuHause> so leave the check in?
15:03:39 *** andythenorth has quit IRC
15:04:07 <frosch123> yeah, i remember some report on the forum about some compiler/library that could not deal with free(NULL)
15:05:08 <glx> though we usually don't check for NULL
15:08:14 *** Fuco has joined #openttd
15:16:25 <Rubidium> well, the compiler/library that can't handle freeing NULL should be shot for not following specs
15:18:45 <frosch123> http://www.tt-forums.net/viewtopic.php?f=33&t=36318 <- e.g. that one
15:19:41 <Rubidium> as I said, should be shot
15:38:11 *** DaleStan is now known as Guest1559
15:38:11 *** DaleStan_ has joined #openttd
15:38:11 *** DaleStan_ is now known as DaleStan
15:45:18 *** Guest1559 has quit IRC
15:47:59 *** phalax has quit IRC
16:01:44 *** elmz has joined #openttd
16:04:00 *** Chillosophy has joined #openttd
16:06:20 *** ecke has joined #openttd
16:09:58 *** xi23 has quit IRC
16:14:40 *** HerzogDeXtEr has joined #openttd
16:15:06 *** HerzogDeXtEr1 has quit IRC
16:16:06 *** lewymati has joined #openttd
16:24:40 *** PeterT has joined #openttd
16:25:44 *** oskari89 has joined #openttd
16:27:11 *** DaleStan is now known as Guest1563
16:27:11 *** DaleStan_ has joined #openttd
16:27:11 *** DaleStan_ is now known as DaleStan
16:33:13 *** Guest1563 has quit IRC
16:34:06 *** elmz has quit IRC
16:34:07 *** elmz has joined #openttd
16:34:10 *** Brianetta has quit IRC
16:42:11 *** Progman has joined #openttd
16:54:55 *** elmz_ has joined #openttd
17:01:31 *** elmz has quit IRC
17:04:32 *** LordAzamath has quit IRC
17:07:35 *** welshdragon has joined #openttd
17:09:34 <_ln> http://news.bbc.co.uk/2/hi/europe/8410465.stm
17:13:33 <CIA-4> OpenTTD: rubidium * r18484 /trunk/src/ (train.h train_cmd.cpp): -Codechange: simplify the Is(Stopped)InDepot functions for trains
17:14:45 *** elmz has joined #openttd
17:21:17 *** elmz_ has quit IRC
17:27:31 *** TheMask96 has quit IRC
17:29:42 *** Chrill has joined #openttd
17:30:22 *** ikarus2k has joined #openttd
17:33:58 *** TheMask96 has joined #openttd
17:38:36 *** Rhamphoryncus has joined #openttd
17:43:00 *** ikarus2k has quit IRC
17:56:58 *** Singaporekid has quit IRC
18:00:30 *** fjb has quit IRC
18:04:41 *** fonsinchen has joined #openttd
18:05:09 *** elmz_ has joined #openttd
18:12:16 *** elmz has quit IRC
18:18:40 *** pw-- has quit IRC
18:19:01 *** pw-- has joined #openttd
18:19:54 *** phalax has joined #openttd
18:20:07 *** Fast2 has quit IRC
18:22:36 *** phalax has quit IRC
18:26:54 *** phalax has joined #openttd
18:28:23 *** phalax has quit IRC
18:29:04 *** phalax has joined #openttd
18:29:34 <Muxy> @seen petert
18:29:34 <DorpsGek> Muxy: petert was last seen in #openttd 13 hours, 2 minutes, and 37 seconds ago: <PeterT> Night
18:29:43 <PeterT> Muxy: Here I am
18:29:54 <Muxy> come on the other side
18:30:12 <PeterT> What?
18:30:20 <_ln> PeterT: he's trying to lead you to the dark side of the force
18:30:28 <PeterT> (#goulp)
18:31:14 <peter1138> _ln, away from here?
18:31:37 <_ln> yeah
18:32:09 <peter1138> sounds great
18:33:00 *** dihedral has quit IRC
18:33:00 *** planetmaker has quit IRC
18:33:00 *** XeryusTC has quit IRC
18:33:00 *** SmatZ has quit IRC
18:33:00 *** tneo has quit IRC
18:33:00 *** Osai has quit IRC
18:33:23 <peter1138> haha
18:33:52 <Rubidium> monster kill :)
18:34:21 <Muxy> to the dark side of here
18:35:17 <Eddi|zuHause> someone shut down their bnc, obviously ;)
18:36:38 <blathijs> bnc?
18:36:55 <Rubidium> bounce bounce bounce
18:39:33 <peter1138> 10base2 :D
18:43:19 <Eddi|zuHause> yeah, that i meant :p
18:45:50 <CIA-4> OpenTTD: translators * r18485 /trunk/src/lang/ (8 files in 2 dirs): (log message trimmed)
18:45:50 <CIA-4> OpenTTD: -Update from WebTranslator v3.0:
18:45:50 <CIA-4> OpenTTD: basque - 23 changes by Thadah
18:45:50 <CIA-4> OpenTTD: croatian - 93 changes by UnderwaterHesus
18:45:50 <CIA-4> OpenTTD: german - 1 changes by planetmaker
18:45:52 <CIA-4> OpenTTD: greek - 1 changes by fumantsu
18:45:52 <CIA-4> OpenTTD: hungarian - 4 changes by IPG, Petert
18:48:54 *** asilv has joined #openttd
18:51:22 *** fonsinchen has quit IRC
18:53:17 *** xi23 has joined #openttd
18:59:39 * peter1138 grumbles about the price of canals
19:04:53 *** elmz has joined #openttd
19:09:12 *** elmz_ has quit IRC
19:13:52 *** welshdragon has quit IRC
19:22:46 *** welshdragon has joined #openttd
19:24:19 *** DarkED has quit IRC
19:24:35 *** DarkED has joined #openttd
19:29:23 *** phalax has quit IRC
19:33:20 <CIA-4> OpenTTD: rubidium * r18486 /trunk/src/ (4 files in 2 dirs): -Fix: when switching language and you're getting a different font, recalculate the coordinates/sizes of the viewport signs. Otherwise it gets glitchy or abbreviated (in the smallmap)
19:40:19 *** phalax has joined #openttd
19:45:42 *** KenjiE20 has quit IRC
19:50:21 *** KenjiE20 has joined #openttd
19:51:20 *** LordAzamath has joined #openttd
19:56:34 <Eddi|zuHause> i certainly need rivers on halftile-slopes
19:59:16 <PeterT> What does the "Compile Farm" mean?
19:59:23 <PeterT> What machine is it run on?
20:00:19 <Eddi|zuHause> a farm is an area of land which you grow crops on
20:01:30 <Eddi|zuHause> in this case, the area of land is a bunch of virtual machines in a datacenter, and the crops are compiled binaries
20:04:25 <PeterT> Ah
20:04:40 <PeterT> What program is used to compile windows binaries?
20:04:42 <PeterT> MSVC?
20:05:04 <PeterT> And how is it started? Wouldn't you need to manually start a compile with F5?
20:05:23 <TrueBrain> MSVC and mingw32; and we hired a monkey to do that every night at exactly 20:00
20:05:51 <orudge> :D
20:05:58 <TrueBrain> talking about monkeys
20:06:00 <TrueBrain> howdie orudge :)
20:06:02 <orudge> 'lo TrueBrain
20:06:08 <TrueBrain> (damn, that was too easy :))
20:06:22 <orudge> well
20:06:22 <PeterT> Hehe
20:06:26 <orudge> I was going to say, "Yes, and here I am!"
20:06:27 <orudge> or something
20:06:28 <orudge> :p
20:06:35 <TrueBrain> great minds think alike ;)
20:06:46 <orudge> anyway
20:06:48 * orudge has zombies to kill
20:06:58 <TrueBrain> haha, still in the US? :p
20:07:13 <TrueBrain> enjoy killing them
20:07:13 <orudge> well, yes, but the zombies are purely virtual ones :p
20:07:15 <orudge> ta ta
20:19:21 <CIA-4> OpenTTD: alberth * r18487 /trunk/src/smallmap_gui.cpp: -Codechange: Move row height and column counting to OnInit in the smallmap window as well.
20:23:07 *** Dred_furst has joined #openttd
20:28:05 <CIA-4> OpenTTD: alberth * r18488 /trunk/src/smallmap_gui.cpp: -Codechange: Make number of rows for displaying industries in smallmap legend dynamic.
20:30:42 *** elmz has left #openttd
20:30:57 *** Brianetta has joined #openttd
20:32:33 *** Dred_furst has quit IRC
20:33:53 *** Dred_furst has joined #openttd
20:37:45 <CIA-4> OpenTTD: alberth * r18489 /trunk/src/smallmap_gui.cpp: -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap.
20:38:38 *** lewymati has quit IRC
20:38:55 *** andythenorth has joined #openttd
20:54:34 *** Fast2 has joined #openttd
20:55:07 <CIA-4> OpenTTD: alberth * r18490 /trunk/src/ (graph_gui.cpp widget.cpp widget_type.h): -Doc: Fixed syntax of a few doxygen pre and post coditions.
20:56:29 *** Polygon has joined #openttd
20:58:40 *** Illegal_Alien has joined #openttd
21:02:36 *** LordAzamath has quit IRC
21:05:50 <CIA-4> OpenTTD: alberth * r18491 /trunk/src/widget.cpp: -Fix (r18482): Update doxy comments of SetupSmallestSize() as well.
21:10:21 *** ecke has quit IRC
21:12:49 <CIA-4> OpenTTD: alberth * r18492 /trunk/src/ (newgrf_text.cpp news_gui.cpp widget.cpp widget_type.h): -Doc: A few Doxygen reference fixes (NewsSubtype reported by Eddi), and a typo fix.
21:26:13 *** Alberth has left #openttd
21:30:06 <TrueBrain> I hate Google I hate Google I hate Google I hate Google I hate Google I hate Google I hate Google I hate Google I hate Google I hate Google ... stop bugging me in every ad you have that I should immediatly download Chrome, becuase it is MUCH FASTER AND MORE SECURE THAN I HAVE NOW! FUCK OFF!
21:30:34 <Xaroth> I think TrueBrain has issues with google :P
21:31:05 <TrueBrain> it does not annoy you?!
21:31:06 <Forked> you might be on to something there
21:31:28 <_ln> Google doesn't annoy me, it frightens me.
21:31:53 <SpComb> ln: boo
21:32:16 <TrueBrain> Google sounds like Pinky and the Brain! What are we going to do today Brain? Well, Pinky, first, we take over the ad market. When we did that, we make our own (crappy) browser. when we have done that, we make every ad we own say: DOWNLOAD CHROME! IT IS AWESOME! This way, Pinky, the world will be ours! OURS! OURS!!! *evil laughter*
21:34:12 <Brianetta> There's a huge Gogole Chrome billboard in town
21:35:29 <SpComb> with google advertisement monitoring cameras?
21:35:57 <TrueBrain> and I got more invitations to Google Wave than for any other system that ever had a beta .. I wish google would leave me alone .... just .. alone ....
21:36:15 <SpComb> opt out of google
21:36:23 <CIA-4> OpenTTD: rubidium * r18493 /trunk/src/network/network_content_gui.cpp: -Fix: don't access something after deleting it
21:36:25 <TrueBrain> would be nice
21:38:26 *** Mark has quit IRC
21:38:48 <Rubidium> just block anything google owned in your firewall
21:39:09 <andythenorth> (nfo) I can't see a way to code variable vehicle refit cost depending on refitted cargo....did I miss anything?
21:39:23 <peter1138> there's always... bing...
21:39:46 <Rubidium> ... or microsoft owned for that matter
21:39:59 <Rubidium> who uses such things as xbox or windows these days?
21:40:03 <Zuu> Or the wiki-based search engine which name I have forgoten.
21:40:35 <Eddi|zuHause> i heard of a handful of people talking about their "xbox media center"
21:41:22 <Rubidium> aren't cd's xbox media? and don't cd's have something in their center?
21:41:55 <Zuu> Why not just switch to google DNS and let them track all your web usage. :-)
21:42:03 *** Zahl_ has joined #openttd
21:42:18 <Zuu> (they say that they only store your IP for x hours/days, but who knows.. )
21:42:50 <_ln> Yes, an honest user should have no reason not to switch to Google DNS.
21:42:56 <Rubidium> 731 days if the european goverment gets what it wants...
21:43:05 <TrueBrain> with my Google OS, I surf the web with my Google Internet and Google Chrome, I talk to my mother over Google Talk and Google Phone, and I search with my Google Google. I send mails via my Google Mail, and ....
21:43:50 <TrueBrain> I think I just have seen too many movies ...
21:43:51 <Rubidium> ... Google now has an unrevocable right to use everything for whatever they like
21:45:22 *** Zahl has quit IRC
21:45:22 *** Zahl_ is now known as Zahl
21:45:57 <peter1138> TrueBrain, while stalking people with Google Streetview and Google Earth...
21:46:19 <TrueBrain> yeah, I gave up continuing, as I noticed it would be endless .....
21:46:41 *** dlr365 has joined #openttd
21:47:56 <Eddi|zuHause> but i want my Google Bus to bring be to the Google Supermarket
21:49:08 *** Fast2 has quit IRC
21:49:15 <Eddi|zuHause> and if the Google Police wants their Google DNASample for the Google Genome Project...
21:49:38 <TrueBrain> I wonder when it became fictive ...
21:49:50 <TrueBrain> at least I was talking reality ...
21:50:24 <Eddi|zuHause> hey, i'm only thinking a couple years ahead
21:50:33 *** andythenorth has left #openttd
21:54:51 <TrueBrain> but you scared andythenorth away
22:07:51 *** Polygon has quit IRC
22:10:34 *** welshdragon has quit IRC
22:11:20 *** frosch123 has quit IRC
22:17:23 <CIA-4> OpenTTD: rubidium * r18494 /trunk/src/ (group_cmd.cpp train_cmd.cpp): -Fix (r18474): crash when moving non-engine to new free wagon chain and group count was off when moving a front engine within the same train and the new front isn't an engine.
22:19:23 <peter1138> \o/
22:19:31 <CIA-4> OpenTTD: rubidium * r18495 /trunk/src/vehicle_gui.cpp: -Codechange: make sure we don't taint the vehicle cache with finding refit options and unmagify a constant
22:23:24 *** planetmaker has joined #openttd
22:25:31 *** Zahl_ has joined #openttd
22:25:31 *** Zahl has quit IRC
22:25:32 *** Zahl_ is now known as Zahl
22:27:19 <Eddi|zuHause> why does switch(x) not have ranges?
22:29:51 <_ln> because there is no concept of ranges in C syntax
22:32:01 <DJNekkid> what does "invalid digit '8' in octal consistant" mean?
22:32:08 <DJNekkid> (gcc preprocessor)
22:32:16 *** oskari89 has quit IRC
22:32:44 <Rubidium> octal = like binary, but with 8 options (where decimal is like binary, but with 10 options)
22:32:45 <_ln> DJNekkid: eh.. do you know what octal means?
22:32:53 <Rubidium> as such 0..7 are allowed
22:33:35 <Eddi|zuHause> DJNekkid: you likely accidentally started an integer constant with a 0, without realizing what it does
22:33:43 <Rubidium> or in other words, don't start numbers with 0 as that makes them automagically octal
22:33:50 <Rubidium> +interpreted as
22:33:54 <DJNekkid> this is the line it complans about:
22:33:55 <DJNekkid> #if THIS_ENG_TYPE == ICE3_EMU
22:34:24 <Rubidium> yes THIS_ENG_TYPE starts with 0 or ICE_EMU does
22:35:02 <DJNekkid> #define ICE3_EMU 08 // For the ICE3
22:35:20 <Eddi|zuHause> exactly... you more likely meant 0x08
22:35:44 <DJNekkid> so, the soltion would then be skip streight to 10 ? :P
22:36:11 <_ln> no
22:36:16 <Eddi|zuHause> you likely want to keep the IDs as hexadecimal ;)
22:36:31 <Eddi|zuHause> and 10 != 010
22:36:56 <DJNekkid> well, this is just some internal ID... not used in the final nfo
22:37:08 <DJNekkid> but setting it to 10 worked :)
22:37:26 <Eddi|zuHause> but 10 is definitely not the successor to 07
22:38:17 <DJNekkid> we we are counting octal it would, woundnt it?
22:38:32 <Eddi|zuHause> hm... i need a function to convert an angle to a direction...
22:38:35 <Eddi|zuHause> DJNekkid: no
22:38:45 <Eddi|zuHause> 07 is an octal number, but 10 is a decimal number
22:38:53 <Eddi|zuHause> 010 is an octal number
22:38:56 <Rubidium> yes, but only a number starting with 0 is octal
22:39:01 <Eddi|zuHause> 0x10 is a hexadecimal number
22:39:03 <Rubidium> as such if it starts with 1 it isn't
22:39:27 <Eddi|zuHause> the successor to 07 is 010, but not 10
22:39:41 <Eddi|zuHause> as 10 is 012
22:40:12 <DJNekkid> well, 10 still worked :)
22:40:52 <_ln> you can even have both 10 and 010 as ids
22:41:05 <Eddi|zuHause> you're still very likely doing the Wrong Thing (tm)
22:42:03 <Eddi|zuHause> hm... my head is exploading... mixing angles, directions and diagdirections...
22:43:49 <DJNekkid> http://paste.openttd.org/220418
22:45:19 <_ln> why mess with octals at all then?
22:45:23 <Rubidium> just don't use the 0, or is grfcodec going to blow if you do that?
22:46:17 <DJNekkid> i've not set anything to be octal, planetmaker might have, or that is somewhat default...
22:46:46 *** Zahl has quit IRC
22:46:53 <DJNekkid> or, if i remove the 0's it will count as "normal" decimal?
22:47:14 <Ammler> hmm, that is told around 10 times :-P
22:48:08 <DJNekkid> but!
22:48:16 <DJNekkid> it looks much prettier when its a 0 in front :)
22:48:26 <DJNekkid> atleast when i surpass 10 differnt ones :)
22:49:16 <planetmaker> eh...
22:49:27 <Eddi|zuHause> DJNekkid: use a space...
22:49:28 <planetmaker> DJNekkid: use \b08
22:49:42 <Eddi|zuHause> planetmaker: he's using the c preprocessor
22:49:57 <planetmaker> Eddi|zuHause: exactly
22:50:16 <planetmaker> but in order to code NFO and \b08 won't be interpreted as ocatal number, I guess
22:50:16 <Rubidium> I reckon it's no good for NewGRfs then :)
22:50:40 *** deghosty has joined #openttd
22:50:53 <planetmaker> but indeed... having it complain on 08 is... bad :-(
22:51:13 <Eddi|zuHause> the (Diag)Directions are backwards...
22:51:15 <Rubidium> it only complains if you use it in comparisons
22:51:27 <planetmaker> ah, right
22:51:32 *** PeterT has quit IRC
22:51:51 <Eddi|zuHause> they are clockwise, while mathematical angles are counter-clockwise
22:55:33 *** De_Ghosty has quit IRC
23:00:06 <Eddi|zuHause> what's -1%4 in c?
23:00:25 <Rubidium> undefined
23:00:33 <Eddi|zuHause> bad
23:01:13 *** Chillosophy has quit IRC
23:01:29 <Zuu> Never learned what mod (in math) does on negative numbers, but matlab should know. :-)
23:01:52 <Eddi|zuHause> well, there are basically two different versions
23:03:07 <Eddi|zuHause> both are defined as "d=a/b and r=a%b where a=d*b+r"
23:03:18 <Eddi|zuHause> in one case, / rounds towards -infinity
23:03:22 <Rubidium> -4- The binary / operator yields the quotient, and the binary % operator yields the remainder from the division of the first expression by the second. If the second operand of / or % is zero the behavior is undefined; otherwise (a/b)*b + a%b is equal to a. If both operands are nonnegative then the remainder is nonnegative; if not, the sign of the remainder is implementation-defined*.
23:03:26 <Eddi|zuHause> and in the other case, / rounds towards 0
23:03:46 <Rubidium> [Footnote: According to work underway toward the revision of ISO C, the preferred algorithm for integer division follows the rules defined in the ISO Fortran standard, ISO/IEC 1539:1991, in which the quotient is always rounded toward zero. --- end foonote]
23:04:44 <Eddi|zuHause> i need the towards -infinity one ;)
23:04:44 *** asilv has quit IRC
23:05:04 <Rubidium> oh, then it's safe to assume it doesn't do that
23:05:19 <Eddi|zuHause> i'll just have to make sure that it's positive
23:06:11 <Zuu> Eh, so -1 / 2 is undefined or did I intrepreet the "-4-"... quote wrong?
23:06:14 <Eddi|zuHause> yeah, i thought that, too, but python seems to do exactly that...
23:06:32 <Eddi|zuHause> Zuu: yes, may be either 0 or -1
23:06:48 <Zuu> Isn't that -1 % 2 that is undefined?
23:06:52 <Prof_Frink> "
23:06:55 <Eddi|zuHause> it's both
23:06:59 <Eddi|zuHause> they depend on each other
23:07:05 <Zuu> Ok
23:07:18 <Eddi|zuHause> if -1/2 is 0, then -1%2 is -1
23:07:18 <Zuu> So binary operators are not the same as for integers?
23:07:23 <Eddi|zuHause> if -1/2 is -1, then -1%2 is +1
23:08:01 <Zuu> Oh, now I see.
23:08:08 <Eddi|zuHause> in any case, 0*2-1 = -1*2+1
23:09:02 <Zuu> Another thing to watch out for..
23:09:41 *** fjb has joined #openttd
23:12:23 <Rubidium> a newer spec says (a/b)*b + a%b = a, but I reckon that allows both cases, right?
23:12:58 <fjb> Moin
23:15:02 <Eddi|zuHause> yes, that equation is commond to both
23:15:13 <Eddi|zuHause> -d
23:15:43 <Rubidium> first quotes come from the current C++ specs, the latter comes from a C++1x proposal (0x they're not going to make anymore, that's something I'm fairly certain about)
23:17:39 <Eddi|zuHause> hey, they have two weeks left ;)
23:25:33 *** sparrL has joined #openttd
23:26:18 *** XeryusTC has joined #openttd
23:32:25 <Terkhen> good night
23:32:27 *** Terkhen has quit IRC
23:40:00 *** Dred_furst has quit IRC
23:46:25 *** Coco-Banana-Man has quit IRC