Back to Home / #openttd / 2011 / 10 / Prev Day | Next Day
#openttd IRC Logs for 2011-10-11

---Logopened Tue Oct 11 00:00:34 2011
00:02-!-Eddi|zuHause [~johekr@p54B73774.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
00:36-!-Elukka [Elukka@89-166-103-135.bb.dnainternet.fi] has joined #openttd
01:13-!-Zmapper [~Zmapper@c-98-245-169-134.hsd1.co.comcast.net] has joined #openttd
01:14<Zmapper>I am trying to find an American Southwestern Desert theme. Do you know of any one that you like?
01:15-!-|Korenn| [~kvirc@93-125-161-18.dsl.alice.nl] has joined #openttd
01:17-!-George|2 [~George@212.113.107.39] has joined #openttd
01:17-!-George is now known as Guest13222
01:17-!-George|2 is now known as George
01:22-!-Korenn [~kvirc@93-125-161-18.dsl.alice.nl] has quit [Ping timeout: 480 seconds]
01:23-!-Guest13222 [~George@212.113.107.39] has quit [Ping timeout: 480 seconds]
01:32-!-Prof_Frink [~proffrink@5e0a9627.bb.sky.com] has quit [Ping timeout: 480 seconds]
01:54<@Terkhen>good morning
02:00-!-Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has joined #openttd
02:00-!-supermop [~daniel_er@cpe-67-243-25-39.nyc.res.rr.com] has quit [Quit: supermop]
02:14<@planetmaker>moin
02:19<Elukka>zap
02:19-!-DayDreamer [~DayDreame@94.142.234.1] has joined #openttd
02:22-!-Br33z4hSlut5 [~static.kp@92.68.154.34] has joined #openttd
02:34-!-andythenorth [~Andy@cpc15-aztw25-2-0-cust3.aztw.cable.virginmedia.com] has joined #openttd
02:43-!-Mucht [~Martin@chello084115143107.3.graz.surfer.at] has joined #openttd
02:45-!-andythenorth [~Andy@cpc15-aztw25-2-0-cust3.aztw.cable.virginmedia.com] has quit [Quit: andythenorth]
02:46-!-HerzogDeXtEr [~Flex@88.130.177.9] has quit [Read error: Connection reset by peer]
02:51-!-norbert79 [~Norbi@deibp9eh1--blueice4n2.emea.ibm.com] has joined #openttd
03:01-!-pugi [~pugi@host-091-097-027-007.ewe-ip-backbone.de] has joined #openttd
03:12<|Korenn|>Zmapper: NARS in tropical is currently about the best you can get
03:12-!-|Korenn| is now known as Korenn
03:13-!-Beengalas [~Beengalas@nl105-254-205.student.uu.se] has joined #openttd
03:13<CIA-2>OpenTTD: peter1138 * r23016 /trunk/src/blitter/32bpp_anim.cpp: -Change: Disable palette animation for pixels with alpha, as the alpha and previous colour information will be lost when the palette is animated.
03:20-!-Neon [~Neon@dslb-094-219-007-058.pools.arcor-ip.net] has joined #openttd
03:36<dihedral>good morning
03:40-!-Zmapper [~Zmapper@c-98-245-169-134.hsd1.co.comcast.net] has quit [Quit: Bye for now!]
03:56<@planetmaker>Korenn: "...that might motivate the devs to finish..." <-- as you said yourself yesterday: don't rely on it. Do what you can without that. Or take e.g. what michi posted yesterday and build on it. Come up with a nice patch queue
03:56-!-Progman [~progman@p57A1AAF4.dip.t-dialin.net] has joined #openttd
03:56<@planetmaker>it's more than one patch. For sure
03:56<@planetmaker>hello dihedral
03:57<Korenn>planetmaker: that's a nudge towards Terkhen to finish his subsidies patch :)
03:57<@planetmaker>I know. But the best nudge is "I've done everything, the only thing missing is this piece"
03:58<@planetmaker>maybe he even has some preliminary stuff there so that you can build on it for testing purposes. Dunno
03:58<@planetmaker>and what michi linked iirc was similar to what t3erkhen said
03:58<Korenn>having stuff finished AND popular request for the feature is even better
03:58<Korenn>and for popular request, people have to play it first :)
03:58<@planetmaker>popular request only brings you so far
03:59<@planetmaker>we work for the same reasons as you: we have to be personally interested in it and it has to be fun
03:59<@planetmaker>popular request is only a very minuscle motivation
04:00<Korenn>sure, but as I understood it, whether or not it makes the game more fun to play is important. And lots of people saying they like it shows that.
04:01<@planetmaker>good. And why don't you then find the goal part I suggested similarily interesting?
04:01<appe>morning.
04:01<@planetmaker>it's at least as much popular demand
04:02-!-DabuYuTimeOut [DabuYu@128.250.79.189] has joined #openttd
04:05<@planetmaker>The popular demand IMHO is not in question. The only thing missing is an actual implementation
04:05-!-hanf [~Klaus@host-89-240-246-14.as13285.net] has joined #openttd
04:07<CIA-2>OpenTTD: peter1138 * r23017 /trunk/src/ (7 files in 3 dirs): -Codechange: Add support for resized scrollbars.
04:08<@planetmaker>juhu :-)
04:08<@peter1138>right, 9:08
04:08<@peter1138>i should be in the office
04:10-!-DabuYu [DabuYu@128.250.79.189] has quit [Ping timeout: 480 seconds]
04:11-!-DayDreamer [~DayDreame@94.142.234.1] has quit [Quit: Leaving.]
04:11<@planetmaker>:-)
04:15-!-Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has joined #openttd
04:19<@Terkhen>Korenn: sadly, the motivation I need is not for finishing the patch, but for coding anything at all :)
04:21<@planetmaker>hm :-(
04:23<@peter1138>and here i am
04:27<@peter1138>a few steps remaining for biggui support :P
04:29<@Terkhen>nice :)
04:32*dihedral sends lots of motivation to Terkhen
04:35-!-Jesus [~562f13da@webuser.thegrebs.com] has joined #openttd
04:36-!-Jesus [~562f13da@webuser.thegrebs.com] has quit []
04:36-!-Jesus [~562f13da@webuser.thegrebs.com] has joined #openttd
04:36-!-Eddi|zuHause [~johekr@p54B72E39.dip.t-dialin.net] has joined #openttd
04:38<Jesus>hey
04:39-!-hanf [~Klaus@host-89-240-246-14.as13285.net] has quit [Read error: Connection reset by peer]
04:40-!-Jesus [~562f13da@webuser.thegrebs.com] has quit []
04:41<blathijs>Korenn: Was jij nou Dennis?
04:41-!-JVassie [~James@2.30.129.177] has joined #openttd
04:43<appe>hm
04:43<appe>something tells me its a bit too hard to make funny grfs to openttd.
04:44<appe>if it was easy, we would have carts with gazillion tonne load, and trains in the speed of light.
04:44<appe>but ..do we want that?
04:44-!-pjpe [ae5b4c80@ircip1.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
04:45<norbert79>A Tron look to OpenTTD would be interesting... :)
04:45<appe>oh sweet jesus yes.
04:45<appe>the map would look like a got damn cpu
04:45<norbert79>Aye
04:46<appe>i guess its hard work to acheive that
04:46<norbert79>And the company owners would be CLU-1, CLU-2, etc
04:46<norbert79>:D
04:46<appe>or.. well, at least in a time perspective.
04:46<appe>it would be fantastic to make the trains leave a trail of light
04:47<appe>where speed and profit reflects color
04:47<norbert79>appe: That would some nice effect indeed
04:50<@Terkhen>you could always hack it with some wagons :P
04:50<norbert79>Terkhen: I might try some testing with plain screenshots adding the tron-like effect and see how well it might work
04:51-!-JVassie_ [~James@86.17.13.33] has joined #openttd
04:51<@Terkhen>I think that the NewGRF specs already allow to do really crazy stuff, I would like to see examples :P
04:51<b_jonas>wouldn't smoke be better than wagons?
04:51<norbert79>Terkhen: Sure, I am more have concerns from the look perspective...
04:51<b_jonas>I mean, wagons take up space where other wagons can't move
04:52<@Terkhen>yes, that's not as advanced :)
04:52<@Terkhen>b_jonas: I think that smoke sprites and smoke effects are fixed
04:52<b_jonas>hmm
04:53<b_jonas>sad
04:54<Korenn>tron would be awesome indeed
04:55<Korenn>you could ship programs instead of passengers, and bits / states / memory as cargo :)
04:55<norbert79>lol, yeah, good thinking
04:55<norbert79>Well, Tron 2.0 had Water, so that's resolved... There were also planes to be seen
04:55<norbert79>the animation of the planes could be the same like in the movie ;-Ö
04:55<norbert79>;-)
04:56<norbert79>Having it "created" while taking off
04:56<norbert79>you would only see people running, and then jumping up, and the pléane would be created aroiund them
04:57<Korenn>the tracks could be the columns of lights that trains move around on
04:58<norbert79>I should rewatch the movie and create some first sprite tests
04:58-!-JVassie [~James@2.30.129.177] has quit [Ping timeout: 480 seconds]
04:58<Korenn>http://1.bp.blogspot.com/-CWEqT8lXGXY/TmBDxp0KPWI/AAAAAAAABD0/A7jVzv7I5VU/s1600/LightSailer.jpg
04:58<Korenn>those for tracks :)
04:58<norbert79>Korenn: Problem arises when player won't use straight bridges, and when slopes hit...
04:59<norbert79>it would look silly...
04:59<@peter1138>why am i now associating normal scrollbars and biggui scrollbars with french fries and chunky chips?
04:59<@planetmaker>it's not difficult. Most people just prefer realistic (for certain definitions of 'realistic')
04:59<@planetmaker>hm, I'm behind time
05:01<norbert79>Korenn: regular tiles would look like the normal ones except for the fact, that it would be just a glassy -black looking one, with neon lights around each corner, and not grassy tiles would be the same, but instead of seeing grass growing you would see the neon first dimming, and being brigther with each step...
05:01<norbert79>maybe you could avoid the dimming part
05:01<norbert79>but showing no light, but getting brighter...
05:02<norbert79>I mean the neon-light only
05:02<norbert79>hmm, it might not look as good as I assume... Maybe no lighting at all, just a plain-glassy looking tile, that's it
05:04<appe>i like what you are doing.
05:05<norbert79>light's shall only be used for buildings, and for showing tracks imho... Just planning appe, just playing with ideas... :)
05:05<norbert79>for now
05:05<appe>love it
05:05<appe>make it
05:05<b_jonas>maybe it's the tracks itself that should light up
05:05<norbert79>b_jonas: And buildings of course, like in Tron 2
05:05<b_jonas>Fehér Klára's sci-fi novel has tracks like that
05:06<Korenn>I'd guess the terrain makes or breaks the idea. So probably need to draw and code that first :)
05:06<appe>i can make the midi music for the tron maps
05:06<norbert79>b_jonas: Well, if designed, I think sticking to Tron 2.0 Grid look would be the standard
05:06<appe>already know how to play the solar sailer theme.
05:06<appe>:D
05:06<b_jonas>lighting up in red for a distance behind a vehicle so that the vehicle behind it knows when you get too close to it
05:06<Korenn>perfect candidate to replace toyland
05:06<norbert79>Korenn: I don't want to have it replacing anything, not everyone loves the Tron look anyway :)
05:07<@planetmaker>we still need nice stations (airports, road stops, rail,...) for toyland climate
05:07<norbert79>Korenn: You could also develope a Star Trek or Star Wars look too... :)
05:07<Korenn>lol, I don't mean as a permanent replacement ;)
05:07<appe>i do
05:07<appe>toyland is useless
05:07<norbert79>I like Toyland
05:07<norbert79>:P
05:08<norbert79>The trees which only makes my eyes hurt...
05:08<norbert79>at least using the original ones
05:08<norbert79>but in general I like it
05:08<norbert79>reminds me of Revolt
05:10<b_jonas>a star trek look? with faster-than-light vehicles?
05:10<norbert79>no
05:10<norbert79>b_jonas: If you ever seen Star Trek 1 - The movie
05:10<norbert79>or some scenes from TNG or VOY
05:10<b_jonas>and depots should look like the Tardis
05:10<norbert79>you could remember that on Earth it's the same
05:11<b_jonas>because they're bigger on the inside
05:11<norbert79>just having more ICE like trains
05:11<norbert79>why not Doctor Who's telephone booth? :)
05:14<Korenn>There was an effort to introduce a lego (brickland) terrain a couple of years back
05:14<Korenn>don't know if it ever resulted in a usable grf
05:15<@planetmaker>not that I know
05:15<@planetmaker>the "problem" with all these endeavours is: it's really lots of work
05:15<b_jonas>I'm fine with grfs changing temperate
05:15<@planetmaker>it's not dozens of sprites. But it's hundrets of sprites at least
05:15*peter1138 would like an option for AIs to have an old-style generated name
05:15<b_jonas>keeping its realistic style
05:16<@planetmaker>peter1138: that's easy... the AI supply their names themselves
05:16*peter1138 doesn't want an AI called "StreetTraffic" governed by "Frank/2"
05:16<@peter1138>planetmaker, yes, i don't want that :)
05:16<@planetmaker>peter1138: just suggest that to the AI authors with a list of applicable names
05:17<@peter1138>there's a name generator already, why should there be a list? heh
05:17<@planetmaker>I'm sure people like Zuu will implement that. Maybe even in his superlib
05:17<@planetmaker>well. Or name generator
05:17<@peter1138>i don't see why it has to be the AI implementing it :S
05:17<@planetmaker>why not?
05:18<@Yexo>peter1138: if an AI doesn't provide a name OpenTTD will generate one for it
05:18<@peter1138>ok
05:18<@peter1138>so i want an option to disable that call
05:19<@Yexo>if you modify AICompany::SetName (in src/ai/api/ai_company.cpp) to always "return true" without executing the AIObject::DoCommand that's exactly what'll happen for all AIs
05:19<@planetmaker>hm, Yexo, can I sweet-talk you into converting another recolour sprite?
05:19<@Yexo>sure
05:19<@planetmaker>toyland/toyland-1178-gui-recolor.pnfo
05:20<dihedral>'generate' a name for the ai? based on what - i.e. would the name vary between games?
05:20<@peter1138>hmm, the "pin" icon makes window captions the correct height
05:20<b_jonas>I wanted to build an iron ship, found that the dock is just too far from the steel mill to accept steel, so I wanted to add a truck to feed it, but it turns out that the truck station just next to the dock already makes the dock accept steel, so the feeder isn't necessary
05:20<@peter1138>the closebox doesn't :P
05:20<@peter1138>that gives me a clue where to start ;)
05:21<@peter1138>except the code is the same :S
05:22<appe>im still hooked to this tron idea
05:22<appe>if you make the tron grfs, ill make the music.
05:22<appe>im actually already on it.
05:22<b_jonas>So now I'd like to find a rail station sprite approperiate for the extending the station to reach the steel mill
05:22<b_jonas>Probably a crane
05:22*appe loves the idea of being on a train from copenhagen, making midi music about trains.
05:22<@planetmaker>hm... appe, can you generate also sound effects?
05:22<appe>absolutely.
05:23<@planetmaker>openttd misses a sound set which is gpl
05:23<appe>gpl?
05:23<@planetmaker>license
05:23<appe>ah
05:23<appe>what
05:23<appe>whats used now?*
05:23<@planetmaker>we cannot bundle the sound set e.g. on cover CDs of magizenes or so
05:23<appe>i see
05:24<@planetmaker>it's creative commons sampling 1.0 plus or so
05:24<@planetmaker>which excludes commercial use. Which a cover CD would be
05:24<appe>ah, i see.
05:24<appe>i guess i could manage that.
05:24<@planetmaker>and having base sets the same license as openttd is quite a good thing usually
05:24<appe>can you provide me with the original sounds as wav, i guess i can make my own versions of the sounds.
05:25<dihedral>we could ask mike tompkins :-P
05:25<@planetmaker>http://dev.openttdcoop.org/projects/opensfx/repository/revisions/85ebf26136ef/entry/src/opensfx.psfo <-- that's a list. All wav files are in that repository
05:26<b_jonas>wait, why would you want to bundle the set on cover CDs?
05:26<@planetmaker>http://dev.openttdcoop.org/projects/opensfx/repository/revisions/85ebf26136ef/show/src/wav <-- here
05:26<@planetmaker>b_jonas: to have sound at all?
05:26<@planetmaker>you want to ship a crippled game?
05:27<b_jonas>I mean, why would you want to sell the game commercially?
05:27<@Terkhen>distributing it is not the same as selling it :)
05:28<b_jonas>but if you're not selling it but giving it away for free then that's not commercial, is it?
05:28<appe>good thinking
05:28-!-DDR_ [~chatzilla@142.179.78.88] has quit [Ping timeout: 480 seconds]
05:28<appe>ill see what i can do
05:28<appe>i have all the stuff
05:29<Korenn>http://www.tt-forums.net/viewtopic.php?f=36&t=34999&hilit=brickland < pretty complete
05:29<appe>i might even consider moog'ing the chew-chew sounds.
05:29<appe>that would be awesome^googolplex
05:29<@planetmaker>appe: don't care too much of what sounds sound like now
05:29<b_jonas>"moog'ing"?
05:29<@planetmaker>Care about where they're used / when they're used
05:29<appe>yes, of course.
05:30<@planetmaker>being creative how to represent a sawmill or a truck is good :-)
05:30<appe>though, it's not like im going to make new music. it still have to resemble what it actually should sound like ;).
05:30<b_jonas>as in, record an actual truck?
05:31<appe>no, not really, but stick to what trucks sound like.
05:31<@planetmaker>appe: I'm all fine with receiving just the wavs. I'll encode it happily to the sound set
05:31<appe>and 'mooging' is when you deliberatly use analogue hardware to make stuff more personal.
05:31<@planetmaker>"just"
05:31<appe>planetmaker: :)
05:31<appe>ill try it out
05:31<b_jonas>I see
05:31<@planetmaker>yours is the main work :-)
05:31<norbert79>Ok, first test image on the black glass looking base tile, how I imagined it, well, almost (Tron debate :) ):
05:31<appe>ill make a few examples, and youll be the judge
05:31<norbert79>http://img827.imageshack.us/img827/2020/testjw.png
05:32<appe>norbert79: that's perfect
05:32<@planetmaker>it'd be awesome, appe :-)
05:32*appe np: daft punk - TRON:legacy - recognicer
05:32<@planetmaker>in case of doubt where to put stuff: open a ticket on opensfx http://dev.openttdcoop.org/projects/opensfx/issues
05:36<norbert79>appe: Having cheated a bit on the size, but I have applied the NewGRF palette: http://img804.imageshack.us/img804/9169/testbo.gif
05:36<appe>:)
05:36<appe>looks great
05:36<@planetmaker>norbert79: I hope you use the DOS palette? ;-)
05:36<norbert79>planetmaker: Shall I? :)
05:36<norbert79>planetmaker: Used Win
05:37<@planetmaker>honestly: yes, you should
05:37<@planetmaker>it is the technically superior one
05:37<V453000>why are there two palettes anyway?
05:37<@planetmaker>openttd internally uses DOS, too. For that reason
05:37<norbert79>Sure...
05:37<norbert79>Well, doesn't look different, have to check the special bytes though
05:38<norbert79>if not accessed any
05:38<@planetmaker>V453000: ttd was sold for DOS and for windows. Each had its own palette
05:38<dihedral>i remember that time ^^
05:38<V453000>hm :) so just a historical matter nowadays?
05:38<@planetmaker>yes
05:38<@planetmaker>nowadays you should forget completely about the windows palette
05:38<b_jonas>even one palette is a historical matter we're stuck with
05:38<V453000>_
05:38<V453000>:)
05:39<b_jonas>but then if the DOS palette is superior, then why does the NewGRF settings default to the Windows palette?
05:39<V453000>well having a palette is good, makes it easier to draw stuff when colours have only N bright/dark versions
05:39<appe>what's the difference?
05:39<appe>is dos grf's not the same type of file?
05:40<V453000>dos has a few more colours afaik
05:40<@Yexo><b_jonas> but then if the DOS palette is superior, then why does the NewGRF settings default to the Windows palette? <_ NewGRFs can specify which palette they use via action14
05:40<appe>V453000: i see.
05:40<@Yexo>the majority of the "old" grfs don't use action14 (because it wasn't around when they were created) and they also use the windows palette
05:40<appe>V453000: i remember you, btw.
05:40<b_jonas>Yexo: I see
05:40<appe>V453000: i fucked up one of your collaboration games.
05:40<appe>:D
05:40<V453000>you remember me? :D why?
05:40<@Yexo>hence the best course of action is to leave the default at windows for old grfs and make sure new NewGRFs start using the dos palette (and action14)
05:40<b_jonas>ok, thanks
05:41<V453000>Yexo: do new newGRFs use dos palette though? :)
05:41<@planetmaker>V453000: depends on what authors use
05:41<@Yexo>I believe the opengfx+ ones do at least
05:42<V453000>yes I know, but after the amount of questions "why use DOS palette" in all various channels regarding newGRF making, I am quite unsure how many people actually do use the dos palette
05:42<@planetmaker>they do. Or should
05:42<@planetmaker>V453000: as long as they use an action14 it doesn't matter much
05:42<V453000>should. :)
05:42<V453000>yes yes :)
05:43<@planetmaker>But if you start drawing new sprites there's no reason to use the slightly inferior windows palette
05:43<@planetmaker>as it makes no difference really during drawing
05:44<V453000>hm, is it written somewhere though? I found it mentioned in tutorials from George that it is better to use DOS palette :)
05:46<dihedral>hehe - great
05:46<b_jonas>maybe we should just reach up to the main toolbar for real life and fast-forward until openttd and all grfs have 32-bpp graphics and extra zoom levels?
05:46<dihedral>:-D
05:47<@Terkhen>that will never happen :)
05:47<@Terkhen>some NewGRFs will never be updated, and some authors will choose to stick with 8bpp
05:47<@Terkhen>I'll also probably prefer the 8bpp look
05:47<appe>im rather excited
05:47<@Terkhen>but I want to try a proper 32bpp base set too :P
05:47<appe>miih.
05:48<b_jonas>a 32bpp newgrf could still have a 8bpp look
05:49<V453000>I think it also is much harder to draw in more colours, so for people like me who want to start with drawing, I think 8bpp will always be the way to go
05:49<@planetmaker>b_jonas: cutting the backward compatibility for those newgrfs is not an option :-)
05:49<@planetmaker>doesn't mean one cannot use 32bpp, though
05:49<@planetmaker>as 8bpp is clearly a subset ;-)
05:50<b_jonas>okay
05:50<dihedral>:-P
05:51<dihedral>can openttd not rewrite access to the 8bpp palette using the 32bpp one?
05:51<@planetmaker>dihedral: the 32bpp blitter does exactly that...
05:52<appe>planetmaker: not more then 72 sound files?
05:52<appe>that's odd.
05:53<@planetmaker>that's all. yes
05:53<appe>i guessed me a hundred or two.
05:54<appe>i was just thinking. i usually release my stuff under the CC licence
05:54<appe>and as far as i know, you can release stuff with CC+1, as long as you have the artists concent.
05:57<@planetmaker>appe: yes, CC+1 is the set's license. But as said, that license is not compatible with GPL. Thus that can't be changed with the current wav files except the few which rb created himself.
05:57<appe>ah, i see
05:57<appe>licences are for schmucks.
05:58<appe>and business men (like me).
05:58<appe>;)
05:58<@planetmaker>yes and no. They're pain and gain
05:58<@planetmaker>only the FLOSS license allow this project to live and continue to live
05:58<@planetmaker>as everyone can carry on
05:58<appe>free-libre?
05:58<@planetmaker>only the license makes it legal
05:59<@planetmaker>yes
05:59<b_jonas>so I will have to make multiple short cheap show trains to trainsport coals instead of a single expensive fast train?
06:00<b_jonas>these realistic grfs are interesting
06:01<@planetmaker>appe: of course improvements of existing sounds are welcome, I'd much welcome it, if you'd allow (also) use under GPL v2, along of CC+1
06:01<@planetmaker>then the transition could be smoothly until all CC+1 only sounds are replaced by dual-licensed sounds
06:01<@planetmaker>at which stage we could switch to GPL v2 for the set ;-)
06:01<George>V453000> I found it mentioned in tutorials from George that it is better to use DOS palette :) <- I never wrote such a thing.
06:01<George>I use win palette
06:02<George>also win paletter has 6 less colours
06:02<George>so it is safer to use win one
06:03<V453000>really? :o
06:03<V453000>sorry then :d
06:06<Elukka>is gpl ever not a pain
06:07<Elukka>http://sam.zoy.org/wtfpl/ sounds nice...
06:07<V453000>lol :D
06:07<@Terkhen>why is gpl being a pain in the current conversation? :P
06:10<@Yexo><George> so it is safer to use win one <- that only holds true for ttdpatch
06:10<@Yexo>in openttd you can mix grfs that use both palettes without problems and the extra colors in the DOS palette are always supported
06:12<@planetmaker>well. TTDPatch doesn't support mixing palettes anyway, does it?
06:12<@Yexo>no
06:12<@planetmaker>thus there it's equally safe to use one or the other palette
06:13<@Yexo>if you use the win palette you can convert it automatically to the dos palette and release 2 grfs, if you draw in the dos palette it's problematic since you can't convert the extra colors
06:15-!-KenjiE20 [~Kenji@host-92-8-77-176.as43234.net] has joined #openttd
06:15<@planetmaker>there's no safe conversion path dos->windows?
06:16<appe>i dont really understand this
06:16<appe>why does one play dos at all?
06:16<appe>why would one, that is.
06:16-!-KenjiE20 [~Kenji@host-92-8-77-176.as43234.net] has quit [Read error: Connection reset by peer]
06:17<@planetmaker>appe: the palette naming has nothing to do really with which OS it's played on
06:17<@planetmaker>the naming is purely historical. And as we see here, quite confusing
06:17<appe>aha
06:17<appe>:D
06:17<@planetmaker>we could call it palette1 and palette2
06:18<@Yexo><planetmaker> there's no safe conversion path dos->windows? <- how can there be when the dos palette has colors the win palette has not?
06:18<@planetmaker>closest match :-)
06:18<@Yexo>that is workable, but not completely safe
06:18<@Yexo>and that is exactly the reason why nml supports win->dos conversion, but not the other way around
06:18<@planetmaker>grfcodec must do something like that
06:19-!-KenjiE20 [~Kenji@host-92-8-77-176.as43234.net] has joined #openttd
06:20<b_jonas>hmm
06:20<b_jonas>this train won't go where I want
06:20<b_jonas>ah, I found the reversed signal
06:21<b_jonas>better
06:22<V453000>lol, probably first play, then ask :P
06:27<Korenn>the dos pallette has more colors?
06:27<Eddi|zuHause>slightly
06:27<Korenn>then why would you ever use win? ;)
06:28<Eddi|zuHause>hysterical raisins
06:28<Korenn>damn raisins
06:28<Korenn>especially the hysterical ones!
07:19-!-Neon [~Neon@dslb-094-219-007-058.pools.arcor-ip.net] has quit [Quit: Python is way too complicated... I prefer doing it quickly in C.]
08:04-!-ccfreak2k [~ccfreak2k@haqua.4chan.fm] has quit [Quit: ZNC - http://znc.sourceforge.net]
08:04-!-ccfreak2k [~ccfreak2k@haqua.4chan.fm] has joined #openttd
08:52-!-TWerkhoven [~twerkhove@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has joined #openttd
08:52-!-glx [glx@2a01:e35:2f59:c7c0:c8f1:6bdf:e41d:77d8] has joined #openttd
08:52-!-mode/#openttd [+v glx] by ChanServ
09:13<CIA-2>OpenTTD: peter1138 * r23018 /trunk/src/widgets/dropdown.cpp: -Fix (r14004): Pass bottom of dropdown item rather than bottom of dropdown window.
09:16<@Belugas>hello
09:17<@Terkhen>hi Belugas
09:17<@Belugas>ho... a commit by peter1138...
09:17<@Belugas>hi sir Terkhen :)
09:18<CIA-2>OpenTTD: peter1138 * r23019 /trunk/src/toolbar_gui.cpp: -Codechange: Support resized company colour icon in dropdown lists that use it.
09:22<CIA-2>OpenTTD: peter1138 * r23020 /trunk/src/widget.cpp: -Codechange: Vertically centre caption text if the caption height is taller than the text.
09:22<@planetmaker>nice
09:35-!-hanf [~Klaus@host-78-146-177-30.as13285.net] has joined #openttd
09:50-!-Biolunar [mahdi@blfd-4db18707.pool.mediaWays.net] has joined #openttd
09:56-!-norbert79 [~Norbi@deibp9eh1--blueice4n2.emea.ibm.com] has left #openttd [Leaving for now. Bye everyone!]
09:57<@peter1138>Your script made an error: arith op - on between 'null' and 'integer'
09:57<@peter1138>on?
09:57<@peter1138>(is it normal for AIs to fail? heh)
09:58<Pinkbeast>It is not unprecedented in my experience.
09:59-!-Bluelight [~chatzilla@47.80-202-82.nextgentel.com] has joined #openttd
10:06-!-hanf [~Klaus@host-78-146-177-30.as13285.net] has quit [Read error: Connection reset by peer]
10:08<@Yexo>some AIs fail more than others
10:09<@Belugas>damned...
10:09<@Belugas>revert to old AI!
10:11-!-enr1x [~kiike@62.57.225.29.dyn.user.ono.com] has joined #openttd
10:22-!-Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has quit [Quit: Tschüß]
10:31-!-Br33z4hSlut5 [~static.kp@92.68.154.34] has quit [Remote host closed the connection]
10:39-!-Adambean [AdamR@82.hosts.reece-eu.net] has joined #openttd
10:42-!-perk11 [~perk11@188.32.29.238] has joined #openttd
10:57*peter1138 gets pissed off with monodevelop
11:03-!-supermop [~daniel_er@rrcs-72-43-171-87.nyc.biz.rr.com] has joined #openttd
11:13-!-FHerne [~francis_h@pmsmail01.perse.co.uk] has joined #openttd
11:24-!-Prof_Frink [~proffrink@5e0a9627.bb.sky.com] has joined #openttd
11:28-!-FHerne [~francis_h@pmsmail01.perse.co.uk] has left #openttd []
11:39-!-Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has joined #openttd
11:41-!-pjpe [ae5b4c80@ircip1.mibbit.com] has joined #openttd
11:45-!-Adambean [AdamR@82.hosts.reece-eu.net] has quit [Ping timeout: 480 seconds]
11:51-!-nirox [~nirox@94-246-44.52.3p.ntebredband.no] has joined #openttd
11:54<nirox>Hi! Picked up OpenTTD some days ago with couple friends and got some question. Have googled my ass off, but can't find a proper answare if its possible to change town/city names on a running game. There is a "greyed" rename button when you select a town/city, but no info howto enable it.
11:56<Eddi|zuHause>it's not possible in multiplayer
11:56<nirox>Ok, thats explains it
11:57<nirox>And another question. Is it any working server queries (PHP etc) aviable? Found couple lib's, but they are outdated and couldnt get them work.
11:57<Eddi|zuHause>not entirely sure why... there's no technical reason against it
11:57*planetmaker knows only one. Which is old but not outdated
11:57<@planetmaker>it's called openttdlib
11:58<@Terkhen>hmm... the admin network does not do that?
11:58<Eddi|zuHause>the admin network is only an interface, you still need a lib to access it
11:58<@planetmaker>Terkhen: that's a port to query the game. But that doesn't make it (directly) available to a website
11:58<nirox>Is admin network documented so im able to use it without too much costume making?..
11:59-!-Neon [~Neon@dslb-094-219-007-058.pools.arcor-ip.net] has joined #openttd
12:00<@planetmaker>hardly. You can look for joan which is a java lib to access it
12:00<@planetmaker>and there's libottdadmin
12:00<Eddi|zuHause>iirc there have been some attempts, not sure what ever became out of those
12:01<@planetmaker>beyond the proof-of-concept with joan I've not seen anywhere a working implementation
12:01-!-KouDy [~KouDy@ip-78-102-233-64.net.upcbroadband.cz] has joined #openttd
12:01<@Terkhen>hmm... but the admin network gives enough information, even if no library makes use of it yet, right?
12:03<nirox>looking on OpenTTDlib atm. was trying it earlier but found something more about it now
12:06-!-Hyronymus [~chatzilla@s53757898.adsl.wanadoo.nl] has joined #openttd
12:08-!-z-MaTRiX [~matrix@index.linuxsecured.net] has quit [Ping timeout: 480 seconds]
12:09-!-pjpe [ae5b4c80@ircip1.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
12:14-!-perk11 [~perk11@188.32.29.238] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
12:15<KenjiE20>over at coop I used openttdlib to parse info out, and it's still running for all the servers we have up, I don't remember tweaking it either
12:16<KenjiE20>and yes Terkhen the port would give all the info, though there's afaict there's a bug with companies atm
12:16<KenjiE20>-there's
12:16<dihedral>oh - i was hilghlighted :-S ops
12:16<dihedral>fat lot of good that is, if you do not even see you get highlighted
12:16-!-z-MaTRiX [~matrix@nude.lesbianbath.com] has joined #openttd
12:17<KenjiE20>lol
12:17<dihedral>why the f* do i configure highlights then
12:17<z-MaTRiX>hi guys
12:17<dihedral>if the stupid thing does not even let you know you got one
12:17<dihedral>grr
12:17<KenjiE20>dihedral: it was a challenge to do at the time? :p
12:18<@Terkhen>is that bug reported?
12:18<KenjiE20>I reported it yes
12:18<nirox>I found a way to rename city/towns. Save on server->open as client->rename->save->open .sav on dedicated
12:19<@Terkhen>ok :)
12:19<dihedral>nirox, if you need anything regarding the admin network or openttdlib, feel free to send me private messages, however i will not answer until tomorrow ;-)
12:19<KenjiE20>yup, that's our usual "botch-borked-thing-from-mp" that we do too :p
12:19<dihedral>bye bye
12:20<nirox>dihedral: nice. will look into your lib abit first. like to play around with stuff like that when i have time
12:20<KenjiE20>you can prod me about the php lib too, since I set up the coop ones, I can poke in there for reference :)
12:21<nirox>First thing i see is that i think my webserver needs some changes
12:21-!-HerzogDeXtEr [~Flex@88.130.170.226] has joined #openttd
12:26<nirox>Are you using Cache?
12:28<z-MaTRiX>do you like chips?
12:28<KenjiE20>err
12:29<KenjiE20>I think so yes
12:29<KenjiE20>it only does newgrfs iirc
12:30<nirox>Using example.php as starter now. With cache disabled but still it got error about missing cache class. added require the file and now im getting another error "Cannot use object of type stdClass as array in"
12:30<nirox><?php echo $info['name'] ?> is on the line error refers to
12:31-!-Bluelight [~chatzilla@47.80-202-82.nextgentel.com] has quit [Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238]]
12:35<nirox>whoop, got it working with converting object to array
12:38<KenjiE20>yeah, just checked mine
12:38<KenjiE20>it's $info->name
12:38<nirox>Adding "$info = (array) $info;" after "$info = $openttd->getInfo();" converted it to array
12:40<KenjiE20>$info = $openttd->getnfo(); $info->name for me
12:40<KenjiE20>but whatever works
12:41<nirox>Yes, but there was more strings to edit also, so fastes was to convert then rename all :P
12:42-!-KouDy [~KouDy@ip-78-102-233-64.net.upcbroadband.cz] has quit [Ping timeout: 480 seconds]
12:42<nirox>Do you have the Sigma.php file?
12:42-!-Adambean [AdamR@82.hosts.reece-eu.net] has joined #openttd
12:42<KenjiE20>nope
12:43<nirox>hm, its a template package from pear. can grab it from their webpage. just playing around with the example*.php files
12:45-!-valhallasw [~valhallas@nsc.ciup.fr] has joined #openttd
12:49-!-KouDy [~KouDy@ip-78-102-233-64.net.upcbroadband.cz] has joined #openttd
12:52<nirox>What money attribute are you using kenji? dollar, euro ..
12:56-!-TWerkhoven [~twerkhove@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has quit [Quit: He who can look into the future, has a brighter future to look into]
12:57<KenjiE20>aparrently I didn't
12:58<nirox>Trying to calculate the currency. But dunno what the game uses..
12:58<CIA-2>OpenTTD: peter1138 * r23021 /trunk/src/newgrf_gui.cpp: -Codechange: Support resized square and warning icons in NewGRF selection window.
12:58<KenjiE20>credits
12:59-!-pjpe [ade6a119@ircip3.mibbit.com] has joined #openttd
12:59-!-Kurimus [~stabbity@dsl-tkubrasgw3-fe93dd00-34.dhcp.inet.fi] has joined #openttd
13:00<nirox>Found currency table. But its not correct with actually ingame numbers..
13:00<KenjiE20>in game is credits, or whatever's set in openttd.cfg iirc
13:00<@peter1138>base currency is £ ;)
13:01<@peter1138>nah, it's just a number
13:01<@peter1138>£ happens to be 1=1
13:01<nirox>And NOK should be 12x
13:03<@peter1138>set up a custom currency
13:03<nirox>But server is £, and client is converting it to NOK. Then webpage is also converting it by query the server and 12x the value. Then the sum is not same
13:04<+glx>everything is £ internally
13:05<nirox>So is the query giving a older number then the ones gameclient give?
13:05<nirox>Shouldnt it be the same?
13:07<@planetmaker>nirox: every client can have a different currency
13:07<@planetmaker>what you see is an int factor of the base money value
13:08<@planetmaker>the gui number is nothing the admin port even *can* provide you with
13:08<@planetmaker>it has nothing to with age of the number, too
13:08<@planetmaker>the gui simply displayes money * currency_conversion_factor
13:09<b_jonas>but the server handles inflation, right?
13:09<@planetmaker>whereas the currency_conversion_factor is something which everyone can set
13:09<nirox>Yes i understand that. But here is how it is for me now:
13:10<nirox>Client is set to NOK. Getting company value: 761 024 448kr. Then i have the OpenTTDLib with 12x of the int comming from query the server. That ends up with 761 025 408kr
13:10-!-Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has quit [Quit: Tschüß]
13:11<@planetmaker>might be from another game tick
13:12<nirox>Game is in pause
13:12<nirox>That differance was 960kr. And was for Company Money. The Company value was having a diff at 566 004kr..
13:13<nirox>same time query at web, and checking client that is on pause
13:13<Rubidium>the server caches some stats
13:14<nirox>Its not that big of numbers, but i love to learn about how stuff works backends ;)
13:17<Rubidium>by the looks of it updates the company value "cache" every 3 game months
13:20<nirox>ok
13:22-!-pugi [~pugi@host-091-097-027-007.ewe-ip-backbone.de] has quit [Ping timeout: 480 seconds]
13:22-!-pugi [~pugi@host-091-097-011-134.ewe-ip-backbone.de] has joined #openttd
13:23<Eddi|zuHause>hm... there's no variable to check whether a vehicle is loading?
13:24<@planetmaker>you have the different spritesets for that
13:25<Eddi|zuHause>yes, but they don't fit that well into my current scheme...
13:26<b_jonas>is it against the spirit of path based signals if I use one-way path signals much more often than two-way path signals?
13:27<Pinkbeast>I almost always want the one-way ones.
13:28-!-KenjiE20 [~Kenji@host-92-8-77-176.as43234.net] has quit [Read error: Connection reset by peer]
13:30<Eddi|zuHause>b_jonas: no, why would that be?
13:32<CIA-2>OpenTTD: peter1138 * r23022 /trunk/src/company_gui.cpp: -Codechange: Support resized checkbox and square icons in company colour selection window.
13:33<b_jonas>Eddi|zuHause: well, I think the point of path signals is that you let the path finder manage the trains freely, so it might be best to give them more freedom by using two-way path signals so that if the path finder finds it convenient the trains can reverse.
13:34<Eddi|zuHause>b_jonas: no. not at all
13:34<Eddi|zuHause>the pathfinder is generally stupid.
13:34<Pinkbeast>Not at all. Trains take the same _paths_ with block signals, they just take them less efficiently.
13:35<Pinkbeast>So the point of path signals is not at all to "let the path finder manage the trains freely"
13:36<b_jonas>okay
13:37-!-KenjiE20 [~Kenji@host-92-8-77-176.as43234.net] has joined #openttd
13:37<Pinkbeast>The "path" in "path signal" refers to the fact that trains reserve a path, not the whole block.
13:38<b_jonas>yep
13:39<b_jonas>but trains are penalized for going backwards on two-way path signals, so if you change one-way to two-way you'll still mostly get the same routes
13:39<Pinkbeast>I'm not sure who you think doesn't know that.
13:41<b_jonas>okay, I won't worry about two-way signals then
13:42<Pinkbeast>I only use them when I explicitly expect trains to pass them (eg entry to a non ro-ro station) or in junctionless bits of line bounded by one-way signals.
13:44-!-Rezt [~Rezt@81-178-202-187.dsl.pipex.com] has joined #openttd
13:44<b_jonas>how about between a ro-ro station and the junction before it, so that trains can go back to the depots attached there?
13:44<Pinkbeast>Nope, I'll put a depot at the exit.
13:45<CIA-2>OpenTTD: translators * r23023 /trunk/src/lang/ (unfinished/maltese.txt welsh.txt):
13:45<CIA-2>OpenTTD: -Update from WebTranslator v3.0:
13:45<CIA-2>OpenTTD: maltese - 42 changes by rkaptu
13:45<CIA-2>OpenTTD: welsh - 8 changes by kazzie
13:47-!-Wolf01 [~wolf01@95.237.235.128] has joined #openttd
13:47<b_jonas>okay, thanks
13:48<Wolf01>hello
13:50-!-Elukka [Elukka@89-166-103-135.bb.dnainternet.fi] has quit [Read error: Connection reset by peer]
13:51-!-Elukka [Elukka@89-166-103-135.bb.dnainternet.fi] has joined #openttd
13:55-!-Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has joined #openttd
13:55-!-mode/#openttd [+o Alberth] by ChanServ
13:55<Eddi|zuHause>@base 16 10 E7
13:55<@DorpsGek>Eddi|zuHause: 231
13:55<Eddi|zuHause>@base 16 10 E3
13:55<@DorpsGek>Eddi|zuHause: 227
13:55<Eddi|zuHause>@base 16 10 D7
13:55<@DorpsGek>Eddi|zuHause: 215
13:56<Eddi|zuHause>@base 16 10 0F
13:56<@DorpsGek>Eddi|zuHause: 15
13:56<Eddi|zuHause>@base 16 10 04
13:56<@DorpsGek>Eddi|zuHause: 4
13:56<Eddi|zuHause>@base 16 10 03
13:56<@DorpsGek>Eddi|zuHause: 3
13:56<Sacro>@base 1 1 1
13:56<@DorpsGek>Sacro: Error: '1' is not a valid base.
13:56<Sacro>yes it is
13:56<Sacro>@base 2 2 2
13:56<@DorpsGek>Sacro: Error: Invalid <number> for base 2: 2
13:57<Sacro>@base 1 2 3
13:57<@DorpsGek>Sacro: Error: '1' is not a valid base.
13:57<Sacro>@base 3 2 1
13:57<@DorpsGek>Sacro: 1
13:57<Sacro>:D
13:58<@Terkhen> /query DorpsGek
13:58<Eddi|zuHause>i'd like to see your unary positional system that can represent all natural numbers
14:04<Eddi|zuHause>hm... i'm doing something wrong or this does work totally different than i expected...
14:04<Eddi|zuHause>i have this nml snippet:
14:04<Eddi|zuHause>recolour_maps = reserve_sprites(1);
14:04<Eddi|zuHause>replace(recolour_maps) { recolour_sprite { 0xD7..0xE3: 0x03..0x0F; } }
14:05<Eddi|zuHause>and in the vehicle's graphics section i have:
14:05<Eddi|zuHause> colour_mapping: recolour_maps;
14:05<Eddi|zuHause>but i don't see the intended effect
14:07<b_jonas>in temperate climate, are sawmills set up to be rare? or is there some restriction on their location like with oil refineries?
14:08<Eddi|zuHause>b_jonas: no and no
14:09-!-FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has joined #openttd
14:10<b_jonas>I see
14:10-!-frosch123 [~frosch@frnk-590f6d18.pool.mediaWays.net] has joined #openttd
14:18-!-Mucht [~Martin@chello084115143107.3.graz.surfer.at] has quit [Remote host closed the connection]
14:18-!-Fuco [dota.keys@server.dasnet.cz] has quit [Read error: Connection reset by peer]
14:19-!-Fuco [dota.keys@server.dasnet.cz] has joined #openttd
14:25-!-hanf [~Klaus@host-78-146-187-73.as13285.net] has joined #openttd
14:30<+michi_cc>Eddi|zuHause: http://newgrf-specs.tt-wiki.net/wiki/Callbacks#32-day_callback_.2832.29
14:30<+michi_cc>Eddi|zuHause: NML is probably not doing that automatically
14:32<Eddi|zuHause>i see. so i need to add " every_32_days: 2"?
14:34<+michi_cc>Hmm, looking at the OpenTTD source it should work with 32 day cb, as the cached value is invalidated in ConsistChanged...
14:35<Eddi|zuHause>i kinda suspect that there's something magical happening with the magic pink
14:35<+michi_cc>return 2; actually, which is probably why your colour_mapping is really failing. Callback results need bit 15 set, which return does in NML
14:35<Eddi|zuHause>oh
14:35<Eddi|zuHause>let me try that
14:38<+michi_cc>So according to OTTD source you'd only need the 32 day callback if you want the recolor to change on more than ConsistChanged (refitting, adding/removing vehicles).
14:39<@Yexo>Eddi|zuHause: do you realize that the recolour sprites in nml always use the dos palette?
14:40<Eddi|zuHause>Yexo: yes
14:40<Eddi|zuHause>Yexo: i used the table on the wiki page
14:40<@Yexo>nml forbids you to use 0xD7..0xE2, so I'm curious your code even works
14:40<Eddi|zuHause>http://newgrf-specs.tt-wiki.net/wiki/NML:Recolour_sprites
14:40<@Yexo>ah, your nml is probably a little bit out of date
14:41<@Yexo>0xD7..0xE2 is the "magic pink", are those indexes allowed in sprites at all?
14:41<Eddi|zuHause>r1676
14:41<@Yexo>ie should nml allow these colors or not?
14:41<Eddi|zuHause>no idea, i'm really just experimenting whether it works
14:42<@Yexo>if you update to nml r1686 it'll give you an error on the recolor sprite
14:43<Eddi|zuHause>Yexo: i just picked the magic pink because it's definitely the least likely to be used in the wagon otherwise
14:43<@Yexo>I see
14:43<frosch123>[20:34] <michi_cc> Hmm, looking at the OpenTTD source it should work with 32 day cb, as the cached value is invalidated in ConsistChanged... <- that is also stated in cb 2d
14:45<Eddi|zuHause>frosch123: that note is missing from the nml page
14:49<Eddi|zuHause>anyway, i hereby conclude that using magic pink won't work, and need to devise another sinister plan
14:49<Eddi|zuHause>i should look how germanrv does it
14:49-!-TWerkhoven [~twerkhove@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has joined #openttd
14:49<@Yexo>Eddi|zuHause: the magic pink might work, I'm just not sure if it's valid
14:50<@Yexo>I don't have a clue how to map the magic pink from the windows palette to the magic pink of the dos palette
14:51<@Yexo>frosch123: is the magic pink valid in sprites or not?
14:52<frosch123>define "valid" :p
14:52<frosch123>some newgrfs use it for parts which are hidden by other sprites
14:52<frosch123>i.e. when cutting sprites in two pieces for bounding boxes and such
14:52<frosch123>maybe it simplify alignment
14:53<@Yexo>nml currently forbids them in recolour sprites
14:53<@Yexo>right now I'm wondering on whether it should warn or err when those colors are used in real sprites
14:53<frosch123>grfcodec converts pink between dos and win using a self defined conversion, which tries to allow converting the back and forth
14:54<frosch123>though that of course does not work for all pink, as there are different amount of them in the palettes
14:54<frosch123>Yexo: imo treat them like pure white
14:54<frosch123>though you could actually use them for advanced recolour tricks
14:55<@Yexo>that's what eddi tried to do :)
14:55<Eddi|zuHause>germanrv uses indices 137 to 143 in the windows palette
14:55<frosch123>though that would only work when using the dos palette
14:55<frosch123>no idea how ottd converts them
14:55<frosch123>@base 10 16 137
14:55<@DorpsGek>frosch123: 89
14:56<@Yexo>openttd doesn't remap the magic pink
14:56<@Yexo>so index 1 from the win palette is mapped to index 1 from the dos palette
14:56<@Yexo>which is pink-> black
14:57<@Yexo>http://newgrf-specs.tt-wiki.net/wiki/PalettesAndCoordinates#Palettes says "Don't use the pink colours like the ones marked "WinAPI" in the Windows palette."
14:57-!-Elukka [Elukka@89-166-103-135.bb.dnainternet.fi] has quit []
14:57<@Yexo>whichs tempts me to disallow the pink colors in the win palette altogether (recolour and real sprites) and allow them for the dos palette
14:57<Eddi|zuHause>hm, so that may be (part of) the problem
14:57<frosch123>i guess using them will fail when playing on win95 in 256 colours mode
14:58<Eddi|zuHause>currently CETS uses DOS palette, but openttd draws the colours like in the windows palette
14:58<@Yexo>Eddi|zuHause: huh?
14:58<frosch123>Yexo: disallowing them for the win palette sounds good. there is just no well defined conversion to dos for them
14:59<Eddi|zuHause>Yexo: the magic pink seems to be replaced by water cycle
14:59<@Yexo>as I said, openttd maps the indexes from windows magic pink to the same indexes as dos
14:59<Eddi|zuHause>which is at the same place
15:00<Eddi|zuHause>some weird conversion seems to take place
15:00-!-DayDreamer [~DayDreame@94.142.234.1] has joined #openttd
15:06<CIA-2>OpenTTD: peter1138 * r23024 /trunk/src/widget.cpp: -Codechange: Vertically centre text within a dropdown control.
15:19<Eddi|zuHause>hm... even with real colours i can't get recolouring to work
15:30<Eddi|zuHause>i conclude: i won't pursue this any further until someone can show me an actually working example of recolouring in nml
15:33-!-lugo [~lugo@mgdb-4d0cf480.pool.mediaWays.net] has joined #openttd
15:33-!-TWerkhoven[l] [~turbulent@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has joined #openttd
15:40-!-DDR_ [~chatzilla@142.179.78.88] has joined #openttd
15:50<@Yexo>Eddi|zuHause: most likely your code is correct
15:51<@Yexo>there is a bug in nml so that your "return recolour_maps;" is encoded incorrectly
15:51<@Yexo>try "return (recolour_maps * 2) / 2;" to see if that works
15:52<Eddi|zuHause>would +0 help as well?
15:52<@Yexo>nope, nml is too smart for that. It first optimizes out the +0 and than falls in the same bug again
15:53<Eddi|zuHause>compiling
15:54<@Yexo>recolour_sprite { 0x00..0xFF: 0x33; } <- nice recolour sprite to test if it works, it converts all colors to yellow
15:55<@Yexo>might want to try 0x01..0xFF instead to preserve the alpha color
15:55<Eddi|zuHause>aye, looks like it's working now
15:56<Eddi|zuHause>at least it looks different
15:57<z-MaTRiX>ahah this is a fish http://www.newsrealblog.com/wp-content/uploads/2010/05/big_fish.jpg
15:57<Eddi|zuHause>also the magic pink now shows different
15:58<Eddi|zuHause>something like transparent
15:58-!-Kurimus [~stabbity@dsl-tkubrasgw3-fe93dd00-34.dhcp.inet.fi] has quit []
16:03<@Yexo>Eddi|zuHause: if you update nml to r1689 you can remove the workaround with *2/2
16:03-!-TWerkhoven[l] [~turbulent@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has quit [Read error: Connection reset by peer]
16:04<Eddi|zuHause>hmkay...
16:04<Eddi|zuHause>and which commit do i have to revert to try out the magic pink again?
16:06<Eddi|zuHause>ah, you allowed that again
16:07-!-TWerkhoven[l] [~turbulent@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has joined #openttd
16:09<Eddi|zuHause>nice, everything working!
16:12-!-Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has joined #openttd
16:16-!-Hyronymus [~chatzilla@s53757898.adsl.wanadoo.nl] has quit [Remote host closed the connection]
16:24<@planetmaker>what is the change with the magic pink?
16:24-!-Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has left #openttd []
16:24<@planetmaker>I mean... the reason / background?
16:24-!-DDR_ [~chatzilla@142.179.78.88] has quit [Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928224508]]
16:24<@Yexo>see backlog in this channel
16:25<Eddi|zuHause>planetmaker: magic pink is at different locations in the DOS/Windows palette and no sane mapping exists
16:25<appe>http://gyazo.com/c8e0618195ece9bf44f5048d31ae5b68.png
16:25<appe>the tiny things that makes my lafe bareable.
16:25<@planetmaker>ah, I see. thanks
16:25<Eddi|zuHause>nope... still reading "gayzoo" at those links...
16:26<appe>i know, they didnt really think that one trough.
16:31<appe>(it's a desktop screenshot)
16:39-!-Mucht [~Martin@chello084115143107.3.graz.surfer.at] has joined #openttd
16:47-!-DayDreamer [~DayDreame@94.142.234.1] has quit [Read error: Connection reset by peer]
16:55-!-FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has left #openttd []
16:56-!-FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has joined #openttd
16:58-!-FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has left #openttd []
17:05-!-KritiK [~Maxim@95-27-166-215.broadband.corbina.ru] has joined #openttd
17:07-!-Neon [~Neon@dslb-094-219-007-058.pools.arcor-ip.net] has quit [Quit: Python is way too complicated... I prefer doing it quickly in C.]
17:12-!-Progman [~progman@p57A1AAF4.dip.t-dialin.net] has quit [Quit: Progman]
17:13-!-Progman [~progman@p57A1AAF4.dip.t-dialin.net] has joined #openttd
17:17-!-frosch123 [~frosch@frnk-590f6d18.pool.mediaWays.net] has quit [Remote host closed the connection]
17:21<Wolf01>'night
17:21-!-Wolf01 [~wolf01@95.237.235.128] has quit [Quit: Once again the world is quick to bury me.]
17:21-!-KouDy [~KouDy@ip-78-102-233-64.net.upcbroadband.cz] has quit [Quit: Leaving.]
17:22<Eddi|zuHause>hm... tree.py needs some major refactoring
17:23<Eddi|zuHause>but i'm not in the mood right now
17:23<Eddi|zuHause>and i probably won't have time the next two days
17:25<@planetmaker>the project will live beyond that :-)
17:25-!-valhallasw [~valhallas@nsc.ciup.fr] has quit [Ping timeout: 480 seconds]
17:31-!-DDR_ [~chatzilla@142.179.78.88] has joined #openttd
17:42-!-Adambean [AdamR@82.hosts.reece-eu.net] has quit [Quit: Gone fishing]
18:02-!-TWerkhoven[l] [~turbulent@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has quit [Remote host closed the connection]
18:04-!-TWerkhoven [~twerkhove@cpc14-linl7-2-0-cust28.sgyl.cable.virginmedia.com] has quit [Quit: He who can look into the future, has a brighter future to look into]
18:05-!-Rezt [~Rezt@81-178-202-187.dsl.pipex.com] has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
18:16-!-Beengalas [~Beengalas@nl105-254-205.student.uu.se] has quit []
18:26-!-KenjiE20 [~Kenji@host-92-8-77-176.as43234.net] has quit [Quit: Leaving.]
18:32-!-Biolunar [mahdi@blfd-4db18707.pool.mediaWays.net] has quit [Quit: All your IRC are belong to us!]
18:42-!-Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has quit [Remote host closed the connection]
18:43-!-Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has quit [Quit: Tschüß]
19:07-!-hanf [~Klaus@host-78-146-187-73.as13285.net] has quit [Read error: Connection reset by peer]
19:14-!-supermop [~daniel_er@rrcs-72-43-171-87.nyc.biz.rr.com] has left #openttd []
19:22-!-lugo [~lugo@mgdb-4d0cf480.pool.mediaWays.net] has quit [Ping timeout: 480 seconds]
19:24-!-JVassie_ [~James@86.17.13.33] has quit [Ping timeout: 480 seconds]
19:27-!-enr1x [~kiike@62.57.225.29.dyn.user.ono.com] has quit [Quit: leaving]
19:31-!-Progman [~progman@p57A1AAF4.dip.t-dialin.net] has quit [Remote host closed the connection]
19:38-!-supermop [~daniel_er@cpe-67-243-25-39.nyc.res.rr.com] has joined #openttd
20:30-!-KritiK [~Maxim@95-27-166-215.broadband.corbina.ru] has quit [Quit: Leaving]
20:36-!-Mazur [~mazur@5ED2BEAE.cm-7-3c.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
20:44-!-pugi [~pugi@host-091-097-011-134.ewe-ip-backbone.de] has quit [Quit: I reject your reality and substitute my own]
21:43-!-glx [glx@2a01:e35:2f59:c7c0:c8f1:6bdf:e41d:77d8] has quit [Quit: bye]
21:50<Eddi|zuHause>Ammler: it's quite annoying that the error log in the ticket throws 404 after a new version was compiled
22:48-!-Mazur [~mazur@5ED2BEAE.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
22:51<supermop>do i need to provide separate bridge sprites for road and rail?
23:03<@planetmaker>yes
23:03<supermop>but the rail ones can automatically handle railtypes?
23:05<supermop>can i provide a bridge sprite with say a blank deck, and then provide a road deck or rail sprite as well that gets layered above the bridge background but behind the foreground?
23:07<supermop>drawing an isometric caternary curve is hard...
23:10<@planetmaker>you unfortunately cannot do that.
23:10<@planetmaker>railtypes work. As their track is overlayed
23:10<@planetmaker>I'd nevertheless *draw* it the way you suggest
23:10<supermop>yeah
23:11<@planetmaker>and then just export different layers with different road / track as different sprites
23:11<supermop>and i only get 6 tiles?
23:11<@planetmaker>possibly. dunno
23:12<supermop>i sont see a bridge with more than 6 in the sprite sheet for opengfx infrastructure
23:12<supermop>sso i am guessing so
23:14<@planetmaker>yes... I guess you have to check the newgrf specs, though
23:14<supermop>if i want to ask nicely for more features for bridges, should i show a mock up of what i would like to do, or should i just work with what i can for now?
23:16<@planetmaker>http://newgrf-specs.tt-wiki.net/wiki/Action0/Bridges#Bridge_Layouts
23:16<@planetmaker>supermop: it's generally know that the newgrf specs for bridges quite lack of what one would really want there
23:16<@planetmaker>*known
23:16<supermop>ouch
23:16<supermop>hmm
23:17<@planetmaker>not that it can't be changed. But no-one did so far
23:17<supermop>this isnt going to fit in any of those layouts
23:19<@planetmaker>yes... bridges are a seriously under-developed newgrf feature
23:19<@planetmaker>patch(es) to change that are quite welcome
23:19<@planetmaker>I fear that doesn#t help you, though
23:19<supermop>id need something that was like _0(2453)1_ where () repeats,
23:20<supermop>rather than () being only 2 tiles
23:20<supermop>i wonder if i can sortt of fake it by seriously restricting possible lengths
23:23<panna>NN
23:23-!-Elukka [~Elukka@89-166-103-135.bb.dnainternet.fi] has joined #openttd
23:29<supermop>so ottd would need to be patched to allow more newgrf features? or nml needs to be patched? or both?
23:33<supermop>and would the patch need to add specific new layouts, that might themselves seem just as limiting to a future author?
23:35<@planetmaker>this is currently an openttd restriction
23:35<@planetmaker>once it's implemented, both nforenum and nml would need teaching, too
23:36<@planetmaker>I'd not add specific layouts. I'd add a feature which allows to define arbitrary layouts via newgrf
23:36<@planetmaker>similar to the tilelayouts of industries
23:36<supermop>ok
23:37<supermop>also good would be a couple callbacks
23:37<@planetmaker>of course
23:37<supermop>to change appearance based on neighboring bridge - to allow 'wide' bridges
23:37<@planetmaker>and variables
23:38<supermop>ie a 'brooklyn bridge' whereby two road bridges and one tram bridge look like a single wide bridge
23:38<@planetmaker>well, that'd be quite advanced to allow multi-tile width
23:38<supermop>well not an actually wide bridge
23:40<@planetmaker>I've the feeling that that's something which not necessarily will be added when tacking bridges. It's feasible, but it's quite a bit beyond current capabilities
23:40<supermop>but say if suspension bridge detects bridge of same length and compatible type next to it, it instead draws a different set ofdeck sprites
23:40<@planetmaker>yes... and then the question comes "why not, if one is a tile shorter" or so :-)
23:40<supermop>heh
23:41<@planetmaker>and what to do when I really want two adjacent bridges like a single one
23:41<@planetmaker>etc :-)
23:41<@planetmaker>it has issues, and would work like some auto-adjust houses / industries / stations
23:41<supermop>those that face roads?
23:42<supermop>like the town houses in .se houses?
23:45<supermop>well that is nice but less important
23:45<supermop>i could work around it if the bridge limit was raised
23:46<supermop>(steel susp. bridge left. steel susp bridge right etc)
23:47<supermop>other nice feature would be height requirements
23:49<supermop>anyway sorry to be rambling on like this
23:53<@planetmaker>it's ok :-)
23:53<@planetmaker>yes, it would be nice.
23:53<@planetmaker>*someone* is just slacking off :-P
23:53<supermop>heh
23:54<supermop>can bridges currently be limited to only one deck type? (only road, only monorail, etc?)
23:54<supermop>well let me read specs a bit
23:57<supermop>seems no
23:58<supermop>an alweg-style monorail beam bridge would look silly with a road on it
---Logclosed Wed Oct 12 00:00:35 2011