Ah ok. I got it. One last question (assuming everything else looks good) Since SDL_BlitSurface takes SDL_Surface* as a parameter, I need to use mySharedPtr.get() to get a raw pointer to pass into the parameter right?
but I'm not sure if this would be a correct use of shared_ptr nor can I compile that because it says
4 IntelliSense: no instance of constructor "std::tr1::shared_ptr<_Ty>::shared_ptr [with _Ty=SDL_Surface]" matches the argument list c:\users\sonicd007\documents\visual studio 2010\projects\prototypes\resource management\resourcecontroller.cpp 17
EDIT: seems like there's a bug with the [/code]. Doesn't show my text after it when I post the first time. Anyway...
Those numbers don't look right. First off, why did interpolate percentage reach 330? It should never reach > 100 no? It's also increasing, then decreasing before an update even occurred. I must be doing something wrong :/