Back to Home / #openttd / 2009 / 09 / Prev Day | Next Day
#openttd IRC Logs for 2009-09-22

---Logopened Tue Sep 22 00:00:54 2009
00:02-!-Westie [~westie@westie-cat.co.uk] has joined #openttd
00:11-!-R0b0t1 [~Enigma@64-136-216-213.dyn.everestkc.net] has quit [Remote host closed the connection]
00:27-!-Zorn [~zorn@e177230065.adsl.alicedsl.de] has joined #openttd
00:34-!-Zorni [~zorn@e177238030.adsl.alicedsl.de] has quit [Ping timeout: 480 seconds]
01:05-!-stoyanov [~stoyanov@213.138.71.254] has joined #openttd
01:09-!-stoyanov [~stoyanov@213.138.71.254] has left #openttd []
02:01-!-zodttd [~me@user-0c90n1c.cable.mindspring.com] has quit [Ping timeout: 480 seconds]
02:07-!-Azrael- [~azraeluk@cpc1-papw2-0-0-cust1013.cmbg.cable.ntl.com] has joined #openttd
02:34-!-Terkhen [~terkhen@150.214.220.118] has joined #openttd
02:35<Terkhen>good morning
02:41-!-Muxy [~Benoit@smtp.bdelalande.net] has joined #openttd
02:42<dihedral>morning
02:43<Muxy>Goulp Kiss !
02:44*dihedral slaps Muxy
02:45*Muxy thanks slaper
02:45*dihedral extends ignore list :-P
02:46<dihedral>nah - just kidding
02:46*Muxy likes to be in fan lists :p
02:47-!-Azrael- [~azraeluk@cpc1-papw2-0-0-cust1013.cmbg.cable.ntl.com] has quit [Quit: The opinions that are held with passion are always those for which no good ground exists; indeed the passion is the measure of the holder’s lack of ration]
03:07-!-DaleStan_ [~Dale@c-98-223-231-173.hsd1.in.comcast.net] has joined #openttd
03:07-!-DaleStan is now known as Guest3275
03:07-!-DaleStan_ is now known as DaleStan
03:09-!-Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has joined #openttd
03:09-!-DaleStan [~Dale@c-98-223-231-173.hsd1.in.comcast.net] has quit []
03:09-!-Guest3275 [~Dale@98.223.108.117] has quit [Read error: No route to host]
03:12-!-DaleStan [~Dale@98.223.108.117] has joined #openttd
03:13-!-Terkhen [~terkhen@150.214.220.118] has quit [Quit: ...]
03:17-!-Polygon [~Poly@x0581b.wh7.tu-dresden.de] has joined #openttd
03:24-!-nicfer [~Usuario@168.226.104.47] has quit [Read error: Connection reset by peer]
03:33-!-[alt]buster [~Combuster@82-171-220-59.ip.telfort.nl] has joined #openttd
03:33-!-[com]buster [~Combuster@82-171-220-59.ip.telfort.nl] has quit [Read error: Connection reset by peer]
03:46-!-Terkhen [~terkhen@66.68.220.87.dynamic.jazztel.es] has joined #openttd
03:54-!-Aankhen`` [~hey.squid@122.162.160.132] has joined #openttd
04:04-!-zodttd [~me@user-0c90n1c.cable.mindspring.com] has joined #openttd
04:09-!-Xaroth [~Xaroth@86.92.135.101] has quit [Quit: leaving]
04:10-!-Xaroth [~Xaroth@86.92.135.101] has joined #openttd
04:39-!-Zahl [~Zahl@f051236201.adsl.alicedsl.de] has joined #openttd
04:55-!-DaleStan_ [~Dale@98.223.108.117] has joined #openttd
04:55-!-DaleStan is now known as Guest3282
04:55-!-DaleStan_ is now known as DaleStan
04:55-!-[alt]buster [~Combuster@82-171-220-59.ip.telfort.nl] has quit [Read error: Connection reset by peer]
04:56-!-[com]buster [~Combuster@82-171-220-59.ip.telfort.nl] has joined #openttd
05:00-!-Guest3282 [~Dale@98.223.108.117] has quit [Ping timeout: 480 seconds]
05:15-!-Progman [~progman@p57A1C6E1.dip.t-dialin.net] has joined #openttd
05:21-!-crakinshot [938f4919@webchat.mibbit.com] has joined #openttd
05:25<crakinshot>Morning. :)
05:26-!-FloSoft [bouncer@tyra.ra-doersch.de] has quit [Remote host closed the connection]
05:27-!-FloSoft [bouncer@tyra.ra-doersch.de] has joined #openttd
05:37-!-oskari89 [oskari89@212-149-207-211.bb.dnainternet.fi] has joined #openttd
05:50<Yexo>good morning
05:50<@Rubidium>good (almost) afternoon :)
05:54-!-Chris_Booth [~Chris_Boo@82-32-243-15.cable.ubr11.newt.blueyonder.co.uk] has joined #openttd
05:57-!-[alt]buster [~Combuster@82-171-220-59.ip.telfort.nl] has joined #openttd
05:57-!-[com]buster [~Combuster@82-171-220-59.ip.telfort.nl] has quit [Read error: Connection reset by peer]
06:19-!-Fuco [~dota.keys@fuco.sks3.muni.cz] has joined #openttd
06:22-!-fjb_ [~frank@p5485FB1B.dip.t-dialin.net] has joined #openttd
06:29-!-fjb [~frank@p5485BB15.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
06:33-!-Lordnokon [~thefiler0@dsl-240-151-50.telkomadsl.co.za] has joined #openttd
06:35<crakinshot>have a slight file problem. I need rail_map.h to link to signalex_map.h, but then signalex_map.h already includes rail_map.h. :(
06:35<crakinshot>so I've made some unsafe bit access functions in a signalex_func.h and get railmap.h to use that instead
06:37<crakinshot>but not safe access, as it doesn't have checks
06:39-!-[com]buster [~Combuster@82-171-220-59.ip.telfort.nl] has joined #openttd
06:39-!-[alt]buster [~Combuster@82-171-220-59.ip.telfort.nl] has quit [Read error: Connection reset by peer]
06:49-!-Lordnokon [~thefiler0@dsl-240-151-50.telkomadsl.co.za] has quit [Ping timeout: 480 seconds]
07:01<Eddi|zuHause>you're probably doing something wrong
07:02<crakinshot>more than likely
07:02<crakinshot>the main problem is that signalex_map.h functions use rail_map.h functions to check the tile types
07:03<crakinshot>I guess I could put my map altering functions in rail_map.h rather then a seperate file
07:04-!-KenjiE20 [~KenjiE20@92.22.74.116] has joined #openttd
07:07<Yexo>why does rail_map.h need to include signalex_map.h?
07:10<CIA-4>OpenTTD: yexo * r17609 /trunk/src/ai/ai_info.cpp: -Fix: the dummy AI had no API version set, causing the 'API compatibility script not found' error to be printed when loading it
07:11-!-[com]buster [~Combuster@82-171-220-59.ip.telfort.nl] has quit [Ping timeout: 480 seconds]
07:23-!-Lordnokon [~thefiler0@dsl-240-151-50.telkomadsl.co.za] has joined #openttd
07:24-!-Lordnokon [~thefiler0@dsl-240-151-50.telkomadsl.co.za] has quit []
07:26<crakinshot>I need to put in some new code in the tile access functions
07:26<crakinshot>if the signal has been extended then all access to the m2 variable is rerouted to a pool item
07:27-!-fjb_ is now known as fjb
07:29<crakinshot>so the rail_map.h functions need the functions to check if the signal is extended.
07:30<crakinshot>I'll just put the bit handlers in the rail_map.h file rather than seperate them
07:31<@Rubidium>have you thought at all about performance impacts?
07:31-!-HerzogDeXtEr1 [~Flex@88.130.179.2] has joined #openttd
07:36<crakinshot>yeah, somewhat. So long as we're talking 1 bit from one variable it shouldn't have much impact with the normal signals
07:36<crakinshot>there are two choices really, you use up all the remaining free bits of the tile (signals)
07:37<crakinshot>or you move m2 out into a pool item if the signal tile has been extended
07:38<crakinshot>with that option, it would cost 1 GetBit and one If condition
07:38-!-HerzogDeXtEr [~Flex@89.246.183.51] has quit [Ping timeout: 480 seconds]
07:38<crakinshot>for all tile accesses (RailwithSignal)
07:38<crakinshot>then you'd handle the two cases on how to access the m2 data.
07:39<crakinshot>the first being as before
07:39<crakinshot>and second grabbing the pool item and accessing the m2 variable from there
07:40<crakinshot>in theory if extended signals are not being used, then the added cost is simply that GB and if statement
07:40-!-Lordnokon [~thefiler0@dsl-240-151-50.telkomadsl.co.za] has joined #openttd
07:41<Lordnokon>hi people
07:41<Yexo>hello Lordnokon
07:42-!-Lordnokon [~thefiler0@dsl-240-151-50.telkomadsl.co.za] has quit [Read error: Connection reset by peer]
07:45<@SmatZ>bye Lordnokon
07:48<crakinshot>lol
07:52-!-Coco-Banana-Man [~Stephan.D@p5B2DEA2B.dip.t-dialin.net] has joined #openttd
07:55<Eddi|zuHause>where the heck ist .za?
07:55<Eddi|zuHause>-t
07:56<@Rubidium>http://en.wikipedia.org/wiki/.za ?
07:57-!-glx [glx@2a01:e35:2f59:c7c0:cd67:4930:baea:8f6e] has joined #openttd
07:57-!-mode/#openttd [+v glx] by ChanServ
08:06<Eddi|zuHause>oh.. so it's the crazy dutch people's fault...
08:09<@Rubidium>partly
08:09<@Rubidium>also the Saudi's fault
08:15-!-tux_mark_5 [~kvirc@lan-84-240-29-163.vln.skynet.lt] has joined #openttd
08:23<Eddi|zuHause>Sau die arabische...
08:24<Eddi|zuHause>(i don't think that translates correctly :p)
08:27<FauxFaux>Sauce dies arbitarily?
08:28-!-zodttd [~me@user-0c90n1c.cable.mindspring.com] has quit [Read error: Operation timed out]
08:29<Eddi|zuHause>yeah, something like that :p
08:31<CIA-4>OpenTTD: rubidium * r17610 /branches/0.7/src/company_cmd.cpp: [0.7] -Fix [FS#3227] (r17302): reloading an AI caused reading and later freeing of already freed memory
08:43<CIA-4>OpenTTD: smatz * r17611 /trunk/src/ (company_cmd.cpp strings_type.h town_cmd.cpp): -Fix: buffers used for verifying company and president name length were too short, possibly causing false positives
08:50-!-mark [~mark@5ED06D96.cable.ziggo.nl] has joined #openttd
09:06-!-Belugas [~belugas@216.191.111.238] has joined #openttd
09:06-!-mode/#openttd [+o Belugas] by ChanServ
09:06-!-Yexo_ [~Yexo@32-88-ftth.onsneteindhoven.nl] has joined #openttd
09:06-!-Yexo is now known as Guest3300
09:06-!-Yexo_ is now known as Yexo
09:06<@Belugas>hello
09:10<_ln>said Belugas
09:13-!-Guest3300 [~Yexo@32-88-ftth.onsneteindhoven.nl] has quit [Ping timeout: 480 seconds]
09:16-!-_ln [~lanurmi@dyn-xdsl-83-150-113-243.nebulazone.fi] has quit [Remote host closed the connection]
09:23-!-Lakie [~Lakie@91.84.251.149] has joined #openttd
09:39<crakinshot>well fixed the problem with 2 files needing each other start static inline functions
09:47-!-lewymati [~lewymati@aeje73.neoplus.adsl.tpnet.pl] has joined #openttd
09:55<CIA-4>OpenTTD: smatz * r17612 /trunk/ (12 files in 4 dirs): -Feature: possibility to choose (randomise or enter custom) town name before its creation (original patch by Terkhen)
09:59<Terkhen>great :)
09:59<@SmatZ>gratz ;)
09:59*Terkhen reads the changeset
10:03<Terkhen>the final code is way cleaner :P
10:03<@Belugas>that's the work of a dev :)
10:04<@SmatZ>:)
10:07<@Belugas>keep on practicing, Terkhen
10:07-!-asilv [~as@h-62-142-160-55.joensuunelli.fi] has joined #openttd
10:11-!-Doorslammer [Doorslamme@PIPP-p-203-54-229-93.prem.tmns.net.au] has joined #openttd
10:12<Terkhen>I will ;)
10:40-!-Grelouk [~Grelouk@51.139.88-79.rev.gaoland.net] has joined #openttd
10:47-!-Grelouk_ [~Grelouk@51.139.88-79.rev.gaoland.net] has joined #openttd
10:48-!-Terkhen [~terkhen@66.68.220.87.dynamic.jazztel.es] has quit [Quit: ...]
10:52-!-Grelouk [~Grelouk@51.139.88-79.rev.gaoland.net] has quit [Ping timeout: 480 seconds]
10:59-!-DaleStan [~Dale@98.223.108.117] has quit [Read error: Connection reset by peer]
10:59-!-DaleStan [~Dale@98.223.108.117] has joined #openttd
11:02<crakinshot>hmm, this is more difficult that I thought it would be. 2 files that need each other, but a problem because of statlic inline functions
11:03-!-Doorslammer [Doorslamme@PIPP-p-203-54-229-93.prem.tmns.net.au] has quit [Ping timeout: 480 seconds]
11:03<crakinshot>static inline *have* to be defined in the header, correct? If they are defined in a cpp file then the compiler won't inline them? Or something like that.
11:04-!-Doorslammer [Doorslamme@PIPP-p-203-54-229-148.prem.tmns.net.au] has joined #openttd
11:05<@SmatZ>no
11:05<@SmatZ>compiler doesn't even know where the code originally was after preprocessor run
11:06-!-Fast2 [~Fast2@p57AF9D38.dip0.t-ipconnect.de] has joined #openttd
11:06<@SmatZ>(basically... it does know it because of comments in preprocessed file)
11:07<@SmatZ>so it can generate debug info, useful error/warning messages and things...
11:07<@SmatZ>lower warning level for system headers...
11:10-!-mark__ [~mark@5ED06D96.cable.ziggo.nl] has joined #openttd
11:10-!-mark__ [~mark@5ED06D96.cable.ziggo.nl] has quit [Remote host closed the connection]
11:11<crakinshot>hmm so I can put the declaration in a header and the definition in a cpp and it'll still be inlined?
11:11<crakinshot>looked up on google, seems to suggest you can
11:13-!-frosch123 [~frosch@frnk-590fd6ab.pool.mediaWays.net] has joined #openttd
11:13<Eddi|zuHause>but it'll only use it within that .cpp file, not any other .cpp file that includes the header
11:14-!-mark [~mark@5ED06D96.cable.ziggo.nl] has quit [Quit: Ex-Chat]
11:16-!-Audigex [~audigex@89.241.63.26] has joined #openttd
11:16-!-mark [~mark@5ED06D96.cable.ziggo.nl] has joined #openttd
11:17<crakinshot>a really ball ache
11:18<crakinshot>i either still everything in railmap.h or use non-inlined functions
11:18<crakinshot>*stick
11:34-!-elmex_ [elmex@ist.m8geil.de] has joined #openttd
11:35-!-elmex [elmex@ist.m8geil.de] has quit [Read error: Connection reset by peer]
11:36-!-elmex_ is now known as elmex
11:39-!-Progman [~progman@p57A1C6E1.dip.t-dialin.net] has quit [Remote host closed the connection]
11:40-!-crakinshot [938f4919@webchat.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
12:04-!-Terkhen [~terkhen@66.68.220.87.dynamic.jazztel.es] has joined #openttd
12:08-!-lewymati [~lewymati@aeje73.neoplus.adsl.tpnet.pl] has quit []
12:12-!-|Jeroen| [~jeroen@94-224-31-113.access.telenet.be] has joined #openttd
12:32-!-Terkhen [~terkhen@66.68.220.87.dynamic.jazztel.es] has quit [Quit: ...]
12:39-!-Fast2 [~Fast2@p57AF9D38.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
12:40-!-Terkhen [~terkhen@66.68.220.87.dynamic.jazztel.es] has joined #openttd
12:44-!-Azrael- [~azraeluk@cpc1-papw2-0-0-cust1013.cmbg.cable.ntl.com] has joined #openttd
12:48-!-ecke [~ecke@188.75.128.2] has joined #openttd
12:57-!-Audigex [~audigex@89.241.63.26] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.0.14/2009082707]]
13:02-!-welsh [~markjones@147.143.254.214] has joined #openttd
13:02-!-Dreamxtreme [~chatzilla@93-97-81-59.zone5.bethere.co.uk] has quit [Read error: Connection reset by peer]
13:05<Terkhen>SmatZ: there is a bug: when you set a custom town name the town sign is not correctly updated
13:06<Terkhen>http://paste.openttd.org/216984
13:08-!-FR^2 [~frquadrat@frquadrat.de] has joined #openttd
13:08<Eddi|zuHause>hmm, when you use the cursor keys, i have the feeling that scrolling up/down is faster than scrolling left/right
13:09-!-Zorni [~zorn@g224016214.adsl.alicedsl.de] has joined #openttd
13:16<@Belugas>toum te doum -> http://paste.openttd.org/216985
13:17-!-Zorn [~zorn@e177230065.adsl.alicedsl.de] has quit [Ping timeout: 480 seconds]
13:18<@SmatZ>:D
13:27-!-Dreamxtreme [~chatzilla@93-97-81-59.zone5.bethere.co.uk] has joined #openttd
13:28-!-bb10 [~nn@dhcp-077-248-075-030.chello.nl] has joined #openttd
13:28<Eddi|zuHause>the kids start younger and younger each time...
13:31<@SmatZ>Terkhen: nice :) InvalidateWindowData(WC_TOWN_DIRECTORY, 0, 1); doesn't have to be called in that case? (as in CmdRenameTown)
13:32<Terkhen>let me check
13:35-!-Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has joined #openttd
13:35<Terkhen>no, the town directory window gets updated correctly
13:36<Terkhen>but looking at the code... it should be needed
13:37<Terkhen>ah, InvalidateWindowData gets called at the town constructor
13:38<Terkhen>DoCreateTown, sorry
13:38-!-lewymati [~lewymati@aeje73.neoplus.adsl.tpnet.pl] has joined #openttd
13:42<Terkhen>more important... I got an assert while deleting a town with the town directory window opened: http://paste.openttd.org/216986
13:45<CIA-4>OpenTTD: translators * r17613 /trunk/src/lang/ (10 files): (log message trimmed)
13:45<CIA-4>OpenTTD: -Update from WebTranslator v3.0:
13:45<CIA-4>OpenTTD: traditional_chinese - 107 changes by josesun
13:45<CIA-4>OpenTTD: dutch - 12 changes by habell
13:45<CIA-4>OpenTTD: french - 3 changes by glx
13:45<CIA-4>OpenTTD: german - 1 changes by dihedral
13:45<CIA-4>OpenTTD: hungarian - 6 changes by alyr
13:47<Terkhen>I get the same crash in r17610, so it's not directly related to changes in r17612
13:47-!-Fast2 [~Fast2@p57AF9D38.dip0.t-ipconnect.de] has joined #openttd
13:48<@SmatZ>Terkhen: oh, I thought it was fixed recently... or it was Industry List actually :-x
13:48-!-Dreamxtreme [~chatzilla@93-97-81-59.zone5.bethere.co.uk] has quit [Read error: Connection reset by peer]
13:49<Terkhen>I remember a recent correction similar to this one, yes... but I don't know in what list
13:50<Yexo>SmatZ: wasn't that about showing an empty industry list window?
13:50-!-mark [~mark@5ED06D96.cable.ziggo.nl] has quit [Quit: Ex-Chat]
13:51<@SmatZ>Yexo: the one I remember was about invalid industry in the list
13:52<Yexo>ok, was another one then :p
13:52<@SmatZ>@openttd commit 17472
13:52<@DorpsGek>SmatZ: Commit by rubidium :: r17472 /trunk/src (industry.h industry_cmd.cpp) (2009-09-08 12:22:28 UTC)
13:52<@DorpsGek>SmatZ: -Fix [FS#3182]: industry list was rebuilt too early during industry removal causing the removed industry to be still in the list after removal
13:52-!-mark [~mark@5ED06D96.cable.ziggo.nl] has joined #openttd
13:52<@SmatZ>fixed by moving invalidating of list to PostDestructor iirc
13:52-!-Dreamxtreme [~chatzilla@93-97-81-59.zone5.bethere.co.uk] has joined #openttd
13:55-!-Zahl_ [~Zahl@f051032216.adsl.alicedsl.de] has joined #openttd
13:56-!-Doorslammer [Doorslamme@PIPP-p-203-54-229-148.prem.tmns.net.au] has left #openttd []
14:02-!-Zahl [~Zahl@f051236201.adsl.alicedsl.de] has quit [Ping timeout: 480 seconds]
14:02-!-Zahl_ is now known as Zahl
14:05<Terkhen>SmatZ: InvalidateWindowData and UpdateVirtCord are called at DoCreateTown, before the town gets the custom name... I think this is the best solution: http://paste.openttd.org/216987
14:06<Prof_Frink>PostDestructor? Parcelforce?
14:06<@SmatZ>Terkhen: DoCreateTown() is called when generating many towns for example
14:06<@SmatZ>also, + t->UpdateVirtCoord();
14:07<@SmatZ>will crash if t == NULL
14:08<Terkhen>hmmm... I see
14:09<Eddi|zuHause>anyone ever tried to update the timetable patch?
14:10<frosch123>timetabling was added to ottd in 0.6
14:10<frosch123>:p
14:12-!-thisismyname [~chatzilla@95.72.6.157] has joined #openttd
14:12-!-thisismyname [~chatzilla@95.72.6.157] has quit []
14:12-!-|Jeroen| [~jeroen@94-224-31-113.access.telenet.be] has quit [Quit: oO]
14:13-!-thisismyname [~chatzilla@95.72.6.157] has joined #openttd
14:13<Eddi|zuHause>the *improved* timetable patch :p
14:14<Eddi|zuHause>oh... right... simpsons...
14:15-!-andythenorth [~andy@78-86-194-127.zone2.bethere.co.uk] has joined #openttd
14:15<Terkhen>I don't know what is best then: either calling these functions twice when there is a custom name or removing them from DoCreateTown and calling them at the end of CmdFoundTown and after successful CreateRandomTown calls
14:18-!-thisismyname [~chatzilla@95.72.6.157] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]]
14:20-!-Audigex [~audigex@89.241.63.26] has joined #openttd
14:20-!-_ln [~lanurmi@dyn-xdsl-83-150-113-243.nebulazone.fi] has joined #openttd
14:22-!-CraKinShOt [~NO@host86-144-137-217.range86-144.btcentralplus.com] has joined #openttd
14:25-!-arfonzo [~art@wrudm.poorcoding.com] has joined #openttd
14:36-!-Lakie [~Lakie@91.84.251.149] has quit [Quit: Gone]
14:37<Eddi|zuHause>hm, there are some conflicts, but the patch might not be entirely useless...
14:44<CraKinShOt>whats that?
14:46-!-andythenorth [~andy@78-86-194-127.zone2.bethere.co.uk] has quit [Quit: andythenorth]
14:46<@Belugas>two things that are opposing themselves for the same thing
14:46<_ln>zu groß, zu klein?
14:48<Eddi|zuHause>doesn't matter, one size fits all :p
14:51<CIA-4>OpenTTD: smatz * r17614 /trunk/src/town_cmd.cpp: -Fix: crash when deleting town while TownDirectory is open
14:52-!-FR^2 [~frquadrat@frquadrat.de] has quit [Quit: Der Worte sind genug gewechselt, lasst mich auch endlich Taten sehn!]
14:53-!-HerzogDeXtEr1 [~Flex@88.130.179.2] has quit [Read error: Connection reset by peer]
14:53-!-Audigex [~audigex@89.241.63.26] has quit [Ping timeout: 480 seconds]
14:54-!-SpBot [spbot@skrblz.fixme.fi] has quit [Ping timeout: 480 seconds]
14:55<CIA-4>OpenTTD: smatz * r17615 /trunk/src/town_cmd.cpp: -Fix (r17612): town sign could be glitchy when creating town with custom name (Terkhen)
14:56-!-HerzogDeXtEr [~Flex@88.130.179.2] has joined #openttd
14:57<Eddi|zuHause>hm... is it compile-wise a problem to have a string in $language.txt that is not in english.txt?
14:57<@SmatZ>you get a warning
14:58<Eddi|zuHause>because this patch removes a string from every language file, which causes lots of unnecessary conflicts
15:03<@SmatZ>Eddi|zuHause: what patch do you have in mind? there are currently at least two patches at FS
15:04<Eddi|zuHause>http://www.tt-forums.net/viewtopic.php?f=33&t=39276 <- i took the patch from here
15:04<Eddi|zuHause>svn15778
15:04<@SmatZ>if you use unix-like system, you can use perl or grep for that...
15:05<@SmatZ>or probably any other scripting/programming language ;)
15:05<Eddi|zuHause>well, it's the least of my problems ;)
15:09-!-KritiK [~Maxim@95-25-126-124.broadband.corbina.ru] has joined #openttd
15:15-!-SpBot [spbot@skrblz.fixme.fi] has joined #openttd
15:18<Terkhen>SmatZ: thanks, I hope that I don't find anything else
15:19<@SmatZ>:)
15:19<@SmatZ>I hope you find bugs ;)
15:19<Terkhen>looking at it that way... I hope that too :P
15:25-!-andythenorth [~andy@87.112.32.201.plusnet.ptn-ag1.dyn.plus.net] has joined #openttd
15:26<Eddi|zuHause>hm... OrderList stuff seems to have changed a bit...
15:29<CIA-4>OpenTTD: frosch * r17616 /trunk/ (13 files in 3 dirs): -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
15:44-!-Fast2 [~Fast2@p57AF9D38.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
15:45<@Belugas>hum? again something based on Terkhen's work?
15:46<CraKinShOt>Its a big patch?
15:48<@Belugas>dunno
15:48<@Belugas>cannot access it SAFELY from here
15:48<@Belugas>for sure, it will cahnge the face of OTTD for ever
15:49<@Belugas>... IRONY DETECTOR OFFLINE ... OVERLOAD
15:49<@Belugas>good going Terkhen, no kidding
15:50<Alberth>CraKinShOt: http://vcs.openttd.org/svn/changeset/17616
15:51<Eddi|zuHause>Belugas: surely you can access it safely, just use https:
15:53<Terkhen>sorry, I was having dinner
15:53<Terkhen>thanks :)
15:53<@Rubidium>nah, only I do big patches... besides that one of petern
15:53<frosch123>also thanks :)
15:54<CraKinShOt>I'm still having trouble with 2 headers needing one other for inline functions
15:54<CraKinShOt>only way I can see of getting around it is not using inline
15:55<@Rubidium>that won't work
15:55<@SmatZ>CraKinShOt: why do you need signalex.h in rail_map.h?
15:55<@SmatZ>or... split those
15:55<@SmatZ>or whatever :)
15:55<CraKinShOt>for the assertions
15:55<CraKinShOt>and what I'm doing now is changing the access to the m2 variable
15:56<@Belugas>Alberth, it's rather the unwanted window appearing while the boss walks around...
15:56<frosch123>[21:55] <Rubidium> nah, only I do big patches... besides that one of petern <- the biggest patches are done by that sed guy
15:56<CraKinShOt>so rail_map needs a) to check its got the signalex bit and B) it needs access to the pool
15:57-!-Aankhen`` [~hey.squid@122.162.160.132] has quit [Quit: Log this!]
15:57<CraKinShOt>essentially in this version, if the signalex bit is being used then the m2 tile data is transfered into the ppol item
15:57<CraKinShOt>while m2 is now the index to the pool item
15:58<CraKinShOt>it should be relitively straight forward to alter the rail_map functions
15:58<Alberth>Belugas: a Trac window looks like work :p
15:59<CraKinShOt>but because the signalex files need to include rail_map.h for the assertion checks (to make sure its a RAIL_WITH_SIGNAL, I've got this problem.
15:59<@Rubidium>frosch123: svn diff svn://svn.openttd.org/@17009 svn://svn.openttd.org/@17010 | wc -> 470340 2089445 25733813 -> 24.5 MiB
16:01<frosch123>ok, agreed :p
16:02-!-Nite_Owl [~Nite_Owl@c-76-109-50-97.hsd1.fl.comcast.net] has joined #openttd
16:02<Nite_Owl>Hello all
16:03-!-Fast2 [~Fast2@p57AF9D38.dip0.t-ipconnect.de] has joined #openttd
16:10<@Rubidium>hmm, FS#3210 *might* be related to FS#3227 if he did reload the AI and it bankrupted later on
16:13-!-oskari89 [oskari89@212-149-207-211.bb.dnainternet.fi] has quit [Quit: Utm A½ - Aja 35]
16:14-!-R0b0t1 [~Enigma@64-136-216-213.dyn.everestkc.net] has joined #openttd
16:14<CraKinShOt>hmm, I guess I could make another pool, one just for the rail_map
16:14<@SmatZ>why would you do that?
16:15<@SmatZ>then you can make pool for tiles I reckon
16:15<CraKinShOt>well its the linking of these two things thats a pain
16:15<CraKinShOt>for example
16:16<CraKinShOt>in GetRailReservationTrackBits it accesses the m2 bit. What I wanted to do it put an if condition in there, so that if a bit was set active then you access the signalex pool
16:17<CraKinShOt>but that makes cross-linking a bit of a pain and not easy to seperate out the functions in rail_map.h
16:19<CraKinShOt>the other alternative is you generalise the behavour for different m2 location, so again have a bit set, but this time you have a pool with just a uint16 value, which is the m2 data and the tile.m2 is now an index
16:19<CraKinShOt>but meh, thats making it far too complex
16:19<CraKinShOt>all for the sake of avoiding non-inline functions
16:21<CraKinShOt>even if I stick all the functions into the rail_map.h that would still need the signalex_base.h for pool access
16:22<CraKinShOt>the only sensible way I see at present is to have a non-inlined function in a _func.h and define it in a cpp file, which then includes rail_map.h
16:23-!-PeterT [~Peter@c-76-19-168-104.hsd1.ma.comcast.net] has joined #openttd
16:24<CraKinShOt>I'll go with that, at least it will compile
16:26-!-asilv [~as@h-62-142-160-55.joensuunelli.fi] has quit []
16:26<PeterT>what wer we talking about
16:27-!-bb10 [~nn@dhcp-077-248-075-030.chello.nl] has quit [Ping timeout: 480 seconds]
16:29-!-frosch123 [~frosch@frnk-590fd6ab.pool.mediaWays.net] has quit [Remote host closed the connection]
16:30<@Belugas>code
16:30<@Belugas>pool
16:30<@Belugas>patch
16:30<@Belugas>rail
16:30<@Belugas>problems
16:32<PeterT>the signal patch by crankinshot?
16:32-!-PeterT [~Peter@c-76-19-168-104.hsd1.ma.comcast.net] has quit [Quit: I'm off]
16:35-!-Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has left #openttd []
16:38-!-welsh [~markjones@147.143.254.214] has quit [Quit: 5 ]
16:38<Eddi|zuHause>hm... i'm not entirely sure what this line does
16:38<Eddi|zuHause>+ if (v->orders.list != NULL && v->IsInDepot()) v->orders.list->VehicleStoppedInDepot(v);
16:39<planetmaker>I read it as: a vehicle with orders which is in a depot gets stopped.
16:41<@Rubidium>looks dodgy regardless
16:41-!-Grelouk_ [~Grelouk@51.139.88-79.rev.gaoland.net] has quit [Read error: Connection reset by peer]
16:42<Eddi|zuHause>OrderList::VehicleStoppedInDepot seems to be a new function introduced by the patch
16:44<CIA-4>OpenTTD: rubidium * r17617 /trunk/src/network/ (network_internal.h network_server.cpp network_server.h):
16:44<CIA-4>OpenTTD: -Codechange: make the server side packet handling be more like the client side's handling, i.e. return the connection status
16:44<CIA-4>OpenTTD: -Fix: do not do invalid reads when a packet handling function closed a connection
16:44<Eddi|zuHause>ah... it seems to remove the vehicle from a list of running vehicles, so the timetable spacing gets updated
16:44-!-Progman [~progman@p57A1C6E1.dip.t-dialin.net] has joined #openttd
16:46<@Rubidium>so if your luck is bad and a few vehicles enter the depot (for servicing) after eachother the whole timetable spacing gets redone and when the vehicles leave again it gets undone?
16:46<@Rubidium>seems only useful for vehicles that are actually not participating in the time table, i.e. the ones that are actually stopped in the depot
16:47<Eddi|zuHause>no... the contexts of the patch always have a "v->vehstatus |= VS_STOPPED;"
16:47<Eddi|zuHause>so it does not apply on servicing
16:47<Eddi|zuHause>only where vehicles get actually stopped in the depot
16:47<Eddi|zuHause>but this stuff seems to have moved around
16:50<@Rubidium>then why call that function for *all* vehicles instead of only the stopped ones
16:53<Eddi|zuHause>no, it just carries around a counter
16:53<Eddi|zuHause>and does special stuff if the counter gets to 1
16:54<Eddi|zuHause>anyway, searching where the vehicle stopping went...
17:04-!-Brianetta [~brian@client-86-27-113-222.bmly.adsl.virgin.net] has joined #openttd
17:06<@Belugas>night all
17:07<@Rubidium>night Belugas
17:07<Terkhen>good night Belugas
17:07-!-Azrael- [~azraeluk@cpc1-papw2-0-0-cust1013.cmbg.cable.ntl.com] has quit [Ping timeout: 480 seconds]
17:08<CraKinShOt>good night
17:08<Nite_Owl>later Belugas
17:14<CIA-4>OpenTTD: rubidium * r17618 /trunk/src/network/network.cpp: -Fix [FS#3226]: the 'lock' icon would erroneously be drawn for companies if the company had a password before the reset
17:15-!-tux_mark_5 [~kvirc@lan-84-240-29-163.vln.skynet.lt] has quit [Quit: KVIrc Insomnia 4.0.0, revision: , sources date: 20090115, built on: 2009/03/07 00:45:02 UTC http://www.kvirc.net/]
17:24<Eddi|zuHause>hm... lots of conflicts beecause of "InvalidateWindow" in context lines...
17:33<Terkhen>SmatZ: you were right, I found two bugs testing some corner cases
17:35<Terkhen>the first one was that, once that the OSKWindow was opened and closed, the editbox widget wouldn't update correctly if persistent tools was active... this was caused by some missing / incorrect code, the needed corrections are here: http://paste.openttd.org/216993
17:36<@SmatZ>Terkhen: please post that to FS, I am almost in sleeping state now :)
17:37<Terkhen>okay, me too :P
17:37<Terkhen>I will post both of them and go to bed
17:50-!-Fast2 [~Fast2@p57AF9D38.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
17:51-!-andythenorth [~andy@87.112.32.201.plusnet.ptn-ag1.dyn.plus.net] has quit [Ping timeout: 480 seconds]
17:53-!-andythenorth [~andy@87.114.134.183.plusnet.thn-ag1.dyn.plus.net] has joined #openttd
17:54-!-Nite_Owl [~Nite_Owl@c-76-109-50-97.hsd1.fl.comcast.net] has quit [Read error: Connection reset by peer]
17:59-!-andythenorth_ [~andy@87.113.144.25] has joined #openttd
18:00<CraKinShOt>aha done it.
18:00<CraKinShOt>I think
18:01-!-andythenorth [~andy@87.114.134.183.plusnet.thn-ag1.dyn.plus.net] has quit [Ping timeout: 480 seconds]
18:07-!-andythenorth_ [~andy@87.113.144.25] has quit [Ping timeout: 480 seconds]
18:09-!-lewymati [~lewymati@aeje73.neoplus.adsl.tpnet.pl] has quit []
18:17-!-andythenorth [~andy@87.113.8.94.plusnet.pte-ag1.dyn.plus.net] has joined #openttd
18:18<CraKinShOt>holds breath
18:20<CraKinShOt>fudge
18:22<Terkhen>good night
18:22-!-Terkhen [~terkhen@66.68.220.87.dynamic.jazztel.es] has quit [Quit: ...]
18:25-!-andythenorth [~andy@87.113.8.94.plusnet.pte-ag1.dyn.plus.net] has quit [Ping timeout: 480 seconds]
18:28-!-Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has quit [Ping timeout: 480 seconds]
18:29-!-andythenorth [~andy@87.113.6.243.plusnet.pte-ag1.dyn.plus.net] has joined #openttd
18:37-!-Lakie [~Lakie@91.84.251.149] has joined #openttd
18:39-!-tokai|mdlx [~tokai@p5B2B148D.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
18:39-!-Brianetta [~brian@client-86-27-113-222.bmly.adsl.virgin.net] has quit [Quit: Tschüß]
18:41-!-andythenorth [~andy@87.113.6.243.plusnet.pte-ag1.dyn.plus.net] has quit [Ping timeout: 480 seconds]
18:42-!-tokai|mdlx [~tokai@p5B2B3538.dip0.t-ipconnect.de] has joined #openttd
18:46-!-Progman [~progman@p57A1C6E1.dip.t-dialin.net] has quit [Remote host closed the connection]
18:50<CraKinShOt>well the principle of having the m2 in the signalex pool, if the tile has one, works
18:51-!-Chrill [~chrischri@80.216.60.117] has joined #openttd
18:57<Eddi|zuHause>so... i think i removed all conflicts, except gui stuff...
18:57<Chris_Booth>evening all
18:58<Eddi|zuHause>i'll see about that toorrow
18:58<Chris_Booth>*tomorrow
18:59<Eddi|zuHause>see, that's why :p
18:59<Chris_Booth>Sleepy Eddi|zuHause
19:10<CraKinShOt>hehe. :)
19:10<CraKinShOt>well I've solved my problem
19:10-!-Coco-Banana-Man [~Stephan.D@p5B2DEA2B.dip.t-dialin.net] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
19:10<CraKinShOt>bit of rearrangement
19:13<Eddi|zuHause>http://www.tt-forums.net/viewtopic.php?p=820030#p820030 <--- err, anybody have a clue what this person is saying?
19:14<@Rubidium>try running the windows version of OpenTTD through darwine
19:15<@Rubidium>or something like: ask the wine people for help
19:16<Eddi|zuHause>ah, so he's saying "People on OSX should run the win32 binaries"?
19:16<@Rubidium>yes
19:16<Eddi|zuHause>well, good luck ;)
19:16<@Rubidium>(in my interpretation of the post)
19:19<tokai|mdlx>Can't a pure SDL version of OpenTTD work on Mac OS X? Just wondering...
19:20<@Rubidium>probably
19:20<tokai|mdlx>Wine on Mac OS X (Darwine) is rather crap IMHO.
19:20<Ammler>the only difference from opengfx compile with or without renum is the first sprite with the number of sprites, does that matter?
19:20<tokai|mdlx>Doesn't work properly for me at least. Can't imagine someone want to play OpenTTD over it.
19:21<@Rubidium>but... SDL doesn't do the special iconv needed for OSX etc.
19:22<tokai|mdlx>I'm a bit busy currently with other things still; but hope in next weeks find some time to bring the MorphOS port up-to-date again... people are bugging me already:)
19:23<tokai|mdlx>Can't use the excuse "just play it on Mac OS X for now" anymore, I guess :D
19:23<@Rubidium>http://vcs.openttd.org/svn/changeset/3281/trunk/video/cocoa_v.m <- cocoa seems to fix quite a number of bugs w.r.t. SDL
19:24<@Rubidium>and based on that it looks like SDL doesn't want to be statically linked, so the compile farm won't be able to compile it anyways
19:24<@Rubidium>which makes the official support kinda drop dead too
19:26<tokai|mdlx>Maybe SDL for Mac OS X has improved in the meantime? :)
19:26<tokai|mdlx>4 years allow some room for that I guess.
19:27<@Rubidium>good luck finding someone to test the CF :)
19:31-!-Chris_Booth [~Chris_Boo@82-32-243-15.cable.ubr11.newt.blueyonder.co.uk] has quit [Ping timeout: 480 seconds]
19:32<CraKinShOt>http://www.tt-forums.net/viewtopic.php?f=33&t=45208&p=819188
19:32<CraKinShOt>update that handles the m2 shift
19:32-!-Eddi|zuHause [~johekr@p54B77CA7.dip.t-dialin.net] has quit []
19:33<CraKinShOt>needs cleaning up.
19:33<CraKinShOt>good night all. :)
19:33-!-Chrill [~chrischri@80.216.60.117] has quit []
19:33-!-Eddi|zuHause [~johekr@p54B77CBD.dip.t-dialin.net] has joined #openttd
19:33<CraKinShOt>well in a sec
19:35<@Rubidium>someone's going for a dry wine?
19:42<Eddi|zuHause> if ((_settings_client.gui.advanced_vehicle_list > (uint)(company != _local_company)) != _ctrl_pressed) { <--- ok, which insane person comes up with such a check :p
19:43-!-CraKinShOt [~NO@host86-144-137-217.range86-144.btcentralplus.com] has quit []
19:44-!-KenjiE20|LT [~Kenji@host86-161-232-194.range86-161.btcentralplus.com] has joined #openttd
19:44-!-KenjiE20 [~KenjiE20@92.22.74.116] has quit [Quit: WeeChat 0.3.0]
19:45-!-KritiK [~Maxim@95-25-126-124.broadband.corbina.ru] has quit [Quit: Leaving]
19:52-!-PeterT [~Peter@c-76-19-168-104.hsd1.ma.comcast.net] has joined #openttd
19:53-!-PeterT [~Peter@c-76-19-168-104.hsd1.ma.comcast.net] has quit [Read error: Connection reset by peer]
19:54-!-ecke [~ecke@188.75.128.2] has quit [Quit: ecke]
19:57-!-Lakie [~Lakie@91.84.251.149] has quit [Quit: Sleep.]
19:57<Eddi|zuHause>+ VLW_WIDGET_FAKED_SCROLLBAR, <-- something sounds awfully wrong with this
20:00<Eddi|zuHause>sometimes i have no idea why that particular hunk failed to apply...
20:10-!-Fuco [~dota.keys@fuco.sks3.muni.cz] has quit [Ping timeout: 480 seconds]
20:22-!-Zorn [~zorn@e177238105.adsl.alicedsl.de] has joined #openttd
20:30-!-Zorni [~zorn@g224016214.adsl.alicedsl.de] has quit [Ping timeout: 480 seconds]
20:30<Eddi|zuHause>how do i find out which string used to be "STR_00E2"?
20:32<Eddi|zuHause>ah, "STR_BLACK_COMMA"
20:32-!-PeterT [~Peter@c-76-19-168-104.hsd1.ma.comcast.net] has joined #openttd
20:32<PeterT>Somebody send Rubidium my regards for fixing my bug. Thank you.
20:39-!-PeterT [~Peter@c-76-19-168-104.hsd1.ma.comcast.net] has quit [Quit: I'm off]
20:43-!-Zorn [~zorn@e177238105.adsl.alicedsl.de] has quit [Read error: Connection reset by peer]
20:44-!-Muddy [muddy@playing.OpenTTD.no] has quit [Read error: Connection reset by peer]
20:44-!-Muddy [muddy@playing.OpenTTD.no] has joined #openttd
20:46-!-fjb [~frank@p5485FB1B.dip.t-dialin.net] has quit [Remote host closed the connection]
20:54-!-Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has joined #openttd
21:06-!-Zahl [~Zahl@f051032216.adsl.alicedsl.de] has quit [Quit: *schiel*]
21:09-!-Dred_furst [~Dred@cpc3-pool3-0-0-cust999.sotn.cable.ntl.com] has quit [Quit: Leaving]
21:22-!-KenjiE20|LT [~Kenji@host86-161-232-194.range86-161.btcentralplus.com] has quit [Quit: Leaving]
21:30-!-HerzogDeXtEr1 [~Flex@89.246.191.17] has joined #openttd
21:37-!-HerzogDeXtEr [~Flex@88.130.179.2] has quit [Ping timeout: 480 seconds]
21:41-!-Polygon [~Poly@x0581b.wh7.tu-dresden.de] has quit [Quit: Flieht, ihr Narren!]
21:43-!-glx [glx@2a01:e35:2f59:c7c0:cd67:4930:baea:8f6e] has quit [Quit: bye]
21:50-!-lobster [~michielbi@86.89.201.189] has quit [Ping timeout: 480 seconds]
22:47-!-lobster [~michielbi@86.89.201.189] has joined #openttd
23:38-!-DaleStan [~Dale@98.223.108.117] has quit [Quit: Leaving]
---Logclosed Wed Sep 23 00:00:57 2009