I'm confused about what defines the size of menu elements, like the title pic (M_DOOM), the background and the skull selector(M_SKULL1).
I'm experimenting with HD menu items and I can't find out why some of the items appear with the wrong size.
So, for example, in gzdoom.pk3/menudef.txt, I have:
Code: Select all
DEFAULTLISTMENU
{
Font "BigFont", "Untranslated"
IfGame(Doom, Chex)
{
Selector "M_SKULL1", -32, -5
Linespacing 16
Font "BigFont", "Red"
}(...)
And in gzdoom.pk3/animdefs.txt, I have:
Code: Select all
// Doom menu cursor
texture optional M_SKULL1
pic M_SKULL1 tics 8
pic M_SKULL2 tics 8
(...)
So, in my "mod", I'm using an HD selector/cursor, with more than 2 frames of animation. If I use my own file names, for example:
Code: Select all
texture optional M_SKULL1
pic mskull1 tics 2
pic mskull2 tics 2
pic mskull3 tics 2
pic mskull4 tics 2
pic mskull5 tics 2
If I use the exact name, of the two vanilla sprites (M_SKULL1 & M_SKULL2), only those first 2 frames will appear correctly resized, but the rest will always be bigger.
I'm trying to find where is that size defined, so I can apply the same to all frames, and make them all properly sized, but I can't seem to find it anywhere. The only references I have to the M_SKULL1 are in gzdoom.pk3/animdefs.txt or gzdoom.pk3/menudef.txt. What am I missing?
Hugs and thanks in advance
