Re: [AD] mac port of allegro

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


> However, it will be probably difficult to run exupdate successfully :-) A
> nice thing would be to popup some dialog or menu for the program, but how
> would Allegro know if the program requires switches?

How about adding a call to the Allegro library that displays this message
box, but only if it is run under Mac. This could be called by apps that need
command line parameters, for example:

int main()
{
    ....
    get_cmdline_params(&argc, &argv);
    ....
}

(in some Allegro file)

void get_cmdline_params(int *argc, char *argv[])
{
   #ifdef MACINTOSH
      ...
   #endif
}

Or something similar.

Owen Rudge
http://www.osplus.co.uk/
http://www.owenrudge.com/
http://www.owenrudge.co.uk/




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