another callback 36 request

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

Post Reply
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

another callback 36 request

Post by PikkaBird »

Hello hello,

Is there a reason there's no cb 36 for aircraft capacity, or is it just that no-one's requested it yet?

I'm requesting it. ;)
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: another callback 36 request

Post by frosch »

part of http://bugs.openttd.org/task/2581, and on my todo list :)
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: another callback 36 request

Post by PikkaBird »

Bump.

Callback 36 for capacity currently exists for all vehicles except Aircraft.

I realise this is late in the day (I've been overseas), but I would owe the devs a HUGE FAVOUR if this could make it into 1.0.0, as av8 requires (and already has the code in place) this callback for correct operation.
Eddi
Tycoon
Tycoon
Posts: 8289
Joined: 17 Jan 2007 00:14

Re: another callback 36 request

Post by Eddi »

this has been implemented in r19218, i don't know about intentions to backport that to 1.0
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: another callback 36 request

Post by PikkaBird »

Thanks Eddi. :D *bats eyelashes at Rubidium*
frosch
OpenTTD Developer
OpenTTD Developer
Posts: 991
Joined: 20 Dec 2006 13:31
Location: Aschaffenburg

Re: another callback 36 request

Post by frosch »

It is available in the nightly. So, does it actually work? :p
⢇⡸⢸⠢⡇⡇⢎⡁⢎⡱⢸⡱⢸⣭⠀⢸⢜⢸⢸⣀⢸⣀⢸⣭⢸⡱⠀⢰⠭⡆⣫⠰⣉⢸⢸⠀⢰⠭⡆⡯⡆⢹⠁⠀⢐⠰⡁
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: another callback 36 request

Post by PikkaBird »

frosch wrote:So, does it actually work? :p
Ehhh.. hmm.

Either my code is broken, or Eddi's is.

*investigates*
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Re: another callback 36 request

Post by PikkaBird »

Duh! My bad, I picked the wrong zip off my desktop and installed an old nightly. :roll: It actually works perfectly!
Attachments
:D
:D
737gens.png (6.98 KiB) Viewed 2016 times
User avatar
DJ Nekkid
Tycoon
Tycoon
Posts: 2141
Joined: 30 Nov 2006 20:33

Re: another callback 36 request

Post by DJ Nekkid »

great work!
Member of the
ImageImage
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 25 guests