Re: Re: [AD] Deprecated functions and fix.sh |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> > Why are the textprintf functions deprecated in the CVS version of
> > allegro?
>
> Because the old text functions depend on text_mode(), so the whole stuff is
> not reentrant.
>
Then what functions are we supposed to use? Textout cant take a variable arguement list like textprintf. Are you forcing us to do something like
char p[1000];
sprintf( p, "Info %s, number %d, something %s", str1, n1, str2 );
textout( bitmap, font, p, 30, 30, makecol(255,255,255) );
?
> > Also, I tried to compile allegro for Solaris Sparc 8 and had some
> > problems.
>
> What problems exactly? The 4.0.3 release compiled on SPARC/Solaris 7 without
> a hitch.
>
I guess I had a library missing or something, but when it came time to compile some of the tools, i got error messages about xf2pcx. Can you make it optional to compile the tools since they are necessary for the usage of allegro? Maybe an option in configure, --no-tools.