Serex
11-03-2004, 03:46 AM
Ok i now am just curious. I have a struct that adds certain attributes to an object. i was wodering if i could set them for 2 or more.
struct
{
bool bVisible;
GF1::Sprite* pSprite;
} m_block[MAX_BLOCKS];
struct
{
bool bVisible;
GF1::Sprite* pSprite;
} m_block[MAX_BLOCKS], m_menuBg; <----- such as that.
just wondering if its possible, would save me creating many structures.
edit: i think i answered my own question. feedback would be nice
struct
{
bool bVisible;
GF1::Sprite* pSprite;
} m_block[MAX_BLOCKS];
struct
{
bool bVisible;
GF1::Sprite* pSprite;
} m_block[MAX_BLOCKS], m_menuBg; <----- such as that.
just wondering if its possible, would save me creating many structures.
edit: i think i answered my own question. feedback would be nice