More diesel_smoke patch

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

W_neun
Engineer
Engineer
Posts: 24
Joined: 03 Apr 2009 11:03

Re: More diesel_smoke patch

Post by W_neun »

The two people above me wrote:And maybe also a patch that heavily increases the smoke from steam trains? :mrgreen:
Despite its name, this patch already has that feature. Next time read the thread before posting replies, please. :wink:
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

heavily increases

Do NOT tell me what to do before you know what you are talking about.. Read my post more carefully next time..
Image
User avatar
LaDoncella
Traffic Manager
Traffic Manager
Posts: 249
Joined: 28 Sep 2004 16:01
Contact:

Re: More diesel_smoke patch

Post by LaDoncella »

Bennythen00b wrote:heavily increases

Do NOT tell me what to do before you know what you are talking about.. Read my post more carefully next time..
it's rather trivial to do it.
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

What? Did you just double the smoke from steam engines like that? I mean, THAT FAST!? :shock:
Image
User avatar
LaDoncella
Traffic Manager
Traffic Manager
Posts: 249
Joined: 28 Sep 2004 16:01
Contact:

Re: More diesel_smoke patch

Post by LaDoncella »

ops, there was an extra "+" in the patch file. and it wouldn't compile
Attachments
diesel_smoke_sz_3-0_with_more_steam_smoke_0.2_r16407.patch
fixed the extra + in the patch file
(4.02 KiB) Downloaded 248 times
W_neun
Engineer
Engineer
Posts: 24
Joined: 03 Apr 2009 11:03

Re: More diesel_smoke patch

Post by W_neun »

Thanks for the patch.

Benny:
No need to be so angry!! :D The "problem" is not that I did not read your post carefully enough (if that is possible with such a short text), but that 'heavily' isn't an exact definition. I thought the smoke in this patch is enough. It would look best with new smoke sprites, but pixel art is totally different from writing a patch, so Sirkoz probably won't do it. Yes, I misunderstood your post, but I think it WAS "misunderstandable", you could have said 'more heavily'. Peace.
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

Ow, I am sorry.. I just felt like beeing treated like a noob.. :( Wait, what..?

Edit: And, are you sure that the patch still is correct? I applyed the patch with the latest trunk in TortoiseSVN and got this:
Attachments
Somethingwrong..PNG
Somethingwrong..PNG (119.12 KiB) Viewed 1675 times
Image
W_neun
Engineer
Engineer
Posts: 24
Joined: 03 Apr 2009 11:03

Re: More diesel_smoke patch

Post by W_neun »

Despite his/her name, I treat nobody, whom I don't know, like a noob :)

LaDoncella, did you solve the problems in the patch? I still can't compile with it.

[edit] God, now YOUR post I haven't read carefully. Though it was edited, wasn't it? So it's posible to not read carrefully even such a short post. :mrgreen: [/edit]
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: More diesel_smoke patch

Post by Rubidium »

Bennythen00b wrote:I applyed the patch with the latest trunk in TortoiseSVN and got this:
It wouldn't hurt to read TortoiseSVN's manual. It would've told you that that icon means there is a modified file in that directory, i.e. a file that differs from the official repository. That's kinda the idea when you're patching, right?
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

Though it was edited, wasn't it?
Very possible, but I don't know for sure. :)
Rubidium wrote:
Bennythen00b wrote:I applyed the patch with the latest trunk in TortoiseSVN and got this:
It wouldn't hurt to read TortoiseSVN's manual. It would've told you that that icon means there is a modified file in that directory, i.e. a file that differs from the official repository. That's kinda the idea when you're patching, right?
What? But I WANT it to be changed, right? :?
Last edited by Benny on 23 May 2009 22:47, edited 1 time in total.
Image
User avatar
LaDoncella
Traffic Manager
Traffic Manager
Posts: 249
Joined: 28 Sep 2004 16:01
Contact:

Re: More diesel_smoke patch

Post by LaDoncella »

Bennythen00b wrote:Ow, I am sorry.. I just felt like beeing treated like a noob.. :( Wait, what..?

Edit: And, are you sure that the patch still is correct? I applyed the patch with the latest trunk in TortoiseSVN and got this:
when the red exclamation appears means that you have applied a patch. However its true that it doesn't work.

Something has changed and this line doesnt work anymore.

Code: Select all

u->u.rail.cached_max_speed
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

So the patch does't work?

@ Rubindum again: Do I have to compile OpenTTD too?
Image
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: More diesel_smoke patch

Post by Rubidium »

Bennythen00b wrote:Do I have to compile OpenTTD too?
Think of the source (code) being a digital document (MS Word, OpenOffice, ... doesn't really matter which editor) and the binary that document printed on paper. Does changing the digital document change the one that is already printed?

Same way you have to (re)compile OpenTTD (or reprint the document).
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

Okay. Thank you. :)
I will have a go with Microsoft Visual C++ 2008 Express Edition.
Image
User avatar
LaDoncella
Traffic Manager
Traffic Manager
Posts: 249
Joined: 28 Sep 2004 16:01
Contact:

Re: More diesel_smoke patch

Post by LaDoncella »

double post
Last edited by LaDoncella on 23 May 2009 23:00, edited 1 time in total.
User avatar
LaDoncella
Traffic Manager
Traffic Manager
Posts: 249
Joined: 28 Sep 2004 16:01
Contact:

Re: More diesel_smoke patch

Post by LaDoncella »

Bennythen00b wrote:So the patch does't work?
well that piece of code is from SirkoZ

I can change this (the one that doesn't work):

Code: Select all

u->cur_speed < u->u.rail.cached_max_speed
for this one:

Code: Select all

u->cur_speed < u->max_speed
however I'm pretty sure it's a very different variable.

here is the patch, now compilable :lol: sorry

[edit]. added the binary
Attachments
diesel_smoke_sz_3-0_with_more_steam_smoke_0.4_r16407.patch
again
(4 KiB) Downloaded 238 times
diesel_smoke_sz_3-0_with_more_steam_smoke_0.4_r16407.7z
the binary
(2.69 MiB) Downloaded 204 times
Last edited by LaDoncella on 23 May 2009 23:13, edited 1 time in total.
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

Thank you for your effort, I am really thankful. :))

Btw: No need to be sorry! :)
Image
W_neun
Engineer
Engineer
Posts: 24
Joined: 03 Apr 2009 11:03

Re: More diesel_smoke patch

Post by W_neun »

Did a quick compile, here's a screenshot:

Oh you were even faster LaDoncella :)
Is_this_enough_for_you_benny.PNG
Is_this_enough_for_you_benny.PNG (105.3 KiB) Viewed 5478 times
User avatar
Benny
Tycoon
Tycoon
Posts: 2185
Joined: 25 Aug 2007 17:03
Location: ~/

Re: More diesel_smoke patch

Post by Benny »

Awesome! :D
Image
User avatar
SirkoZ
Tycoon
Tycoon
Posts: 1518
Joined: 06 Mar 2004 23:51
Location: The sunny side of Alps

Re: More diesel_smoke patch

Post by SirkoZ »

I totally overlooked/wasn't here to see the topic progress till today...

Not awesome but exaggerated. Those steam puffs were never designed to be put so close together, just doesn't look right.

I'll have a new version of the patch here shortly.

And of course, updaters should not use my name-style for my patch if it's updated and changed. It's NOT _sz_ and it's not 3-0.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 6 guests