Times are UTC Toggle Colours
00:02:34 *** eM [~M@ip4da0d6bd.direct-adsl.nl] has quit [Ping timeout: 480 seconds] 00:08:09 *** Progman [~progman@p57A191B3.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 00:12:30 <Wolf01> 'night 00:12:32 *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.] 00:29:43 *** sim-al2 [~sim-al2@108-221-158-76.lightspeed.mmphtn.sbcglobal.net] has joined #openttd 00:41:33 *** drac_boy [~oftc-webi@72.1.195.4] has left #openttd [] 00:46:52 *** ST2 [~ST2@198.27.66.222] has quit [Server closed connection] 00:47:00 *** ST2 [~ST2@2607:5300:60:1bde::1] has joined #openttd 01:02:08 *** HerzogDeXtEr [~flex@i59F6BDEA.versanet.de] has quit [Quit: Leaving.] 01:29:08 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds] 01:30:25 *** strohalm [~smoofi@212.37.175.238] has quit [Server closed connection] 01:30:28 *** strohalm [~smoofi@212.37.175.238] has joined #openttd 02:52:49 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds] 03:05:03 *** glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye] 03:46:49 *** fjb [~frank@000158aa.user.oftc.net] has quit [Ping timeout: 480 seconds] 03:46:51 *** fjb_ [~frank@p3EE3EEC3.dip0.t-ipconnect.de] has joined #openttd 04:32:52 *** Flygon_ [~Flygon@ppp118-209-169-205.lns20.mel8.internode.on.net] has quit [Ping timeout: 480 seconds] 04:34:50 *** Flygon [~Flygon@ppp118-209-32-12.lns20.mel4.internode.on.net] has joined #openttd 04:40:56 *** liq3 [liq3@CPE-120-148-51-74.gdfw1.lon.bigpond.net.au] has joined #openttd 04:40:57 *** namad7 [~aaaaa@pool-108-17-112-179.pitbpa.fios.verizon.net] has joined #openttd 04:52:10 *** fjb [~frank@000158aa.user.oftc.net] has joined #openttd 04:58:30 *** namad7 [~aaaaa@pool-108-17-112-179.pitbpa.fios.verizon.net] has quit [Read error: Connection reset by peer] 04:59:31 *** fjb_ [~frank@p3EE3EEC3.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds] 05:17:47 *** Mek [~quassel@marijnalexwedding.com] has quit [Remote host closed the connection] 05:26:03 *** Mek [~quassel@marijnalexwedding.com] has joined #openttd 05:30:01 *** namad7 [~aaaaa@pool-108-17-112-179.pitbpa.fios.verizon.net] has joined #openttd 05:56:01 *** Eddi|zuHause [~johekr@p57BD4F52.dip0.t-ipconnect.de] has quit [] 05:56:16 *** Eddi|zuHause [~johekr@p57BD4DEF.dip0.t-ipconnect.de] has joined #openttd 06:00:29 *** namad7 [~aaaaa@pool-108-17-112-179.pitbpa.fios.verizon.net] has quit [] 06:21:09 *** namad7 [~aaaaa@pool-108-17-112-179.pitbpa.fios.verizon.net] has joined #openttd 06:56:58 *** namad7 [~aaaaa@pool-108-17-112-179.pitbpa.fios.verizon.net] has quit [] 07:07:47 *** sim-al2 [~sim-al2@108-221-158-76.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds] 07:35:37 *** sla_ro|master [slamaster@95.76.27.245] has joined #openttd 07:40:44 *** DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has joined #openttd 07:42:03 *** JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Quit: :q!] 07:53:03 *** DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has quit [Remote host closed the connection] 08:27:12 <__ln__> http://hg.icculus.org/icculus/lugaru/file/0b8beb014a87/Source/GameTick.cpp#l8742 (viewer discretion is advised) 08:34:46 <planetmaker> moin 08:36:45 *** Sirenia [~sirenia@93.186.164.51] has joined #openttd 08:57:07 *** urdh [~urdh@00013d7a.user.oftc.net] has quit [Ping timeout: 480 seconds] 09:08:56 <greeter> O.o 09:09:08 <greeter> is it just me or is that a lot of if statements? 09:09:27 <Supercheese> it certainly is a lot of something 09:10:06 <greeter> rofl 09:10:25 <greeter> hey i don't know c++, that could be beautiful looking code, that just to me looks horrible and ugly 09:27:52 *** DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has joined #openttd 09:28:29 <peter1138> Looks autogenerated, but... 09:29:16 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd 09:29:18 <greeter> hmm 09:30:49 *** DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has quit [Remote host closed the connection] 09:55:32 <__ln__> peter1138: autogenerated code wouldn't have random lines commented out with // 10:00:30 *** Klanticus [~quassel@179.234.183.59] has joined #openttd 10:01:11 <peter1138> __ln__, hence the "but" 10:02:22 <__ln__> also autogenerated code would probably have some kind of repeating structure 10:19:14 *** urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd 10:20:50 <SpComb> that indentation 10:27:01 *** eM [~M@ip4da0d6bd.direct-adsl.nl] has joined #openttd 10:27:47 <Eddi|zuHause> so, this could use some codestyle and commments, but what exactly is so horrible about it that makes it share-worthy? 10:32:45 <SpComb> oh, Lugaru 10:32:53 <SpComb> > The coding style is what you might expect from a self-taught high school student, so it could be a challenge to understand, but feel free to give it a shot! 10:35:40 <__ln__> Eddi|zuHause: the ten-thousand-line function? 10:37:08 <SpComb> Eddi|zuHause: it's such dense code that it's really painful to understand, and it kinda looks like there's a lot of duplication, so it's going to be difficult to modify 10:37:34 <SpComb> aka spagetti code, the same kind you have running your car ECU's safety-critical features :P 10:37:39 <Eddi|zuHause> so it's a "do everything" function that could use some refactoring 10:38:28 <__ln__> that's the most surprising use of the word "some" that i've heard 10:40:02 <SpComb> and the code style kinda reflects on the stereotype of someone who learned the basic language structure during their first few weeks writing code, and then just carried on from there without ever getting to the parts about organizing code, or reading anyone else's code 10:41:03 <SpComb> it works if you just work solo on your own project, and lugaru is a succesfull game, but it just doesn't work anymore if you want to have anyone else working on it 10:41:52 *** Progman [~progman@p57A182DC.dip0.t-ipconnect.de] has joined #openttd 10:43:22 <SpComb> https://bitbucket.org/osslugaru/lugaru/src/c1ef5c6ce96bbef6cf3c09a93c2c24e0aad57f2b/Source/GameTick.cpp?at=default more recent version 10:45:50 <Eddi|zuHause> if you never collaborated with someone else, how would you ever learn about code style? 10:46:05 <SpComb> indeed 10:47:02 <SpComb> it does eventually come if you start re-reading your own code after not actively working on it for a while 10:55:42 *** sla_ro|master [slamaster@95.76.27.245] has quit [] 10:57:43 *** Wolf01 [~wolf01@host105-62-dynamic.252-95-r.retail.telecomitalia.it] has joined #openttd 10:57:56 <SpComb> but that was definitely share-worthy to the C++ course channel where they just started their courswork project, and most groups are doing some kind of game :) 10:58:03 <Wolf01> o/ 11:01:21 <__ln__> \___ 11:03:10 <Eddi|zuHause> doing sit-ups? 11:03:48 <Wolf01> i should do some crunches 11:06:28 *** DDR [~David@S0106602ad0773a2e.vc.shawcable.net] has joined #openttd 11:19:49 *** Progman_ [~progman@p57A18979.dip0.t-ipconnect.de] has joined #openttd 11:22:29 *** rahtgaz [~rahtgaz@00021442.user.oftc.net] has joined #openttd 11:24:57 *** Progman [~progman@p57A182DC.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds] 11:25:10 *** Progman_ is now known as Progman 11:55:37 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds] 11:57:29 *** eM [~M@ip4da0d6bd.direct-adsl.nl] has quit [Read error: Connection reset by peer] 12:00:34 *** M-E [~M@ip4da0d6bd.direct-adsl.nl] has joined #openttd 12:24:02 *** cursarion [xrs@adishbestservedworldly.xrs.fi] has quit [Ping timeout: 480 seconds] 12:31:25 *** Hiddenfunstuff [~Geth@y32.ip1.anvianet.fi] has joined #openttd 12:31:36 *** Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has quit [Read error: Connection reset by peer] 12:32:10 *** Supercheese [~Superchee@cpe-76-178-136-186.natnow.res.rr.com] has joined #openttd 12:36:04 *** cursarion [xrs@adishbestservedworldly.xrs.fi] has joined #openttd 13:16:14 *** Flygon_ [~Flygon@ppp118-209-195-75.lns20.mel8.internode.on.net] has joined #openttd 13:19:02 *** Flygon [~Flygon@ppp118-209-32-12.lns20.mel4.internode.on.net] has quit [Ping timeout: 480 seconds] 13:40:19 *** takpak [~takpak@79.112.99.167] has joined #openttd 13:59:16 *** Flygon [~Flygon@ppp118-209-40-197.lns20.mel4.internode.on.net] has joined #openttd 14:00:48 *** Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd 14:01:02 *** Flygon_ [~Flygon@ppp118-209-195-75.lns20.mel8.internode.on.net] has quit [Ping timeout: 480 seconds] 14:16:50 *** Progman [~progman@p57A18979.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 14:34:49 *** sla_ro|master [~sla.ro@95.76.27.245] has joined #openttd 14:39:26 *** rahtgaz [~rahtgaz@00021442.user.oftc.net] has quit [Quit: I'll be Bach] 14:41:58 *** tokai [~tokai@00012860.user.oftc.net] has joined #openttd 14:42:01 *** mode/#openttd [+v tokai] by ChanServ 14:48:32 *** tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds] 15:00:06 *** sim-al2 [~sim-al2@108-221-158-76.lightspeed.mmphtn.sbcglobal.net] has joined #openttd 15:34:29 *** fjb is now known as Guest8502 15:34:31 *** fjb [~frank@000158aa.user.oftc.net] has joined #openttd 15:40:43 *** Guest8502 [~frank@000158aa.user.oftc.net] has quit [Ping timeout: 480 seconds] 15:43:33 *** fjb [~frank@000158aa.user.oftc.net] has quit [Ping timeout: 480 seconds] 15:44:29 *** fjb [~frank@000158aa.user.oftc.net] has joined #openttd 15:46:41 *** Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd 15:46:44 *** mode/#openttd [+o Alberth] by ChanServ 16:33:24 *** sim-al2 [~sim-al2@108-221-158-76.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds] 16:41:38 *** Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has joined #openttd 16:43:55 *** frosch123 [~frosch@x5f744553.dyn.telefonica.de] has joined #openttd 16:44:09 <Alberth> hai 16:46:01 <frosch123> hoi 16:49:46 *** TheMask96 [martijn@envy.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds] 16:51:12 *** TheMask96 [martijn@gluttony.vhost.ne2000.nl] has joined #openttd 17:04:10 <planetmaker> o/ 17:05:31 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd 17:07:15 <frosch123> meh, devs.openttd.org does not know the svg mimetype :/ 17:08:53 <Alberth> mimetypes are overrated anyway :p 17:11:21 <frosch123> https://devs.openttd.org/~frosch/firs/html/economies.html <- work, around, but now it is not interactive 17:11:39 *** smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd 17:11:40 <frosch123> i hope coop is better :p 17:14:38 <Alberth> nice! 17:16:04 <Alberth> oh, it misses a few back-links :p 17:16:21 <frosch123> yes, i cut pax and supplies 17:16:41 <frosch123> not sure whether i should merge the industry->supplies links 17:16:49 <frosch123> currently there are multiple nodes for the same supply cargo 17:17:08 *** HerzogDeXtEr [~flex@i59F6BB85.versanet.de] has joined #openttd 17:17:47 <frosch123> could also colour the supplies 17:18:46 <Alberth> coulouring is probably better, as many supplies occur at lots of places 17:19:03 <Alberth> keeping them separate makes cleaner picture 17:21:28 *** sla_ro|master2 [slamaster@95.76.27.245] has joined #openttd 17:25:28 <frosch123> https://devs.openttd.org/~frosch/firs/html2/economies.html <- well, for full firs it is hopeless, but for the other ones it is fine 17:25:45 <frosch123> except for farm supplies in arctic, there is always only one source 17:26:07 *** sla_ro|master [~sla.ro@95.76.27.245] has quit [Ping timeout: 480 seconds] 17:28:22 <Alberth> full firs is hopeless by definition almost, you probably need to make it manually, where this graph is a nice starting point 17:28:52 <Alberth> you could try a circular graph or so :p 17:29:14 <frosch123> people already did manual graphs 17:29:31 <frosch123> but i wanted some dotty source to edit stuff 17:29:51 <frosch123> it's so hard to discuss new economies on a pure text level 17:30:05 *** rahtgaz [~rahtgaz@00021442.user.oftc.net] has joined #openttd 17:32:45 <Alberth> yep, makes a lot of sense 18:02:29 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Quit: There's a real world out here!] 18:02:43 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd 18:02:45 <frosch123> why does the coffee estate produce fruit btw? 18:02:51 <frosch123> (in addition to coffee) 18:08:04 *** glx [~glx@000128ec.user.oftc.net] has joined #openttd 18:08:07 *** mode/#openttd [+v glx] by ChanServ 18:16:13 <Taede> maybe they sell the coffee cherries as well as the beans? 18:31:52 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds] 18:38:31 <planetmaker> nice, frosch123 :) 18:42:17 *** Pensacola [~quassel@88.159.51.52] has joined #openttd 18:52:22 <Eddi|zuHause> am i missing some fancy javascript or other plugin? the images don't show 18:52:58 <frosch123> it's svg 18:53:15 <frosch123> you need a browser that is newer than 2003 or so 18:53:57 <Eddi|zuHause> well, i should have that, but it doesn't seem to work 18:54:31 <Eddi|zuHause> it gets worse, when i open the images directly, it shows the boxes, but not the text 18:56:46 <Eddi|zuHause> frosch123: but you're now at the exact point where i think graphviz fails. you got SOME graph, but if you want to clarify or emphasise something to get more comprehensibility/overview out of it, you don't have the right options to tweak it 18:57:56 <frosch123> you can use dotty to move stuff 18:58:08 <frosch123> but i think the graphs are fine (except full firs) 18:58:18 <Alberth> :o you can? I never managed to achieve that 18:58:21 <frosch123> but i doubt anyone could do a sane graph of full firs manually 18:58:46 <Alberth> in a week full time, lots is possible :p 18:58:50 <frosch123> Alberth: dotty is 20 years old and thus cryptic as hell, but it works somewhat 18:59:41 <Alberth> you're a better decrypter than me with dotty, then :) 19:01:21 <frosch123> you cannot save it except as image though 19:01:28 <frosch123> so, mostly worthless :) 19:07:40 <Alberth> :D 19:07:49 *** Klanticus [~quassel@179.234.183.59] has quit [Ping timeout: 480 seconds] 19:09:24 <Eddi|zuHause> i never figured out dotty 19:09:46 <frosch123> it helps to read the docs :p 19:10:03 <frosch123> it's not intuitive for a past-95 gui standard 19:10:16 <Eddi|zuHause> let me rephrase that: i never felt the urge to figure out dotty 19:10:22 <frosch123> you need to use the middle button in the right places and such 19:10:59 <Alberth> I can work with xfig :) 19:11:51 <frosch123> rocs has a nice interface 19:12:05 <frosch123> but at least in my version it fails to import .dot 19:35:56 <Alberth> if you kill all the label stuff, it loads 19:41:50 <Alberth> hmm, this is not unlike that game where you have to layout a graph such that no lines cross :p 19:42:28 <frosch123> yay, the firs brand got a mini-game spin-off 19:45:22 *** sim-al2 [~sim-al2@dns25-176.cbu.edu] has joined #openttd 19:54:38 *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd 19:55:29 <Alberth> looks quite buggy, judging by the debug messages it emits :) 19:58:42 <frosch123> well, i don't consider a one-time effort to create a nice graph worth it 19:59:01 <frosch123> i keep it like andy, better something auto-generated, that is always up-to-date 20:04:00 <frosch123> bbl 20:05:43 *** urdh [~urdh@00013d7a.user.oftc.net] has quit [Quit: Boom!] 20:06:31 *** urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd 20:19:14 *** Pensacola [~quassel@88.159.51.52] has quit [Remote host closed the connection] 20:22:08 <Alberth> much easier to maintain indeed 20:48:36 *** Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd [] 20:50:58 *** gelignite [~gelignite@x4db60dca.dyn.telefonica.de] has joined #openttd 21:07:48 *** Cybertinus [~Cybertinu@cybertinus.customer.cloud.nl] has quit [Ping timeout: 480 seconds] 21:17:55 *** urdh [~urdh@00013d7a.user.oftc.net] has quit [Remote host closed the connection] 21:24:48 *** Progman [~progman@p57A18979.dip0.t-ipconnect.de] has joined #openttd 21:32:04 *** Cybertinus [~Cybertinu@cybertinus.customer.cloud.nl] has joined #openttd 21:35:13 *** smoke_fumus [~smoke_fum@188.35.176.90] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 21:35:24 *** urdh [~urdh@00013d7a.user.oftc.net] has joined #openttd 21:46:08 *** Hiddenfunstuff [~Geth@y32.ip1.anvianet.fi] has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Now with extra fish!] 22:17:28 *** frosch123 [~frosch@x5f744553.dyn.telefonica.de] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn] 22:33:28 *** sla_ro|master2 [slamaster@95.76.27.245] has quit [] 22:36:13 *** Wormnest [~Wormnest@s5596abd2.adsl.online.nl] has quit [Quit: Leaving] 22:46:44 *** Progman [~progman@p57A18979.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 22:49:58 *** oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has quit [] 22:51:54 *** JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd 22:54:27 *** gelignite [~gelignite@x4db60dca.dyn.telefonica.de] has quit [Quit: http://bit.ly/1kso8Ta] 23:17:00 *** FLHerne [~flh@dsl-217-155-24-22.zen.co.uk] has joined #openttd 23:20:22 *** sim-al2 [~sim-al2@dns25-176.cbu.edu] has quit [Ping timeout: 480 seconds] 23:47:04 *** liq3 [liq3@CPE-120-148-51-74.gdfw1.lon.bigpond.net.au] has quit [] 23:50:09 *** Cybert1nus [~Cybertinu@cybertinus.customer.cloud.nl] has joined #openttd 23:51:24 *** takpak [~takpak@79.112.99.167] has quit [Remote host closed the connection] 23:54:57 *** Cybertinus [~Cybertinu@cybertinus.customer.cloud.nl] has quit [Ping timeout: 480 seconds]