RE: [Plib-devel] Q2: Water
Brought to you by:
sjbaker
From: Dave M. <Dav...@dy...> - 2000-05-10 01:37:18
|
in ssg.h i found > virtual int getCareAbout ( int mode ) { return dont_care & (1<<mode) ; } doesn't that seem negated? also, there are a couple old hacks/hooks in the model loaders: 1) hookfunc typedef ssgBranch *(*ssgHookFunc)(char *) ; ssgEntity *ssgLoadXXX ( char *fname, ssgHookFunc hookfunc = NULL, ssgCreateFunc createfunc = NULL ) ; 2) _ssgGetAppState ssgState *( *_ssgGetAppState)( char *) = NULL ; void ssgSetAppStateCallback ( ssgState *(*cb)(char *) ) ; Are these hooks still used? #1 is only implemented in ssgLoadAC::do_data so it seems odd to have it passed to all loaders. #2 could be easily replaced with a leaf creation function. Perhaps they could go away in Plib 1.3 ?? --Dave McClurg |