RE: [AD] 4.3 graphic drivers

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


A side note to this discussion, not on the vtables themselves
but on what comes just before them:

struct DRIVER {
   int  id;                            /* driver ID code */
   AL_CONST char *name;                /* driver name */
   AL_CONST char *desc;                /* description string */
   AL_CONST char *ascii_name;          /* ASCII format name string */
};

That would be a nice thing to have when dealing with a list of
drivers you do not know the type of.
One would have to make sure all drivers always have such starting
members though (which is always the case at present I think).


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/