The International Simutrans Forum

PakSets and Customization => Pak128.Britain => Pak128.Britain Bug Reports => Topic started by: zook2 on February 05, 2014, 07:45:03 AM

Title: (0.9.1) No icons for Windjammer cargo holds
Post by: zook2 on February 05, 2014, 07:45:03 AM
Also, loading time is 1:49 minutes. I think that should be hours instead.
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: jamespetts on February 05, 2014, 11:38:01 AM
I have now fixed the loading time issue.

As to the cargo hold icons - are you sure that they are missing, or might they just be hidden behind part of the ship itself? The code for the graphics appears to be in order.
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: zook2 on February 05, 2014, 02:31:43 PM
Sorry, I meant in the depot, under "Barges", there are no icons on the holds.
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: jamespetts on February 05, 2014, 08:15:22 PM
Hmm - odd. I suspect that this might be related to the size of the windjammer's graphics. These are unchanged from Standard, so I shall move this into the Standard forum for now. This does not appear to affect function, however, and it is quite easy to see what the holds are by mousing over the spaces.
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: wlindley on February 06, 2014, 01:15:07 PM
All the 192-pixel ships  (and all the cargo-holds for anything larger than 128) get misplaced in a consistent manner, as shown in the enclosed screenshot.  The circled icons are all 64 pixels up and 64 to the left of where they should be (yellow X's) (192-128=64) ; when that happens on the first row, the icons simply get clipped out of existence.  There is 1 Livestock hold in this shipyard ("1" shown, top row) but the livestock icon is indeed missing.
(http://wlindley.com/simutrans/misplaced-cargo-holds.png)
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: prissi on February 06, 2014, 01:46:43 PM
This is the intended position. Just put those stuff not so much outside the image then.
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: wlindley on February 06, 2014, 07:47:47 PM
"Outside the clipping region, in some totally other icon's box" is the intended position?  O.o
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: The Hood on February 07, 2014, 02:01:20 PM
I think the problem is that the holds images are 32x32px (to save pak size) but there are ships which are 224x224px, hence the size of the buttons in the window. I don't r
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: prissi on February 07, 2014, 11:31:06 PM
The images will not get smaller or larger after paking, since the transparent space is not encoded at all.
Title: Re: (0.9.1) No icons for Windjammer cargo holds
Post by: Milko on February 11, 2014, 09:01:42 AM
Hello

I was thinking of an idea.
Do you think it is possible to insert two additional alignment parameters related to the alignment of the image that appears in the store?

EmptyImage[SE]=Image.0.1,-31,-46,X,Y

Where X and Y are related to the alignment of the image that appears in the store.

Giuseppe