r16 Sprite Billboard options.
Posted: Thu Feb 07, 2008 17:50
OK, sticking my neck out here because I'm not convinced that I know what I'm doing but here goes my first "delving into the code" bug report. And it's a minor one.
When you start a clean install of GZdoom and go to the OpenGL options, the sprite billboard option is listed as "Unknown" and I *think* it's because of this:
gl_menu.cpp
That defines options 1 and 2 (yes?)
but
gl_sprite.cpp
That, I think, sets the default option to 0, which has not been defined in gl_menu.cpp.
Is that any where near correct
(how many options should there be btw? Is there meant to be a 0? I can't figure it out)
When you start a clean install of GZdoom and go to the OpenGL options, the sprite billboard option is listed as "Unknown" and I *think* it's because of this:
gl_menu.cpp
Code: Select all
static value_t BillboardModes[] =
{
{ 1.0, "Y Axis" },
{ 2.0, "X/Y Axis" },
};
but
gl_sprite.cpp
Code: Select all
CVAR(Int, gl_billboard_mode, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG)
Is that any where near correct

(how many options should there be btw? Is there meant to be a 0? I can't figure it out)