Re: [Plib-devel] texture support for ssgLoadOBJ
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-04-05 04:46:12
|
> Dave McClurg wrote: > while i was at it, i added some simple error message routines: > > void ssgSetError(const char *fmt, ...); > char* ssgGetError(void); > void ssgClearError(void); There should probably be a 'severity' indicator: SSG_DEBUG -- Messages that can safely be ignored. SSG_WARNING -- Messages that are important. SSG_FATAL -- Errors that SSG cannot recover from. It would be nice for the application to be able to register a callback that SSG will call when an error occours - have it default to something that just dumps the message to stderr. > I'd like to apply these error message routines to my loaders > and perhaps all of SSG unless there are objections. Nope no objections - we need something along these lines. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |