IRC logs for #openttd on OFTC at 2007-04-09
            
00:00:55 *** Progman has quit IRC
00:09:53 *** Rens2VB6 has quit IRC
00:31:30 *** setrodox_ has quit IRC
00:31:54 *** Nigel has joined #openttd
00:34:44 *** Nigel_ has quit IRC
00:57:54 *** Osai is now known as Osai^zZz
01:08:15 <CIA-2> OpenTTD: belugas * r9577 /trunk/src/ (industry.h table/build_industry.h):
01:08:15 <CIA-2> OpenTTD: -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet.
01:08:15 <CIA-2> OpenTTD: -Move the check proc array, in order to make it more useful latter.
01:08:15 <CIA-2> OpenTTD: -Add basic newGRF stuff on the industry spec. Not used yet.
01:14:45 <CIA-2> OpenTTD: belugas * r9578 /trunk/src/smallmap_gui.cpp: -Codechange: Cleanup of industry_cmd (Step-10). Use industry's spec map_colour for smallmap industry color code drawing
01:28:41 *** GoneWacko has quit IRC
01:43:33 <CIA-2> OpenTTD: belugas * r9579 /trunk/src/ (industry_cmd.cpp table/build_industry.h): -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation.
02:10:55 *** Morphy has quit IRC
02:16:25 *** glx has quit IRC
02:31:21 *** Eddi|zuHause3 has joined #openttd
02:32:51 *** Sacro has quit IRC
02:37:50 *** Eddi|zuHause2 has quit IRC
03:08:58 *** Osai^zZz has quit IRC
04:03:05 *** KisseMiss has quit IRC
04:17:14 *** nairan has quit IRC
05:06:55 *** setrodox has joined #openttd
06:09:30 *** nairan has joined #openttd
06:58:06 *** TinoM has joined #openttd
07:04:04 *** Nigel_ has joined #openttd
07:06:29 *** Nigel has quit IRC
07:30:50 *** Osai^zZz has joined #openttd
07:43:23 *** TinoM has quit IRC
07:51:10 *** KUDr_wrk has quit IRC
07:52:25 *** KUDr_wrk has joined #openttd
08:06:54 *** Wolf01 has joined #openttd
08:07:05 <Wolf01> hello
08:11:01 *** MUcht has joined #openttd
08:12:47 *** Mucht_ has quit IRC
08:21:20 *** helb has quit IRC
08:23:54 *** helb has joined #openttd
08:28:00 *** Osai^zZz is now known as Osai
08:36:33 *** Purno has joined #openttd
08:43:43 *** XeryusTC has joined #openttd
08:55:21 *** helb has quit IRC
08:57:25 *** helb has joined #openttd
09:00:29 *** Peakki has joined #openttd
09:00:45 *** Progman has joined #openttd
09:15:11 *** valhallasw has quit IRC
09:26:53 *** mikk36[EST] is now known as mikk36
09:33:53 *** DJ_Mirage has joined #openttd
09:40:20 *** green-devil has joined #openttd
09:44:24 *** green-devil has quit IRC
09:45:52 *** antichaos has joined #openttd
09:48:29 *** green-devil has joined #openttd
09:56:43 *** setrodox_ has joined #openttd
10:02:10 *** setrodox has quit IRC
10:02:23 *** Rens2Sea has joined #openttd
10:07:54 *** axii_ has joined #openttd
10:11:44 *** axii has quit IRC
10:11:51 *** axii_ is now known as axii
10:13:15 *** PandaMojo_ has joined #openttd
10:16:00 <Wolf01> stupid steel mill
10:16:18 <TrueBrain> slap it!
10:16:42 <Wolf01> i built a station, sent some trains, as soon the first train with iron ore is arrived, it is disappeared
10:18:07 <mikegrb> hehehe
10:18:17 <mikegrb> it tricked you good!
10:18:26 <TrueBrain> it is the magic "look, now it disappeared" trick
10:18:28 <TrueBrain> don't you like it?
10:18:30 *** PandaMojo has quit IRC
10:18:42 *** PandaMojo_ is now known as PandaMojo
10:20:07 <Wolf01> yes i like it, specially on 2048 map with low industries
10:25:29 <Wolf01> let's try with another steel mill... 500 tiles away
10:37:29 *** green-devil has quit IRC
10:39:41 <Eddi|zuHause3> good ;)
10:39:42 <Eddi|zuHause3> ****
10:41:27 *** green-devil has joined #openttd
10:45:04 *** green-devil has quit IRC
10:49:32 *** green-devil has joined #openttd
10:53:26 *** scia has joined #openttd
11:17:43 *** BJH2 has joined #openttd
11:28:18 *** GoneWacko has joined #openttd
11:37:58 *** Frostregen has quit IRC
11:53:11 *** Peakki has quit IRC
11:53:30 *** Thomas[NL] has joined #openttd
11:54:15 <Thomas[NL]> I compiled openttd 0.5, is there a way to remove all the source files? make clean doesn't work :(
11:55:13 <Wolf01> make clean removes the .o files only
11:55:37 <Wolf01> you can always delete the source folder by hand
11:56:36 <Thomas[NL]> ok ty
12:03:49 *** setrodox_ has quit IRC
12:04:25 <Eddi|zuHause3> 0.5 does not use the new folder structure
12:04:55 <Eddi|zuHause3> so it's not as easy to get rid of all source files
12:06:03 <Wolf01> before the makefile rewrite i used to have a folder called trunk where i put all the sources, and a folder called game where make install put the compiled game
12:06:05 <Ammler> Eddi|zuHause3: why not use the new structure with 5.1?
12:06:28 <Wolf01> who knows what 5.1 will use?
12:06:32 <Wolf01> :D
12:06:33 <Eddi|zuHause3> because it is too much of a change... new features oly in 0.6
12:06:46 <Eddi|zuHause3> *only
12:09:06 <Ammler> Really? Was that difficult to change?
12:09:49 <Wolf01> that was a pain :P
12:10:47 <Ammler> Wolf01: how to change the bin directory?
12:11:25 <Wolf01> with pre-makefile rewrite?
12:11:39 <Ammler> I supposed with configure?
12:12:42 <Ammler> how did you the splic concret?
12:12:48 <Ammler> split
12:13:29 <Wolf01> with pre-makefile i changed the makefile directly, now i use the default
12:45:51 *** glx has joined #openttd
12:45:51 *** ChanServ sets mode: +v glx
12:47:18 *** Peakki has joined #openttd
12:50:16 *** Sacro has joined #openttd
12:55:50 *** Edik has joined #openttd
13:05:20 *** Eddi|zuHause3 has quit IRC
13:06:21 *** Eddi|zuHause has joined #openttd
13:09:34 *** PandaMojo_ has joined #openttd
13:14:30 *** PandaMojo has quit IRC
13:14:32 *** PandaMojo_ is now known as PandaMojo
13:17:19 *** antichaos has quit IRC
13:21:00 <Belugas> hello there
13:21:59 *** Ammler has quit IRC
13:22:22 *** Ammler has joined #openttd
13:23:01 *** Frostregen has joined #openttd
13:23:06 <Belugas> Wolf01, i worked on your previous patch. Just one little correction needed, codewise
13:23:31 <Wolf01> hi Belugas
13:23:36 <Wolf01> tell me about it
13:23:49 *** Thomas[NL] has quit IRC
13:24:09 <Belugas> i think i will change all the calls to AddSortableSpriteToDraw to be conform all around the code
13:24:46 <Wolf01> why?
13:25:03 <Wolf01> is already conformed
13:25:07 <Belugas> AddSortableSpriteToDraw(SPR_STATUE_COMPANY, PLAYER_SPRITE_COLOR(GetTileOwner(ti->tile)), ti->x, ti->y, 16, 16, 25, ti->z, HASBIT(_transparent_opt, TO_STRUCTURES));
13:25:10 *** Morphy has joined #openttd
13:25:12 <Belugas> is not the same as
13:25:21 *** Ammler has quit IRC
13:25:35 <Belugas> AddSortableSpriteToDraw(
13:25:35 <Belugas> dtus->image, PAL_NONE, ti->x | dtus->subcoord_x, ti->y | dtus->subcoord_y,
13:25:35 <Belugas> dtus->width, dtus->height, dtus->z_size, ti->z,
13:25:35 <Belugas> HASBIT(_transparent_opt, TO_STRUCTURES)
13:25:37 *** Ammler has joined #openttd
13:25:51 <Wolf01> oh, you meant that
13:25:58 <Belugas> the stuff i corrected was
13:25:59 <Wolf01> yes, no problem
13:26:09 <Belugas> in vehicle.cpp :
13:26:17 <Belugas> + v->sprite_width, v->sprite_height, v->z_height, v->z_pos, v->vehstatus & VS_SHADOW);
13:26:20 <Belugas> should be
13:26:31 <Belugas> + v->sprite_width, v->sprite_height, v->z_height, v->z_pos, (v->vehstatus & VS_SHADOW) != 0);
13:26:40 <Belugas> since the parameter is bool
13:26:44 <Wolf01> the last parameter is optional
13:26:50 <Belugas> msvc does not like it
13:26:50 <Wolf01> is default false
13:26:57 <Wolf01> oh, ok
13:27:08 *** PandaMojo_ has joined #openttd
13:27:09 <Belugas> so, making it a boolean result pleases him
13:27:27 <Belugas> as for the rest, it was fine :)
13:27:40 <Belugas> from a quick glance, that is...
13:28:11 <Wolf01> any idea of when the patch with the fixes will be applied?
13:29:12 <Wolf01> some of the bug present in trunk vanify half of the work
13:30:10 <Maedhros> vanify?
13:30:43 <Maedhros> btw, will this fix the station signs changing colour when making the station transparent but not the sign background?
13:30:54 <Wolf01> waste
13:31:01 <Wolf01> yes
13:31:07 <Maedhros> cool :)
13:31:18 <Belugas> soon, Wolf01. Give me 2-3 days
13:31:30 *** PandaMojo has quit IRC
13:31:34 *** PandaMojo_ is now known as PandaMojo
13:31:49 <Belugas> unless someone has more free time than me ;)
13:32:00 <Wolf01> :)
13:32:20 <Belugas> and Smoky555 found the same problem as me, but did not find the sulution ;)
14:16:06 *** setrodox has joined #openttd
14:19:10 *** Peakki has quit IRC
14:47:15 *** Sacro has quit IRC
14:53:17 *** Sacro has joined #openttd
14:56:24 *** axii has quit IRC
15:01:43 *** Sacro_ has joined #openttd
15:01:44 *** Sacro has quit IRC
15:02:16 *** Sacro_ is now known as Sacro
15:02:23 <Cipri> Where can I post feature requests? On the bugs.openttd.com site?
15:03:19 <Sacro> Cipri: can do, or in here
15:05:14 <Cipri> It's such a tiny tiny thing. Could the password-dialog on network games /please/ be centered? ^.^ I got a huge screen, and it's always way way up in a corner somewhere :)
15:06:32 <CIA-2> OpenTTD: belugas * r9580 /trunk/src/ (viewport.cpp win32.cpp window.cpp): -Documentation: Correction of doxygen function declarations
15:08:19 <Eddi|zuHause> Cipri: the gui system does not like such things ;)
15:08:44 <Sacro> the gui system is a mess
15:09:02 <Cipri> 12 year old code's a bitch, eh? ;)
15:09:21 <Sacro> yeah
15:09:40 <Eddi|zuHause> it's probably worse than 'just' 12 year old code
15:10:28 <Eddi|zuHause> there was an attempt to rewrite it, but i don't know how far that got
15:11:14 <Cipri> Darn. Would it then be possible to have te password get specified on the command line instead?
15:11:23 <Sacro> how insecure
15:11:33 *** glx has quit IRC
15:11:56 <Sacro> Cipri: personally, i wouldn't want people pressing up, enter, to access my passworded game
15:12:27 <Maedhros> or `ps`
15:12:49 <Sacro> Maedhros: i didn't think of that
15:16:41 *** glx has joined #openttd
15:16:41 *** ChanServ sets mode: +v glx
15:18:33 *** Edik has quit IRC
15:20:37 *** McHawk has joined #openttd
15:55:36 *** Ammler has quit IRC
15:57:40 *** Sacro has quit IRC
16:03:21 *** mggrant has joined #openttd
16:03:52 *** Sacro has joined #openttd
16:21:07 *** Ammler has joined #openttd
16:22:54 *** tokai has quit IRC
16:24:46 *** tokai has joined #openttd
16:24:46 *** ChanServ sets mode: +v tokai
16:34:44 *** TronBSD has joined #openttd
16:34:45 *** roboboy has quit IRC
16:36:17 *** Tron_ has quit IRC
16:40:32 *** helb has quit IRC
16:43:04 *** helb has joined #openttd
16:43:45 *** lolman has joined #openttd
16:46:52 *** scia has quit IRC
16:54:35 *** Wolf01 is now known as Wolf01|AWAY
16:56:20 <peter1138> hmm
16:58:44 <lolman> Ello all :)
17:12:00 *** Ammler has quit IRC
17:12:58 <Sacro> oh noes
17:13:03 <lolman> Indeed
17:15:41 *** setrodox_ has joined #openttd
17:22:05 *** setrodox has quit IRC
17:57:16 *** boekabart has joined #openttd
18:01:02 *** GoneWacko has quit IRC
18:16:45 *** egladil has quit IRC
18:18:29 *** egladil has joined #openttd
18:22:34 *** Commie_Si has joined #openttd
18:27:03 *** valhallasw has joined #openttd
18:27:38 *** valhallasw has left #openttd
18:28:43 *** valhallasw has joined #openttd
18:33:06 *** Peakki has joined #openttd
18:36:27 *** GoneWacko has joined #openttd
18:43:48 *** lolman has quit IRC
18:50:49 *** egladil has quit IRC
18:52:05 *** egladil has joined #openttd
19:00:24 *** KritiK has joined #openttd
19:11:11 *** GoneWacko has quit IRC
19:12:00 *** GoneWacko has joined #openttd
19:15:52 *** Wolf01|AWAY is now known as Wolf01
19:20:54 *** boekabart has quit IRC
19:28:19 *** willister has joined #openttd
19:28:39 <Ailure> heh
19:28:41 <Ailure> just realised
19:28:48 <Ailure> the climate selection in main menu is very reduant ;)
19:29:04 <Wolf01> yeah
19:29:11 <Wolf01> the map size too
19:29:36 <willister> Anyone able to help with a quick programming question?
19:29:55 <Wolf01> i made a new gui without climate selection and divided the buttons by their job
19:30:47 <willister> I'm wanting to find out who the local authority is, for a perticular tile. Can't seen to find a function to tell me
19:31:36 <Wolf01> try with the ? tool
19:31:52 <willister> :) I mean within the source
19:32:17 <Wolf01> see the ? tool code :D
19:33:44 *** Ammler has joined #openttd
19:34:07 *** Purno has quit IRC
19:34:12 <willister> :-P Another hard one to find
19:34:27 <willister> There is a lot of code to get to grips with
19:36:19 <Wolf01> are you trying to code an AI?
19:36:53 <willister> mhm
19:37:24 <willister> I've got a search for the ends of roads in a town going, but its recursive.
19:37:41 <Eddi|zuHause> Wolf01: i think the decision was to not remove the climate buttons, because they make up a characteristic look
19:38:03 <willister> if i dont know if a tile is owned by the town, it keeps searching along all connected roads :D
19:38:10 <willister> causes a few problems, that does
19:38:13 <Wolf01> i didn't remove them, just disabled :D
19:38:31 <Wolf01> and moved to a different location
19:39:48 <Wolf01> http://wolf01.game-host.org/OTTD_related/main_menu.PNG do you like it?
19:41:33 <peter1138> no
19:41:36 <peter1138> urgh :p
19:41:41 <Wolf01> :)
19:42:13 <Belugas> willister : try tile.h:76 -> GetTileOwner
19:42:33 <MiHaMiX> Wolf01: i don't like it, too :-(
19:43:01 <Wolf01> don't bother, is for my personal use :P
19:43:22 <ln-> Wolf01: me neither, sorry.. it's somehow as elegant as a soviet truck from the 70's.
19:43:43 <willister> reading the infomation, I'd thought that was just for player owners, does it also return local authority?
19:43:54 <Belugas> local authority is town ;)
19:44:27 <willister> Ta, I'll test out that.
19:49:21 *** willisterman has joined #openttd
19:50:36 *** Ammller has joined #openttd
19:50:49 *** Ammler has quit IRC
19:50:59 *** willister has quit IRC
19:54:58 <Belugas> willisterman, sorry, i gave you false information...
19:55:25 <willisterman> mhm, testing now. the owner changes if i demolish and rebuild the road
19:55:42 <willisterman> but using the tool, the local authority does
19:55:51 <willisterman> doesnt*
19:56:15 <Belugas> you have to look for town_map.h:17 GetTownIndex once you know that the tile is a road...
19:56:34 <Rubidium> Belugas: that won't work either
19:56:36 <Belugas> but all in all, it will point out to the right information
19:58:01 <Rubidium> ClosestTownFromTile(<tile>, _patches.dist_local_authority) is what he looks for
19:59:15 <willisterman> Where is that?
19:59:17 <Rubidium> one note: that function is O(number of towns)
19:59:39 *** Thomas[NL] has joined #openttd
20:00:21 <willisterman> ah, it was in town
20:00:24 <willisterman> silly me
20:00:31 <willisterman> expected map or tile
20:05:31 *** Ammlller has joined #openttd
20:05:37 *** willister has joined #openttd
20:06:00 <willister> so if there is a super metropolis, that would return the correct owner, for all parts of the town?
20:06:42 <willister> looking at the code, if there were a small town beside it, wouldnt some of the metropolis be classed as the small town?
20:06:50 *** willisterman has quit IRC
20:07:56 <Rubidium> for empty ground that could be, but in that case the empty ground belongs to the authority of the small town even when it is enclosed by buildings of the metropolis
20:08:20 *** Ammller has quit IRC
20:08:51 <willister> :) thats good enough for my needs. Thanks
20:08:55 <Rubidium> that function is used to determine the local authority when doing the local authority checks
20:14:30 <ln-> who is the leader?
20:15:04 *** willister has quit IRC
20:15:43 <Belugas> the one who does not follow
20:15:58 <Belugas> you are right Rubidium
20:17:20 *** Ammlller is now known as Ammler
20:17:41 *** willister has joined #openttd
20:23:39 *** willisterman has joined #openttd
20:23:48 *** willister has quit IRC
20:25:16 *** antichaos has joined #openttd
20:26:59 *** Thomas[NL] has quit IRC
20:27:08 *** willisterman has left #openttd
20:36:59 <peter1138> and the bulge in my big big big big big ...
20:38:30 <Wolf01> head?
20:45:03 *** Nigel_ is now known as Nigel
20:46:07 <Belugas> TIME
20:46:11 <Belugas> to go
20:46:13 <Belugas> bye
20:59:22 <Wolf01> tomorrow back to work, night guys
20:59:28 *** Wolf01 has quit IRC
21:06:14 *** Thomas[NL] has joined #openttd
21:19:51 *** nairan has quit IRC
21:21:36 *** PandaMojo_ has joined #openttd
21:27:30 *** PandaMojo has quit IRC
21:27:32 *** PandaMojo_ is now known as PandaMojo
21:28:00 *** setrodox has joined #openttd
21:35:05 *** setrodox_ has quit IRC
21:35:16 *** Commie_Si has quit IRC
21:35:32 *** PandaMojo_ has joined #openttd
21:35:49 *** helb has quit IRC
21:36:28 *** helb has joined #openttd
21:39:45 *** Thomas[NL] has quit IRC
21:40:30 *** PandaMojo has quit IRC
21:40:30 *** PandaMojo_ is now known as PandaMojo
21:55:25 *** Rens2Sea has quit IRC
22:02:23 *** BJH2 has quit IRC
22:03:46 *** dihedral has joined #openttd
22:03:59 <dihedral> hello Belugas
22:05:03 <glx> he's gone
22:05:09 <dihedral> ah - ok
22:05:13 <dihedral> thanks
22:05:38 <dihedral> what a shame
22:05:46 <dihedral> well then
22:05:52 <dihedral> hoppy easter to you all
22:06:00 <dihedral> i shall hit the rack
22:06:17 <glx> he's in Quebec
22:06:17 <dihedral> night
22:06:27 <dihedral> do you know when he is back?
22:06:42 <glx> maybe later tonight
22:07:04 <dihedral> i shall send him an email - that should do the trick :-)
22:07:09 <dihedral> cheers
22:07:12 <dihedral> night
22:07:34 *** dihedral has quit IRC
22:10:15 <ln-> ain't it Québec
22:10:26 *** XeryusTC has quit IRC
22:13:54 *** Ammller has joined #openttd
22:14:31 *** Progman has quit IRC
22:19:04 *** Peakki has quit IRC
22:19:08 *** Ammler has quit IRC
22:21:05 *** Rexxars has quit IRC
22:25:49 *** Sacro has quit IRC
22:26:57 *** Ammller is now known as Ammler_away
22:33:10 *** Ammler_away has quit IRC
22:33:31 *** Ammler has joined #openttd
22:36:23 *** Ammler has quit IRC
22:38:01 *** Sacro has joined #openttd
22:45:29 *** Cipri has quit IRC
22:59:38 *** antichaos has quit IRC
23:15:17 *** Sacro_ has joined #openttd
23:15:49 *** Sacro has quit IRC
23:18:13 *** Sacro_ has quit IRC
23:22:27 *** Sacro has joined #openttd