Back to Home / #openttd / 2016 / 09 / Prev Day | Next Day
#openttd IRC Logs for 2016-09-21

---Logopened Wed Sep 21 00:00:26 2016
01:28-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
01:45-!-efess [~Efess@c-24-61-64-170.hsd1.ct.comcast.net] has quit [Ping timeout: 480 seconds]
02:02-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit [Quit: andythenorth]
02:13<@peter1138>heh, rollercoaster tycoon 2 in the humble bundle
02:17-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
02:30-!-sla_ro|master [slamaster@31.5.74.162] has joined #openttd
03:00-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
03:37-!-efess [~Efess@c-24-61-64-170.hsd1.ct.comcast.net] has joined #openttd
03:54-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
03:54<Wolf01>o/
03:58-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has joined #openttd
04:02-!-Biolunar [Biolunar@x4d02530d.dyn.telefonica.de] has joined #openttd
04:07-!-JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Quit: :q!]
04:08<@peter1138>oops i accidentally it
04:08<Wolf01>You accidentally what?
04:09<@peter1138>a sucker for humble bundles
04:10<Wolf01>I think I'll pass this round, already own some games and I'm not a great fan of the others
04:14-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has quit [Ping timeout: 480 seconds]
04:20-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
04:20<Wolf01>o/
04:21<Wolf01>andythenorth, did you see this? https://www.flickr.com/photos/127034593@N02/sets/72157670776110614
04:21<andythenorth>yes :) yesterday
04:21<andythenorth>it’s nicely done, I don’t get excited about fire trucks though
04:21<Wolf01>At first I was "wtf does a rc model on this lego blog?"
04:22<andythenorth>classic brick built
04:22<Wolf01>Model team
04:22<Wolf01>I really liked that back in time
04:22<Wolf01>(I only have the highway truck)
04:24<Wolf01>Too bad the Creator ones of today are really static, they could have put at least some steering, they still use technic bricks to build the frame
04:24<andythenorth>we have the blue pickup truck with quad bike on a trailer
04:25<andythenorth>that has suspension and steering
04:25<andythenorth>http://brickset.com/sets/5893-1/Off-Road-Power
04:25<andythenorth>almost model team
04:25<@peter1138>too big for minifigs (wolf01's link)
04:25<@peter1138>as is that link
04:26<Wolf01>Every thing they make now is not anymore minifig scale, you need to go to City theme to fins something suitable
04:27<andythenorth>bring back classic space
04:27<Wolf01>They even removed Technic figs because "they limited us on the proportions"
04:28<Wolf01>andythenorth, https://www.flickr.com/photos/frombol a friend of mine
04:28<andythenorth>very classic
04:36<@peter1138>i never had technic figs
04:37-!-Supercheese [~Superchee@cpe-76-178-137-142.natnow.res.rr.com] has quit [Ping timeout: 480 seconds]
04:37<Wolf01>I have 4 of them, and they used to fit every single Technic model they made
04:40<andythenorth>only for a few years :)
04:41<andythenorth>in the early 90s
04:41<Wolf01>https://www.kickstarter.com/projects/1135315686/flexo-bendable-bouncy-flexible-building-bricks <- for truck suspensions?
04:42<andythenorth>maybe
04:42<andythenorth>or GBC modules
04:42*andythenorth has to build a GBC module this morning
04:43<Wolf01>I'm still trying to put a servo inside the Claas Xerion...
04:44<Wolf01>And yesterday I just found that I added a differential on the back and it blocked the steering
04:52-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
04:52-!-mode/#openttd [+v tokai|noir] by ChanServ
04:59-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
05:04-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
05:11-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
05:13<@peter1138>hmm, too many apps on my phone
05:13<@peter1138>no
05:13<@peter1138>hmm, too many apps on my watch
05:13<@peter1138>app list takes ages to scroll through :(
05:13<Wolf01>Looks like my keyboard :)
05:15<Flygon>GBC module?
05:15<Flygon>We're porting OpenTTD to the Game Boy Color? :D
05:15<Wolf01>Naj, just crazy machines in lego
05:16<Flygon>Wouldn't it be smarter to port to the 32x? 256 colour framebuffer, plenty of on-cart RAM :)
05:16<Flygon>Aw :D
05:16<Wolf01>But remember to use eeprom to save, not battery powered ram
05:17<Wolf01>XD
05:17<Wolf01>(I lost all Pokémon saves :((( )
05:21<@peter1138>heh
05:36-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
05:41<Flygon>Wolf01: I should look into if our guy will do 1mbyte ROM, 128kb EEPROM, and 32kb SRAM :U
05:41<Flygon>The SRAM for RAM purposes, not Saving :U
05:42-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
05:54<Wolf01>I think the top we can get for GBC is like this http://www.indieretronews.com/2016/02/railways-railroad-management-game-in.html
06:08-!-kamcio96 [~kamcio96@host-81-190-236-128.wroclaw.mm.pl] has joined #openttd
06:38<Wolf01>Today I'll do some nonsense on OTTD, I'll tell what only if the outcome pleases me
06:43-!-smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
06:57-!-NoShlomo [~NoShlomo@90.74.151.136] has joined #openttd
07:10-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has joined #openttd
07:11<Samu>hello
07:35<Samu>CommandCost ret = DoCommand(tile, 0, 0, flags | DC_AUTO, CMD_LANDSCAPE_CLEAR);
07:35<Samu>ret = DoCommand(tile_cur, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
07:35<Samu>what's the difference between flags | DC_AUTO and flags
07:35<Samu>?
07:36<Wolf01>That | DC_AUTO adds that flag to flags
07:37<Wolf01>*without changing the flags value
07:38<Samu>in practice, what does one clear that the other does not?
07:39<Samu>it says DC_AUTO = 0x002, ///< don't allow building on structures
07:39<Samu>but the command is about landscape clearing
07:39<Samu>a bit confused
07:40<Wolf01>Maybe you aren't allowed to clear a tile with a structure on it?
07:44<Samu>i can't find any difference, with or without DC_AUTO
07:44<Samu>i must be missing something
07:54<Samu>i found this Company *c = (flags & (DC_AUTO | DC_BANKRUPT)) ? NULL : Company::GetIfValid(_current_company);
07:56<Samu>it made 2 ? NULL : Company::GetIfValid... etc
07:56<Samu>it's about checking clearing limits
08:01<Wolf01>Shit, I'll need to move a lot of features to button to get rid of the CTRL key
08:20-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
08:26-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
08:31<Wolf01>Pointers fuck me right :|
08:32-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
08:32<Samu>what?
08:34<@peter1138>biscoff
08:34<Wolf01>I need to pass a pointer to a function, but the other function returns a value not a pointer
08:34<@peter1138>are dangerous
08:35<Wolf01>Maybe with some & int will work
08:35<Wolf01>*it
08:36<Samu>http://imgur.com/a/BbUqi - I'm currently trying to automatically build canals when placing water construction stuff on land
08:37<Wolf01>Ok, got it
08:37<Samu>(with the hopes that someone in charge of openttd reduce canal costs)
09:03<Wolf01>Wow... I made.. something
09:04-!-Flygon_ [~Flygon@210-84-19-99.dyn.iinet.net.au] has joined #openttd
09:06<Wolf01>I got "Datatype misalignment" XD
09:11-!-Flygon [~Flygon@210-84-19-99.dyn.iinet.net.au] has quit [Ping timeout: 480 seconds]
09:46-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
09:50<supermop_>good morning
09:56-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has joined #openttd
09:58-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has quit []
10:10-!-kamcio96 [~kamcio96@host-81-190-236-128.wroclaw.mm.pl] has quit [Quit: Leaving]
10:14<Wolf01>I managed to get a "fill area" with terraform tools
10:15<andythenorth>o_O
10:16<Wolf01>But not really a fill area, more like a invert height of the area, so you start with a hole and you get a cliff of the same shape XD
10:16<Wolf01>Which is cool
10:16<Wolf01>Works also the other way
10:17<Wolf01>Btw, it's not my goal
10:17<Wolf01>Also is extremely dangerous on flat maps
10:17<Wolf01>(you will raise the whole map)
10:21-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit [Quit: andythenorth]
10:36-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
10:36-!-mode/#openttd [+o Alberth] by ChanServ
10:36-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has joined #openttd
10:36<@Alberth>o/
10:37<Wolf01>o/
10:59-!-JacobD88 [~Thunderbi@cpc80661-stap13-2-0-cust817.12-2.cable.virginm.net] has quit [Quit: JacobD88]
11:03-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
11:14<Wolf01>Is the foundation only drawn by what is over the tile?
11:24-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
11:30<V453000>FOUNDATIONS ARE FUCK
11:30<V453000>don't enter that river Wolf01
11:30<V453000>or get serious help from fro
11:30<V453000>sch
11:30<@peter1138>foundations don't exist
11:30-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
11:30<Wolf01>Ok, so no steep slopes without anything on them :P
11:41<Eddi|zuHause>you mean cliffs, not steep slopes
11:42<Wolf01>I wanted to try double height slopes, but that was too much and I tried to use foundations instead
11:43<Wolf01>Just to make V do more work on the baseset :>
11:51-!-TheMask96 [martijn@wrath.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
11:52<Samu>what's a foundation and what's a half-tile
11:53<Samu>There is no HasTileFoundation function :(
11:53<Samu>what would be the equivalent?
11:54<Samu>there is a GetFoundationSlope which is always returning me a SLOPE_FLAT...
11:56-!-TheMask96 [martijn@sloth.vhost.ne2000.nl] has joined #openttd
11:59<Samu>HasFoundationNE(tile, GetTileSlope(tile), GetTileZ(tile)) what is this gonna get me
12:04-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
12:16-!-Arveen [~Arveen@ip-178-202-138-209.hsi09.unitymediagroup.de] has joined #openttd
12:24<@Alberth>o/
12:24<andythenorth>o/
12:32<supermop>10/
12:33<andythenorth>tramz
12:35<supermop>10/8
12:36<Samu>GetFoundationSlope does what I want
12:36<Samu>but in an indirect way
12:37<Samu>it treats the slopes as flat
12:37<Samu>but i then ask for a slope with 1 corner or 3 corners raised
12:38<Samu>since it's "flat", I forbid terraforming
12:41<andythenorth>supermop: http://dev.openttdcoop.org/attachments/download/8096/pax_mail_tramz.png
12:41<andythenorth>thinking of swapping gen 4 for pax to gen 5 sprites, and making new gen 5 sprites
12:41<andythenorth>it’s all hax :P
12:42<andythenorth>the basic gestalt of each model is super-realism, but the actual sprites are hack jobs of freight trams
12:44<supermop>the gen4 looks ok
12:45<andythenorth>looks a bit ‘metro train’ to me :)
12:45<andythenorth>I like the sprite, in isolation
12:50<Eddi|zuHause>andythenorth: gen 5 doesn't look modern enough, make gen 5 a 5-6-5 tram
12:51<Eddi|zuHause>andythenorth: thinking something like this https://de.wikipedia.org/wiki/Datei:NGT8D-MD.jpg
13:00<andythenorth>I planned that, but it’s not symmetrical units then
13:01<andythenorth>all other trams have near-symmetrical sprite per unit
13:01<andythenorth>maybe that’s a slavish consistency :P
13:02-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
13:02-!-mode/#openttd [+v glx] by ChanServ
13:06<andythenorth>could 2 like this https://upload.wikimedia.org/wikipedia/commons/0/0a/Tatra_tram_in_Prague.jpg
13:16<V453000>PRAGUE POWER
13:17-!-aard [~aard@108.134.189.109.customer.cdi.no] has joined #openttd
13:17<andythenorth>V453000: iz tram
13:18<V453000>iz praga
13:18<V453000>the city of beer, drugs and bitches
13:18<NGC3982>That sounds like Elfen Town outside Växjö.
13:37<Eddi|zuHause>andythenorth: that's more 4th gen than 5th gen
13:41-!-Progman [~progman@p57A193F9.dip0.t-ipconnect.de] has joined #openttd
14:19<supermop>really a true 5th gen tram should should have all-around stealth treatment and thrust vectoring
14:19<Samu>woah, placing locks is awesomely easier now
14:19<Samu>i like what i'm doing
14:20<Samu>now, moving on to placing aqueducts
14:20-!-aard [~aard@108.134.189.109.customer.cdi.no] has quit [Read error: Connection reset by peer]
14:22-!-aard [~aard@108.134.189.109.customer.cdi.no] has joined #openttd
14:23-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
14:26<Wolf01>Quak
14:27<Wolf01>frosch123, I tried to fiddle with the raise/lower terrain function, but I received a "cease & desist" from foundations
14:31<frosch123>i thought we can meanwhile draw any foundation on any slope
14:31<Wolf01>That was the goal
14:32<Wolf01>Easy foundations and steep slopes/cliffs
14:32<Eddi|zuHause>if you want foundations on clear tiles, you need to do some deeper changes to the map
14:33<Wolf01>Yep, I noticed it too late
14:34-!-Supercheese [~Superchee@cpe-76-178-137-142.natnow.res.rr.com] has joined #openttd
14:35<frosch123>did you have some question? or was that all you wanted to tell? :p
14:35<Wolf01>Just tell, I don't think I could be able to do it alone
14:36<frosch123>ok, because i have no idea what you tried :)
14:37<Wolf01>Oh, I only disabled the loop which raises the tiles around :P
14:38<frosch123>ah, you mean more than 1 height difference between corners :)
14:38<Wolf01>Yes
14:38<Wolf01>Then I re-enabled it, changed it here and there and got a "fill hole" function
14:40<andythenorth>Samu: what have you changed on locks? o_O
14:41<Wolf01>Seem he made possible to build a lock/dock/depot in canal tiles without enough space all around
14:44<Samu>terraform
14:44-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit [Quit: andythenorth]
14:44-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
14:44<Samu>auto-terraform on placement
14:45<Samu>i'm not adding foundations
14:45-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit []
14:46<Samu>and auto-build canal if placed on land
14:46<Wolf01>Samu, I think you should fix one thing instead of that, this one: when you build a dock on canals you have some checks, but you can remove the canals after you build the dock, it shouldn't be possible or checks should be changed according to that
14:49<Samu>let me check the original checks, i changed quite a lot alrady
14:51-!-HerzogDeXtEr [~farci@i59F6D2CF.versanet.de] has joined #openttd
14:51<Wolf01>https://www.youtube.com/watch?v=Q_RPNbaFEs0 ha, the projection of this game give me some kind of sickness
14:52<Samu>you mean this https://hg.openttd.org/trunk.hg/file/d1ee3e5330e5/src/station_cmd.cpp#l2529
14:52-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has joined #openttd
14:54<Samu>https://hg.openttd.org/trunk.hg/file/d1ee3e5330e5/src/station_cmd.cpp#l2496 - this line removes the water on the ground, it becomes a flat land
14:54<Samu>a bare land, i mean
14:57<Samu>i am still doing the same, pretty much
14:57<Samu>but handling the data in a whole different way
14:59<Samu>if there is a canal, i check for tile ownership
14:59<Samu>and won't actually remove it, i build on top of it
15:00<Samu>if there is no canal, i actually do the same as that
15:00<Samu>even if it's river, or water, or anything like that
15:01<Samu>maybe I didn't understand the bug, Wolf01 ?
15:01<Wolf01>Wait a sec, I'm doing 4 things at the same time
15:02<Wolf01>http://imgur.com/a/EcyJ4
15:02<Samu>ah, the third tile?
15:02<Samu>i removed that check entirely
15:03<Samu>it just builds, doesn't care what's on the 3rd tile anymore
15:03<Wolf01>I know you did, or you wouldn't be allowed to build that dock
15:06<Samu>okay, i understand now
15:06<Samu>that's on the remove clear water part
15:06-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
15:08<Wolf01>Also, a fix on the music volume could be nice, I always need to move by 1 pixel the cursor as every time I open the game the music is at 100%
15:08<Samu>static CommandCost ClearTile_Water(TileIndex tile, DoCommandFlag flags) - doesn't care about docking spots
15:08<Samu>maybe it should :p
15:09<Samu>thx for the idea, i might do it
15:09<Wolf01>I think it should check that at least one docking spot is provided
15:10<Wolf01>You might not want a dock with front docking spot but one on the left
15:16-!-aard [~aard@108.134.189.109.customer.cdi.no] has quit [Read error: Connection reset by peer]
15:18-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has quit [Quit: There's a real world out here!]
15:18-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has joined #openttd
15:30*andythenorth considers writing a tram pixel generator
15:30<andythenorth>how hard can it be? :P
15:31<Eddi|zuHause>didn't you already do that, like, twice?
15:32<andythenorth>once for trucks, once for cargo
15:32<andythenorth>make it random, run it 100 times, pick the best 5 sprites :P
15:33<Eddi|zuHause>genetic programming?
15:33<andythenorth>yeah
15:33<Eddi|zuHause>run 300 million generations?
15:33<andythenorth>maybe
15:33<andythenorth>never written genetic programming, always wanted to
15:33<Eddi|zuHause>probably not for you :p
15:33<andythenorth>was going to use it in Flash games ~10 years ago
15:37<andythenorth>there is redneck genetic programming, which is basically components!
15:37<andythenorth>where components are windows, cab, roof, etc
15:38<andythenorth>then there is procedural generation following rulesets, which is similar, but...more
15:45-!-smoke_fumus [~smoke_fum@188.35.176.90] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
15:46-!-Keridos [~Keridos@2a00:5ba0:8000:64:2e0:4cff:fe23:44af] has quit [Quit: ZNC - http://znc.in]
15:47<Wolf01>Then integrate it in OTTD, let decide player what he wants, profit... more free time to play with lego
15:48<andythenorth>Wolf01: current GBC module fires marbles quite fast
15:49*andythenorth should make a video
15:50<Wolf01>Good
15:58-!-Arveen [~Arveen@ip-178-202-138-209.hsi09.unitymediagroup.de] has quit [Quit: Nettalk6 - www.ntalk.de]
16:02-!-Kurimus [~stabbity@dsl-tkubrasgw2-54f816-197.dhcp.inet.fi] has quit []
16:02<Wolf01>Any chance to continue work on NRT?
16:02<andythenorth>I need to get my head around the nml patch that’s needed
16:03<andythenorth>got stuck on which feature number to use
16:03<andythenorth>should be 0x12, but looks like there’s some unfinished houses support using that
16:03<andythenorth>so 0x13
16:03<andythenorth>but then the houses stuff is just useless mess, which I should fix?
16:03<Wolf01>Then use 0x13 :D
16:04<Wolf01>Keep the house stuff for later
16:04<andythenorth>https://xkcd.com/349/
16:04<Wolf01>Sort of
16:07-!-Kurimus [~stabbity@dsl-tkubrasgw2-54f816-197.dhcp.inet.fi] has joined #openttd
16:07<andythenorth>https://www.flickr.com/photos/andythenorth/29804678026/
16:07<andythenorth>also https://www.flickr.com/photos/andythenorth/29840147735/
16:12-!-Supercheese [~Superchee@cpe-76-178-137-142.natnow.res.rr.com] has quit [Quit: Valete omnes]
16:14<frosch123>andythenorth: just change houses to 0x13
16:15<frosch123>houses do not have an id, they are just the "last item" in the list
16:15<andythenorth>ho thanks
16:15<frosch123>s/houses/towns/
16:21-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
16:32<Wolf01>The red ball didn't like do get launched :D
16:32<Wolf01>*to
16:34-!-gelignite [~gelignite@x4db64318.dyn.telefonica.de] has joined #openttd
16:38-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:38<Eddi|zuHause>andythenorth: if in doubt, check the NFO specs. if it's there, it must stay there
16:39<Eddi|zuHause>aw, frosch left. that would have been a perfect opportunity to chime in that i'm talking garbage and should stop talking :p
16:43<Samu>I need help with slope math
16:44<Samu>i got SLOPE_NE at the start of the aqueduct, and SLOPE_W at the end of the aqueduct
16:45<Samu>I want to tell the terraform to raise land at SLOPE_S at the end of the aqueduct
16:45<Samu>what math is involved so that the terraform command gets SLOPE_S
16:46<Wolf01>There's a function which does that for you
16:47<Wolf01>I can't remember the exact name, but look at the terraform_cmd
16:47<Samu>ok
16:48*andythenorth must to bed
16:48-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit [Quit: andythenorth]
16:49-!-sla_ro|master [slamaster@31.5.74.162] has quit []
16:54-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
16:58<Samu> Slope t = ComplementSlope(tileh_start) & ~tileh_end_aqueduct;
16:59<Samu>think this is it, lets test
17:02<Wolf01>Complement is like "1101" -> "0010"
17:14-!-Supercheese [~Superchee@50-37-102-110.mscw.id.frontiernet.net] has joined #openttd
17:16-!-gelignite [~gelignite@x4db64318.dyn.telefonica.de] has quit [Quit: http://bit.ly/1kso8Ta]
17:17<Samu>there's an ugly tile swap messing me
17:17<Samu>must have it into account
17:25-!-Progman [~progman@p57A193F9.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
17:35<Samu>darn steep slopes :(
17:39<Samu>land sloped in ugly direction... grr :(
18:06<Samu>i don't know the operator needed
18:07<Samu>SLOPE_SW (insert operator) SLOPE_STEEP_W = SLOPE_S
18:07<Samu>what is the operator?
18:08<Samu>that gives me that result
18:09<Wolf01>I would suggest "minus", but it's not how it works, so try with XOR
18:11<Samu>XOR is ^ ?
18:11<Wolf01>Usually yes
18:12<Samu>gonna get horribad result
18:13<Wolf01>Oh, my bad, it's not a flag
18:13<Samu>:( i got an assertion, :(
18:14<Wolf01>Give a look ad the "RemoveHalfSlopes" function or what its name
18:21<Samu>i see
18:21<Samu>testing ComplementSlope(tileh_start) & ~(tileh_end_aqueduct & ~SLOPE_STEEP)
18:22<Samu>nope, i got a SLOPE_FLAT as result :(
18:22<Wolf01>You could make a separate patch with some utility functions
18:25<Samu>SLOPE_STEEP_W & ~SLOPE_STEEP = SLOPE_NWS :(
18:25<Samu>the result I was expecting was SLOPE_W
18:28<Samu>tileh_start is SLOPE_NE
18:28<Samu>the complement is SLOPE_SW
18:29<Samu>SLOPE_SW & ~SLOPE_W = SLOPE_S
18:29<Samu>SLOPE_S is the final result I want
18:29<Samu>but i got to calculate SLOPE_W
18:30<Wolf01>You should ask frosch for this
18:31<Samu>he's the slope master?
18:31<Wolf01>Maybe
18:31-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
18:48-!-Biolunar [Biolunar@x4d02530d.dyn.telefonica.de] has quit [Ping timeout: 480 seconds]
18:51<Wolf01>'night
18:51-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
18:58-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has quit [Read error: Connection reset by peer]
18:58-!-FLHerne_ [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has joined #openttd
19:17-!-NoShlomo [~NoShlomo@90.74.151.136] has quit [Quit: NoShlomo]
19:26<Samu>and this is why i failed to be a programmer
19:26<Samu>https://paste.openttdcoop.org/p6z7gacvt
19:27<Samu>lol, i'm still failing
19:27<Samu>code doesn't work, i'm horrible
19:37<Samu>ah, i needed more breaks
19:43-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has quit [Remote host closed the connection]
19:54-!-supermop_ [~supermop@pool-100-37-117-73.nycmny.fios.verizon.net] has joined #openttd
20:05-!-Alkel_U3 [~alkel@252.244.forpsi.net] has quit [Ping timeout: 480 seconds]
20:09-!-Alkel_U3 [~alkel@252.244.forpsi.net] has joined #openttd
20:17-!-HerzogDeXtEr [~farci@i59F6D2CF.versanet.de] has quit [Read error: Connection reset by peer]
20:24-!-Alkel_U3 [~alkel@252.244.forpsi.net] has quit [Max SendQ exceeded]
20:31-!-Alkel_U3 [~alkel@252.244.forpsi.net] has joined #openttd
20:44-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
20:45-!-Supercheese [~Superchee@50-37-102-110.mscw.id.frontiernet.net] has quit [Quit: Valete omnes]
21:21-!-sim-al2 is now known as Guest1167
21:21-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
21:25-!-Guest1167 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
21:26-!-kais58 is now known as kais58|AFK
21:26-!-kais58|AFK is now known as kais58
21:35-!-JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd
21:39-!-FLHerne_ [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has quit [Ping timeout: 480 seconds]
22:23-!-smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
23:16-!-supermop_ [~supermop@pool-100-37-117-73.nycmny.fios.verizon.net] has quit [Read error: Connection reset by peer]
---Logclosed Thu Sep 22 00:00:28 2016