Back to Home / #openttd / 2007 / 07 / Prev Day | Next Day
#openttd IRC Logs for 2007-07-27

---Logopened Fri Jul 27 00:00:20 2007
00:01<Turulo>Smoky555 i dont think there is a web log from openttd channel
00:01<De_Ghost>he's a fed!!!!!!
---Logclosed Fri Jul 27 00:22:59 2007
---Logopened Fri Jul 27 00:23:01 2007
00:23|-|mikegrb_ [] has joined #openttd
00:23|-|Ekipa kanalu #openttd: Wszystkich: 73 |-| +op [4] |-| +voice [1] |-| normalnych [68]
00:23|-|Tefad_ [] has joined #openttd
00:23|-|Netsplit <-> quits: CIA-1, Tefad, mikegrb
00:24|-|Kanal #openttd zsynchronizowany w 76 sekundy
00:25|-|mikegrb_ Your nick is now mikegrb
00:40|-|CIA-1 [~CIA@] has joined #openttd
00:41|-|Zr40 [] has joined #openttd
00:50|-|Zr40 [] has quit [Quit: Zr40]
00:57|-|elmex [] has joined #openttd
01:14|-|ja [~ty@] has joined #openttd
01:19|-|Smoovious [] has quit [Quit: Always code as if the guy who ends up maintaining your code is a psychopath who knows where you live.]
01:21|-|hrada [~ty@] has quit [Ping timeout: 480 seconds]
01:40|-|simon444 [] has quit [Remote host closed the connection]
01:42|-|HMage [] has joined #openttd
01:48<SpComb>Logs: (old: )
01:50<TheMask96>ah :)
01:50<TheMask96>Smoky555: see above :)
01:53|-|Smoovious [] has joined #openttd
01:55|-|Smoovious [] has quit []
01:55|-|Smoovious [] has joined #openttd
02:02|-|skidd13 [] has joined #openttd
02:06|-|marc-andre [~marc-andr@] has joined #openttd
02:32|-|Deathmaker [] has joined #openttd
02:44|-|Tefad_ changed nick to Tefad
02:51|-|ThePizzaKing [] has joined #openttd
02:58|-|Gekkko` [] has joined #openttd
03:06|-|Snif676 [] has joined #openttd
03:07|-|Snif676 [] has left #openttd []
03:09|-|skidd13 [] has left #openttd []
03:18<Smoovious>ok, got a question... if I start a game with indutries set to none, willl industries still appear during the course of the game or am I stuck with none throughout... (I want to run random maps with no initial industries, but still want t hem to appear)
03:18|-|Gekkko` [] has quit [Quit: - Now less gay.]
03:28<phryx>Smoovious: they should, but still at a slow pace, you can always focus on passangers and build your own industries when you can afford them taken that you have the resources to use them.
03:33|-|tokai|ni [] has quit [Ping timeout: 480 seconds]
03:33<CIA-1>OpenTTD: miham * r10703 /trunk/src/lang/croatian.txt:
03:33<CIA-1>OpenTTD: -Update: WebTranslator2 update to 2007-07-27 10:33:19
03:33<CIA-1>OpenTTD: croatian - 1 fixed, 6 changed by knovak (7)
03:34<phryx>MiHaMiX: alive?
03:35|-|tokai|ni [] has joined #openttd
03:47<Smoovious>the slow pace is just fine. :)
03:52|-|Maedhros [] has joined #openttd
04:00|-|Nigel [~nigel@] has quit [Remote host closed the connection]
04:08|-|Ammller [] has joined #openttd
04:09<ln->devs, attention
04:09|-|Ammler changed nick to Guest155
04:09|-|Ammller changed nick to ammler
04:09|-|skidd13 [] has joined #openttd
04:13|-|Guest155 [] has quit [Ping timeout: 480 seconds]
04:16<@peter1138>to what?
04:17<ln->i have a patch.
04:17<@peter1138>good for you
04:17<ln->GetCurrentLocale() implementation for Win32 and OS X.
04:19<ln->i.e. that enables selecting the game language based on user's preferences on first startup.
04:20|-|[peter1138] changed the topic of #openttd: 0.5.2 | Website: * (DevBlog: blog, Translator: translator2, Gameservers: servers, Nightly-builds: nightly, WIKI: wiki, SVN mailinglist: maillist, Dev-docs: docs, Patches & Bug-reports: bugs) | #openttd.notice for FS + SVN notices
04:20<ln->that has worked for a long time under Linux and others (thanks to my previous patch, and tron).
04:22<skidd13>peter1138: What's your problem with the performance meter patch?
04:24<ln->skidd13: problem?
04:26|-|Brianetta [] has joined #openttd
04:28<skidd13>ln-: He does not like that it has a GUI, and the size of the code. But IMO both are no real reasons against it. Arguable, true.
04:32<ln->skidd13: the ottd project is not famous for a liberal patch acceptance policy.
04:34|-|TinoM [] has joined #openttd
04:35<skidd13>ln-: IMO persistence pays always off.
04:35|-|smoovi [] has joined #openttd
04:37<Smoovious>just keep taking their critiques and implement them... I still hope my chat patch, and subidies patch, wiill make it in, and as long as they're still giving me feedback, I'll keep tweaking... (tho the subsidies patch is on hold u ntil I see how newindustries turns out)
04:40<skidd13>Smoovious: Sure but are you willed to sync a patch for more than a few months? Cause trunk changes quickly at this project.
04:41<Smoovious>yes, in fact, I periodically make sure the conflicts that come up are resolved...
04:41<Smoovious>if a patch isn't worth being maintained by the author, then perhaps it isn't worth being inlcuded in trunk... IMHO...
04:42<skidd13>If you got no feedback the patch isn't worth the work. IMO
04:43<Smoovious>what the patch is worth, is individually up to the author...
04:44<Smoovious>so if t he author doesn't think it i s worth i t... .. .
04:44<Smoovious>I believe mine, are
04:44<skidd13>And hey some of the dev's patches are less commented than the style manual requests. This is realy annoying. Let's skip this topic.
04:44<Smoovious>and ChrisIN is using t hem both now. :)
04:45<@peter1138>anyway, your patch as on fs doesn't work
04:45<Smoovious>which patch?
04:45<skidd13>? what's wrong with it?
04:45<@peter1138>gah, new openttd.grf :o
04:45<Smoovious>oh, ok. :)
04:45[~]Smoovious sits back.
04:46<skidd13>Two icons are not worth a new file.
04:49<@peter1138>no, patch is just annoying though :(
04:49<@peter1138>needs some way of including binary files :o
04:49<@peter1138>"fps" is more common
04:49<@peter1138>why does it switch from 30 to 40 in current? heh
04:50<@peter1138>basically, i don't see why it needs a window, a start/stop button, and a new icon
04:50<Noldo>Smoovious: so the subborness of the author is the way to measure the usefullness and worthyness of a patch?
04:50<@peter1138>just "30 fps" in the corner of the screen, or something
04:51<Smoovious>Noldo... not stubbornness...
04:51<skidd13>I wondered too, cause I get 40 instead of 30.
04:51<skidd13>Normal users like GUI, only hackers like non GUI variants ;)
04:51<@peter1138>most game fps counters don't have a complete window with buttons :p
04:51<Smoovious>Noldo... but t he lack of support of your own work, is certainly an i ndication o f how little t he author thinks o f it
04:51<Eddi|zuHause3><peter1138> just "30 fps" in the corner of the screen, or something <- in the status bar maybe?
04:51<skidd13>Sure but the GUI is mor than an FPS counter.
04:52<@peter1138>what are the two modes?
04:53<Smoovious>what is the usefulneess of an FPS counter anyways... only time I'd u se something is mainly during debugging... otherwise, leave it off... why waste the processor resources on it all the time?
04:53<Noldo>Smoovious: yes, but that works only when comparing to patches from the same author
04:53<Smoovious>Noldo... we disagree
04:53<skidd13>Frames (Ticks) per Realtime second and Ticks per cpu second
04:54<Smoovious>Noldo... the point about i t was t ho, about keeping the patches current to trunk...
04:54<Smoovious>resollving conflicts, etc
04:54<skidd13>Realtime has outer influence, Cpu/Process time not.
04:54<@peter1138>the second mode doesn't seem to do anything
04:54<@peter1138>just shows "10.0 T/cs"
04:55<Smoovious>if you want something added to trunk, be prepared to do the work to keep it c urrent... the less work the devs have to do, the less likely they are to just toss i t cuz it'll require too much work to graft i t in
04:55<skidd13>wait a while or activate FF or load a savegame with lots of vehicles
04:55<Eddi|zuHause3><skidd13> Frames (Ticks) per Realtime second and Ticks per cpu second <- and why can't this be a simple 3-way patch setting?
04:55|-|Progman [] has joined #openttd
04:56<@peter1138>ctrl-click for a 10 second timer doesn't seem very useful
04:56<MiHaMiX>phryx: yes
04:57<skidd13>Eddi|zuHause3: I don't thought over this. But maybe there'll be more than one performance meter allowed for thread perfomance (Future usage in mind)
04:57<skidd13>peter1138: What do you suggest instead of ctrl-click
04:58<@peter1138>i mean the 10 second timer
04:59<skidd13>Hmm, I prefer the usage of the timer.
04:59<ln->peter1138, MiHaMiX:
05:02<skidd13>peter1138: Defined begin and defined end, so IMO clean thing. To get a basic overview 10 secs are enough time.
05:03<MiHaMiX>ln-: looks good to me, but IANAD :)
05:07<skidd13>peter1138: What is more interesting to me is the current processor icon ok? Take a close look at it.
05:09<@peter1138>why is an icon interesting?
05:09<skidd13>Take a close look, and you know why.
05:09<@peter1138>well, i can't, i reverted it :p
05:11<skidd13>peter1138: take a look at the updated screenshot
05:12<@peter1138>what is interesting about it?
05:12<skidd13>the icon in the rigght bottom of the GUI.
05:13<skidd13>If you don't see it, probably nobody will notice.
05:13<@peter1138>i see the icon. i don't see anything special about it
05:13<skidd13>There is an icon on the icon.
05:14<@peter1138>there are 6 green pixels
05:14<skidd13>Remember who produces processors and has a green logo.
05:15<@peter1138>well it doesn't really look anything like AMD's logo
05:15<@peter1138>and really, that is not in the least bit interesting
05:16<skidd13>Ok if you say so.
05:16<Rubidium>wtf are cpu seconds?
05:17<skidd13>the seconds of prog runtime on the CPU
05:17<Rubidium>and how do you determine that?
05:18|-|Wezz6400 [] has joined #openttd
05:19<Rubidium>that doesn't say anything about the cpu-seconds
05:20<Rubidium>cpu seconds == amount of seconds the CPU was busy for the application, not amount of seconds passed in real time
05:20<Brianetta>cpu seconds are rare. I normally only see cpu milliseconds.
05:22<skidd13>Rubidium: That link wasn't the documentation what I used. It's a bit difficult to post my C++ book.
05:22<Brianetta>Why's Truelight called DorpsGek?
05:22<@peter1138>he's not
05:22<@peter1138>it's just a bot
05:22<Brianetta>TrueBrain is Truelight
05:22[~]Brianetta pokes DorpsGek
05:22<Brianetta>oy, bot
05:23<skidd13>The result of clock() is the time that is used by the process. So it should be indepandant from the environment (That was what I had in mind).
05:24<ln->pandas are animals
05:24<skidd13>ln-: oh, yes
05:25<Brianetta>indepandant means that you're somehow involved with the pandas' nt system?
05:25<skidd13>I'm no native english, so forgive me my mistakes.
05:25<Noldo>skidd13: just let them have their fun, it's nothing serious
05:26<skidd13>Noldo: I don't take it serious. ;)
05:26<ln->skidd13: that's exactly why you should know how to spell. native english speakers generally do not know.
05:27|-|mikk36 [] has joined #openttd
05:27<skidd13>ln-: One word 4 U -> context
05:29<Wezz6400>skidd13 I think that for the majority of people on this channel english is not their native language :)
05:33|-|mikk36[EST] [] has quit [Ping timeout: 480 seconds]
05:35<skidd13>Wezz6400: I thing so too.
05:35<skidd13>ln-: No offence intended. ;) I'm willed to learn.
05:38<skidd13>thing -> think OOPS
05:41<Smoovious>willed -> willing
05:44<skidd13>Damned false friends. In german you say "gewillt".
05:47<skidd13>Back to the patch. Any additional comments?
05:50|-|XeryusTC [] has joined #openttd
05:50<ln->what kind of a logo is drawn on PPC platform?
05:52<skidd13>ln-: ??
05:59<@peter1138>ln-: an interesting arrangement of 6 green pixels, probably
06:01<skidd13>It's more or less a little easter-egg I put in the patch.
06:03<Eddi|zuHause3>i thought we don't do easter eggs
06:04<skidd13>I remember there's a sponge bob in a big GRF.
06:07|-|KUDr_wrk [~KUDr@] has quit []
06:10|-|KUDr_wrk [~KUDr@] has joined #openttd
06:11<skidd13>It was TTRS
06:12<Wezz6400>lol :D
06:16|-|skidd13 [] has left #openttd []
06:22<Eddi|zuHause3>toyland should really have an easter egg (literally :p)
06:23<hylje>easter egg factory
06:23<Eddi|zuHause3>that requires newindustries :p
06:24<XeryusTC>replace the rough landscape with a giant egg sticking out of the ground
06:24<Eddi|zuHause3>i'm afraid 85% of newindustries is not enough
06:24<Eddi|zuHause3>you know the 90-90 rule?
06:24<Eddi|zuHause3>90% of the time is spent on 90% of the code
06:25<Eddi|zuHause3>the other 90% of the time are spent on the last 10% of the code
06:25<hylje>i think its closer to 80/20
06:25<XeryusTC>erm, wtf
06:25<XeryusTC>90%+90% = 180%?
06:26<Eddi|zuHause3>that is exactly the point :)
06:52|-|Death_ [] has joined #openttd
06:56|-|Wezz6400 [] has quit [Quit: reboot]
06:57|-|Nigel [~nigel@] has joined #openttd
06:58|-|Deathmaker [] has quit [Ping timeout: 480 seconds]
07:01|-|Ammller [] has joined #openttd
07:04|-|ammler [] has quit [Ping timeout: 480 seconds]
07:12|-|glx [] has joined #openttd
07:12|-|mode/#openttd [+v glx] by ChanServ
07:22|-|Digitalfox_Notebook_ [] has joined #openttd
07:27|-|phryx [] has quit [Read error: Connection reset by peer]
07:27|-|phryx [] has joined #openttd
07:27|-|Digitalfox_Notebook [] has quit [Ping timeout: 480 seconds]
07:27|-|Digitalfox_Notebook_ changed nick to Digitalfox_Notebook
07:34|-|Ammlller [] has joined #openttd
07:38|-|Ammller [] has quit [Ping timeout: 480 seconds]
07:49<CIA-1>OpenTTD: rubidium * r10704 /trunk/src/ (39 files in 2 dirs): -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
07:51<hylje>that many changes for such a trivial feature?
07:55<Rubidium>that many window descriptions that need the minimum size added
08:02|-|Ammller [] has joined #openttd
08:03|-|RichK67 [] has joined #openttd
08:06|-|Ammlller [] has quit [Ping timeout: 480 seconds]
08:13<De_Ghost>how you do math fun with c++?
08:13<hylje>by operator overloading
08:15<hylje>a nefarious way of fun
08:15<De_Ghost>functions lol
08:15<De_Ghost>i'll look it up
08:16<Eddi|zuHause3>you mean like SIX*NINE==42?
08:17<RichK67>my guess is he wants to access functions like cos ( x ), in which case you need to have #include <math.h>, or whatever it is ... memory gone... its friday afternoon
08:18<hylje>anamespaces :<
08:18<Rubidium>as long as De_Ghost knows that anything floating pointish must not be used in OTTD
08:19|-|TinoM [] has quit [Read error: Connection reset by peer]
08:19<De_Ghost>fp FTW
08:20<Rubidium>fp FTD
08:21<@peter1138>my fps counter uses floating points
08:21<@peter1138>i doubt that matters :p
08:22<valhallasw`gone>I doubt it needs floating points
08:22|-|valhallasw`gone changed nick to valhallasw
08:24<De_Ghost>yea it does
08:24<De_Ghost>that .01 variation in frams makes a big difference !!
08:24<@peter1138>it doesn't need it, no
08:29|-|ThePizzaKing [] has quit [Ping timeout: 480 seconds]
08:31<valhallasw>wheels do need floating point precision
08:31<valhallasw>what would happen if pi suddenly was 3 O_o
08:31<hylje>silly things
08:31<valhallasw>octagonal wheels or sth? :D
08:32<hylje>square or triangular
08:32<hylje>for optimization
08:33<Eddi|zuHause3>but Pi _IS_ 3, the bible says it (1 Kings 7:23)
08:34<hylje>o i c
08:34<Eddi|zuHause3>btw, a pi of 3 would imply hexagonal wheels
08:34<Eddi|zuHause3>square wheels mean pi is 4
08:34|-|ThePizzaKing [] has joined #openttd
08:34<Eddi|zuHause3>octagonal wheels are somewhere inbetween
08:39<Eddi|zuHause3>btw, a "wheel" of the shape of a regular polygon with n edges is perfectly valid if the space/time continuum is quantized in a way that the wheel only makes turns of multiples of 360°/n
08:51|-|ThePizzaKing [] has quit [Ping timeout: 480 seconds]
08:56|-|TinoM [] has joined #openttd
09:02|-|matt4 [] has joined #openttd
09:08|-|skidd13 [] has joined #openttd
09:09|-|skidd13 [] has left #openttd []
09:10|-|RichK67 [] has quit [Quit: RichK67]
09:13|-|matt4 [] has left #openttd []
09:13|-|ThePizzaKing [] has joined #openttd
09:18|-|Peakki [] has joined #openttd
09:25|-|ThePizzaKing [] has quit [Ping timeout: 480 seconds]
09:26|-|Smoky555 [~Miranda@] has quit [Read error: Connection reset by peer]
09:26|-|ThePizzaKing [] has joined #openttd
09:26|-|Smoky555 [~Miranda@] has joined #openttd
09:40|-|TinoM [] has quit [Quit: Verlassend]
09:49|-|Roujin [] has joined #openttd
09:51|-|JazzyJaffa [] has joined #openttd
09:56|-|Peakki [] has quit [Quit: Lähdössä]
09:59<JazzyJaffa>I have a question about code style: When accessing a private data member of a class is it preferred to include the "this"? ie "this->m_member" or "m_member" I've seen both done in the code.
10:02<ln->@seen bjarni
10:02<@DorpsGek>ln-: bjarni was last seen in #openttd 1 week, 2 days, 18 hours, 15 minutes, and 22 seconds ago: <Bjarni> I should really read everything said in here before saying anything :s
10:02<@peter1138>the original bits of c++ were done on a brevity basis, not explicit.
10:02<@peter1138>!seen bjarni
10:02<_42_>peter1138, Bjarni ( was last seen quitting #openttd.wt2 4 days 5 hours 35 minutes ago (23.07. 09:26) stating "Quit: Leaving" after spending 16 minutes there.
10:03|-|Zavior [] has quit [Read error: Connection reset by peer]
10:03<JazzyJaffa>ok, thanks. I'm guessing for static members it makes sense to skip the this?
10:04<@peter1138>for static members you can't use this
10:04|-|Zavior [] has joined #openttd
10:04|-|Zavior [] has left #openttd []
10:04<JazzyJaffa>ah, ok, never tried!
10:04<JazzyJaffa>its obvious now I think about it, doh.
10:05|-|Zavior [] has joined #openttd
10:07|-||Jeroen| [] has joined #openttd
10:31|-|ThePizzaKing [] has quit [Ping timeout: 480 seconds]
10:32|-|mikk36 changed nick to mikk36|away
10:38|-|Frostregen_ [] has joined #openttd
10:44|-|Frostregen [] has quit [Ping timeout: 480 seconds]
10:44|-|Frostregen_ changed nick to Frostregen
10:48|-|BobingAbout [~BobingAbo@adsl-83-100-227-214.karoo.KCOM.COM] has joined #openttd
10:48|-|BobingAbout [~BobingAbo@adsl-83-100-227-214.karoo.KCOM.COM] has quit []
11:17|-|Brianetta [] has quit [Quit: Tschüß]
11:17|-|Ammller changed nick to Ammler
11:22|-|skidd13 [] has joined #openttd
11:23|-|marc-andre [~marc-andr@] has quit [Remote host closed the connection]
11:24|-|Ammler changed nick to AmmlerAP
11:25|-|AmmlerAP changed nick to Ammler
11:26|-|Wolf01 [] has joined #openttd
11:34|-|Digitalfox_Desktop [] has joined #openttd
11:41|-|Zr40 [] has joined #openttd
11:45<skidd13>Can I manipulate a String(ID) in an external function with SetDParam() and retrun the resulting string?
11:45<Maedhros>that depends on how you want to manipulate it
11:46<Maedhros>SetDParam doesn't change the string at all
11:47|-|Roujin [] has quit [Quit: HydraIRC -> <- Chicks dig it]
11:47<skidd13>I have a string with 3 <string> gaps and want to fill in there other strings.
11:50|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
11:53<Maedhros>SetDParam sets global variables, which don't get evaluated when you call DrawString / GetString
11:54<Maedhros>*until, not when
11:55<skidd13>Hmm, that should suffice for me.
11:57|-|JazzyJaffa [] has quit [Ping timeout: 480 seconds]
12:10|-|Wezz6400 [] has joined #openttd
12:21|-||Jeroen| [] has quit [Quit: oO]
12:24|-|KUDr [] has quit [Read error: Connection reset by peer]
12:25|-|skidd13 [] has left #openttd []
12:27|-|Wezz6400 [] has quit [Quit: supcom time!]
12:32|-|Rippsy [] has joined #openttd
12:36|-|Netsplit <-> quits: Nigel
12:37|-|Netsplit over, joins: Nigel
12:40|-|WolfAngel [] has joined #openttd
12:43|-|Peakki [] has joined #openttd
12:45|-|ThePizzaKing [] has joined #openttd
12:49|-|_WolfAngel [] has joined #openttd
12:49|-|_WolfAngel [] has quit [Remote host closed the connection]
12:49|-|Zr40 [] has quit [Quit: This computer has gone to sleep]
12:57|-|Progman [] has quit [Ping timeout: 480 seconds]
12:57|-|Progman [] has joined #openttd
13:19|-|WolfAngel [] has quit [Read error: Connection reset by peer]
13:19|-|WolfAngel [] has joined #openttd
13:21|-|KritiK [] has joined #openttd
13:31|-|KUDr [] has joined #openttd
13:58|-|Zavior [] has quit [Quit: ( :: NoNameScript 4.02 :: )]
13:59|-|Peakki [] has quit [Quit: Lähdössä]
14:03|-|Zavior [] has joined #openttd
14:09<CIA-1>OpenTTD: rubidium * r10705 /trunk/src/window.cpp:
14:09<CIA-1>OpenTTD: -Fix (r10704): some windows were not correctly initialized as they resized the window themselves and that should be interfered by making sure the window is resized in the right "step" size.
14:09<CIA-1>OpenTTD: -Fix (r10704): call the WE_RESIZE when resizing during initialization of the windows.
14:10|-|Thomas[NL] [] has joined #openttd
14:14|-|peterbrett [] has joined #openttd
14:16|-|Rexxie [] has quit [Quit: edgepro: There are two kinds of people, those who finish what they start and so on.]
14:18<Sacro>another silly game for you all
14:30|-|Death_ [] has quit [Read error: Connection reset by peer]
14:41|-|HMage [] has quit [Quit:]
14:42|-|HMage [] has joined #openttd
14:44|-|puzi|away [] has joined #openttd
14:45|-|puzi|away changed nick to puzi
14:45|-|HMage [] has quit []
14:48|-|HMage [] has joined #openttd
14:49<puzi>bit dead in here
14:52|-|puzi [] has quit []
14:53|-|HMage [] has quit []
14:53|-|HMage [] has joined #openttd
14:54|-|HMage [] has quit []
14:56|-|HMage [] has joined #openttd
14:58<CIA-1>OpenTTD: rubidium * r10706 /trunk/src/network/network_gui.cpp: -Codechange: allow resizing the multiplayer server list window.
15:24|-|WolfAngel [] has quit [Quit: ...]
15:28|-|Zr40 [] has joined #openttd
15:39|-|smoovi [] has quit [Remote host closed the connection]
15:42|-|Thomas[NL] [] has quit [Remote host closed the connection]
15:59|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Ping timeout: 480 seconds]
16:04|-|RichK67_ [~RichK67@] has joined #openttd
16:07|-|HMage` [] has joined #openttd
16:07|-|HMage` [] has quit []
16:07|-|HMage` [] has joined #openttd
16:08|-|HMage` [] has quit []
16:08<phryx>MiHaMiX: you have mail
16:11|-|HMage` [] has joined #openttd
16:11|-|HMage [] has quit [Quit:]
16:12|-|HMage` [] has quit []
16:12|-|HMage [] has joined #openttd
16:13|-|HMage [] has quit []
16:20|-|HMage [] has joined #openttd
16:21<HMage>my apologies for joinflooding.
16:24<Digitalfox_Desktop>Maedhros: I was looking to your patch diagonal level crossing support to OpenTTD ( ), you think it still can be merged to trunk?? Or there are problems?? :\
16:28<Maedhros>it's still broken, as far as a i remember (there are problems with 2 trains using the crossing at once)
16:28<Maedhros>and it's a _long_ time since i've looked at it
16:28<Digitalfox_Desktop>But do you still have interest in seeing it in trunk?
16:29<Maedhros>not at the moment, thus the reason it isn't ;)
16:29<ln->who is the official win32 developer?
16:30<Maedhros>there isn't one
16:31<ln->who runs windows?
16:31<Maedhros>people who (can) compile with win32 include KUDr, glx, and sometimes Rubidium, i think
16:31<RichK67_>me too ;)
16:31<@Belugas>me too
16:31<@Belugas>when i'
16:31<@Belugas>m ato home
16:31<Prof_Frink>ln-: You mean: "who are the official win32 developers! developers! developers! developers! developers!?"
16:32<@Belugas>which is not the case right not
16:32<RichK67_>let's guess from the typing quality... Belugas is down the pub :)
16:32<ln->and which one of them dare to commit patches?
16:32<@Belugas>nope. still stuck in this goddamnd office
16:32<ln->one -> ones
16:33<RichK67_>we all do (what are you getting at ln-??)
16:33<ln->to the trunk?
16:33<KUDr>what patch?
16:34<ln->seems like people are not afraid of anything nowadays.
16:35<Maedhros>ln-: btw, you can use lengthof(x) instead of sizeof(x)/sizeof(type)
16:36<ln->i see.
16:41<KUDr>ln-: is it on FS?
16:42|-|Mucht_ [] has joined #openttd
16:42<ln->KUDr: nope.
16:45<KUDr>is it from you?
16:45<ln->indeed from me.
16:45|-|Progman [] has quit [Remote host closed the connection]
16:46<KUDr>ok, will test it and commit (if no problems)
16:46<ln->ok, thank you in advance.
16:46|-|MUcht [] has quit [Ping timeout: 480 seconds]
16:46<KUDr>we thanks you
16:48|-|Maedhros_ [] has joined #openttd
16:48<+glx>ln-: does it work if unicode is disabled?
16:48|-|Maedhros changed nick to Guest215
16:48|-|Maedhros_ changed nick to Maedhros
16:49<ln->glx: hmm, i don't recall the documentation saying anything about those functions being Unicode-specific.
16:49<+glx>I see WCHAR so I ask :)
16:50<ln->hmm.. that's a good point, yes.
16:50<ln->would TCHAR be better?
16:51<+glx>yes TCHAR is better
16:52<+glx>with WCHAR you are supposing that GetLocaleInfo is always replaced by GetLocaleInfoW
16:52<+glx>but it's true only for unicode builds
16:53<ln->KUDr: so changing WCHAR -> TCHAR could be a good idea.
16:53<KUDr>i did it already
16:53<KUDr>don't worry
16:54<KUDr>and char
16:54<ln->ok, just making sure you were still following the discussion.
16:54<KUDr>it will work always
16:55<+glx>LOCALE_SISO* are not available for win95
16:55|-|Guest215 [] has quit [Ping timeout: 480 seconds]
16:56<ln->yeah, so it seems, Win98/Me, NT 4.0 and later.
16:57<KUDr>so it will fail and return NULL
16:57<KUDr>what is the problem?
16:58<+glx>no problem then :)
16:58<+glx>but the sprintf line seems wrong
16:59<+glx>mixing WCHAR params and char result
17:00<KUDr>it would not work on BE
17:00<KUDr>but 1) windoze doesn't run on BE cpus, 2) i removed WCHARS
17:00<Rubidium>Maedhros: technically I can compile Windows binaries, but that is as far as it goes; don't have the environment to run them
17:01<ln->that's based on the assumption that values of ASCII letters as WCHARs are equal to normal ASCII values.
17:01|-|Deathmaker [] has joined #openttd
17:01<RichK67_>quickie question... given an array of bytes pointed to by *blocklist.... can you tell how long the list is?? void Initialise(byte *blocklist);
17:01<KUDr>ln-: on BE cpus not
17:01<Rubidium>RichK67_: no
17:01<Wolf01>hello RichK67_ :)
17:02<+glx>should use _stprintf and FS2OTTD
17:02<RichK67_>damn... ill have to pass the length as well then
17:02<ln->KUDr: yeah, or at least would not work with printf on BE.
17:02<KUDr>glx: why FS2OTTD?
17:03<KUDr>can there be non ascii chars?
17:03<+glx>to convert WCHAR to char
17:03<ln->glx: but KUDr changed WCHARs to chars already
17:03<KUDr>there are no wchars
17:04<+glx>oh right you force ansi version of GetLocaleInfo
17:04<KUDr>and sprintf isn't on all compilers?
17:04<+glx>it is
17:04<ln->sprintf is standard ANSI C
17:04<KUDr>then ok
17:05<+glx>_stprintf is the one dependant on unicode (like TCHAR)
17:06|-|Brianetta [] has joined #openttd
17:06<KUDr>wow it really works
17:09<CIA-1>OpenTTD: rubidium * r10707 /trunk/src/window.cpp: -Codechange: account for the main toolbar and status bar when determining the maximum height for a window.
17:09|-|MUcht [] has joined #openttd
17:10<CIA-1>OpenTTD: rubidium * r10708 /trunk/src/smallmap_gui.cpp: -Codechange: allow automatic downsizing of the smallmap window in case of low resolutions; one could already make the window smaller, but the resize button was unreachable.
17:10|-|ja changed nick to ufoun
17:11|-|peterbrett [] has quit [Ping timeout: 480 seconds]
17:11|-|Progman [] has joined #openttd
17:11<CIA-1>OpenTTD: rubidium * r10709 /trunk/src/misc_gui.cpp: -Codechange: allow automatic downsizing of the load game/save game windows. These windows also already supported downsizing, but again the resize button would be unreachable.
17:13|-|Mucht_ [] has quit [Ping timeout: 480 seconds]
17:13<CIA-1>OpenTTD: rubidium * r10710 /trunk/src/group_gui.cpp: -Codechange: allow automatic downsizing of the group window. Same as idea as for the previous commits, i.e. you could already do so but the button would be out of reach.
17:14|-|peterbrett [] has joined #openttd
17:17|-|Zr40 [] has quit [Quit: Zr40]
17:19<ln->while we're at it, let's also have a look at:
17:19<CIA-1>OpenTTD: KUDr * r10711 /trunk/src/ (strings.cpp win32.cpp): -Fix [Win32]: take default language from current user's locale on Windows (In-)
17:19<@Belugas>interesting... you're dong stuff on osx too?
17:20<@Belugas>not you KUDr :) ln- ;)
17:20<KUDr>aha In!
17:20|-|Mucht_ [] has joined #openttd
17:20<+glx>ln-: but Bjarni is not here
17:20<ln->sometimes. more often than windows stuff.
17:21<@Belugas>glx, that's the point of asking :)
17:21<ln->'I' and 'l' look so much the same.
17:21<KUDr>ln-: so you can help me to prepare compile environment on mac
17:21<RichK67_>kudr: just a quick check... did you confirm British English vs US English vs International English... i would hate to be dumped into American ;)
17:22<KUDr>RichK67_: set your country to GB
17:22<Maedhros>with these patches, is there any point in keeping GetCurrentLocale in strings.cpp and not moving it to unix.cpp?
17:23<+glx>KUDr: d:/developpement/ottd/trunk/src/win32.cpp:1279: warning: embedded `\0' in format
17:23<ln->KUDr: sure..
17:23<RichK67_>okies, that will be ok then :)
17:23<KUDr>glx: uff, mistake
17:24<KUDr>ln-: when will be good time for you?
17:25|-|MUcht [] has quit [Ping timeout: 480 seconds]
17:26<ln->KUDr: well, i'm still awake, so go ahead and ask. what version of mac os x are you running, btw?
17:26<ln->although, in any case the first thing to do is to download Xcode tools.
17:27<KUDr>10.4 I must go back to work and take it home
17:27<KUDr>then you can connect using VNC or mac shared desktop
17:27<KUDr>and do it
17:27<KUDr>xcode is there
17:28<KUDr>normal development works
17:28<KUDr>also strip is there but makefile lies
17:28<KUDr>thet strip is missing
17:28<KUDr>so everything works fine except ottd makefile
17:29<ln->sounds quite odd.
17:29<ln->so strip is there and you can run it, but ottd makefile doesn't want to find it?
17:30|-|Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:30<KUDr>i dunno what strip is for but wheni type 'strip' it tels something like 'missing arguments'
17:31<KUDr>so i assume it is there
17:31<ln->isn't strip that tool that strips debug symbols from a binary.
17:31<KUDr>same as it wants me to define where is CC and CXX
17:31<KUDr>i dunno why and how
17:31<KUDr>gcc works fine there and g++ too
17:31<KUDr>it is crap
17:32<KUDr>maybe you are right with strip i dunno
17:32<KUDr>never needed that
17:32<+glx>I often use strip and upx
17:32<ln->gcc and g++ and strip are at /usr/bin, which definitely should be on everyone's $PATH..
17:33<CIA-1>OpenTTD: KUDr * r10712 /trunk/src/win32.cpp: -Fix (r10711): \0 at the end of string constant (glx)
17:33<KUDr>i think it is in $PATH because i don't need to specify path when using it
17:33<ln->did you run ./configure first?
17:34<KUDr>this is what configure tells
17:34<KUDr>missing strip
17:34<KUDr>and need define where CC and CXX are
17:34<KUDr>everything else looked normally
17:34<KUDr>but you will see
17:35<KUDr>should I go for it now?
17:35<KUDr>will you wait ca 45 mins?
17:36<KUDr>or 1 hour including me starting VNC there ....
17:36<KUDr>and opening port
17:36<ln->i can't promise i would be awake anymore..
17:36<KUDr>and tomorrow?
17:37<KUDr>because otherwise it can stay where it is
17:37<KUDr>and i don't need to travel
17:37<KUDr>i ned to learn how to weak it up from sleep remotely
17:38<KUDr>it is there connected but sleeping
17:38<ln->hmm, have you checked config.log to see if there's some additional info on why does it fail to find those things such as gcc?
17:39<KUDr>i don't understand that stuff
17:39<KUDr>i am mouse clicking stupid user
17:40<ln->i see
17:40<KUDr>but it would be fine to have it compilable on mac
17:40<KUDr>then i can do also mac stuff
17:41<ln->is that some recent version of Xcode tools? (although i don't see why should it fail on older versions either..)
17:41|-|Chris82 [] has joined #openttd
17:41<KUDr>it is new
17:41<Chris82>hey guys
17:41<KUDr>xcode itself works fine
17:41<Chris82>just compiled after fixing some code but I got 4 errors left
17:42<Chris82>maybe somebody can help me out
17:42<KUDr>on good way
17:42|-|Rippsy [] has quit [Ping timeout: 480 seconds]
17:42<ln->KUDr: and it can compile code and produce executables?
17:42<KUDr>also from obj-c
17:42<KUDr>java, c, c++
17:42<KUDr>and they work too
17:43<KUDr>i played with cocoa
17:43<KUDr>it is really nice environment
17:43<KUDr>i wish it is all-platforms
17:44<ln->despite some weaknesses, Xcode is better than any IDE i've seen on Linux.
17:44<KUDr>xcode is fine for me too
17:45<KUDr>i wish i can compile ottd there
17:45<KUDr>what are you doing Sat and Sun? Are you available?
17:47<KUDr>Chris82: wher did you take it from? >> "DrawFoundation(ti, ti->tileh)"
17:48<+glx>Chris82: for _build_bridge_desc, I think you didn't add min size
17:48<ln->i suppose I'll be here tomorrow night, maybe evening too. and most of sunday probably.
17:48<KUDr>good, so i will go for it
17:49<+glx>Chris82: and for the latest add a !=0
17:49<Chris82>KUDr: the DrawFoundation thing is from some patch I think
17:49<KUDr>DrawFoundation(ti, GetRailFoundation(ti->tileh, track)) << it should look somehow so
17:49<KUDr>or similar
17:49<KUDr>your patch is crap
17:50<Chris82>I think that line is from the build under slopes patch
17:50<Chris82>I was playing with it but it doesn't work
17:50<KUDr>of course
17:50<KUDr>it is wrong
17:51<KUDr>or obsolete
17:51<KUDr>i dunno
17:52<Rubidium>Chris82: that's the danger of incorporating patches you've got absolutely no knowledge about
17:52<Chris82>glx: hmm defining a minimum height gives me the same error
17:53<Rubidium>any trunk change will give you an enormous headache
17:53<Chris82>yeah just fixed 30 errors already
17:53<Chris82>but these 4 are left and indeed give me some headaches ;)
17:53<+glx>ask the patches authors to fix them :)
17:53<+glx>if they don't remove the patch
17:54<+glx><insert comma between "don't" and "remove"> ;)
17:54<ln->gaaah, VMware just rebooted my computer.
18:00<@Belugas>joy.. still working@work
18:00<@Belugas>my wife is FURIOUS!
18:01<Prof_Frink>Belugas:... It's *tomorrow*
18:01<@Belugas>not here...
18:01<Prof_Frink>Day changed to 28 Jul 2007
18:01<Prof_Frink>[00:00:41] <@Belugas> joy.. still working@work
18:01<KUDr>why, it is only 7 PM there or now?
18:01<@Belugas>[19:02] <KUDr> why, it is only 7 PM there or now? :)
18:01<KUDr>-w +t
18:02<@Belugas>but it is my last day of work before vacations, and i need to finish my stuff before leaving for 2 weeks
18:02<@Belugas>and let say they did overcharged me with "unexpected" problems
18:02<KUDr>so wish you luck
18:02<@Belugas>appreciated, thanks
18:03<KUDr>and then enjoy holiday
18:03<@Belugas>that too :D
18:04<KUDr>does somebody know how to get user's private directory in Java?
18:04<KUDr>(path to it)
18:04<Rubidium>System.GetToolKit.Getsomething("user.home.dir") or so
18:06<KUDr>getToolkit is not there
18:06|-|skidd13 [] has joined #openttd
18:07<Rubidium>haven't use java for over a year or two so it'
18:07<Rubidium>it's a little rusty
18:08<KUDr>i didn't use it for 12 yrs and now i learn it again ;)
18:09|-|RichK67_ [~RichK67@] has quit [Quit: RichK67_]
18:09|-|KritiK [] has quit [Quit: Leaving]
18:11<Maedhros>good night
18:11<@Belugas>night Maedhros :)
18:11<Maedhros>Belugas: enjoy your holiday :)
18:11<@Belugas>i will, believe me, even if i will not dive :)
18:12<@Belugas>sadder note, i wold not be hable to touch a comuter too much either :(
18:12<Maedhros>never mind, eh :)
18:12|-|Maedhros [] has quit [Quit: good night]
18:16|-|elmex [] has quit [Remote host closed the connection]
18:16|-|Progman [] has quit [Remote host closed the connection]
18:18|-|Rippsy [~Moose@] has joined #openttd
18:22|-|peterbrett [] has quit [Remote host closed the connection]
18:36|-|Tobin-_ [~tobin@] has joined #openttd
18:39|-|Deathmaker [] has quit [Read error: Connection reset by peer]
18:42|-|Brianetta [] has quit [Quit: Tschüß]
18:42<Rubidium>Chris82: about the third error, it wasn't possible to write bridge_desc.height before the change to default_height
18:43<Rubidium>but probably the person who wrote that patch unconsted bridge_desc
18:43<Rubidium>the fourth is probably solved by v->... & VS -> (v->.. & VS) != 0
18:44<Rubidium>the first two I can't solve (too little information and no incentive to work on that build "under" slopes patch)
18:44|-|lolman [] has joined #openttd
18:50<CIA-1>OpenTTD: KUDr * r10713 /trunk/src/win32.cpp: -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater)
18:53|-|skidd13 [] has left #openttd []
18:55<Chris82>Rubidium: I removed the build under slopes patch as it wasn't working anyway even with the version it was programmed with
18:57<Chris82>and yes unconsting fixed the issue :) so now all code compiles fine, only the build under slopes patch caused problems
19:04<Chris82>hmm well the != 0 doesn't help still gives me a warning, but the code compiles and executes
19:04<Rubidium>then the warning is not in the given line
19:05<Rubidium>anyhow, I don't have enough context to judge that
19:06<Chris82>well the problem is that VS_SHADW seems to be a bool while all the other vaues from that line are ints
19:06<+glx>show us the line
19:06<Chris82>I don't know why I get a warning tho because the line is unchanged from trunk and when compiling a clean trunk I don't get the warning on this line
19:06<Chris82>v->sprite_width, v->sprite_height, v->z_height, v->z_pos, v->vehstatus & VS_SHADOW);
19:07<Chris82>for me line 867 in vehicle.cpp
19:07<Chris82>line 862 in trunk
19:10<Chris82>hmmm says the same which you suggested Rubidium (with the != 0)
19:12<+glx>hmm trunk gives the warning
19:12<Rubidium>oh noes... fix it ;)
19:12<Rubidium>there may be more though
19:13<+glx>well I'm now doing a full rebuild
19:13<+glx>to be sure
19:16|-|Smoovious [] has quit [Read error: Connection reset by peer]
19:18|-|Smoovious [] has joined #openttd
19:20<CIA-1>OpenTTD: glx * r10714 /trunk/src/vehicle.cpp: -Fix r10696: MSVC performance warning
19:20<+glx>it was the only one :)
19:36|-|Rippsy [~Moose@] has quit [Ping timeout: 480 seconds]
19:45<Tefad>yay performance
19:56|-|Ammller [] has joined #openttd
20:02|-|Ammler [] has quit [Ping timeout: 480 seconds]
20:30|-|Eddi|zuHause2 [] has joined #openttd
20:37|-|Eddi|zuHause3 [] has quit [Ping timeout: 480 seconds]
20:42|-|MUcht [] has joined #openttd
20:43|-|glx [] has quit [Quit: bye]
20:45|-|Mucht_ [] has quit [Ping timeout: 480 seconds]
20:47<Digitalfox_Desktop>Today is my birthday, and my girlfriend just ofered me a new PStwo slim SCPH-77004 PAL.. And i need some help on how to make it read divx files from a external USB disk.. Anyone knows? :)
21:02|-|Tobin-_ [~tobin@] has quit [Read error: Connection reset by peer]
21:07|-|Digitalfox_Desktop [] has quit [Quit: Bye]
21:24|-|Mucht_ [] has joined #openttd
21:28|-|MUcht [] has quit [Ping timeout: 480 seconds]
22:12|-|Alltaken [] has joined #openttd
22:20|-|Chrissicom [] has joined #openttd
22:27|-|Chris82 [] has quit [Ping timeout: 480 seconds]
22:27|-|Chrissicom changed nick to Chris82
22:28|-|Eddi|zuHause3 [] has joined #openttd
22:30|-|MUcht [] has joined #openttd
22:32|-|Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
22:32|-|Mucht_ [] has quit [Ping timeout: 480 seconds]
22:56|-|Ammller [] has quit [Ping timeout: 480 seconds]
23:04|-|Mucht_ [] has joined #openttd
23:07|-|MUcht [] has quit [Ping timeout: 480 seconds]
23:31|-|raimar2 [] has joined #openttd
23:38|-|raimar3 [] has quit [Ping timeout: 480 seconds]
---Logclosed Sat Jul 28 00:00:45 2007