JGR's Patch Pack

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

michael blunck
Tycoon
Tycoon
Posts: 5948
Joined: 27 Apr 2005 07:09
Contact:

Re: JGR's Patch Pack

Post by michael blunck »

OzTrans wrote: What was the outcome ?
JGR wrote: If you're going to use action 1 I'd suggest that you try putting the different sprites into the same sprite set and use the register as an index into the sprite set.
That's it:

viewtopic.php?p=1061449#p1061449

However, it's a nuisance.

regards
Michael
Image
User avatar
OzTrans
Tycoon
Tycoon
Posts: 1634
Joined: 04 Mar 2005 01:07

Re: JGR's Patch Pack

Post by OzTrans »

JGR wrote: 18 Sep 2023 08:18 If you're going to use action 1 I'd suggest that you try putting the different sprites into the same sprite set and use the register as an index into the sprite set.
That is really an interesting approach. I didn't know something like that is even possible. However, I was always wondering, why in the action-1 the number of sprites within a spriteset can be an extended byte and the number of sets is not unless you use the extended format.

Anyway, I'll give this a try.
michael blunck wrote: 18 Sep 2023 09:48 That's it:

viewtopic.php?p=1061449#p1061449

However, it's a nuisance.
Many thanks to pointing that out.
User avatar
OzTrans
Tycoon
Tycoon
Posts: 1634
Joined: 04 Mar 2005 01:07

Re: JGR's Patch Pack

Post by OzTrans »

Beautiful !!

Image

Many thanks for the tips and tricks, it works.
Attachments
River Bridges C.png
(435.18 KiB) Not downloaded yet
Argus
Tycoon
Tycoon
Posts: 1041
Joined: 16 Oct 2018 08:31
Location: Heart of the Highlands. Not Scottish. Czech.

Re: JGR's Patch Pack

Post by Argus »

In the road menu, I get meaningless speed limits instead of real ones.
https://prnt.sc/xvVrgcd6Zecz
User avatar
JGR
Tycoon
Tycoon
Posts: 2492
Joined: 08 Aug 2005 13:46
Location: Ipswich

Re: JGR's Patch Pack

Post by JGR »

Argus wrote: 22 Sep 2023 17:23 In the road menu, I get meaningless speed limits instead of real ones.
https://prnt.sc/xvVrgcd6Zecz
Thanks, this will be fixed in the next release.
Ex TTDPatch Coder
Patch Pack, Github
Argus
Tycoon
Tycoon
Posts: 1041
Joined: 16 Oct 2018 08:31
Location: Heart of the Highlands. Not Scottish. Czech.

Re: JGR's Patch Pack

Post by Argus »

When I want to enter an auto-renew amount and I put 100 or 200,000, it rounds down senselessly. When I enter say 120,000, it's suddenly fine.
That didn't happen before.
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: paulicus25 and 2 guests