The International Simutrans Forum

 

Author Topic: (0.9.1) No icons for Windjammer cargo holds  (Read 3914 times)

0 Members and 1 Guest are viewing this topic.

Offline zook2

  • *
  • Posts: 321
(0.9.1) No icons for Windjammer cargo holds
« on: February 05, 2014, 07:45:03 AM »
Also, loading time is 1:49 minutes. I think that should be hours instead.
« Last Edit: February 05, 2014, 10:55:00 AM by zook2 »

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18385
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #1 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.

Offline zook2

  • *
  • Posts: 321
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #2 on: February 05, 2014, 02:31:43 PM »
Sorry, I meant in the depot, under "Barges", there are no icons on the holds.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Devotee
  • *
  • Posts: 18385
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #3 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.

Offline wlindley us

  • Devotee
  • *
  • Posts: 958
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #4 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9409
  • Languages: De,EN,JP
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #5 on: February 06, 2014, 01:46:43 PM »
This is the intended position. Just put those stuff not so much outside the image then.

Offline wlindley us

  • Devotee
  • *
  • Posts: 958
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #6 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

Offline The Hood

  • Moderator
  • *
  • Posts: 2889
  • pak128.Britain developer
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #7 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

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9409
  • Languages: De,EN,JP
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #8 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.

Offline Milko

  • Devotee
  • *
  • Posts: 828
Re: (0.9.1) No icons for Windjammer cargo holds
« Reply #9 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