IRC logs for #openttd on OFTC at 2015-10-30
            
00:04:54 *** Wormnest has quit IRC
00:12:45 *** cha0tics_ has joined #openttd
00:20:09 *** cha0tics has quit IRC
00:23:42 *** HerzogDeXtEr has quit IRC
00:26:47 *** sim-al2 has quit IRC
00:29:19 *** Supercheese has joined #openttd
00:43:27 *** Hiddenfunstuff has quit IRC
00:55:52 *** Pikka has joined #openttd
01:21:46 <Wolf01> 'night
01:21:50 *** Wolf01 has quit IRC
01:27:27 *** sim-al2 has joined #openttd
01:31:34 *** cha0tics_ has quit IRC
01:39:59 *** cha0tics_ has joined #openttd
02:05:53 *** Snail has joined #openttd
02:22:53 *** liq3 has joined #openttd
02:22:55 *** fjb has joined #openttd
02:30:21 *** FLHerne has quit IRC
02:57:00 *** smoke_fumus has quit IRC
03:37:52 *** Biolunar has joined #openttd
03:46:08 *** Biolunar has quit IRC
04:45:10 *** glx has quit IRC
04:47:02 *** fjb has quit IRC
05:01:20 *** Pokka has joined #openttd
05:08:04 *** Pikka has quit IRC
05:11:48 *** Pukka has joined #openttd
05:18:34 *** Pokka has quit IRC
05:18:45 *** Snail has quit IRC
05:27:36 *** Pokka has joined #openttd
05:34:37 *** Pukka has quit IRC
05:35:33 *** cha0tics_ has quit IRC
06:18:33 *** GenevaMode has quit IRC
06:49:10 *** tipsyTentacle has joined #openttd
06:56:01 *** Eddi|zuHause has quit IRC
06:56:16 *** Eddi|zuHause has joined #openttd
07:05:18 *** oooze81 has joined #openttd
07:23:25 *** oooze81 has quit IRC
07:41:28 *** sim-al2 has quit IRC
07:45:22 *** sim-al2 has joined #openttd
08:33:37 *** Hiddenfunstuff has joined #openttd
08:41:23 *** sim-al2 has quit IRC
08:44:55 *** andythenorth has joined #openttd
08:45:16 * andythenorth considers making chibi chinese trains
08:46:10 *** Pokka is now known as Pikka
08:46:17 <Pikka> but it's been done
08:46:31 <andythenorth> really nicely too
08:46:35 <andythenorth> I’m just jealous
08:46:42 <Pikka> are they hand drawn? I can't tell
08:48:09 <Supercheese> they're certainly well-drawn
09:07:31 <andythenorth> super-rendered no?
09:07:34 <andythenorth> also http://m.xkcd.com/1597/
09:20:57 <andythenorth> yeah, super-rendered http://www.tt-forums.net/download/file.php?id=187875
09:21:53 *** tipsyTentacle has quit IRC
09:43:34 *** DDR has joined #openttd
10:42:17 *** Speedy` has joined #openttd
10:42:32 *** Speedy` is now known as Speedy
11:13:09 *** fjb has joined #openttd
11:56:10 *** Biolunar has joined #openttd
12:05:00 *** tokai has joined #openttd
12:05:00 *** ChanServ sets mode: +v tokai
12:23:59 *** Alberth has joined #openttd
12:23:59 *** ChanServ sets mode: +o Alberth
12:24:57 <Pikka> o/
12:25:03 <Alberth> moin
12:29:09 *** fjb has quit IRC
12:29:31 <andythenorth> o/
12:39:01 *** DDR has quit IRC
12:59:40 *** oooze81 has joined #openttd
13:13:47 *** Mek has quit IRC
13:14:25 *** Mek has joined #openttd
13:15:16 *** Snail has joined #openttd
13:27:55 <andythenorth> the thing about trucks
13:28:01 <andythenorth> is you need a lot on long routes
13:28:04 <andythenorth> a *lot*
13:28:20 *** sla_ro|master has joined #openttd
13:28:53 <Eddi|zuHause> that's what ctrl+clone is for
13:29:18 <andythenorth> then if there is a supply problem, they block stations horribly :D
13:29:41 * andythenorth may be missing the point of the game somewhere
13:29:53 <Eddi|zuHause> there's no "overflow depot" for trucks
13:32:21 *** Supercheese has quit IRC
13:32:56 *** Supercheese has joined #openttd
13:36:59 *** Pikka has quit IRC
13:50:54 *** oooze81 has quit IRC
13:55:45 *** Snail has quit IRC
13:57:09 *** sim-al2 has joined #openttd
14:05:54 *** GenevaMode has joined #openttd
14:25:33 *** sla_ro|master has quit IRC
14:33:08 *** fjb has joined #openttd
15:02:07 *** shirish has joined #openttd
15:07:35 *** andythenorth has quit IRC
15:26:14 *** fjb has quit IRC
15:37:53 *** andythenorth has joined #openttd
15:58:12 <Alberth> o/
15:59:52 <andythenorth> o/
16:01:07 *** Wolf01 has joined #openttd
16:01:16 <Wolf01> o/
16:01:35 <Alberth> \o
16:02:47 * andythenorth wonders what % of lines in the channel are o/
16:03:38 <Eddi|zuHause> an insignificant amount compared to "x is joining/leaving"
16:03:59 <Wolf01> mmmh, i need to find a way to optimise my game engine, just the tiles and a moving square runs at 42-50FPS and eats about 60MB of RAM :|
16:04:40 <Alberth> nah, make a deal with a major memory chip manufacturer :p
16:04:54 <Wolf01> also i want the tile array to support multiple levels in future
16:05:17 <Wolf01> so i'll switch to a jagged array
16:05:47 <Alberth> I use stacks of voxels
16:06:11 <Alberth> ie base_height + number of levels
16:06:36 <Wolf01> mine is a 2D game, a remake of a remake i made a lot of time ago
16:07:17 <Alberth> ah, meta-meta-game creation :)
16:07:45 <Alberth> I have a dimetric view
16:07:52 <Wolf01> but voxels are interesting, they could add nice special effects to the game
16:08:23 *** FLHerne has joined #openttd
16:08:50 *** Biolunar has quit IRC
16:08:57 <Alberth> voxels for me are nothing more than a cube box in conceptual 3d space, nothing to do with graphics
16:09:35 <Alberth> ie it's a tile + height upto the next level tile
16:10:27 <Alberth> a way to split the world in tiles
16:10:31 <Wolf01> yeah, but since i have destroyable walls, i could make them with voxels (just one level) and spread them around with each explosion
16:10:59 <Alberth> sounds good :)
16:11:59 <Wolf01> the game is this one: http://hsto.org/storage2/531/e3b/d67/531e3bd679bb98bf6c55821de186d41e.jpg
16:12:25 <Wolf01> there are a lot of 2/3D clones, but i want to make mine, with modding support :)
16:15:39 <Alberth> https://github.com/FreeRCT/FreeRCT this is the game I am talking about, clone of a well-known theme park development game :p
16:16:06 <Wolf01> :o
16:17:09 <Wolf01> eheh, i see some well known names on the contributors page, well done ;)
16:33:13 *** sim-al2 has quit IRC
16:37:50 <Alberth> figured out how you need 50MB for that? seems a bit steep for a flat 2d area
16:38:48 *** smoke_fumus has joined #openttd
16:39:17 <Wolf01> at least 15MB are for the jit debugger
16:39:40 <Wolf01> so the release build should be less hungry
16:39:42 <Alberth> that should be simple to reclaim :)
16:40:02 *** andythenorth has quit IRC
16:41:36 <Wolf01> i think it's the tiles data structure i'm using, oop is really memory wasteful compared to other solutions, but it's easier to work with
16:44:18 <Wolf01> i'm tuning the rendering engine now, maybe that could help a lot
16:46:30 <Wolf01> since some layers don't change for the entire match, i compose the images starting from the tiles just once, then i have a hamburger of bitmaps to draw at every tick
16:47:29 <Wolf01> maybe the bitmaps are too much expensive and i should just redraw the dirty tiles
16:47:53 <Alberth> blitting at the video is pretty fast
16:47:57 *** FLHerne has quit IRC
16:48:05 <Alberth> as long as you use GPU
16:49:07 <Wolf01> uhm, i didn't think about that, i should use the xna stuff instead of the internal functions
16:50:39 <Alberth> isn't xna sort of dead?
16:51:25 <Wolf01> maybe it is, i have also unity as alternative
16:57:57 *** Sheogorath has quit IRC
16:59:57 *** Sheogorath has joined #openttd
17:06:31 *** frosch123 has joined #openttd
17:06:56 <Alberth> quak
17:10:10 <frosch123> hoi
17:11:18 <Wolf01> o/
17:16:37 *** andythenorth has joined #openttd
17:17:03 <Wolf01> o/
17:18:10 <DorpsGek> Commit by frosch :: r27418 trunk/src/pathfinder/follow_track.hpp (2015-10-30 17:18:03 +0100 )
17:18:11 <DorpsGek> -Fix [FS#6329] [FS#6379]: Desync due to incorrect storage of segments with different railtype in the YAPF cache. (JGR)
17:18:45 <DorpsGek> Commit by frosch :: r27419 trunk/src/train_cmd.cpp (2015-10-30 17:18:39 +0100 )
17:18:46 <DorpsGek> -Fix [FS#6369]: CmdSellRailWagon did not revert all actions properly when no orderlist could be allocated. (Juanjo)
17:19:15 <DorpsGek> Commit by frosch :: r27420 trunk/src/town_cmd.cpp (2015-10-30 17:19:09 +0100 )
17:19:16 <DorpsGek> -Fix [FS#6362]: GrowTownAtRoad sometimes returned false, even when a house was built. (_dp_)
17:19:32 <andythenorth> yay :)
17:19:33 <andythenorth> commits :)
17:19:38 <DorpsGek> Commit by frosch :: r27421 trunk/src/network/network_gui.cpp (2015-10-30 17:19:33 +0100 )
17:19:39 <DorpsGek> -Fix [FS#6265]: Consider text and icon sizes when drawing the client list. (_dp_)
17:20:06 <DorpsGek> Commit by frosch :: r27422 /trunk/src (aircraft_cmd.cpp direction_func.h) (2015-10-30 17:20:00 +0100 )
17:20:07 <DorpsGek> -Fix [FS#6341]: Aircraft picked the wrong airport entry point, if airports were rotated by 180 degree. (marcole)
17:22:12 <frosch123> https://devs.openttd.org/~frosch/diffs/20151030/ <- some more patches by myself for review
17:23:05 <andythenorth> o_O
17:23:08 <andythenorth> busy
17:25:54 *** Wormnest has joined #openttd
17:43:20 *** HerzogDeXtEr has joined #openttd
17:43:41 *** TheMask96 has quit IRC
17:48:12 *** TheMask96 has joined #openttd
17:50:36 <Alberth> frosch123: 22241 would it be useful to move the todo text to the order gui?
17:56:02 <Alberth> 22244 !(flags & DC_QUERY_COST) -> (flags & DC_QUERY_COST) == 0 ?
17:56:10 <Alberth> otherwise looks good to me
18:15:13 <frosch123> do you know a good place in order_gui ?
18:16:48 <Alberth> in the class header, @todo ?
18:18:00 <DorpsGek> Commit by frosch :: r27423 trunk/src/town_cmd.cpp (2015-10-30 18:17:54 +0100 )
18:18:01 <DorpsGek> -Fix: When towns expanded single-bit roadtiles using a grid-layout, they used the layout position of the neighbouring tile.
18:19:08 <DorpsGek> Commit by frosch :: r27424 trunk/src/road.cpp (2015-10-30 18:19:01 +0100 )
18:19:09 <DorpsGek> -Fix [FS#6374]: Towns did not connect roads to existing roads, unless they had only a single roadbit. Otoh, towns also tried to connect to single roadbit tiles such as tunnels and depots, even though they were not connectable in the direction of interest.
18:22:30 <_dp_> yaaay, bugfixes!)))
18:23:22 <DorpsGek> Commit by frosch :: r27425 /trunk/src (order_gui.cpp window.cpp) (2015-10-30 18:23:16 +0100 )
18:23:23 <DorpsGek> -Fix [FS#5842]: Crash when switching to or taking over companies, when an order window of a vehicle of the new company was opened. Now close those windows.
18:24:11 <DorpsGek> Commit by frosch :: r27426 trunk/src/vehicle.cpp (2015-10-30 18:24:05 +0100 )
18:24:12 <DorpsGek> -Change: Round loading percentage in loading indicators and conditional orders towards 50%, so that 0% and 100% mean completely empty or full.
18:24:36 <DorpsGek> Commit by frosch :: r27427 /trunk/src (4 files) (2015-10-30 18:24:30 +0100 )
18:24:37 <DorpsGek> -Fix: Use the NewGRF railtype sorting order in the infrastructure window.
18:25:00 *** Bluelight has joined #openttd
18:27:27 <DorpsGek> Commit by frosch :: r27428 /trunk/src (vehicle_cmd.cpp vehicle_gui.cpp) (2015-10-30 18:27:21 +0100 )
18:27:28 <DorpsGek> -Fix: When selecting a refit cargo for orders, do not check whether the vehicle is in a depot or station, and do not ask whether the vehicle currently allows station-refitting. Also hide the refit cost for orders, it is not predictable.
18:29:40 *** gelignite has joined #openttd
18:32:43 <andythenorth> ^ what does that actually change?
18:32:53 <frosch123> https://www.tt-forums.net/viewtopic.php?p=1141539#p1141539 <- that
18:35:38 *** Pensacola has joined #openttd
18:54:45 *** Progman has joined #openttd
18:54:48 *** glx has joined #openttd
18:54:48 *** ChanServ sets mode: +v glx
18:58:21 *** fjb has joined #openttd
19:04:27 *** liq3 has quit IRC
19:08:52 <andythenorth> might be time for a Busy Bee game again soon
19:08:56 <andythenorth> after I beat SV :P
19:17:34 <Alberth> :)
19:17:51 <andythenorth> I should fix my BB patch :P
19:18:00 <andythenorth> it needs savegame support
19:18:15 <andythenorth> https://dev.openttdcoop.org/issues/7521
19:18:36 <andythenorth> oh there was some reason I couldn’t just do savegame support
19:18:57 <andythenorth> there is a serialise function that needs extending iirc, it assumes only goals
19:20:12 <Alberth> reverse condition? if (this.accept.ind in cdata.won_goals["industries"]) { ... } else { /* do something */ } :)
19:20:21 *** tipsyTentacle has joined #openttd
19:20:46 <Alberth> probably if (!(this.accept.ind in cdata.won_goals["industries"]))
19:23:50 <Alberth> gn
19:23:57 *** Alberth has left #openttd
19:45:07 *** gelignite has quit IRC
19:51:45 *** shirish has quit IRC
19:54:26 <planetmaker> good evenink :)
19:55:00 *** GenevaMode has quit IRC
19:55:07 <andythenorth> lo planetmaker
19:56:28 <tipsyTentacle> Hello. (:
20:04:48 <Wolf01> uh, i just remembered i need to write a collision system :|
20:06:53 <tipsyTentacle> Are you coding a game? :O
20:06:57 <Wolf01> yes
20:07:22 <tipsyTentacle> :O good luck and have fun!
20:07:35 <andythenorth> bounding box
20:07:46 <Wolf01> i expected "you are a fool"
20:08:27 <andythenorth> you are a fool
20:08:50 <frosch123> i wondered whether you want to detect, prevent or encourage collissions
20:09:04 <Wolf01> all the three
20:10:28 <Wolf01> i want to prevent tanks colliding with walls, i want projectiles colliding with walls and tanks, and i want to know when something is colliding with something but not to block it
20:11:28 <Wolf01> i'm doing it from zero, i want to learn the hard way before giving up and use gamemaker or some other game studio
20:11:51 <tipsyTentacle> So have a system to detect it first and then everything else will fall into place? If collision detected, prevent movement?
20:12:18 <Wolf01> yes
20:14:31 <andythenorth> I don’t know how it’s done properly
20:14:39 <andythenorth> but I would use primitive shapes
20:14:45 <andythenorth> and test for overlap
20:14:57 <andythenorth> by comparing ranges of x and y co-ords
20:15:01 <Wolf01> me too, with rectangles i have the intersect functions
20:15:01 <andythenorth> on each frame
20:15:08 <andythenorth> oh easy then :)
20:15:14 <Wolf01> so, i can test on bounding boxes
20:15:21 <andythenorth> job done, no?
20:15:25 <Wolf01> maybe
20:15:42 <Wolf01> it's all easy when it's an idea
20:15:48 <andythenorth> if the shape is too big / complex for a single rectangle, more rectangles
20:15:58 <Wolf01> nah, i just have squares
20:16:11 <andythenorth> in flash I sometimes used to ‘optimise’ by not checking objects that were too far apart to collide
20:16:36 <frosch123> Wolf01: you may want to divide objects into moving ones and static ones
20:16:42 <andythenorth> it’s quite easy to calculate and cache that for n frames if your objects have predictable velocity
20:17:02 <andythenorth> oops
20:17:04 <Wolf01> frosch123, yes, the moving ones are the only which should check
20:17:05 <frosch123> put the static ones into an octree or similar to reduce the number of tests
20:17:11 <andythenorth> if I look like I know how to program, no-one will help me :o
20:17:18 * andythenorth thinks of dumb questions to ask
20:17:26 <andythenorth> octree, that’s a good word I don’t know
20:17:29 <andythenorth> proves I’m not proper
20:17:46 <frosch123> andythenorth: do you know what a binary tree is?
20:17:58 <andythenorth> unfortunately
20:18:33 <frosch123> if yes, then think of a binary tree as something one dimensional, a quadtree as the same in two dimensions, and an octree as the same in three dimensions
20:19:28 <andythenorth> makes sense
20:19:30 <Wolf01> also, i really need to reduce drastically the code duplication, i just started to develop using c# :P
20:22:19 *** fjb has quit IRC
20:57:46 <andythenorth> I won!!!
20:58:10 <andythenorth> time for a new game
20:59:08 <frosch123> my only customer :)
20:59:56 <andythenorth> GS is a neglected area
21:00:03 <andythenorth> if we had a new scenario format…
21:05:32 * andythenorth needs snow in tropic
21:05:37 <andythenorth> for Argentina / Chile
21:05:38 <andythenorth> :P
21:13:46 <andythenorth> what will I play next?
21:13:51 <andythenorth> FIRS Tropic Basic is boring
21:13:58 <andythenorth> I mean, I’ve improved it, but still boring
21:21:37 *** FLHerne has joined #openttd
21:26:38 <andythenorth> I could play NoCarGoal o_O
21:26:43 <andythenorth> I _could_ write a GS
21:26:48 <andythenorth> but then I’d have two problems :P
21:27:23 *** tipsyTentacle has quit IRC
21:37:13 <Wolf01> enough for today... i can draw multiple tiles and tiles with sub-tiles
21:37:52 <Wolf01> monday i could try to develop the collisions
21:37:59 <andythenorth> :)
21:38:24 *** sim-al2 has joined #openttd
21:39:10 <Wolf01> tiles with subtiles could be nasty, because they are the destroyable wall tiles and i need to check the bounding boxes of the sub tiles
21:41:19 <andythenorth> nah should be ok
21:41:28 <andythenorth> if I’ve understood you correctly
21:41:39 <andythenorth> “when I used to write flash games…”
21:42:04 <andythenorth> it’s reasonably common to check the (fast) bounding box of a large parent object
21:42:18 <andythenorth> and then iff collision detected, check the bb of subtiles
21:42:27 <andythenorth> or subobjects
21:43:26 <andythenorth> the interesting cases are when multiple moving objects collide with a destroyable or movable object :P
21:43:43 <andythenorth> at what point do you move or destroy the object? o_O
21:43:54 <andythenorth> after all the collisions, or whilst detecting?
21:44:42 <andythenorth> and if the movable objects have a trajectory, how do you calculate it when there are multiple collisions to sum the effect of? o_O
21:44:50 <andythenorth> assuming you don’t have ‘proper’ physics :P
21:45:49 <Wolf01> oh, i don't really need physics
21:46:04 <Wolf01> i just want the objects to stop or destroy on contact
21:46:28 <andythenorth> easy
21:46:40 <andythenorth> you can get a long way without physics anyway :D
21:46:51 <andythenorth> faking works well
21:46:59 * andythenorth wonders if the universe actually fakes it too
21:47:43 *** FLHerne has quit IRC
21:47:54 <Wolf01> if you think we might be a shadow of a 4th dimension object, all we can observe is fake
21:48:45 <andythenorth> plato’s cave
21:51:41 <Wolf01> yeah
21:56:35 <andythenorth> hmm
21:56:37 * andythenorth wonders
21:57:06 <andythenorth> is the FIRS Heart of Darkness economy actually just a nasty joke with racist underrtones?
21:57:53 <andythenorth> is it just bad taste?
21:57:57 <Wolf01> is it based on the book?
21:58:24 <andythenorth> kind of yes
21:58:25 <andythenorth> http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html#<economy.Economy%20object%20at%200x1545250>
21:58:33 <andythenorth> it’s based on the economy of congo
21:59:10 <Eddi|zuHause> that link is not properly encoded
21:59:13 <andythenorth> no
21:59:18 <andythenorth> I should fix that
22:00:00 *** sim-al2 is now known as Guest7194
22:00:01 *** sim-al2 has joined #openttd
22:00:05 <andythenorth> anyway http://bundles.openttdcoop.org/firs/push/LATEST/docs/html/economies.html
22:01:27 *** Guest7194 has quit IRC
22:02:35 *** Pensacola has quit IRC
22:04:19 <Wolf01> i think it reflects really well the spirit of the game
22:04:35 <andythenorth> colonial exploitation? o_O
22:06:50 <Wolf01> nah, just the interpretation of Mr. Conrad: if you let a man to obtain power, he will use it to become a destroyer trying to become a god
22:08:28 <Wolf01> if you want to become a god of transportation, you'll end up with a massive infrastructure and the map is no more what it was at the start of the game
22:13:13 <andythenorth> good words
22:14:35 <Wolf01> also i bet you don't give a fuck of the poor people you just bulldozed with their houses only to make some space to enlarge the station
22:14:38 <Wolf01> :)
22:16:55 <Wolf01> bah, lego ideas failed all the 2015 projects on the first review round :|
22:17:51 <Wolf01> too much intellectual property
22:20:29 <andythenorth> ha
22:21:11 <Wolf01> https://www.flickr.com/photos/123742960@N07/21987734663/ lovely
22:22:12 <Eddi|zuHause> so, what happened to "intellectual property increases the creativity"ß
22:22:13 <Eddi|zuHause> ?
22:22:51 <Eddi|zuHause> because, alledgedly, people get more creative with the prospect of owning property afterwards?
22:24:51 <Wolf01> i think the problem is another, lego awards creativity (or at least it should), but people do what they like more, and they like well done creativity of other people (which owns the property)
22:26:25 <Eddi|zuHause> yes, and that is the ultimate flaw of all the intellectual property legislation. it assumes a world where all creativity is unrelated, but in the real world, all creativity is based on other people's previous creativity. there is never something isolated or completely new.
22:26:45 <Wolf01> correct
22:29:49 <Wolf01> for example, i wanted to submit some creations to ideas, but none of them is really a new thing, all is based on the work of other people, i put my own changes but it's not enough
22:30:50 <Wolf01> also because creations from my own fantasy are a bit awful :P
22:39:18 *** FLHerne has joined #openttd
22:43:56 *** GenevaMode has joined #openttd
22:55:49 *** sla_ro|master has joined #openttd
23:15:47 *** sla_ro|master has quit IRC
23:17:20 *** frosch123 has quit IRC
23:26:55 *** andythenorth has left #openttd
23:29:49 *** Progman has quit IRC
23:30:15 *** DDR has joined #openttd