Page 1 of 1

[Done for V0.36] Use alt bitmaps

Posted: Sat Mar 25, 2006 10:27 pm
by Sophia
Right now, very few objects use their alternate bitmaps, and having to clone anything that needs to use it from a scroll or torch imposes other limitations.

Perhaps this could be changed so that anything put into the hand displays the alt bitmap, if one is defined?

Also, currently, the outline version of the item does not use the alt bitmap, even if one is defined and being displayed. For a torch, this looks better. However, generically, it doesn't look so good... a light sabre looks rather pathetic, for example. ;)

Posted: Mon Mar 27, 2006 12:23 pm
by George Gilbert
Yes, that's a bit rubbish isn't it!

Now done both of these for V0.36

Posted: Mon Mar 27, 2006 1:12 pm
by Gambit37
I never quite worked out what the alt bitmap was for as it didn't seem to be used. What's it's purpose for items?

Posted: Mon Mar 27, 2006 1:18 pm
by George Gilbert
It's the alternate icon that's used when an object is in the characters hand (for example the open chest / scroll or lit torch). The V0.35 and before code only used it for specific items (such as the chest, scroll and torch), but V0.36 will use it for any item that's got it.

Posted: Mon Mar 27, 2006 2:10 pm
by Gambit37
Ah, cool, thanks.

Posted: Mon Mar 27, 2006 2:34 pm
by beowuuf
Totally OT, but what are the torch_x, torch_Afull and torch_Aempty for?

Posted: Mon Mar 27, 2006 2:58 pm
by George Gilbert
They're the dead, almost full and almost empty torches...

When the main torch runs out, it converts into an almost full torch. When that runs out, it converts into an almost empty one. When that runs out it's dead (this is needed because they all have different graphics - much like the waterskin).